Commit Graph

297 Commits

Author SHA1 Message Date
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