From 141bcc0f9d8ebfd06865420653333347d19dc39d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 13:44:34 +0200 Subject: fix gcc package - simple test c program compiles in qemu-mips with the cross-compiled compiler - don't know if rstrip.sh change is good, need to check, but crt*.o symbols might not be stripped - create helper links for libgcc + libc needed for ld --- scripts/rstrip.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh index 453f0cc89..272460be0 100644 --- a/scripts/rstrip.sh +++ b/scripts/rstrip.sh @@ -37,6 +37,9 @@ find $TARGETS -type f -a -exec file {} \; | \ *ELF*executable*statically\ linked*) echo >&2 "$SELF: *WARNING* '$V' is not dynamically linked!" ;; + *ELF*relocatable*,\ not\ stripped*) + echo >&2 "$SELF: *WARNING* '$V' is a relocatable!" + ;; esac case $line in *ELF*executable*,\ not\ stripped*) @@ -48,14 +51,12 @@ find $TARGETS -type f -a -exec file {} \; | \ sed -n -e '/__param_/s/^.*__param_/-K /p' \ -e '/__module_parm_/s/^.*__module_parm_/-K /p'))" S='kernel module' ;; - *ELF*relocatable*,\ not\ stripped*) - S=relocatable ;; *ELF*shared\ object*,\ not\ stripped*) S='shared object' ;; *) continue ;; esac echo "$SELF: $V:$S" - #echo "+ $T $F" + echo "-> $T $F" eval "$T $F" done -- cgit v1.2.3