This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: x86 binutils fail on big-endian hosts
- From: Andreas Schwab <schwab at redhat dot com>
- To: binutils at sourceware dot org
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Wed, 19 Oct 2011 10:00:26 +0200
- Subject: Re: x86 binutils fail on big-endian hosts
- References: <20111019074324.GS9539@bubble.grove.modra.org>
Alan Modra <amodra@gmail.com> writes:
> @@ -1271,8 +1264,8 @@ elf_i386_check_tls_transition (bfd *abfd
> if (offset + 2 <= sec->size)
> {
> /* Make sure that it's a call *x@tlsdesc(%rax). */
> - static i386_opcode16 call = { { 0xff, 0x10 } };
> - return bfd_get_16 (abfd, contents + offset) == call.i;
> + static unsigned char call[] = { 0xff, 0x10 };
const?
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."