gas misbehavior in binutils-2.16.1 for sh4 target and --enable-shared

Mike Frysinger vapier@gentoo.org
Thu Aug 25 22:08:00 GMT 2005


On Thursday 25 August 2005 01:13 am, Kaz Kojima wrote:
> Mike Frysinger <vapier@gentoo.org> wrote:
> > binutils-2.16.1 with --enabled-shared:
> > test.o: ELF 32-bit LSB relocatable, Hitachi SH, version 1 (SYSV), not
> > stripped Flags: 0x19, unknown ISA
>
> It's caused by an off-by-one error.  Thanks for catching it.
> sh_elf_get_flags_from_mach looks up a value in a table starting with
> the wrong index.  I've committed the attached patch.

yep, that certainly did the trick, thanks
-mike



More information about the Binutils mailing list