From 4f946f8103568982f6ecf382a4cf7c10893be70b Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Wed, 7 Aug 2002 19:56:08 +0000 Subject: Ignore symbol '_gp_disp' if it's missing from 'libgcc.a'. That's okay for MIPS platforms. --- 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 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 -- cgit v1.2.3