svn commit: branches/uClibc_0_9_28/libc: misc/internals
andersen at uclibc.org
andersen at uclibc.org
Wed Feb 28 21:23:10 UTC 2007
Author: andersen
Date: 2007-02-28 13:23:09 -0800 (Wed, 28 Feb 2007)
New Revision: 17989
Log:
export libc_stack_end in dynamically linked binaries as well,
fixes uclibc++ compile on powerpc
Modified:
branches/uClibc_0_9_28/libc/Makefile
branches/uClibc_0_9_28/libc/misc/internals/Makefile
branches/uClibc_0_9_28/libc/misc/internals/__uClibc_main.c
Changeset:
Modified: branches/uClibc_0_9_28/libc/Makefile
===================================================================
--- branches/uClibc_0_9_28/libc/Makefile 2007-02-28 21:20:00 UTC (rev 17988)
+++ branches/uClibc_0_9_28/libc/Makefile 2007-02-28 21:23:09 UTC (rev 17989)
@@ -70,7 +70,6 @@
$(AR) $(ARFLAGS) $(LIBNAME) $$objs || exit 1 ; \
done
cp $(LIBNAME) shared_$(LIBNAME)
- $(AR) $(ARFLAGS) $(LIBNAME) misc/internals/static.o
$(RANLIB) $(LIBNAME)
$(LIBNAME_TARGET): $(LIBNAME)
Modified: branches/uClibc_0_9_28/libc/misc/internals/Makefile
===================================================================
--- branches/uClibc_0_9_28/libc/misc/internals/Makefile 2007-02-28 21:20:00 UTC (rev 17988)
+++ branches/uClibc_0_9_28/libc/misc/internals/Makefile 2007-02-28 21:23:09 UTC (rev 17989)
@@ -31,7 +31,7 @@
OBJ_LIST=../../obj.misc.internals
-all: $(OBJ_LIST) interp.o static.o
+all: $(OBJ_LIST) interp.o
$(OBJ_LIST): $(OBJS)
echo $(patsubst %, misc/internals/%, $(OBJS)) > $(OBJ_LIST)
@@ -44,7 +44,7 @@
"(\".interp\"))) =\""$(SHARED_LIB_LOADER_PREFIX)/$(UCLIBC_LDSO)"\";" >> interp.c
echo "#endif" >> interp.c
-$(COBJS) interp.o static.o: %.o : %.c
+$(COBJS) interp.o: %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
Modified: branches/uClibc_0_9_28/libc/misc/internals/__uClibc_main.c
===================================================================
--- branches/uClibc_0_9_28/libc/misc/internals/__uClibc_main.c 2007-02-28 21:20:00 UTC (rev 17988)
+++ branches/uClibc_0_9_28/libc/misc/internals/__uClibc_main.c 2007-02-28 21:23:09 UTC (rev 17989)
@@ -32,7 +32,7 @@
/*
* Prototypes.
*/
-extern void *__libc_stack_end;
+void *__libc_stack_end;
extern void weak_function _stdio_init(void);
extern int *weak_const_function __errno_location(void);
extern int *weak_const_function __h_errno_location(void);
More information about the uClibc-cvs
mailing list