summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 13:44:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 13:44:34 +0200
commit141bcc0f9d8ebfd06865420653333347d19dc39d (patch)
tree8e498c7bb1df59a89e6bf35d7141b55dc796165c /scripts
parent1298200f89501407736f0657de5d96a3e7a453b0 (diff)
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
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rstrip.sh7
1 files changed, 4 insertions, 3 deletions
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