summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-15 16:14:18 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-15 16:14:18 +0000
commitd310b729301f72c4159cc283d9fe05c1e164a53a (patch)
tree20c811150def5d5d197872d87c891f6524af7071
parent883d4fb97aee5522adc42a2fb660d34077d7ebb0 (diff)
Fix location of crt0.o
-rwxr-xr-xextra/scripts/get-needed-libgcc-objects.sh2
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 f3e6c8bcc..2a50cea25 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 ../crt0.o --whole-archive ../libc.a
+$LD -r -o libc.ldr ../../lib/crt0.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