freebsd-src/contrib/gcc/cp
John Polstra 87f11ab41b Fix a bug that caused incorrect PIC code to be generated for exceptions.
The symptom was an assembler warning

    "GOT relocation burb: `___EXCEPTION_TABLE__' should be global"

followed (sometimes) by a core dump.  The fix makes the compiler
generate the correct GOTOFF addressing for that symbol, rather than the
GOT addressing it was emitting before.

Warning:  There is still at least one serious bug in the i386 exception
code for PIC.  The exception code that is generated clobbers the GOT
register (%ebx) and then tries to use it later.  That leads to core
dumps at program execution time.  I know where the problem is, but I do
not have a fix for it at this time.  Until it is fixed, exceptions will
not work in PIC code.  This is a general problem for all i386 platforms;
it is not specific to FreeBSD.
1996-10-03 17:49:35 +00:00
..
call.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
ChangeLog Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
class.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
class.h Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
config-lang.in Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
cp-tree.h Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
cvt.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
decl.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
decl.h Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
decl2.c Import of 2.7.2.1 into vendor branch 1996-09-18 05:45:16 +00:00
edsel.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
errfn.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
error.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
except.c Fix a bug that caused incorrect PIC code to be generated for exceptions. 1996-10-03 17:49:35 +00:00
expr.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
g++.1 Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
g++.c Temporarily disable the code that wants to add -lstdc++ in tge g++ driver 1996-09-27 05:13:40 +00:00
gc.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
gpcompare.texi Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
gxx.gperf Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
gxxint.texi My feeble attempt at fixing complaints that makeinfo makes about 1996-09-18 06:35:00 +00:00
init.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
input.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
lang-options.h Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
lang-specs.h Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
lex.c Import of 2.7.2.1 into vendor branch 1996-09-18 05:45:16 +00:00
lex.h Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
Make-lang.in Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
Makefile.in Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
method.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
parse.y Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
pt.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
ptree.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
reno.texi Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
repo.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
search.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
sig.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
spew.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
templates.texi Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
tree.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
tree.def Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
typeck.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
typeck2.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00
xref.c Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the 1996-09-18 05:35:50 +00:00