diff options
author | kib <kib@FreeBSD.org> | 2008-08-22 09:23:39 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-08-22 09:23:39 +0000 |
commit | 958ba94773af71ad6ee87a0be93b8b60ad679b3f (patch) | |
tree | 3dd03630fe4fffa3921f53c5ede078833819c3eb /lib | |
parent | 9ec1a083f8f4aca93ef03e275464215d368faa7c (diff) | |
download | FreeBSD-src-958ba94773af71ad6ee87a0be93b8b60ad679b3f.zip FreeBSD-src-958ba94773af71ad6ee87a0be93b8b60ad679b3f.tar.gz |
Add -fno-omit-frame-pointer to CFLAGS used to compile crt1.c on amd64.
For gcc' __builtin_frame_address() to work, all call frames need to save
frame pointer. In particular, this is important for the upper frame that
should terminate the chain.
No objections from: jhb
PR: amd64/126543
MFC after: 1 week
Diffstat (limited to 'lib')
-rw-r--r-- | lib/csu/amd64/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/csu/amd64/Makefile b/lib/csu/amd64/Makefile index 4b51e6b..71ccd67 100644 --- a/lib/csu/amd64/Makefile +++ b/lib/csu/amd64/Makefile @@ -7,6 +7,7 @@ OBJS= ${SRCS:N*.h:R:S/$/.o/g} OBJS+= gcrt1.o CFLAGS+= -I${.CURDIR}/../common \ -I${.CURDIR}/../../libc/include +CFLAGS+= -fno-omit-frame-pointer all: ${OBJS} |