aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-12 23:03:41 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-12 23:03:41 +0000
commitb775be640a4d1621e9ebd6146a16c96dd69178c7 (patch)
treee27cbc6e63108d475dabf9252f68f5b04712d0b7 /linuxthreads/sysdeps
parentb721a2c03c079f8939fae82823b6f75ef5b6639b (diff)
downloadglibc-b775be640a4d1621e9ebd6146a16c96dd69178c7.tar
glibc-b775be640a4d1621e9ebd6146a16c96dd69178c7.tar.gz
glibc-b775be640a4d1621e9ebd6146a16c96dd69178c7.tar.bz2
glibc-b775be640a4d1621e9ebd6146a16c96dd69178c7.zip
Update.
* sysdeps/i386/Makefile: Make sure gcc uses a frame pointer for all the files which use CURRENT_STACK_FRAME.
Diffstat (limited to 'linuxthreads/sysdeps')
-rw-r--r--linuxthreads/sysdeps/i386/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/i386/Makefile b/linuxthreads/sysdeps/i386/Makefile
index 811a799ad8..854eacbd32 100644
--- a/linuxthreads/sysdeps/i386/Makefile
+++ b/linuxthreads/sysdeps/i386/Makefile
@@ -2,4 +2,17 @@ ifeq ($(subdir),linuxthreads)
# On i686 we must avoid generating the trampoline functions generated
# to get the GOT pointer.
CFLAGS-pt-initfini.s += -march=i386 -mcpu=i386
+
+# Most files must not be compiled without frame pointer since we need
+# the frame base address which is stored in %ebp unless the frame pointer
+# is optimized out.
+CFLAGS-cancel.c += -fno-omit-frame-pointer
+CFLAGS-condvar.c += -fno-omit-frame-pointer
+CFLAGS-join.c += -fno-omit-frame-pointer
+CFLAGS-manager.c += -fno-omit-frame-pointer
+CFLAGS-oldsemaphore.c += -fno-omit-frame-pointer
+CFLAGS-pthreads.c += -fno-omit-frame-pointer
+CFLAGS-ptlongjmp.c += -fno-omit-frame-pointer
+CFLAGS-semaphore.c += -fno-omit-frame-pointer
+CFLAGS-signals.c += -fno-omit-frame-pointer
endif