aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.cc
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2022-04-07 08:36:23 +0100
committerSergei Trofimovich <siarheit@google.com>2022-04-08 08:01:06 +0100
commitcef03728234644b1a9ad5bd8e94daeac8650a71b (patch)
tree54e3413d4f5f8de5a6ad1c9d38e0df00fa95e26e /gcc/fold-const.cc
parentb789c44c6463452900f7b1e6d2a0af6567534bfc (diff)
downloadgcc-cef03728234644b1a9ad5bd8e94daeac8650a71b.zip
gcc-cef03728234644b1a9ad5bd8e94daeac8650a71b.tar.gz
gcc-cef03728234644b1a9ad5bd8e94daeac8650a71b.tar.bz2
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.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions