David E. O'Brien
b7e4108c6b
Import of Binutils from the FSF 2.15 branch (just post-.0 release).
...
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
2008-05-29 02:29:59 +00:00
David E. O'Brien
de582f44b4
This commit was generated by cvs2svn to compensate for changes in r179404,
...
which included commits to RCS files with non-trunk default branches.
2008-05-29 02:29:59 +00:00
Marius Strobl
2ce641c5c4
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
...
non-shared object, do not reserve space in .plt and .rela.plt
for regular symbols neither defined nor referenced in shared objects.
This is a backport of rev. 1.101 (sourceware.org repository) to
Binutils 2.15 which fixes the creation of bogus relocations in the
PLT of Firefox and Thunderbird binaries and which in turn caused
them to segfault in rtld(1). This is committed to the vendor branch
as it doesn't represent a local change but the original vendor fix
is from after elf_link_hash_flags was replaced with bitfields.
PR: sparc64/89486
Approved by: maintainer timeout
Obtained from: NetBSD
MFC after: 1 week
2006-06-08 13:10:51 +00:00
Marius Strobl
ef75316994
This commit was generated by cvs2svn to compensate for changes in r159399,
...
which included commits to RCS files with non-trunk default branches.
2006-06-08 13:10:51 +00:00
David E. O'Brien
e74f71ff7f
Import of Binutils from the FSF 2.15 branch (just post-.0 release).
...
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
2004-07-06 19:16:23 +00:00
David E. O'Brien
3cc52aa5e0
This commit was generated by cvs2svn to compensate for changes in r131722,
...
which included commits to RCS files with non-trunk default branches.
2004-07-06 19:16:23 +00:00
David E. O'Brien
6c81463f56
Update HEAD with the stock binutils_2_15_20040523 file.
2004-06-16 06:55:49 +00:00
David E. O'Brien
b543ed2b74
Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.15.
2004-06-16 06:13:06 +00:00
David E. O'Brien
3358ced985
Merge our ELF branding into Binutils 2.15.
2004-06-16 06:02:14 +00:00
David E. O'Brien
da03bc7002
Import of Binutils from the FSF 2.15 branch (just post-.0 release).
...
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
2004-06-16 05:45:41 +00:00
David E. O'Brien
ad6e3f2b73
This commit was generated by cvs2svn to compensate for changes in r130561,
...
which included commits to RCS files with non-trunk default branches.
2004-06-16 05:45:41 +00:00
David E. O'Brien
34d258e905
From FSF Binutils CVS repo:
...
2003-04-09 Richard Henderson <rth@redhat.com>
* elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
Ignore relocations against r_symndx == 0.
Requested by: kris,re(scottl)
2003-05-28 03:32:33 +00:00
David E. O'Brien
7f158db49d
Junk that never should have gotten imported.
2003-03-02 19:01:31 +00:00
David E. O'Brien
a46000f2ca
Update HEAD with the stock files.
2002-12-02 09:39:02 +00:00
David E. O'Brien
332649695e
Remove our custom ELF branding -- we have moved to our own ELF vectors
...
that DTRT.
2002-12-02 09:22:58 +00:00
David E. O'Brien
702c8f15ef
Merge our ELF branding into Binutils 2_13_2_20021127 snapshot.
2002-12-02 09:17:49 +00:00
David E. O'Brien
ca88f70eac
GC some stuff I thought was long gone.
2002-12-02 09:14:25 +00:00
David E. O'Brien
898696a8b3
Import of Binutils from the FSF 2.13 branch (just pre-.2 release).
...
These bits are taken from the FSF anoncvs repo on 27-Oct-2002 21:12:00 EST.
2002-12-02 09:06:04 +00:00
David E. O'Brien
6c3a332e94
This commit was generated by cvs2svn to compensate for changes in r107492,
...
which included commits to RCS files with non-trunk default branches.
2002-12-02 09:06:04 +00:00
David E. O'Brien
e4c6a19966
Try to keep CVS from pissing over the next binutils import by returning
...
to purely stock files.
2002-12-02 08:42:08 +00:00
David E. O'Brien
0320623115
Import of Binutils from the FSF 2.13 branch (just pre-.1 release).
...
These bits are taken from the FSF anoncvs repo on 11-Oct-2002 22:39:35 PDT.
2002-10-11 09:15:11 +00:00
David E. O'Brien
a77c19c987
This commit was generated by cvs2svn to compensate for changes in r104871,
...
which included commits to RCS files with non-trunk default branches.
2002-10-11 09:15:11 +00:00
David E. O'Brien
a85f4d8e6e
We use the stock version of this file.
2002-10-11 06:11:27 +00:00
David E. O'Brien
7f08766508
Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.13_20021110.
2002-10-11 06:11:03 +00:00
David E. O'Brien
8fe9bb17ae
Merge rev 1.8 ("ELF_DYNAMIC_INTERPRETER") into Binutils 2.13_20021110 snap.
2002-10-11 06:10:28 +00:00
David E. O'Brien
8e7b167431
On second thought, garbage collect the OLD_BRANDELF_METHOD. FreeBSD 5.0
...
is a good point to break from this historical ABI-breaking method.
2002-10-11 06:09:39 +00:00
David E. O'Brien
03dc1f6999
Merge our ELF branding into Binutils 2_13_20021011 snapshot.
...
(note that this will be the last Binutils update to offer our original
method of ELF branding (WANT_OLD_BRANDELF_METHOD))
2002-10-11 06:08:01 +00:00
David E. O'Brien
88e5f95a93
Import of Binutils from the FSF 2.13 branch (just pre-.1 release).
...
These bits are taken from the FSF anoncvs repo on 11-Oct-2002 22:39:35 PDT.
2002-10-11 06:01:20 +00:00
David E. O'Brien
8febaae8e2
This commit was generated by cvs2svn to compensate for changes in r104834,
...
which included commits to RCS files with non-trunk default branches.
2002-10-11 06:01:20 +00:00
David E. O'Brien
bde4025733
Remove these MIPS (and stragglers) from the vendor branch so I won't
...
accidently import them again.
2002-08-31 20:49:15 +00:00
David E. O'Brien
961b726450
Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020720.
2002-08-31 20:38:58 +00:00
David E. O'Brien
f862c555e6
Import of Binutils from the FSF 2.12 branch (post-.1 release).
2002-08-31 20:20:07 +00:00
David E. O'Brien
a00bb00510
This commit was generated by cvs2svn to compensate for changes in r102729,
...
which included commits to RCS files with non-trunk default branches.
2002-08-31 20:20:07 +00:00
David E. O'Brien
86c6456a3e
We use the stock version of this file.
2002-07-05 20:34:21 +00:00
David E. O'Brien
7f8f70d5f8
Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020622 snap.
2002-07-05 20:32:42 +00:00
David E. O'Brien
c563f5ced3
Merge our ELF branding into Binutils 2.12_20020622 snapshot.
...
(note that this will be the last Binutils update to offer our original
method of ELF branding (WANT_OLD_BRANDELF_METHOD))
2002-07-05 20:30:48 +00:00
David E. O'Brien
c7549e32a4
Import of Binutils from the FSF 2.12 branch (just post-.1 release).
...
These bits are taken from the FSF anoncvs repo on 22-June-2002 23:28:00 EDT.
2002-07-05 20:16:34 +00:00
David E. O'Brien
95cd50e6d7
This commit was generated by cvs2svn to compensate for changes in r99461,
...
which included commits to RCS files with non-trunk default branches.
2002-07-05 20:16:34 +00:00
David E. O'Brien
6b42ebd631
Merge the stock 2.12.0 snap version.
2002-04-12 19:52:34 +00:00
David E. O'Brien
aec81a114a
Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020410 snap.
2002-04-12 19:51:31 +00:00
David E. O'Brien
bcf1d3f7ac
Merge rev 1.8 ("ELF_DYNAMIC_INTERPRETER") into Binutils 2.12_20020410 snap.
2002-04-12 19:50:32 +00:00
David E. O'Brien
58692393f0
Merge our ELF branding into Binutils 2.12_20020410 snapshot.
2002-04-12 19:49:24 +00:00
David E. O'Brien
0aecce1e34
Import of Binutils from the FSF 2.12 branch.
...
(this fixes several linker problems and coredumps)
These bits are taken from the FSF anoncvs repo on 10-April-2002 13:24 Zulu
2002-04-12 19:33:52 +00:00
David E. O'Brien
d31ed8e471
This commit was generated by cvs2svn to compensate for changes in r94536,
...
which included commits to RCS files with non-trunk default branches.
2002-04-12 19:33:52 +00:00
David E. O'Brien
1a00a2a761
Commit the stock 2.12.0 release version.
2002-03-20 21:59:13 +00:00
David E. O'Brien
55ba99bb8d
Import of Binutils from the FSF 2.12 branch (just post-.0 release).
...
These bits are taken from the FSF anoncvs repo on 20-March-2002 13:33:33 PST.
2002-03-20 21:37:13 +00:00
David E. O'Brien
771ecfb273
This commit was generated by cvs2svn to compensate for changes in r92828,
...
which included commits to RCS files with non-trunk default branches.
2002-03-20 21:37:13 +00:00
David E. O'Brien
23c27fc6d9
Remove bogon from bad merge.
2002-03-13 04:39:40 +00:00
David E. O'Brien
00cb9610b5
Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
...
elsewhere) into Binutils 2.12_20020221_snap.
2002-02-22 04:46:20 +00:00
David E. O'Brien
d3e821e6ac
Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
...
elsewhere) into Binutils 2.12_20020221_snap.
2002-02-22 04:45:47 +00:00
David E. O'Brien
3fe4d18dc1
Merge our ELF branding into Binutils 2.12_20020221_snap.
2002-02-22 04:44:56 +00:00
David E. O'Brien
eb1d121cb5
Import of Binutils from the FSF 2.12 branch (pre-.0 release).
...
These bits are taken from the FSF anoncvs repo on 21-Feburary-2002 20:15 PST.
2002-02-22 04:18:42 +00:00
David E. O'Brien
9e68b78882
This commit was generated by cvs2svn to compensate for changes in r91041,
...
which included commits to RCS files with non-trunk default branches.
2002-02-22 04:18:42 +00:00
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
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
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
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