diff options
author | David McCullough <davidm@snapgear.com> | 2004-01-16 00:44:34 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2004-01-16 00:44:34 +0000 |
commit | f6997e6b87ed383396ec2b3c8852f266180e8c28 (patch) | |
tree | 6db0821792831f8b038692d38809e834fed76312 | |
parent | a5414fd15ca7b0629ce77950585d4002ff2ef09a (diff) |
Make sure we remove -fomit-frame-pointer from the ldso build. It's
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.
-rw-r--r-- | ldso/ldso/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile index 9014a12ce..46891c768 100644 --- 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) |