[uClibc-cvs] uClibc/extra/scripts get-needed-libgcc-objects.sh,1.18,1.19
Erik Andersen
andersen at uclibc.org
Thu Jun 5 21:25:56 UTC 2003
Update of /var/cvs/uClibc/extra/scripts
In directory winder:/tmp/cvs-serv18392/extra/scripts
Modified Files:
get-needed-libgcc-objects.sh
Log Message:
Patch from Peter S. Mazinger to make the get-needed-libgcc-objects
script work with newer binutils versions.
Index: get-needed-libgcc-objects.sh
===================================================================
RCS file: /var/cvs/uClibc/extra/scripts/get-needed-libgcc-objects.sh,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- get-needed-libgcc-objects.sh 3 Mar 2003 20:57:16 -0000 1.18
+++ get-needed-libgcc-objects.sh 5 Jun 2003 21:25:52 -0000 1.19
@@ -20,7 +20,7 @@
rm -f libc.ldr
$LD $LDFLAGS -r -o libc.ldr $CRTOBJS --whole-archive ../libc.a
-if $NM --undefined-only libc.ldr 2>&1 | grep -v "^main$" | grep -v "^_GLOBAL_OFFSET_TABLE_$" | grep -v "_gp_disp" | grep -v "^etext$" | grep -v "^__gmon_start__$" > sym.need ; then
+if $NM --undefined-only libc.ldr 2>&1 | grep -v "main$" | grep -v "_GLOBAL_OFFSET_TABLE_$" | grep -v "_gp_disp" | grep -v "^etext$" | grep -v "^__gmon_start__$" > sym.need ; then
EXIT_WITH_ERROR=0
rm -f obj.need
touch obj.need
More information about the uClibc-cvs
mailing list