From e3006e038e293a5d52627c9200316acee37ec5fb Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Sat, 21 May 2005 21:19:43 +0000 Subject: Pass main function ptr from crt1 to __uClibc_start_main. Kill old crt0/__uClibc_main. This breaks ABI. All apps and toolchain needs to be recompiled. All archs except x86 are now broken and need to be fixed as x86. PPC will be fixed shortly by me, the rest is left to the arch maintainers. --- libc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/Makefile') diff --git a/libc/Makefile b/libc/Makefile index fc31a2cbb..1df8c801e 100644 --- a/libc/Makefile +++ b/libc/Makefile @@ -74,7 +74,7 @@ $(LIBNAME_TARGET): $(LIBNAME) $(INSTALL) -m 644 $(LIBNAME) $(TOPDIR)lib shared: $(LIBNAME) - $(LD) $(LDFLAGS) $(VERSION_SCRIPT) -soname=$(SHARED_MAJORNAME) -o $(SHARED_FULLNAME) \ + $(LD) $(LDFLAGS) -z defs $(VERSION_SCRIPT) -soname=$(SHARED_MAJORNAME) -o $(SHARED_FULLNAME) \ --whole-archive $(LIBNAME) \ $(TOPDIR)libc/misc/internals/interp.o --no-whole-archive \ -init __uClibc_init $(LIBGCC) $(LDADD_LIBFLOAT) -- cgit v1.2.3