diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2008-08-22 09:23:39 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2008-08-22 09:23:39 +0000 |
commit | af8d325c7734ba4a2783f5e8e41b507b66c3979a (patch) | |
tree | 3dd03630fe4fffa3921f53c5ede078833819c3eb /lib/csu | |
parent | 861cf54c59a9e1a86d01bd54f0347b4621bcb522 (diff) | |
download | src-af8d325c7734ba4a2783f5e8e41b507b66c3979a.tar.gz src-af8d325c7734ba4a2783f5e8e41b507b66c3979a.zip |
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
Notes
Notes:
svn path=/head/; revision=181997
Diffstat (limited to 'lib/csu')
-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 4b51e6b68a70..71ccd675b31f 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} |