diff options
| author | Wolfgang Mauerer <wolfgang@top.mynetix.de> | 2003-03-23 21:56:17 -0800 |
|---|---|---|
| committer | David Mosberger <davidm@tiger.hpl.hp.com> | 2003-03-23 21:56:17 -0800 |
| commit | 1bdbba7a2a4b1e4fcbf3ccf7a493fa53c282bcdd (patch) | |
| tree | 580589e54e5b3aa0e5898b010e806fdccdfdcf67 /arch/ia64/scripts | |
| parent | 07eac790840d9e60d5e36207d495ab40c4d7b3d1 (diff) | |
[PATCH] ia64: Cross-compile fix
the attached patch (against bk-current) fixes a cross
compilation problem by using the target specific objdump
tool instead of the host specific one.
Diffstat (limited to 'arch/ia64/scripts')
| -rwxr-xr-x | arch/ia64/scripts/check-gas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ia64/scripts/check-gas b/arch/ia64/scripts/check-gas index ef652caf82ae..b7a4b1261ac5 100755 --- a/arch/ia64/scripts/check-gas +++ b/arch/ia64/scripts/check-gas @@ -1,8 +1,9 @@ #!/bin/sh dir=$(dirname $0) CC=$1 +OBJDUMP=$2 $CC -c $dir/check-gas-asm.S -res=$(objdump -r --section .data check-gas-asm.o | fgrep 00004 | tr -s ' ' |cut -f3 -d' ') +res=$($OBJDUMP -r --section .data check-gas-asm.o | fgrep 00004 | tr -s ' ' |cut -f3 -d' ') if [ $res != ".text" ]; then echo buggy else |
