* [Linux-ia64] Cross compilation fix (2.5)
@ 2003-04-17 2:53 Peter Chubb
0 siblings, 0 replies; only message in thread
From: Peter Chubb @ 2003-04-17 2:53 UTC (permalink / raw)
To: linux-ia64
To cross-compile Linux 2.5, you need this small patch,
otherwise the native objdump is used instead of one that understands
elf-ia64 images.
=== arch/ia64/scripts/check-gas 1.1 vs edited ==--- 1.1/arch/ia64/scripts/check-gas Sat Jan 25 14:45:37 2003
+++ edited/arch/ia64/scripts/check-gas Fri Apr 11 13:59:11 2003
@@ -2,7 +2,7 @@
dir=$(dirname $0)
CC=$1
$CC -c $dir/check-gas-asm.S
-res=$(objdump -r --section .data check-gas-asm.o | fgrep 00004 | tr -s ' ' |cut -f3 -d' ')
+res=$(${CROSS_COMPILE}objdump -r --section .data check-gas-asm.o | fgrep 00004 | tr -s ' ' |cut -f3 -d' ')
if [ $res != ".text" ]; then
echo buggy
else
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-17 2:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-17 2:53 [Linux-ia64] Cross compilation fix (2.5) Peter Chubb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox