This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Support Xilinx MicroBlaze processor - patch 1
- From: Andreas Schwab <schwab at redhat dot com>
- To: Michael Eager <eager at eagercon dot com>
- Cc: tromey at redhat dot com, Nick Clifton <nickc at redhat dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>, binutils at sourceware dot org
- Date: Fri, 07 Aug 2009 18:32:29 +0200
- Subject: Re: Support Xilinx MicroBlaze processor - patch 1
- References: <4A7314FB.7040803@eagercon.com> <Pine.LNX.4.64.0907311733000.17822@digraph.polyomino.org.uk> <4A74DF49.3090906@eagercon.com> <4A7B15C1.6040002@redhat.com> <m3my6beiwc.fsf@fleche.redhat.com> <4A7C5259.60603@eagercon.com>
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."