summaryrefslogtreecommitdiff
path: root/extra/scripts
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-31 16:11:00 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-31 16:11:00 +0000
commit5cea2f7d1054fe7d1695fe5f04cff59d5884e20c (patch)
tree34a794a817f7b4bf12b4c31a11f6f81fcaf26de5 /extra/scripts
parent8dd9c51eb2f6c5dc659b426dc3bd114751adb405 (diff)
Don't complain about _GLOBAL_OFFSET_TABLE_
Diffstat (limited to 'extra/scripts')
-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 9b135c4c6..f3e6c8bcc 100755
--- a/extra/scripts/get-needed-libgcc-objects.sh
+++ b/extra/scripts/get-needed-libgcc-objects.sh
@@ -19,7 +19,7 @@ echo " partial linking..."
rm -f libc.ldr
$LD -r -o libc.ldr ../crt0.o --whole-archive ../libc.a
-if $NM --undefined-only libc.ldr | grep -v "^main$" > sym.need ; then
+if $NM --undefined-only libc.ldr | grep -v "^main$" | grep -v "^_GLOBAL_OFFSET_TABLE_$" > sym.need ; then
rm -f obj.need
touch obj.need
for SYM in `cat sym.need | sed -e 's/ U //g'` ; do