mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 10:50:07 +00:00
b6dec1881f
2009-06-24 Maxim Kuvyrkov <maxim@codesourcery.com> Mark Mitchell <mark@codesourcery.com> Joseph Myers <joseph@codesourcery.com> Kazu Hirata <kazu@codesourcery.com> * sysdeps/arm/eabi/backtrace.c: New. * sysdeps/arm/eabi/Makefile (CFLAGS-backtrace.c): Add -funwind-tables. * sysdeps/arm/preconfigure: Add -fno-unwind-tables to CFLAGS. * sysdeps/unix/sysv/linux/arm/eabi/configure.in: Remove -fno-unwind-tables from CFLAGS. * sysdeps/unix/sysv/linux/arm/eabi/configure: Regenerate. * sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind.h (_Unwind_Trace_Fn): Define. (_Unwind_Backtrace): Declare.
18 lines
254 B
Plaintext
18 lines
254 B
Plaintext
case "$machine" in
|
|
arm*)
|
|
base_machine=arm
|
|
case $config_os in
|
|
linux-gnueabi)
|
|
machine=arm/eabi/$machine
|
|
;;
|
|
*)
|
|
machine=arm/$machine
|
|
;;
|
|
esac
|
|
;;
|
|
esac
|
|
if [ "${CFLAGS+set}" != "set" ]; then
|
|
CFLAGS="-g -O2"
|
|
fi
|
|
CFLAGS="$CFLAGS -fno-unwind-tables"
|