christos
9573673d78
Import binutils-2.26
2016-01-29 12:44:10 +00:00
christos
eaa6761b21
Sync with binutils.
2016-01-26 19:38:09 +00:00
christos
62d79eec21
Centralize the definition of TOP/DIST and cleanup a little.
2016-01-26 19:37:46 +00:00
christos
9f077b2395
use EXTERNAL_FOO_SUBDIR
2016-01-26 17:48:56 +00:00
christos
2cbc086649
switch to binutils.old
2016-01-26 17:37:51 +00:00
christos
3feacbccbd
import the HEAD of binutils as binutils.old
2016-01-26 17:25:55 +00:00
mrg
d35849d0e1
merge GCC 5.3. round 1. this probably won't work :-)
...
libsanitizer likely needs to be re-ported, though i've done most of
the updating we'll need i think already.
2016-01-24 09:43:30 +00:00
mrg
4d5abbe83f
import GCC 5.3.0. see these urls for details which are too large to
...
include here:
http://gcc.gnu.org/gcc-4.9/changes.html
http://gcc.gnu.org/gcc-5/changes.html
(note that GCC 5.x is a release stream like GCC 4.9.x, 4.8.x, etc.)
the main issues we will have are:
The default mode for C is now -std=gnu11 instead of -std=gnu89.
ARM:
The deprecated option -mwords-little-endian has been removed.
The options -mapcs, -mapcs-frame, -mtpcs-frame and -mtpcs-leaf-frame
which are only applicable to the old ABI have been deprecated.
MIPS:
The o32 ABI has been modified and extended. The o32 64-bit
floating-point register support is now obsolete and has been removed.
It has been replaced by three ABI extensions FPXX, FP64A, and FP64.
The meaning of the -mfp64 command-line option has changed. It is now
used to enable the FP64A and FP64 ABI extensions.
2016-01-24 06:05:37 +00:00
christos
b599e35404
expose kernel types for gdb so that we don't have to fix each arch separately
...
for now.
2016-01-23 23:02:31 +00:00
christos
c0d969f01d
define sooner _KMEMUSER
2016-01-23 20:28:24 +00:00
mrg
93abc59558
protect the entire contents of regsub.c with extern "C".
...
this fixes the tools build, at least.
also, remove the no longer needed cdefs.h from one of these copies.
2016-01-21 04:55:40 +00:00
christos
8b59ebd5ef
make regasub a "C" decl.
2016-01-20 17:09:04 +00:00
christos
c424ac81dd
make regasub a c decl.
2016-01-20 17:08:27 +00:00
christos
168ddffc8a
sync with gcc.old (catch up with __RCSID removal and libc sync)
2016-01-20 15:13:33 +00:00
christos
fe4272b7bc
remove __RCSID, sync with libc
2016-01-20 15:12:29 +00:00
christos
10dfc2597e
ifdef __RCSID
2016-01-16 19:28:36 +00:00
christos
d874e91932
import the latest autoconf
2016-01-16 18:35:58 +00:00
joerg
930dcad416
Expand undefined number.
2016-01-15 15:37:05 +00:00
joerg
2c5fc9570b
Left shift of negative values is UB, just write the constant out.
2016-01-15 00:18:19 +00:00
wiz
40fc864a9c
Add missing word in comment.
2016-01-11 22:41:48 +00:00
christos
3965f5d7b6
PR/50646: Use the c99 cabs math builtins directly, because cabs and cabsf
...
have broken ABI's can cabsl does not exist. The correct(?) probably fix is
to change the cabs builtins to point to the c99 variants directly...
XXX: pullup-7 and the same file from the gcc.old tree.
2016-01-11 16:52:53 +00:00
christos
e85b730730
Hack around the cabs mess, and explain what's going on...
2016-01-11 16:49:09 +00:00
christos
ee2af19067
add -fdebug-regex-map=regex=subst which works like sed -e s/regex/subst/
...
to aid with /usr/obj remapping for MKREPRO
2016-01-09 02:00:14 +00:00
christos
8ec658f57a
- Change LDADD/DPADD in library dependencies to LIBDPLIBS
...
- Fix some LDADD abuse and remove useless dependencies
- include <bsd.init.mk> in the right place where appropriate
From Rin Okuyama
2016-01-05 13:07:46 +00:00
christos
37ae74be41
For reproducible builds, allow the source of the map to be set from the
...
environment, so that DW_at_producer is the same no matter what the actual
underlying source and destination directories are. See:
https://gcc.gnu.org/ml/gcc-patches/2015-12/msg01168.html
2015-12-22 16:48:44 +00:00
christos
e2f72a0028
Fix logic bug where __cpuid gets called when __get_cpuid_max() returns 0.
...
This happens when __level == 0, from libgcc/config/i386/cpuinfo.c#285.
This breaks early i486 CPUs which don't have cpuid
2015-11-22 20:47:42 +00:00
christos
4fe0054f39
Fix logic bug where __cpuid gets called when __get_cpuid_max() returns 0.
...
This happens when __level == 0, from libgcc/config/i386/cpuinfo.c#285.
This breaks early i486 CPUs which don't have cpuid
XXX: pullup-7
2015-11-22 20:47:05 +00:00
christos
14b759e0d5
We've never supported executable stack notes in any archs so don't add one.
2015-11-08 17:13:01 +00:00
christos
b09d094867
We've never supported the executable stack note, and none of the other
...
archs have it.
2015-11-08 17:11:55 +00:00
christos
05e58339da
Apply the GNU-stack fixes to the old branch.
2015-11-07 16:53:59 +00:00
christos
bb5915f98c
Fix inconsistencies with GNU-stack note:
...
- always use __ELF__ && __linux, not just __ELF__ or just __linux__
- remember to pop back to the previous section where it is missing
XXX: need to file this bug with the GNU folks.
2015-11-07 16:53:07 +00:00
gdt
fc89a2852b
Use -f with cp.
...
When the source tree is 444 (as should be unremarkable), cp results in
object files that are 444, which when cp'd again without -f result in
an error.
2015-11-02 00:51:18 +00:00
christos
6ca7fac253
use asprintf(3)
2015-10-26 15:14:33 +00:00
christos
d8e986fab6
Introduce a syslog format that accepts %m. Stop accepting %m in printf
...
like formats. Support for this is detected via the __syslog_attribute__
macro.
2015-10-14 16:05:14 +00:00
mrg
34a1d0259a
re-merge GCC 4.8.5 (part 1).
2015-09-23 04:23:50 +00:00
mrg
f78a39098a
re-merge GCC 4.8.5 (part 1)
2015-09-23 03:39:07 +00:00
mrg
678f798eaf
import GCC 4.8.5 as gcc.old, in prepartion to update GCC.
2015-09-23 03:03:02 +00:00
skrll
a9a1ce9deb
gdb.old is no more.
2015-09-17 09:34:20 +00:00
skrll
511b4bba45
Remove gdb.old now it's unused.
2015-09-17 09:26:32 +00:00
joerg
664441867e
Don't shift negative values.
2015-09-12 19:04:21 +00:00
tron
93fded9a74
Fix build with "USE_SSP=yes".
2015-08-21 08:19:28 +00:00
christos
ed5ec7e8c7
use snprintf and cast to long.
2015-08-20 17:25:50 +00:00
christos
82dfa05dde
regen
2015-08-18 08:43:55 +00:00
christos
9ca90fdc92
finish all the regen
2015-08-17 17:28:33 +00:00
christos
871cc9aea1
regen sh3*
2015-08-17 13:26:04 +00:00
christos
0e872dfe70
regen coldfire
2015-08-17 13:17:44 +00:00
christos
311ef48816
forgot one earmv4 files
2015-08-17 13:10:38 +00:00
christos
3954c00438
regen hppa and mipseb
2015-08-17 13:09:41 +00:00
christos
97d737391f
regen some arm, mips, ppc,
2015-08-17 12:48:16 +00:00
christos
329412d82a
fix mips
2015-08-17 12:45:06 +00:00