[uClibc-cvs] uClibc/ldso/ldso Makefile,1.51,1.52

David McCullough davidm at uclibc.org
Fri Jan 16 00:44:37 UTC 2004

Update of /var/cvs/uClibc/ldso/ldso
In directory nail:/tmp/cvs-serv16477/ldso/ldso

Modified Files:
Log Message:

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.

Index: Makefile
RCS file: /var/cvs/uClibc/ldso/ldso/Makefile,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- Makefile	22 Nov 2003 18:32:59 -0000	1.51
+++ Makefile	16 Jan 2004 00:44:34 -0000	1.52
@@ -68,6 +68,9 @@
+#This stuff will not work with -fomit-frame-pointer
+XXFLAGS := $(XXFLAGS:-fomit-frame-pointer=)
 all: lib
 lib:: _dl_progname.h $(OBJS) $(DLINK_OBJS)

More information about the uClibc-cvs mailing list