This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
objcopy=illegal variable index.
- To: binutils at sourceware dot cygnus dot com
- Subject: objcopy=illegal variable index.
- From: "Benoit MILLOT" <benoit dot millot at cstelecom dot com>
- Date: Wed, 07 Jun 2000 11:40:48 +0200
- Organization: CS Telecom
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