mirror of git://sourceware.org/git/glibc.git
Add comments about ARM configure -fno-unwind-tables handling.
This commit is contained in:
parent
7f86996afc
commit
b7845b6388
|
@ -1,3 +1,12 @@
|
||||||
|
2013-03-11 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/arm/preconfigure.in: Add comment about
|
||||||
|
-fno-unwind-tables addition to CFLAGS.
|
||||||
|
* sysdeps/arm/preconfigure: Regenerated.
|
||||||
|
* sysdeps/unix/sysv/linux/arm/configure.in: Add comment about
|
||||||
|
-fno-unwind-tables removal from CFLAGS.
|
||||||
|
* sysdeps/unix/sysv/linux/arm/configure: Regenerated.
|
||||||
|
|
||||||
2013-03-11 Roland McGrath <roland@hack.frob.com>
|
2013-03-11 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
* sysdeps/arm/bits/setjmp.h: Test [!__ASSEMBLER__] rather than [!_ASM].
|
* sysdeps/arm/bits/setjmp.h: Test [!__ASSEMBLER__] rather than [!_ASM].
|
||||||
|
|
|
@ -5,6 +5,11 @@ case "$machine" in
|
||||||
arm*)
|
arm*)
|
||||||
case $config_os in
|
case $config_os in
|
||||||
linux-gnueabi*)
|
linux-gnueabi*)
|
||||||
|
# If the compiler enables unwind tables by default, this causes
|
||||||
|
# problems with undefined symbols in -nostdlib link tests. To
|
||||||
|
# avoid this, add -fno-unwind-tables here and remove it in
|
||||||
|
# sysdeps/unix/sysv/linux/arm/configure.in after those tests have
|
||||||
|
# been run.
|
||||||
if "${CFLAGS+set}" != "set" ; then
|
if "${CFLAGS+set}" != "set" ; then
|
||||||
CFLAGS="-g -O2"
|
CFLAGS="-g -O2"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -5,6 +5,11 @@ case "$machine" in
|
||||||
arm*)
|
arm*)
|
||||||
case $config_os in
|
case $config_os in
|
||||||
linux-gnueabi*)
|
linux-gnueabi*)
|
||||||
|
# If the compiler enables unwind tables by default, this causes
|
||||||
|
# problems with undefined symbols in -nostdlib link tests. To
|
||||||
|
# avoid this, add -fno-unwind-tables here and remove it in
|
||||||
|
# sysdeps/unix/sysv/linux/arm/configure.in after those tests have
|
||||||
|
# been run.
|
||||||
if [ "${CFLAGS+set}" != "set" ]; then
|
if [ "${CFLAGS+set}" != "set" ]; then
|
||||||
CFLAGS="-g -O2"
|
CFLAGS="-g -O2"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
# Local configure fragment for sysdeps/unix/sysv/linux/arm.
|
# Local configure fragment for sysdeps/unix/sysv/linux/arm.
|
||||||
|
|
||||||
libc_cv_gcc_unwind_find_fde=no
|
libc_cv_gcc_unwind_find_fde=no
|
||||||
|
# Remove -fno-unwind-tables that was added in sysdeps/arm/preconfigure.in.
|
||||||
CFLAGS=${CFLAGS% -fno-unwind-tables}
|
CFLAGS=${CFLAGS% -fno-unwind-tables}
|
||||||
|
|
|
@ -2,4 +2,5 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
||||||
# Local configure fragment for sysdeps/unix/sysv/linux/arm.
|
# Local configure fragment for sysdeps/unix/sysv/linux/arm.
|
||||||
|
|
||||||
libc_cv_gcc_unwind_find_fde=no
|
libc_cv_gcc_unwind_find_fde=no
|
||||||
|
# Remove -fno-unwind-tables that was added in sysdeps/arm/preconfigure.in.
|
||||||
CFLAGS=${CFLAGS% -fno-unwind-tables}
|
CFLAGS=${CFLAGS% -fno-unwind-tables}
|
||||||
|
|
Loading…
Reference in New Issue