Commit Graph

68 Commits

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