1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/contrib/gcc/config
David E. O'Brien a6d80351b7 Re-initialize gp after a jsr.
When rtld runs the .fini section in a shared lib (C++), the code in
question from .../contrib/gdb/config/alpha/crtbegin.asm first calls
__do_globals_dtors_aux and then __do_frame_takedown.  Unfortunately, the
value of gp after a jsr is undefined and in this case had changed from before
the call, probably as a result of calling code in some other shared library.
The normal calling convention for alpha is to re-initialize gp using
'ldgp gp,0(ra)' after a jsr instruction but in this case no such
re-initialization is done. This leads to a bogus value being read for the
address of __do_frame_takedown and a quick segfault.

Submitted by:   dfr
Obtained from:  GCC 3.0
2001-08-17 22:54:26 +00:00
..
alpha Re-initialize gp after a jsr. 2001-08-17 22:54:26 +00:00
i386 Merge gcc-2.95.3 changes onto mainline. Update FreeBSD changes to converge 2001-03-19 19:50:16 +00:00
sparc Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #3 2001-02-17 08:34:50 +00:00
aoutos.h
dbx.h
dbxcoff.h Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
dbxelf.h Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
elfos.h Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch" 2000-05-27 02:25:28 +00:00
float-i32.h
float-i64.h
float-i128.h
float-i386.h
float-m68k.h
float-sh.h Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
float-vax.h
fp-bit.c Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
freebsd.h Make it easy for people to use define DWARF2 exceptions unwinding. 2001-05-14 22:45:26 +00:00
gnu.h
gofast.h
interix.h Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
libgloss.h
linux-aout.h
linux.h Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #1 2001-01-03 17:16:04 +00:00
lynx-ng.h
lynx.h
netbsd.h
nextstep21.h
nextstep.c Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
nextstep.h Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
openbsd.h Virgin import of the GCC 2.95.2 compilers 1999-11-01 08:28:22 +00:00
psos.h
ptx4.h Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
README
svr3.h
svr4.h Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
t-freebsd Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
t-gnu Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
t-libc-ok
t-linux-aout
t-netbsd
t-openbsd Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
t-openbsd-thread
t-rtems Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
t-svr4
tm-dwarf2.h Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
x-interix Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
x-linux
x-linux-aout
x-lynx
x-netbsd
x-svr4
xm-alloca.h
xm-freebsd.h
xm-gnu.h
xm-interix.h Virgin import of the GCC 2.95.1 compilers 1999-10-16 06:09:09 +00:00
xm-linux.h
xm-lynx.h
xm-netbsd.h
xm-openbsd.h
xm-siglist.h
xm-std32.h
xm-svr3.h
xm-svr4.h

This directory contains machine-specific files for the GNU C compiler.
It has a subdirectory for each basic CPU type.
The only files in this directory itself
are some .h files that pertain to particular operating systems
and are used for more than one CPU type.