summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2002-08-07 19:56:08 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2002-08-07 19:56:08 +0000
commit4f946f8103568982f6ecf382a4cf7c10893be70b (patch)
tree09b21afc46392e91f9172f91dd0a811d4c43c331 /extra
parent313c11e94f4b57fee42448b406badda929c7934f (diff)
Ignore symbol '_gp_disp' if it's missing from 'libgcc.a'. That's okay for
MIPS platforms.
Diffstat (limited to 'extra')
-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 1c4e7cf11..6c1fe894e 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 ../../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
+if $NM --undefined-only libc.ldr | grep -v "^main$" | grep -v "^_GLOBAL_OFFSET_TABLE_$" | grep -v "_gp_disp" > sym.need ; then
EXIT_WITH_ERROR=0
rm -f obj.need
touch obj.need