Support Xilinx MicroBlaze processor - patch 1

Andreas Schwab schwab@redhat.com
Fri Aug 7 16:34:00 GMT 2009


Michael Eager <eager@eagercon.com> writes:

> I think that the fix is
>
> diff -r1.1 elf32-microblaze.c
> 2134,2135c2134,2135
> <                   head = ((struct elf32_mb_dyn_relocs **)
> <                           &elf_section_data (s)->local_dynrel);
> ---
>>                   head = &((struct elf32_mb_dyn_relocs *)
>>                           elf_section_data (s)->local_dynrel);

A cast expression is not an lvalue.

See <http://sourceware.org/ml/binutils/2005-08/msg00423.html>.

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."



More information about the Binutils mailing list