Commit graph

63 commits

Author SHA1 Message Date
David E. O'Brien fe703cdb2b Commit the stock 2.12.0_snap version. 2002-01-27 12:08:47 +00:00
David E. O'Brien 2a6f4bb9e6 Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.12.0_snap.
2002-01-27 12:08:15 +00:00
David E. O'Brien 2b80b9b724 Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.12.0_snap.
2002-01-27 12:07:38 +00:00
David E. O'Brien 8aedd9e98e Merge our ELF branding into Binutils 2.12.0_snap. 2002-01-27 12:06:54 +00:00
David E. O'Brien e85f989710 This commit was generated by cvs2svn to compensate for changes in r89857,
which included commits to RCS files with non-trunk default branches.
2002-01-27 12:00:11 +00:00
David E. O'Brien dbbf32dd39 Enlist the FreeBSD-CURRENT users as testers of what is to become Binutils
version 2.12.0.  These bits are taken from the FSF anoncvs repo on
27-January-2002 03:41 PST.
2002-01-27 12:00:11 +00:00
Peter Wemm 855ee8c509 Fix the 'nm' -> segfault bug (on the vendor branch). This has been fixed
the same way in the cygnus base source.  The problem was that bfd was
writing to memory obtained from malloc(0).    The next import will update
this if necessary.  I'm not sure of the origins of this patch.

Discussed with: obrien
2001-12-20 02:23:44 +00:00
Peter Wemm 0558ae2a89 This commit was generated by cvs2svn to compensate for changes in r88237,
which included commits to RCS files with non-trunk default branches.
2001-12-20 02:23:44 +00:00
David E. O'Brien adc940bfc7 Halloween import of Binutils from the FSF 2.11 branch.
This fixes some IA-64 related bugs.
2001-11-01 09:24:29 +00:00
David E. O'Brien 71523ea656 This commit was generated by cvs2svn to compensate for changes in r85815,
which included commits to RCS files with non-trunk default branches.
2001-11-01 09:24:29 +00:00
David E. O'Brien ca8d09641f Import the extra bits needed to target IA-64, PowerPC, and sparc64.
(this is Binutils from the FSF 2.11 branch [checked out 19-July-2001])
2001-10-13 01:47:52 +00:00
David E. O'Brien 45a7ac086f This commit was generated by cvs2svn to compensate for changes in r84865,
which included commits to RCS files with non-trunk default branches.
2001-10-13 01:47:52 +00:00
David E. O'Brien e3bf29e1d6 Import of Binutils from the FSF 2.11 branch [checked out 19-July-2001].
This fixes an annoying `ld' bug.
2001-07-20 03:29:51 +00:00
David E. O'Brien 19d6069d11 This commit was generated by cvs2svn to compensate for changes in r80016,
which included commits to RCS files with non-trunk default branches.
2001-07-20 03:29:51 +00:00
David E. O'Brien 515082a3ff Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.11.2. 2001-06-26 17:44:22 +00:00
David E. O'Brien 937233fdcb Really wish this could back on the vendor branch...
Commit the stock 2.11.2 version.
2001-06-26 17:43:37 +00:00
David E. O'Brien 612f257451 Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.11.2.
2001-06-26 17:17:04 +00:00
David E. O'Brien dd752cf395 Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.11.2.
2001-06-26 17:15:34 +00:00
David E. O'Brien fdcfb587ca Merge our ELF branding into Binutils 2.11.2. 2001-06-26 17:14:56 +00:00
David E. O'Brien fd66bf0071 Import of GNU Binutils version 2.11.2. 2001-06-26 16:57:43 +00:00
David E. O'Brien 2f5bf4fae2 This commit was generated by cvs2svn to compensate for changes in r78828,
which included commits to RCS files with non-trunk default branches.
2001-06-26 16:57:43 +00:00
David E. O'Brien 64f2a81b18 CVS is too stupid to realize we use the stock version of this file now. 2001-05-28 05:54:56 +00:00
David E. O'Brien 0130e184b4 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
David E. O'Brien af489d2da7 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
David E. O'Brien 8b8792993c 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
David E. O'Brien c9edceadd8 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
David E. O'Brien c8c29a6bbe 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
David E. O'Brien b068880df6 Remove binutils 2.9.1 files that are not part of 2.10.x. 2000-11-25 09:57:13 +00:00
David E. O'Brien afee4f874c Remove this binutils 2.8.1 file that was never part of any FreeBSD release. 2000-11-25 02:02:01 +00:00
David E. O'Brien 3cb0460bb0 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
David E. O'Brien 74b4d11d4e 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
David E. O'Brien 8a10a1e8f8 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
David E. O'Brien ac9fb8ca50 Merge our ELF branding into Binutils 2.10.1. 2000-11-15 21:04:41 +00:00
David E. O'Brien 98c12ca6b6 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
David E. O'Brien e3e2243d4d 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
David E. O'Brien 76efa1c2d8 Merge in our ELF branding. 2000-06-20 06:46:06 +00:00
David E. O'Brien 9cf1d3773b Import a virgin (but trimed) Binutils 2.10 release. 2000-06-20 06:20:42 +00:00
David E. O'Brien 6e440a7238 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
David E. O'Brien 745b5e1af2 Merge rev 1.2 (configuration changes to support FreeBSD) 2000-05-13 17:55:26 +00:00
David E. O'Brien 8913907509 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
David E. O'Brien 7371abab19 Merge in rev 1.3 changes (Make the default dynamic linker pathname correct
for FreeBSD.)
2000-05-13 16:46:57 +00:00
David E. O'Brien d37bffcc61 Merge in rev 1.4 changes (Make the default dynamic linker pathname correct
for FreeBSD.)
2000-05-13 16:45:41 +00:00
David E. O'Brien 1398d72f39 Merge in our ELF branding. 2000-05-13 16:44:19 +00:00
David E. O'Brien 78ce21c1df Import of Binutils 2.10 snapshot. 2000-05-12 23:15:20 +00:00
David E. O'Brien 32dca8efe6 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
David E. O'Brien 6ab0aaaf3f 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
David E. O'Brien c815a20cb2 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
David E. O'Brien 75d7a3c3bc Slight cleaner code that may be more palatable to the Binutils maintainers. 2000-04-12 03:43:09 +00:00
David E. O'Brien ba6614d32c Slightly cleaner branding code that may be more palatable to the Binutils
maintainers.
2000-04-12 03:42:40 +00:00
David E. O'Brien 407509b3ae Import the Sparc bits of GNU binutils 2.9.1.
Requested by:	steve
2000-04-05 04:09:32 +00:00