freebsd-dev/gnu/usr.bin/as/config
Peter Wemm e8d53f09e3 Ugly hack alert!
libg++'s exception code causes gcc to generate (ahem!) non-conventional
assembler code in -fpic mode that gas and ld choke on.  Basically, gas
and ld require than symbols referenced in the GOT (global offset table)
are actually global (as the name implies).  It attempted to work around
it before, but didn't quite go far enough to prevent a core dump in ld.
This hack causes GOT referenced symbols to be forced global.  This
probably breaks the __EXCEPTION_TABLE__ stuff in pic mode, but heck, it
wasn't even possible to compile with a shared library before at all.

I'm not 100% sure what the bug is.  There's two possibilities:
1: gcc/cp/exception.c has to be fixed to stop doing GOT references to
   local symbols, or
2: as/ld/symorder/ld.so etc need to be taught about how to keep local
   symbols around so that they can be dealt with in GOT references.

John Polstra's elfkit stuff seems to deal with this fine though, which is
why I think it's a "missing feature" in our hacked gas and ld..
1996-10-03 08:07:38 +00:00
..
aout.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
atof-ieee.c Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
atof-ns32k.c Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
atof-tahoe.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
atof-vax.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
coff.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
cplus-dem.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ho-ansi.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ho-decstation.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ho-generic.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ho-hpux.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ho-i386.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ho-i386aix.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ho-rs6000.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ho-sun3.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
ho-sun4.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
ho-sun386.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
ho-sunos.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ho-sysv.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ho-vax.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ho-vms.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
Makefile.hp300 Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
Makefile.i386 Updated version of gas which allows for link-time error reporting if 1994-12-23 22:37:45 +00:00
Makefile.pc532 Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
Makefile.sparc Updated version of gas which allows for link-time error reporting if 1994-12-23 22:37:45 +00:00
Makefile.vax Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
mh-i386 Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
mh-i386aix Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
mh-i386v4 Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
mt-ebmon29k Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
mt-h8300 Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
mt-h8300hds Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
mt-i386aix Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
mt-mips Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
mt-rs6000 Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
obj-aout.c Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
obj-aout.h Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
obj-bfd-sunos.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-bfd-sunos.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-bout.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-bout.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-coff.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-coff.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-coffbfd.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-coffbfd.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-generic.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-generic.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-ieee.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-ieee.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-vms.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
obj-vms.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-a29k.c Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
tc-a29k.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-generic.c Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
tc-generic.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-h8300.c Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
tc-h8300.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-i386.c Ugly hack alert! 1996-10-03 08:07:38 +00:00
tc-i386.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-i860.c Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
tc-i860.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
tc-i960.c Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
tc-i960.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-m68k.c Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
tc-m68k.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-m68kmote.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-m88k.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-m88k.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-m68851.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-mips.c Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
tc-mips.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
tc-ns32k.c Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
tc-ns32k.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-rs6000.c Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
tc-rs6000.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
tc-sparc.c Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
tc-sparc.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-tahoe.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-tahoe.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-vax.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tc-vax.h Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
te-dpx2.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
te-generic.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
te-hpux.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
te-i386aix.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
te-ic960.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
te-sco386.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
te-sequent.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
te-sun3.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
te-sysv32.h Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
vax-inst.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00