ebd063486f
built with clang. When these are defined the lists are defined similar to: asm(".section .ctors"); STATIC func_ptr __CTOR_LIST__[1] = { (func_ptr) (-1) }; asm(".section .dtors"); STATIC func_ptr __DTOR_LIST__[1] = { (func_ptr) (-1) }; The problem is clang will move the two arrays out of the .ctors and .dtors sections causing these sections to contain a single null address. By not defining these macros we use the version of the code that places the arrays is their sections by using __attribute__((section(".ctors"))) and similar for .dtors. Submitted by: Daisuke Aoyama <aoyama AT peach.ne.jp> |
||
---|---|---|
.. | ||
arm | ||
i386 | ||
ia64 | ||
mips | ||
rs6000 | ||
s390 | ||
soft-fp | ||
sparc | ||
darwin9.h | ||
darwin-64.c | ||
darwin-c.c | ||
darwin-crt2.c | ||
darwin-crt3.c | ||
darwin-protos.h | ||
darwin-sections.def | ||
darwin.c | ||
darwin.h | ||
darwin.opt | ||
dbx.h | ||
dbxcoff.h | ||
dbxelf.h | ||
dfp-bit.c | ||
dfp-bit.h | ||
divmod.c | ||
elfos.h | ||
fixdfdi.c | ||
fixsfdi.c | ||
fixunsdfsi.c | ||
fixunssfsi.c | ||
floatdidf.c | ||
floatdisf.c | ||
floatundidf.c | ||
floatundisf.c | ||
floatunsidf.c | ||
floatunsisf.c | ||
floatunsitf.c | ||
floatunsixf.c | ||
fp-bit.c | ||
fp-bit.h | ||
freebsd-nthr.h | ||
freebsd-spec.h | ||
freebsd.h | ||
gnu.h | ||
gofast.h | ||
host-darwin.c | ||
host-darwin.h | ||
host-hpux.c | ||
host-linux.c | ||
host-solaris.c | ||
interix3.h | ||
interix.h | ||
kaos.h | ||
kfreebsd-gnu.h | ||
knetbsd-gnu.h | ||
libgcc-glibc.ver | ||
libgloss.h | ||
linux.h | ||
linux.opt | ||
lynx.h | ||
lynx.opt | ||
memcmp.c | ||
memcpy.c | ||
memmove.c | ||
memset.c | ||
netbsd-aout.h | ||
netbsd-elf.h | ||
netbsd.h | ||
openbsd-oldgas.h | ||
openbsd.h | ||
ptx4.h | ||
README | ||
rtems.h | ||
sol2-6.h | ||
sol2-10.h | ||
sol2-c.c | ||
sol2-protos.h | ||
sol2.c | ||
sol2.h | ||
svr3.h | ||
svr4.h | ||
t-darwin | ||
t-dfprules | ||
t-freebsd | ||
t-freebsd-thread | ||
t-gnu | ||
t-libc-ok | ||
t-libgcc-pic | ||
t-libunwind | ||
t-libunwind-elf | ||
t-linux | ||
t-lynx | ||
t-netbsd | ||
t-openbsd | ||
t-openbsd-thread | ||
t-rtems | ||
t-slibgcc-darwin | ||
t-slibgcc-elf-ver | ||
t-slibgcc-nolc-override | ||
t-slibgcc-sld | ||
t-sol2 | ||
t-svr4 | ||
t-vxworks | ||
tm-dwarf2.h | ||
udivmod.c | ||
udivmodsi4.c | ||
usegas.h | ||
vx-common.h | ||
vxlib.c | ||
vxworks.h | ||
vxworks.opt | ||
vxworksae.h | ||
windiss.h | ||
x-darwin | ||
x-hpux | ||
x-interix | ||
x-linux | ||
x-solaris |
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.