objcopy=illegal variable index.

Benoit MILLOT benoit.millot@cstelecom.com
Wed Jun 7 02:40:00 GMT 2000


On sparc-sun-solaris,  I build binutils-2.9.1 for target coff-m68k and
try to convert ieee file into coff file:

(configure --host=sparc-sun-solaris2.6 --target=m68k-monitor-coff
--prefix=/home/millot/bin/m68 --program-prefix=m68- --program-suffix= )

millot@palpatine : m68-objcopy -I ieee -O coff-m68k
--change-leading-char --debugging etoto.xray et.coff
etoto.xray: 0x1cb: illegal variable index (0x8)
millot@palpatine : m68-objcopy --version
GNU objcopy 2.9.1
Copyright 1997 Free Software Foundation, Inc.
..
Of course, coff file isn't produced. (Without option objcopy works fine
but no debugging symbol are present and useable by GDB)

But I know on HP-UX, this command works fine.
So i try with the snapshot binutils-000605  on sparc-sun-solaris.

(configure --host=sparc-sun-solaris2.6 --target=m68k-monitor-coff
--prefix=/home/millot/bin/m68 --program-prefix=m- --program-suffix= )

millot@palpatine : m-objcopy -I ieee -O coff-m68k --change-leading-char
--debugging etoto.xray et2.coff
millot@palpatine : m-objcopy --version
GNU objcopy 000605
..
Objcopy with --debugging option works fine and produce a coff file that
GDB can read and use.

Which patch  must i add to binutils 2.9.1 in order to have a correct
behavior?

Thanks for response.


Benoît





More information about the Binutils mailing list