Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

objcopy, take 42



Sigh, ok, here's the latest attempt to make Etherboot/32 work on both
old and new binutil releases. Enclosed is objcopy.sh which should be
unpacked in src/, chmod 755, and a symlink from src-32/ made to it. Then
the last line of src-32/Config should be modified to read:

OBJCOPY=	./objcopy.sh $(RELOCADDR)

Please report back success or failure.

	Thanks, Ken

#!/bin/sh
version=`objcopy --version | head -1`
case $version in
"GNU objcopy 2."[89]*)
	echo objcopy -O binary --set-start=$1 $2 $3
	objcopy -O binary --set-start=$1 $2 $3
	;;
*)
	echo objdump -k -q -o $1 $2 '>' $3
	objdump -k -q -o $1 $2 > $3
	;;
esac


For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.