mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 22:30:12 +00:00
b775be640a
* sysdeps/i386/Makefile: Make sure gcc uses a frame pointer for all the files which use CURRENT_STACK_FRAME.
19 lines
746 B
Makefile
19 lines
746 B
Makefile
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
|