ed
3bf90be325
Revert to libgcc for sparc64.
...
I've had a report of a sparc64 system where cc1 generates illegal
instructions. We still have to diagnose this properly, but instead of
hosing all sparc64 boxes out there, fall back to libgcc to prevent more
damage.
Reported by: Florian Smeets
2010-11-12 15:52:27 +00:00
dim
872d2c10e7
Garbage collect gnu/usr.bin/binutils/{gasp,gdb,gdbreplay}, as these have
...
not been connected to the build for more than 6 years.
Obtained from: projects/binutils-2.17
2010-11-11 23:45:19 +00:00
dim
4a9a1d63b9
Do not build or install gasp.info anymore, as gasp has not been built or
...
installed for more than 6 years.
Obtained from: projects/binutils-2.17
2010-11-11 23:41:36 +00:00
dim
37e5085724
Sync: merge r214895 through r215140 from ^/head.
2010-11-11 20:52:24 +00:00
ed
eee194800d
Replace libgcc.a by libcompiler_rt.a.
...
libcompiler_rt.a is a BSD licensed C language runtime, which implements
many routines which are linked into binaries on architectures where
certain functionality is missing (e.g. 64 bits mul/div on i386).
Unfortunately, libcompiler_rt cannot replace libgcc entirely. Certain
features, such as an unwinder for exception handling, are missing.
That's why only libgcc.a is replaced for now, because this one does seem
to be complete.
Tested by: rene (amd64), nwhitehorn (powerpc), droso (i386 exprun)
and many others. Thanks!
Obtained from: user/ed/compiler-rt
2010-11-11 15:48:27 +00:00
ed
5bd2211ccc
Don't use ${LIB} to obtain the library name.
...
Once we use libcompiler_rt, the LIB-line must go, to prevent libgcc.a
from being built. Therefore, just hardcode the name.
Obtained from: user/ed/compiler-rt
2010-11-11 15:24:57 +00:00
imp
c178b8695e
Complete the integration of tbemd branch into head.
...
TARGET_BIG_ENDIAN is now completely dead, except where it was
originally supposed to be used (internally in the toolchain building).
TARGET_ARCH has changed in three cases:
(1) Little endian mips has changed to mipsel.
(2) Big endian mips has changed to mipseb.
(3) Big endian arm has changed to armeb.
Some additional changes are needed to make 'make universe' work on arm
and mips after this change, so those are commented out for now.
UPDATING information will be forthcoming. Any remaining rough edges
will be hammered out in -current.
2010-11-10 06:39:49 +00:00
gonzo
f9ccde4a24
Fix cross-debugger build
2010-11-07 23:23:48 +00:00
gonzo
3dcfe17daa
Fix initialization order:_initialize_svr4_solib should
...
be called before _initialize_thread_db
2010-11-07 23:22:22 +00:00
gonzo
55c115b83d
- Use proper constant for accessing PCB intead of hardcoded numbers
...
- Minor clean-up
2010-11-07 20:56:41 +00:00
gonzo
ce202f7d13
Link threads support to the build
2010-11-07 20:53:19 +00:00
dim
dd82ae2cb6
Simply our custom OSABI branding 'stub'. It is presently still needed
...
for ia64, but I will integrate it into contrib/binutils/bfd/elfxx-ia64.c
later on, after which it can be removed entirely.
2010-11-03 16:39:55 +00:00
dim
c6446a754f
Fix warnings in fbsd-threads.c.
2010-11-01 20:17:15 +00:00
dim
c59afb2ce3
For stuff under gnu/usr.bin/gdb, search contrib/binutils/include before
...
contrib/gdb/include, since that contains newer versions of the same
files.
2010-11-01 20:09:54 +00:00
dim
69a79d687c
Update doc Makefile and texinfo config file.
2010-11-01 19:47:03 +00:00
dim
f0f9e618bf
Update config.h for ld.
2010-11-01 19:46:18 +00:00
dim
0f59ea67c5
Update Makefile and config.h for as.
2010-11-01 19:45:55 +00:00
dim
8a36c8bef3
Add manpages under gnu/usr.bin/binutils, since they are generated.
2010-11-01 19:45:15 +00:00
dim
b219c11ef9
Update Makefile and config.h.bsd for libbinutils.
2010-11-01 19:42:29 +00:00
dim
ef92b3b53e
Update Makefile and config.h.bsd for libopcodes.
2010-11-01 19:42:07 +00:00
dim
deecd7f3ad
Update Makefile, bfd.h and config.h.bsd for libbfd.
2010-11-01 19:41:22 +00:00
dim
b921eb7d4b
Update Makefile and config.h for libiberty.
2010-11-01 19:40:22 +00:00
dim
b5380a9dee
Update VERSION to 2.17.50 [FreeBSD] 2007-07-03.
2010-11-01 19:39:10 +00:00
dim
3279f5121c
Make sure elf_fbsd_post_process_headers() is actually called for ia64.
...
This is done by prepending the file to elfxx-ia64, not appending it.
Additionally, reduce diffs between Makefile.amd64 and Makefile.ia64;
instead of echo'ing defines in Makefiles, just add the needed define to
elf-fbsd-brand.c directly, as it is only used for amd64 and ia64.
2010-10-26 17:49:17 +00:00
dim
926cfb4a95
Most of binutils now compiles at WARNS=3, except for libiberty and
...
libbfd, which still need WARNS=2.
2010-10-22 20:46:08 +00:00
dim
05c8f27311
In case of powerpc64, enable HAVE_LD_NO_DOT_SYMS in gcc's auto-host.h.
...
Requested by: nwhitehorn
2010-10-22 20:43:37 +00:00
dim
d51b49793f
Update gcc's auto-host.h header for binutils 2.17: turn on
...
HAVE_COMDAT_GROUP, HAVE_GAS_WEAKREF and HAVE_LD_SYSROOT.
2010-10-22 18:12:40 +00:00
dim
01736e4af6
Garbage collect gnu/lib/libiberty and gnu/lib/libg2c, these have not
...
been used for years.
2010-10-22 18:11:17 +00:00
dim
15ff888ae0
Update makeinfo include paths, and configuration settings for the as
...
info page.
2010-10-21 20:34:29 +00:00
dim
7f695928d2
Update ldscript extension list.
2010-10-21 20:33:09 +00:00
dim
6db154aa45
Use one file per line in SRCS= definition, to make insertions and
...
deletions easier, and sort the file list.
2010-10-21 20:31:59 +00:00
dim
9931672781
Apply upstream changes to genscripts.sh, while attempting to keep the
...
diff as small as possible.
2010-10-21 20:30:35 +00:00
dim
572502042a
Remove weird double-pasted sections in armelfb?_fbsd.sh.
2010-10-21 20:29:16 +00:00
dim
49079515f5
Regenerate config.h for ld.
2010-10-21 20:28:23 +00:00
dim
c7123c63d6
Remove bignum-copy.c from SRCS=, as it no longer exists. Remove
...
tc-sparc-fixed.c entirely, since the fix has been integrated into
contrib/binutils/gas/config/tc-sparc.c by upstream. Define TARGET_OS
in addition to the other TARGET_XXX defines.
2010-10-21 20:27:40 +00:00
dim
1f8e7a06a3
Use one file per line in SRCS= definition, to make insertions and
...
deletions easier, and sort the file list.
2010-10-21 20:23:53 +00:00
dim
22c7440029
Regenerate config.h for as.
2010-10-21 20:22:32 +00:00
dim
5c7ebb5add
Add new upstream file, and update TARGET definition.
2010-10-21 20:21:36 +00:00
dim
e2965bd980
Use one file per line in SRCS= definition, to make insertions and
...
deletions easier, and sort the file list.
2010-10-21 20:20:33 +00:00
dim
98865e313d
Regenerate config.h for libbinutils.
2010-10-21 20:18:34 +00:00
dim
82ee80ccd7
Update BFD version and date, and add new upstream files. Also remove
...
the elf32-arm-fbsd.c kludge; it is now integrated cleanly into
contrib/binutils/bfd/elf32-arm.c.
2010-10-21 20:17:13 +00:00
dim
7e6c84d6b2
Use one file per line in SRCS= definition, to make insertions and
...
deletions easier, and sort the file list.
2010-10-21 20:08:16 +00:00
dim
5881c34a84
Regenerate bfd.h and config.h.fbsd.
2010-10-21 20:04:28 +00:00
dim
57183c9e77
Add new upstream file to libiberty.
2010-10-21 20:02:47 +00:00
dim
f51e1e2499
Use one file per line in SRCS= definition, to make insertions and
...
deletions easier.
2010-10-21 20:01:21 +00:00
dim
6a817821b9
Update binutils VERSION define for 2.17, and create separate
...
TARGET_VENDOR and TARGET_OS defines. Set TARGET_TUPLE from
BINUTILS_ARCH, TARGET_VENDOR and TARGET_OS.
2010-10-21 19:58:20 +00:00
dim
ba43e0ffe7
Update the BFD and binutils version defines.
2010-10-19 20:17:17 +00:00
dim
90edd39efd
Garbage collect gnu/usr.bin/binutils/{gasp,gdb,gdbreplay}, as these have
...
not been connected to the build for 6 years now.
2010-10-18 21:04:55 +00:00
dim
99b805c09e
Do not build or install gasp.info anymore, as gasp is obsolete.
2010-10-18 20:59:46 +00:00
jh
cb22974c8d
Add FreeBSD 8.2.
...
Reviewed by: ru
MFC after: 3 days
2010-10-14 14:48:11 +00:00