This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gas misbehavior in binutils-2.16.1 for sh4 target and --enable-shared
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