Commit Graph

195 Commits

Author SHA1 Message Date
David E. O'Brien
e5c271f3d1 Return to the vendor's version of this file as in rev 1.4. 2000-11-15 21:20:05 +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
3191012c29 Import a virgin (but trimed) Binutils 2.10 release. 2000-11-13 09:30:58 +00:00
David E. O'Brien
e1ffd53830 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
David E. O'Brien
6332cabb9b remove files not needed. 2000-11-13 09:22:26 +00:00
David E. O'Brien
5a436ba7a4 Upgrade to Binutils 2.10.0. 2000-11-13 09:14:15 +00:00
David E. O'Brien
08c6aaebe3 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
David E. O'Brien
4028f7031c Upgrade to Binutils 2.10.0. 2000-07-06 21:33:51 +00:00
David E. O'Brien
eb2671134a 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
David E. O'Brien
14b53d547f 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
David E. O'Brien
379331e3e3 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
David E. O'Brien
0edf2a3de5 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
David E. O'Brien
fbfde0f231 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
David E. O'Brien
84c87cba1a 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
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
b2875e6dda 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
David E. O'Brien
666c9ef376 Remove these Binutils 2.8.1 files. 2000-06-20 06:03:50 +00:00
David E. O'Brien
11d7003d4c Upgrade instructions for the sourceware_binutils-2_10-branch_anoncvs_20000512
Binutils import.
2000-06-18 21:32:11 +00:00
David E. O'Brien
a51d0e6c1b 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
David E. O'Brien
f585b85f39 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
David E. O'Brien
30565a54fc Addition SCO/SVR4 offical EI_OSABI types taken from the sourceware trunk. 2000-05-13 19:21:45 +00:00
David E. O'Brien
d6ccb80c97 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
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
c6404fdf02 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
David E. O'Brien
7277157f24 Tweaks for i386, add alpha, ppc, sparc, and strongarm support. 2000-05-13 17:48:08 +00:00
David E. O'Brien
cb51ce8cd9 Use the stock vendor version of this file now. 2000-05-13 17:34:51 +00:00
David E. O'Brien
76d24f9bde 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
David E. O'Brien
83e6e888b1 Merge in rev 1.2 (FreeBSD configuration support) 2000-05-13 17:23:06 +00:00
David E. O'Brien
bf88f988f1 Merge in rev 1.2 (balance the brackets; PR-docs/8505) 2000-05-13 17:17:56 +00:00
David E. O'Brien
c0714643b3 Merge in rev 1.2 (don't use "/" to start a comment). 2000-05-13 17:16:40 +00:00
David E. O'Brien
54ba4feb51 Merge in rev 1.2 which provides some FreeBSD a.out support. 2000-05-13 17:15:13 +00:00
David E. O'Brien
51b36c071e Fix the i386 config bits, merge in the Alpha bits, and add arm32 and
sparc bits.
2000-05-13 17:12:52 +00:00
David E. O'Brien
41a5f4b230 Fix the i386 config bits, merge in the Alpha bits, and add arm32 and
sparc bits.
2000-05-13 17:02:34 +00:00
David E. O'Brien
43766e3cef Return to the vendor's version of this file. 2000-05-13 16:56:24 +00:00
David E. O'Brien
9f2a1db658 Return to the vendor's version of this file as in rev 1.4. 2000-05-13 16:54:41 +00:00
David E. O'Brien
eccf7968d0 Merge in our rev 1.2 changes: Restore traditional behavior by acknowledging
tabs in strings.
2000-05-13 16:53:47 +00:00
David E. O'Brien
caf0b2ed4a Return this file to the vendor's file. 2000-05-13 16:52:25 +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
35754f3b83 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
David E. O'Brien
4a6dfd6c0a 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
David E. O'Brien
e3c693b9d4 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
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
bf5476a756 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
David E. O'Brien
6756d48641 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
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
David E. O'Brien
f5f0024129 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
Martin Cracauer
58a557e671 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
John Polstra
d8b6bfecaf 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
David E. O'Brien
0b91470ee9 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
David E. O'Brien
c2f8be1de4 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
Doug Rabson
25ae2c1cd6 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
Doug Rabson
86c24ab288 The maximum pagesize for alpha is 64k, not 1Mb. 1999-05-02 12:02:55 +00:00
Nik Clayton
b38ec08e39 Fix typos.
PR:		docs/8682
Submitted by:	hnokubi@yyy.or.jp
Reviewed by:	nik
1999-04-14 18:49:15 +00:00
Hidetoshi Shimokawa
e8193c8b26 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
Warner Losh
fb802c79c3 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
Warner Losh
2bc4294122 Import files needed to build mips binaries with binutils 2.9.1. 1999-02-28 23:08:24 +00:00
Warner Losh
7fb25faad3 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
Warner Losh
ca421bfbcd 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 Wemm
7cedcfa765 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
Stephen McKay
cf17350fb8 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 Price
38d3291739 Another directive nit.
PR:		8144
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-12-10 03:22:27 +00:00
Steve Price
0043814576 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 Price
05eea124e9 Typo fix.
PR:		8034
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-12-10 01:37:43 +00:00
Bill Fumerola
7765322868 Balance the brackets.
PR:		docs/8505
Submitted by:	Kazuo Horikawa <horikawa@jp.FreeBSD.org>
1998-12-08 22:49:08 +00:00
Bill Fumerola
26255a3cd5 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
John Polstra
25352982e7 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
John Polstra
0a225ac59d Resolve conflicts from import of binutils-2.9.1.
Submitted by:	Doug Rabson <dfr>
1998-09-06 23:00:35 +00:00
John Polstra
f3c0afbfb0 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
John Polstra
914f9af1ba 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
John Birrell
11ab2a9095 Import an extra source file from binutils 2.8.1 that is included on
alpha.
1998-03-09 03:38:19 +00:00
John Birrell
c76572aa7a 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
John Birrell
45e0d510b8 Add a FreeBSD entry for alpha-elf. 1998-03-09 03:34:53 +00:00
cvs2svn
d3609998d8 This commit was manufactured by cvs2svn to create branch
'VENDOR-binutils'.
1998-03-01 23:26:33 +00:00
John Polstra
12df71b07c 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
John Polstra
ff8f730683 Don't use "/" as a comment starter. In some FreeBSD sources, "/"
means divide (duh).
1998-03-01 23:22:00 +00:00
John Polstra
d228076248 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
John Polstra
ff0c247c3c 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
John Polstra
4f24af7764 Add automatic branding of FreeBSD ELF files. 1998-03-01 23:15:09 +00:00
John Polstra
6a248bab85 Add upgrade instructions and helper file. 1998-03-01 23:13:26 +00:00
John Polstra
52cb49752a 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