svn commit: branches/uClibc-nptl/libc/misc/internals

sjhill at uclibc.org sjhill at uclibc.org
Wed Nov 16 02:53:18 UTC 2005


Author: sjhill
Date: 2005-11-15 18:53:18 -0800 (Tue, 15 Nov 2005)
New Revision: 12274

Log:
Add 'static.c' back into the build.


Added:
   branches/uClibc-nptl/libc/misc/internals/static.c

Modified:
   branches/uClibc-nptl/libc/misc/internals/Makefile


Changeset:
Modified: branches/uClibc-nptl/libc/misc/internals/Makefile
===================================================================
--- branches/uClibc-nptl/libc/misc/internals/Makefile	2005-11-16 02:49:53 UTC (rev 12273)
+++ branches/uClibc-nptl/libc/misc/internals/Makefile	2005-11-16 02:53:18 UTC (rev 12274)
@@ -37,7 +37,7 @@
 
 OBJ_LIST=../../obj.misc.internals
 
-all: $(OBJ_LIST) interp.o
+all: $(OBJ_LIST) interp.o static.o
 
 $(OBJ_LIST): $(OBJS)
 	echo $(patsubst %, misc/internals/%, $(OBJS)) > $(OBJ_LIST)
@@ -50,7 +50,7 @@
 		"(\".interp\"))) =\""$(SHARED_LIB_LOADER_PREFIX)/$(UCLIBC_LDSO)"\";" >> interp.c
 	echo "#endif" >> interp.c
 
-$(COBJS) interp.o: %.o : %.c
+$(COBJS) interp.o static.o: %.o : %.c
 	$(CC) $(CFLAGS) -c $< -o $@
 	$(STRIPTOOL) -x -R .note -R .comment $*.o
 

Added: branches/uClibc-nptl/libc/misc/internals/static.c
===================================================================
--- branches/uClibc-nptl/libc/misc/internals/static.c	2005-11-16 02:49:53 UTC (rev 12273)
+++ branches/uClibc-nptl/libc/misc/internals/static.c	2005-11-16 02:53:18 UTC (rev 12274)
@@ -0,0 +1,4 @@
+#include <stddef.h>
+
+/* Force static libraries to know about ... */
+void *__libc_stack_end=NULL;




More information about the uClibc-cvs mailing list