diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-03-15 16:15:38 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-03-15 16:15:38 +0000 |
commit | c2ac6db844679d707e0e93854416f764dee10fd9 (patch) | |
tree | 3e1c0209b461981d19829c3c76526287337517a5 /extra/scripts | |
parent | d310b729301f72c4159cc283d9fe05c1e164a53a (diff) |
Don't let this worry about _init and _fini
Diffstat (limited to 'extra/scripts')
-rwxr-xr-x | extra/scripts/get-needed-libgcc-objects.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |