Commit Graph

276 Commits

Author SHA1 Message Date
obrien
9e9f71093e Use the stock version of this file now.
I committed our rev 1.2 fix into the FSF/GNU tree.
2001-05-28 06:14:37 +00:00
obrien
269f210f7d We use the stock version of this file now.
I folded our rev 1.2 localizations into the FSF/GNU tree.
2001-05-28 06:11:56 +00:00
obrien
556bfc88dc Return to the vendor's version of this file. 2001-05-28 06:10:48 +00:00
obrien
1b9980c051 Add a minor tweak for us that I failed to get committed to the stock 2.11. 2001-05-28 06:08:54 +00:00
obrien
17fbbf2906 Return to the vendor's version of this file.
(have I mentioned how fscking stupid CVS can be??)
2001-05-28 06:05:28 +00:00
obrien
ec64d2a253 Return to the vendor's version of this file.
(CVS -j -j filled this with conflicts -- CVS it just too fscking dumb
to realize this is the 3rd time we've just committed the vendor
version + FreeBSD ID)
2001-05-28 06:04:24 +00:00
obrien
5d42e8f4c1 Return to the vendor's version of this file as in rev 1.4.
(CVS is too stupid to realize we've done this 3 times now...)
2001-05-28 06:00:20 +00:00
obrien
3f328dbf9b CVS is too stupid to realize we use the stock version of this file now. 2001-05-28 05:54:56 +00:00
obrien
396b6fa895 Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.11[.0].
2001-05-28 05:53:00 +00:00
obrien
0e247f4862 Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.11[.0].
2001-05-28 05:52:12 +00:00
obrien
0eb5be2edd Merge our ELF branding into Binutils 2.11[.0].
I have also turned off the older 100% against-the-gABI method[*].
If you must really have it, define "WANT_OLD_BRANDELF_METHOD".

[*] but left the stretching the gABI method until I finish writing the
notes section support in the ELF image loader.
2001-05-28 05:49:34 +00:00
obrien
328e45595b Import of GNU Binutils version 2.11.0.
Believe it or not, this is heavily stripped down.
2001-05-28 05:21:37 +00:00
obrien
90aa3fa770 This commit was generated by cvs2svn to compensate for changes in r77298,
which included commits to RCS files with non-trunk default branches.
2001-05-28 05:21:37 +00:00
obrien
b42b88dc6a * include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
2001-05-03 01:49:58 +00:00
obrien
686317c48c Remove MIPS support.
It has rotted quite badly and no one has provided updates for it.
2001-04-11 00:12:48 +00:00
obrien
bac4e84974 Removed these old 2.9.x files. 2001-04-10 23:53:32 +00:00
obrien
7fbb72605a Import a virgin (but trimed) Binutils 2.10 release. 2000-11-26 01:21:09 +00:00
obrien
eb309bb4e9 This commit was generated by cvs2svn to compensate for changes in r69180,
which included commits to RCS files with non-trunk default branches.
2000-11-26 01:21:09 +00:00
obrien
f7a5dc3a44 Import of GNU Binutils version 2.10.1.
Believe it or not, this is heavily stripped down.
2000-11-25 10:29:36 +00:00
obrien
014f9a9100 This commit was generated by cvs2svn to compensate for changes in r69159,
which included commits to RCS files with non-trunk default branches.
2000-11-25 10:29:36 +00:00
obrien
35ee89fe5a Remove binutils 2.9.1 files that are not part of 2.10.x. 2000-11-25 10:23:21 +00:00
obrien
47a9e68503 Remove binutils 2.9.1 files that are not part of 2.10.x. 2000-11-25 09:57:13 +00:00
obrien
0dcc3f23d9 Remove this binutils 2.8.1 file that was never part of any FreeBSD release. 2000-11-25 02:08:34 +00:00
obrien
11b2235ace Remove this binutils 2.8.1 file that was never part of any FreeBSD release. 2000-11-25 02:02:01 +00:00
obrien
73a330f506 Update for the Bintuils 2.10.1 import. 2000-11-23 12:28:19 +00:00
obrien
6bca879039 dyn-string.* moved to libiberty/ and include/. 2000-11-15 21:27:22 +00:00
obrien
c35474ed1e Merge rev 1.2 into Binutils 2.10.1.
Teach `ld' about FreeBSD (ie, fix the All the World's Linux) and how to
access our ld ELF hints.
2000-11-15 21:26:21 +00:00
obrien
0887324190 Merge conflicts. Adds revs 1.2 and 1.3 (FreeBSD configuration support),
and preliminary sparc, strongarm, PPC FreeBSD support to Binutils 2.10.1.
2000-11-15 21:25:10 +00:00
obrien
c6e0ec7bbe Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.10.1. 2000-11-15 21:24:10 +00:00
obrien
e7d5572fba Merge conflicts into Binutils 2.10.1.
This fixes the i386 config bits, merge in the Alpha bits, and adds
arm32 & sparc bits.
2000-11-15 21:23:09 +00:00
obrien
07238094dd We use the stock version of this file now. 2000-11-15 21:20:56 +00:00
obrien
c29ae8df7a Return to the vendor's version of this file as in rev 1.4. 2000-11-15 21:20:05 +00:00
obrien
2da064d448 We use the stock version of this file now.
(Our needs have been addressed by the Binutils maintainers)
2000-11-15 21:11:53 +00:00
obrien
1f13d4ae78 Only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined elsewhere.
FreeBSD does not adhear to the System V 64-bit ABI for the dynamic
[linker] interpreter, and thus must override this value.
2000-11-15 21:07:32 +00:00
obrien
2cf177a0cc Only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined elsewhere.
FreeBSD does not adhear to the Intel386 System V ABI for the dynamic
[linker] interpreter, and thus must override this value.
2000-11-15 21:05:56 +00:00
obrien
f646d69da7 Merge our ELF branding into Binutils 2.10.1. 2000-11-15 21:04:41 +00:00
obrien
58a7905715 Import of GNU Binutils version 2.10.1.
Believe it or not, this is heavily stripped down.
2000-11-15 20:52:56 +00:00
obrien
bee7a37ea2 This commit was generated by cvs2svn to compensate for changes in r68765,
which included commits to RCS files with non-trunk default branches.
2000-11-15 20:52:56 +00:00
obrien
7c4d7cfec1 Import a virgin (but trimed) Binutils 2.10 release. 2000-11-13 09:30:58 +00:00
obrien
498d8c7c6a This commit was generated by cvs2svn to compensate for changes in r68673,
which included commits to RCS files with non-trunk default branches.
2000-11-13 09:30:58 +00:00
obrien
4def51882f remove files not needed. 2000-11-13 09:22:26 +00:00
obrien
2ad87765c0 Upgrade to Binutils 2.10.0. 2000-11-13 09:14:15 +00:00
obrien
1005a75329 This commit was generated by cvs2svn to compensate for changes in r68670,
which included commits to RCS files with non-trunk default branches.
2000-11-13 09:14:15 +00:00
obrien
54c1f7a2ca Upgrade to Binutils 2.10.0. 2000-07-06 21:33:51 +00:00
obrien
9fb7b9e4e4 Merge conflicts. Adds revs 1.2 and 1.3 (FreeBSD configuration support),
and preliminary sparc, strongarm, PPC FreeBSD support.
2000-06-20 08:28:23 +00:00
obrien
f6839bec23 Merge conflicts. This fixes the i386 config bits, merge in the Alpha bits,
and adds arm32 & sparc bits.
2000-06-20 08:21:50 +00:00
obrien
fecb435751 Merge conflicts. This fixes the i386 config bits, merge in the Alpha bits,
and adds arm32 & sparc bits.
2000-06-20 08:13:26 +00:00
obrien
e6b9754871 Binutils now properly supports our ELFness with this file.
(use the stock file now that it is offically part of Binutils)
2000-06-20 08:10:58 +00:00
obrien
a6accae28b Use the stock file now. The Binutils maintainers accepted our rev 1.2
changes (don't use "/" to start a comment).
2000-06-20 07:00:04 +00:00
obrien
971a426ec2 Merge in our rev 1.2 changes (but do it in a way the Binutils maintainers
accepted): Restore traditional behavior by acknowledging tabs in strings.
2000-06-20 06:55:50 +00:00
obrien
798c313587 Merge in our ELF branding. 2000-06-20 06:46:06 +00:00
obrien
813b11648e Import a virgin (but trimed) Binutils 2.10 release. 2000-06-20 06:20:42 +00:00
obrien
c687bafa96 This commit was generated by cvs2svn to compensate for changes in r61843,
which included commits to RCS files with non-trunk default branches.
2000-06-20 06:20:42 +00:00
obrien
350992b177 None of these files are used in our build, nor do I really believe
anyone is going to read them.  Many were new with the
"sourceware_binutils-2_10-branch_anoncvs_20000512" import.  Others have
been around since 2.8.1.
2000-06-20 06:08:35 +00:00
obrien
f256c3d85a Remove these Binutils 2.8.1 files. 2000-06-20 06:03:50 +00:00
obrien
6339e9e0bf Upgrade instructions for the sourceware_binutils-2_10-branch_anoncvs_20000512
Binutils import.
2000-06-18 21:32:11 +00:00
obrien
0be892b72c List of files to delete from the Sourceware Binutils' CVS 2_10-branch
on 12-May-2000.
2000-06-18 21:17:40 +00:00
obrien
1703585675 List of distfile contents to delete using rm' and find -delete'.
Simular to the FREEBSD-Xlist used with `tar -X ... -xf'.
This file is typically used when one starts with the Binutils anoncvs repo
rather than a release tarball.
2000-06-18 21:15:52 +00:00
obrien
4e16f4e986 Addition SCO/SVR4 offical EI_OSABI types taken from the sourceware trunk. 2000-05-13 19:21:45 +00:00
obrien
e0422e6dfe This commit was generated by cvs2svn to compensate for changes in r60529,
which included commits to RCS files with non-trunk default branches.
2000-05-13 19:21:45 +00:00
obrien
0b20ac0f72 Merge rev 1.2 (configuration changes to support FreeBSD) 2000-05-13 17:55:26 +00:00
obrien
f61513cf58 Merge in rev 1.2 (ld was kinly looking up the Linux /etc/ld.so.conf so teach
it about the FreeBSD equivalent)  This version of that patch selects the
Linux code only if the case is Linux.  This puts the Linux code on par with
the FreeBSD code.
2000-05-13 17:51:22 +00:00
obrien
576548bdc7 Tweaks for i386, add alpha, ppc, sparc, and strongarm support. 2000-05-13 17:48:08 +00:00
obrien
8feeb14682 Use the stock vendor version of this file now. 2000-05-13 17:34:51 +00:00
obrien
cf70fc7ecd Merge in revs 1.2 and 1.3 (FreeBSD configuration support)
Add preliminary sparc, strongarm, PPC FreeBSD support.
2000-05-13 17:33:39 +00:00
obrien
4f8c9bc979 Merge in rev 1.2 (FreeBSD configuration support) 2000-05-13 17:23:06 +00:00
obrien
8e9259a4c2 Merge in rev 1.2 (balance the brackets; PR-docs/8505) 2000-05-13 17:17:56 +00:00
obrien
dfcb32c845 Merge in rev 1.2 (don't use "/" to start a comment). 2000-05-13 17:16:40 +00:00
obrien
b64c124edf Merge in rev 1.2 which provides some FreeBSD a.out support. 2000-05-13 17:15:13 +00:00
obrien
c38b722874 Fix the i386 config bits, merge in the Alpha bits, and add arm32 and
sparc bits.
2000-05-13 17:12:52 +00:00
obrien
6d08d539ba Fix the i386 config bits, merge in the Alpha bits, and add arm32 and
sparc bits.
2000-05-13 17:02:34 +00:00
obrien
0d5d593fe7 Return to the vendor's version of this file. 2000-05-13 16:56:24 +00:00
obrien
379bd99010 Return to the vendor's version of this file as in rev 1.4. 2000-05-13 16:54:41 +00:00
obrien
9bb07774c7 Merge in our rev 1.2 changes: Restore traditional behavior by acknowledging
tabs in strings.
2000-05-13 16:53:47 +00:00
obrien
82c8d12f22 Return this file to the vendor's file. 2000-05-13 16:52:25 +00:00
obrien
664807c303 Return this file back to the stock version.
The big fixed in rev 1.2 has also been fixed by the Bintuils maintainers.
2000-05-13 16:48:31 +00:00
obrien
e25ca4f6e9 Merge in rev 1.3 changes (Make the default dynamic linker pathname correct
for FreeBSD.)
2000-05-13 16:46:57 +00:00
obrien
bfee0a3535 Merge in rev 1.4 changes (Make the default dynamic linker pathname correct
for FreeBSD.)
2000-05-13 16:45:41 +00:00
obrien
81374ec997 Merge in our ELF branding. 2000-05-13 16:44:19 +00:00
obrien
2a9ea95d68 Import of Binutils 2.10 snapshot. 2000-05-12 23:15:20 +00:00
obrien
47463c5145 This commit was generated by cvs2svn to compensate for changes in r60484,
which included commits to RCS files with non-trunk default branches.
2000-05-12 23:15:20 +00:00
obrien
7f0b584d00 Revert this file back to its FSF/Cygnus virgin state.
With jb's rev 1.2 commit to usr.bin/lorder/lorder.sh we don't depend on
the 4.4BSD's ``nm -o'' behavior.

Previous to 4.3BSD-Reno, ``nm -o'' did not output the .o's filename on a
line by itself.  The change occurred between CSRG's nm.c rev 4.8 (1987) and
rev 5.1 (in 1989), which was "new version from Hans Huebner hans@garp.mit.edu,
huebner@db0tui6.BITNET".  The Binutils maintainers would rather cater to
a loud boisterous user of 4.3BSD VAXen which has its own native toolchain,
rather than a modern Unix with multiple orders of magnitude more users
and in which Binutils *is* the native toolchain.
2000-04-20 08:58:04 +00:00
obrien
bffe850874 Vendor import of the 19990502 Cygnus Sourceware version of sparc-ops.c.
This fixes a critcal problem in building a sparc64 toolchain.
2000-04-19 17:30:18 +00:00
obrien
253f2fab65 This commit was generated by cvs2svn to compensate for changes in r59396,
which included commits to RCS files with non-trunk default branches.
2000-04-19 17:30:18 +00:00
obrien
ad161ec301 Rev 1.3 which resolved conflicts in the 2.9.1 import, used a comment from
2.8.1 rather than the new one in 2.9.1.  This commit fixes that, is purely
cosmetic, and reduces the diff of our hacks to 2.9.1.
2000-04-18 21:00:17 +00:00
obrien
a41a02cd03 Header file gotten from the Cygnus Sourceware Binutils anoncvs repository
on 14-April-2000.  This gives us offical SCO/SVR4 ABI values for EI_OSABI.
2000-04-18 02:42:12 +00:00
obrien
bbdd397589 This commit was generated by cvs2svn to compensate for changes in r59343,
which included commits to RCS files with non-trunk default branches.
2000-04-18 02:42:12 +00:00
obrien
0eac6bbc67 Change our ELF binary branding to something more acceptable to the Binutils
maintainers.

After we established our branding method of writing upto 8 characters of
the OS name into the ELF header in the padding; the Binutils maintainers
and/or SCO (as USL) decided that instead the ELF header should grow two new
fields -- EI_OSABI and EI_ABIVERSION.  Each of these are an 8-bit unsigned
integer.  SCO has assigned official values for the EI_OSABI field.  In
addition to this, the Binutils maintainers and NetBSD decided that a better
ELF branding method was to include ABI information in a ".note" ELF
section.

With this set of changes, we will now create ELF binaries branded using
both "official" methods.  Due to the complexity of adding a section to a
binary, binaries branded with ``brandelf'' will only brand using the
EI_OSABI method.  Also due to the complexity of pulling a section out of an
ELF file vs. poking around in the ELF header, our image activator only
looks at the EI_OSABI header field.

Note that a new kernel can still properly load old binaries except for
Linux static binaries branded in our old method.

  *
  * For a short period of time, ``ld'' will also brand ELF binaries
  * using our old method.  This is so people can still use kernel.old
  * with a new world.  This support will be removed before 5.0-RELEASE,
  * and may not last anywhere upto the actual release.  My expiration
  * time for this is about 6mo.
  *
2000-04-18 02:39:26 +00:00
obrien
ba68a82065 Slight cleaner code that may be more palatable to the Binutils maintainers. 2000-04-12 03:43:09 +00:00
obrien
3139dfa2c2 Slightly cleaner branding code that may be more palatable to the Binutils
maintainers.
2000-04-12 03:42:40 +00:00
obrien
50b710fb89 Import the Sparc bits of GNU binutils 2.9.1.
Requested by:	steve
2000-04-05 04:09:32 +00:00
obrien
0ca9f6312a This commit was generated by cvs2svn to compensate for changes in r59024,
which included commits to RCS files with non-trunk default branches.
2000-04-05 04:09:32 +00:00
cracauer
ce4fd27257 Turn a warning into an error. Occurances of that warning generate bad
-fpic code that damages symbol locations at runtime.

The only know occurance in our tree (src and ports) was locatime.c,
which was just changed to generate code that doesn't trigger the
problem.

This is a workaround, the real cause is that our gas doesn't
understand code our gcc generates for some -O -fpic code. They are
expected to be back in sync soon, but until then (including
4.0-RELEASE) we need to prevent people from using bad -fpic code.

PR:		avoids such things as in bin/16862
Submitted by:	bde
Approved by:	jkh
2000-03-08 12:58:03 +00:00
jdp
961e2c4b68 Make the default dynamic linker pathname correct for FreeBSD.
I had resisted this for a while because I didn't want to take these
file off the vendor branch.  But it turns out they were already off
the vendor branch anyway.

PR:		gnu/9987
Submitted by:	Vladimir Kushnir <kushn@mail.kar.net>
Approved by:	jkh
2000-02-24 05:46:27 +00:00
obrien
ef7325f7c9 Import the latest version ehopt.c from the Cygnus Sourceware anoncvs
repository (dated 5-3-1999).

This fixes the endless loop the assembler gets in when it is trying to
decide how big part of the exception handling table should be on the Alpha.
This version of this file allows qradiobutton.cpp from qt and widget.cc
from kdelibs11 to be compilable.
2000-02-02 03:10:44 +00:00
obrien
f5eed24e1c This commit was generated by cvs2svn to compensate for changes in r56944,
which included commits to RCS files with non-trunk default branches.
2000-02-02 03:10:44 +00:00
dfr
3e4c2ad4a2 Merge some patches from RedHat-6.0. The most important change fixes a bug
when linking large shared libraries where the linker missed out some of
the dynamic relocations from the output. This prevents libqt from linking
properly among other packages.

Obtained from: RedHat-6.0
1999-07-17 08:04:58 +00:00
dfr
dd42eb63c1 The maximum pagesize for alpha is 64k, not 1Mb. 1999-05-02 12:02:55 +00:00
nik
4200d87cda Fix typos.
PR:		docs/8682
Submitted by:	hnokubi@yyy.or.jp
Reviewed by:	nik
1999-04-14 18:49:15 +00:00
simokawa
837bd85709 Change default entry point from __start' to _start' which is in crt1.o.
Cc doesn't need to pass `-e _start' to ld anymore.

Agreed by: gallatin and dfr
1999-04-08 11:33:05 +00:00
imp
9e86e0d4a8 Remove *mip* and *decstation* from the filter, per FREEBSD-updating.
This, and the previous import were approved by jdp.
1999-02-28 23:11:09 +00:00
imp
eb98fb7651 Import files needed to build mips binaries with binutils 2.9.1. 1999-02-28 23:08:24 +00:00
imp
a93821a373 This commit was generated by cvs2svn to compensate for changes in r44348,
which included commits to RCS files with non-trunk default branches.
1999-02-28 23:08:24 +00:00
imp
e0e0a9ec8c We've been using 2.9.1 tools for some time now, so reflect that in the
example of how to add things to the FreeBSD tree.

Approved by: jdp
1999-02-28 22:31:17 +00:00
peter
d3a68b2218 ld was kinly looking up the Linux /etc/ld.so.conf (which we don't have).
Teach it about the FreeBSD equivalent, because there are some funny things
going on with -rpath that I can't quite get a handle on.  It looks like
setting an rpath on a new shared object overrides all the implicit
DT_RPATH's from the dependencies, causing them to fail at link time
(but not runtime).
1999-01-07 14:03:27 +00:00
mckay
8b8a9278a4 Restore traditional behaviour by allowing tabs in strings. In deference
to the new age of internationalisation, I used isblank() instead of a
literal '\t'.
1998-12-14 13:27:48 +00:00
steve
cc0df3f012 Another directive nit.
PR:		8144
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-12-10 03:22:27 +00:00
steve
1b61bf21f7 Remove @code directive around --change-leading-char.
PR:		8143
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-12-10 03:16:57 +00:00
steve
973e78661b Typo fix.
PR:		8034
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-12-10 01:37:43 +00:00
billf
f9278606a3 Balance the brackets.
PR:		docs/8505
Submitted by:	Kazuo Horikawa <horikawa@jp.FreeBSD.org>
1998-12-08 22:49:08 +00:00
billf
ef9684d0ff The explanation shows "-V" as being 'verbose' correct this to "-v"
PR:		docs/8892
Submitted by:	Hirayama Issei <iss@mail.wbs.ne.jp>
1998-12-03 19:54:43 +00:00
jdp
b773a127ae Fix segmentation violation that sometimes occurred when warning
symbols were used.

PR:		bin/7980
Submitted by:	Doug Rabson <dfr>
1998-09-19 22:31:40 +00:00
jdp
5759d45767 Resolve conflicts from import of binutils-2.9.1.
Submitted by:	Doug Rabson <dfr>
1998-09-06 23:00:35 +00:00
jdp
effee09f85 Import GNU binutils-2.9.1. This will break things for a few minutes
until I've made the commits to resolve the conflicts.

Submitted by:	Doug Rabson <dfr>
1998-09-06 22:57:45 +00:00
jdp
088484c9ef This commit was generated by cvs2svn to compensate for changes in r38889,
which included commits to RCS files with non-trunk default branches.
1998-09-06 22:57:45 +00:00
jb
31cb88078d Import an extra source file from binutils 2.8.1 that is included on
alpha.
1998-03-09 03:38:19 +00:00
jb
dce663f91f This commit was generated by cvs2svn to compensate for changes in r34351,
which included commits to RCS files with non-trunk default branches.
1998-03-09 03:38:19 +00:00
jb
64938d6e9c Add a FreeBSD entry for alpha-elf. 1998-03-09 03:34:53 +00:00
cvs2svn
8bd66fa336 This commit was manufactured by cvs2svn to create branch
'VENDOR-binutils'.
1998-03-01 23:26:33 +00:00
jdp
082b767ff5 Configuration changes to support FreeBSD. The linker only works for
ELF, not a.out.  But all the other tools support both.  I'm not so
sure about the assembler -- it might need more work.
1998-03-01 23:26:32 +00:00
jdp
96d45f0ff6 Don't use "/" as a comment starter. In some FreeBSD sources, "/"
means divide (duh).
1998-03-01 23:22:00 +00:00
jdp
cb17504105 Fix the output format of "nm" so that it works properly for FreeBSD's
"lorder" command.

GNU rejected this change because they felt it would be an unacceptable
incompatibility to change the output format at this point -- even
though it was wrong to begin with.
1998-03-01 23:20:03 +00:00
jdp
cad024a2ba Fix a bug which incorrectly caused files to be labeled as having
text relocations in certain situations.
1998-03-01 23:17:03 +00:00
jdp
d26a0cda03 Add automatic branding of FreeBSD ELF files. 1998-03-01 23:15:09 +00:00
jdp
5fa431f4cf Add upgrade instructions and helper file. 1998-03-01 23:13:26 +00:00
jdp
2cbd0590cd Initial import of GNU binutils version 2.8.1. Believe it or not,
this is heavily stripped down.
1998-03-01 22:58:51 +00:00