OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5414fd
)
Make sure we remove -fomit-frame-pointer from the ldso build. It's
author
David McCullough
<davidm@snapgear.com>
Fri, 16 Jan 2004 00:44:34 +0000
(
00:44
-0000)
committer
David McCullough
<davidm@snapgear.com>
Fri, 16 Jan 2004 00:44:34 +0000
(
00:44
-0000)
inclusion will cause the loader to crash when jumping to the application.
The reason is due to the START macro having a "leave" instruction included
to fixup the stack before starting the app.
ldso/ldso/Makefile
patch
|
blob
|
history
diff --git
a/ldso/ldso/Makefile
b/ldso/ldso/Makefile
index
9014a12
..
46891c7
100644
(file)
--- a/
ldso/ldso/Makefile
+++ b/
ldso/ldso/Makefile
@@
-68,6
+68,9
@@
ifeq ($(strip $(FORCE_SHAREABLE_TEXT_SEGMENTS)),y)
XXFLAGS+=-DFORCE_SHAREABLE_TEXT_SEGMENTS
endif
+#This stuff will not work with -fomit-frame-pointer
+XXFLAGS := $(XXFLAGS:-fomit-frame-pointer=)
+
all: lib
lib:: _dl_progname.h $(OBJS) $(DLINK_OBJS)