gcc/libgcc/config/ia64
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
..
__divxf3.S
_fixtfdi.S
_fixunstfdi.S
_floatditf.S
crtbegin.S
crtend.S
crtfastmath.c
crti.S
crtn.S
divtf3.c
fde-glibc.c
fde-vms.c
lib1funcs.S
libgcc-glibc.ver
libgcc-ia64.ver
linux-unwind.h
quadlib.c
sfp-exceptions.c
sfp-machine.h
t-eh-ia64
t-hpux
t-ia64
t-ia64-elf
t-linux
t-linux-libunwind
t-slibgcc-hpux
t-softfp
t-softfp-compat
t-vms
tf-signs.c
unwind-ia64.c
unwind-ia64.h
vms-crtinit.S
vms-unwind.h