From c2ac6db844679d707e0e93854416f764dee10fd9 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 15 Mar 2002 16:15:38 +0000 Subject: Don't let this worry about _init and _fini --- extra/scripts/get-needed-libgcc-objects.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/scripts/get-needed-libgcc-objects.sh b/extra/scripts/get-needed-libgcc-objects.sh index 2a50cea25..349279a70 100755 --- a/extra/scripts/get-needed-libgcc-objects.sh +++ b/extra/scripts/get-needed-libgcc-objects.sh @@ -17,7 +17,7 @@ LIBGCC=`$CC -print-libgcc-file-name` echo Finding missing symbols in libc.a ... echo " partial linking..." rm -f libc.ldr -$LD -r -o libc.ldr ../../lib/crt0.o --whole-archive ../libc.a +$LD -r -o libc.ldr ../../lib/crt0.o ../../lib/crti.o ../../lib/crtn.o --whole-archive ../libc.a if $NM --undefined-only libc.ldr | grep -v "^main$" | grep -v "^_GLOBAL_OFFSET_TABLE_$" > sym.need ; then rm -f obj.need -- cgit v1.2.3