Dimitry Andric
1170f3d12e
Sync: merge r214895 through r215140 from ^/head.
2010-11-11 20:52:24 +00:00
Ed Schouten
39cd938c39
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 Schouten
b70519663c
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
Warner Losh
e8dce5b9b3
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
Oleksandr Tymoshenko
ce9346c8a4
Fix cross-debugger build
2010-11-07 23:23:48 +00:00
Oleksandr Tymoshenko
c8f6c2ae32
Fix initialization order:_initialize_svr4_solib should
...
be called before _initialize_thread_db
2010-11-07 23:22:22 +00:00
Oleksandr Tymoshenko
94b78d528f
- Use proper constant for accessing PCB intead of hardcoded numbers
...
- Minor clean-up
2010-11-07 20:56:41 +00:00
Oleksandr Tymoshenko
a815718baf
Link threads support to the build
2010-11-07 20:53:19 +00:00
Dimitry Andric
964cec1081
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
Dimitry Andric
4e41c4ad7e
Fix warnings in fbsd-threads.c.
2010-11-01 20:17:15 +00:00
Dimitry Andric
e9071af4e8
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
Dimitry Andric
ce43f651bd
Update doc Makefile and texinfo config file.
2010-11-01 19:47:03 +00:00
Dimitry Andric
d6def1f86e
Update config.h for ld.
2010-11-01 19:46:18 +00:00
Dimitry Andric
d2d5b59cdd
Update Makefile and config.h for as.
2010-11-01 19:45:55 +00:00
Dimitry Andric
8bdf879215
Add manpages under gnu/usr.bin/binutils, since they are generated.
2010-11-01 19:45:15 +00:00
Dimitry Andric
28b535d1e0
Update Makefile and config.h.bsd for libbinutils.
2010-11-01 19:42:29 +00:00
Dimitry Andric
67f8e5a556
Update Makefile and config.h.bsd for libopcodes.
2010-11-01 19:42:07 +00:00
Dimitry Andric
0921c6ef0b
Update Makefile, bfd.h and config.h.bsd for libbfd.
2010-11-01 19:41:22 +00:00
Dimitry Andric
878ad3892a
Update Makefile and config.h for libiberty.
2010-11-01 19:40:22 +00:00
Dimitry Andric
f74ef8307a
Update VERSION to 2.17.50 [FreeBSD] 2007-07-03.
2010-11-01 19:39:10 +00:00
Dimitry Andric
1368e47f87
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
Dimitry Andric
e083002bca
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
Dimitry Andric
b927df46b1
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
Dimitry Andric
7a66be1ab6
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
Dimitry Andric
162972bcf5
Garbage collect gnu/lib/libiberty and gnu/lib/libg2c, these have not
...
been used for years.
2010-10-22 18:11:17 +00:00
Dimitry Andric
f071fb0b44
Update makeinfo include paths, and configuration settings for the as
...
info page.
2010-10-21 20:34:29 +00:00
Dimitry Andric
a477c4b7f8
Update ldscript extension list.
2010-10-21 20:33:09 +00:00
Dimitry Andric
d9eabf4616
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
Dimitry Andric
a8620cbced
Apply upstream changes to genscripts.sh, while attempting to keep the
...
diff as small as possible.
2010-10-21 20:30:35 +00:00
Dimitry Andric
e7cde49997
Remove weird double-pasted sections in armelfb?_fbsd.sh.
2010-10-21 20:29:16 +00:00
Dimitry Andric
5c049bc266
Regenerate config.h for ld.
2010-10-21 20:28:23 +00:00
Dimitry Andric
1e35dff483
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
Dimitry Andric
52eb44ceae
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
Dimitry Andric
631c65aad6
Regenerate config.h for as.
2010-10-21 20:22:32 +00:00
Dimitry Andric
bebf802419
Add new upstream file, and update TARGET definition.
2010-10-21 20:21:36 +00:00
Dimitry Andric
8114428ba2
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
Dimitry Andric
8f4c1b2c16
Regenerate config.h for libbinutils.
2010-10-21 20:18:34 +00:00
Dimitry Andric
6efa94bc57
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
Dimitry Andric
3213eafad2
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
Dimitry Andric
2afbe6d79d
Regenerate bfd.h and config.h.fbsd.
2010-10-21 20:04:28 +00:00
Dimitry Andric
5c89268c37
Add new upstream file to libiberty.
2010-10-21 20:02:47 +00:00
Dimitry Andric
2fe35e02e9
Use one file per line in SRCS= definition, to make insertions and
...
deletions easier.
2010-10-21 20:01:21 +00:00
Dimitry Andric
c6b1c1e809
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
Dimitry Andric
bd9ba01aba
Update the BFD and binutils version defines.
2010-10-19 20:17:17 +00:00
Dimitry Andric
45f6b172aa
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
Dimitry Andric
7ce9c2e938
Do not build or install gasp.info anymore, as gasp is obsolete.
2010-10-18 20:59:46 +00:00
Jaakko Heinonen
9543d2735d
Add FreeBSD 8.2.
...
Reviewed by: ru
MFC after: 3 days
2010-10-14 14:48:11 +00:00
Xin LI
04bf016801
Add definition for FreeBSD 7.4, which will be used in a manual page change.
...
Reviewed by: ru
MFC after: 3 days
2010-10-06 18:20:07 +00:00
Gordon Tetlow
023f0373a1
Retire GNU man in favor of the newly written BSDL version.
...
Approved by: wes (mentor)
2010-10-03 22:24:14 +00:00
Rui Paulo
da1eef674b
Remove target peigen.c so that make doesn't warn us about it.
2010-09-30 07:12:09 +00:00