gcc/libgcc/config
Sergei Trofimovich cef0372823 libgcc: IA64: don't compile glibc-based unwinder without libc headers
In --without-headers mode gcc fails to bootstrap on libgcc as:

    /build/build/./gcc/xgcc -B/build/build/./gcc/ ... -Dinhibit_libc -c fde-glibc.c
    ../../../gcc-12-20220403/libgcc/config/ia64/fde-glibc.c:33:10:
        fatal error: stdlib.h: No such file or directory

Most other linux targets are able to build the --without-headers
compiler without additional effort. This change adds IA64 to the fold.

The change drops part of the code that relies on DYNAMIC glibc
section traversal for backtraces.

Tested bootstrap of ia64-unknown-linux-gnu with and without libc
headers present.

libgcc/
	* config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
2022-04-08 08:01:06 +01:00
..
aarch64 Update copyright years. 2022-01-03 10:42:10 +01:00
alpha Update copyright years. 2022-01-03 10:42:10 +01:00
arc arc: Add DWARF2 alternate CFA column. 2022-01-14 12:24:52 +02:00
arm Update copyright years. 2022-01-03 10:42:10 +01:00
avr Update copyright years. 2022-01-03 10:42:10 +01:00
bfin Update copyright years. 2022-01-03 10:42:10 +01:00
bpf
c6x Update copyright years. 2022-01-03 10:42:10 +01:00
cr16 Update copyright years. 2022-01-03 10:42:10 +01:00
cris Update copyright years. 2022-01-03 10:42:10 +01:00
csky Update copyright years. 2022-01-03 10:42:10 +01:00
epiphany Update copyright years. 2022-01-03 10:42:10 +01:00
fr30 Update copyright years. 2022-01-03 10:42:10 +01:00
frv Update copyright years. 2022-01-03 10:42:10 +01:00
ft32 Update copyright years. 2022-01-03 10:42:10 +01:00
gcn GCN: Implement __atomic_compare_exchange_{1,2} in libgcc [PR102215] 2022-03-09 19:34:48 +01:00
h8300 Update copyright years. 2022-01-03 10:42:10 +01:00
i386 libgcc: Fix __gthr_i486_lock_cmp_xchg clobber for Windows 2022-01-15 13:32:05 +00:00
ia64 libgcc: IA64: don't compile glibc-based unwinder without libc headers 2022-04-08 08:01:06 +01:00
iq2000 Update copyright years. 2022-01-03 10:42:10 +01:00
libbid Update copyright years. 2022-01-03 10:42:10 +01:00
lm32 Update copyright years. 2022-01-03 10:42:10 +01:00
loongarch LoongArch Port: libgcc 2022-03-29 17:43:35 +08:00
m32c Update copyright years. 2022-01-03 10:42:10 +01:00
m32r Update copyright years. 2022-01-03 10:42:10 +01:00
m68k libgcc: m68k: avoid TEXTRELs in shared library (PR 86224) 2022-03-19 15:14:21 -04:00
mcore Update copyright years. 2022-01-03 10:42:10 +01:00
microblaze Update copyright years. 2022-01-03 10:42:10 +01:00
mips Update copyright years. 2022-01-03 10:42:10 +01:00
mmix Update copyright years. 2022-01-03 10:42:10 +01:00
moxie Update copyright years. 2022-01-03 10:42:10 +01:00
msp430 Update copyright years. 2022-01-03 10:42:10 +01:00
nds32 Update copyright years. 2022-01-03 10:42:10 +01:00
nios2 Update copyright years. 2022-01-03 10:42:10 +01:00
nvptx Update copyright years. 2022-01-03 10:42:10 +01:00
or1k Update copyright years. 2022-01-03 10:42:10 +01:00
pa Update copyright years. 2022-01-03 10:42:10 +01:00
pdp11
pru Update copyright years. 2022-01-03 10:42:10 +01:00
riscv Update copyright years. 2022-01-03 10:42:10 +01:00
rl78 Update copyright years. 2022-01-03 10:42:10 +01:00
rs6000 Darwin, libgcc: Fix build errors on powerpc-darwin8. 2022-03-04 16:44:54 +00:00
rx Update copyright years. 2022-01-03 10:42:10 +01:00
s390 Update copyright years. 2022-01-03 10:42:10 +01:00
score Update copyright years. 2022-01-03 10:42:10 +01:00
sh Update copyright years. 2022-01-03 10:42:10 +01:00
sol2 Update copyright years. 2022-01-03 10:42:10 +01:00
sparc Update copyright years. 2022-01-03 10:42:10 +01:00
stormy16 Update copyright years. 2022-01-03 10:42:10 +01:00
tilegx
tilepro Update copyright years. 2022-01-03 10:42:10 +01:00
v850 Update copyright years. 2022-01-03 10:42:10 +01:00
vax Update copyright years. 2022-01-03 10:42:10 +01:00
visium Update copyright years. 2022-01-03 10:42:10 +01:00
vms Update copyright years. 2022-01-03 10:42:10 +01:00
xtensa Update copyright years. 2022-01-03 10:42:10 +01:00
darwin10-unwind-find-enc-func.c
darwin-64.c Update copyright years. 2022-01-03 10:42:10 +01:00
darwin-crt3.c Update copyright years. 2022-01-03 10:42:10 +01:00
darwin-crt-tm.c Update copyright years. 2022-01-03 10:42:10 +01:00
darwin-unwind.ver
gthr-lynx.h Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-rtems.h Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-vxworks-cond.c Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-vxworks-thread.c Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-vxworks-tls.c Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-vxworks.c Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-vxworks.h Update copyright years. 2022-01-03 10:42:10 +01:00
hardfp.c Update copyright years. 2022-01-03 10:42:10 +01:00
libgcc-glibc.ver Update copyright years. 2022-01-03 10:42:10 +01:00
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin
t-darwin-ehs Darwin, libgcc: Fix build errors on powerpc-darwin8. 2022-03-04 16:44:54 +00:00
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-gthr-noweak
t-gthr-vxworks
t-gthr-vxworksae
t-hardfp Update copyright years. 2022-01-03 10:42:10 +01:00
t-hardfp-sfdf Update copyright years. 2022-01-03 10:42:10 +01:00
t-libgcc-pic
t-libunwind
t-libunwind-elf Update copyright years. 2022-01-03 10:42:10 +01:00
t-linux
t-openbsd-thread
t-rtems
t-slibgcc Update copyright years. 2022-01-03 10:42:10 +01:00
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-fuchsia Update copyright years. 2022-01-03 10:42:10 +01:00
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc Update copyright years. 2022-01-03 10:42:10 +01:00
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp Update copyright years. 2022-01-03 10:42:10 +01:00
t-softfp-compat
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf
t-softfp-tf
t-stack
t-tls
t-vxcrtstuff
t-vxcrtstuffS
t-vxworks
t-vxworksae
unwind-dw2-fde-darwin.c Update copyright years. 2022-01-03 10:42:10 +01:00
vxcrtstuff.c