This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support Xilinx MicroBlaze processor - patch 1


Michael Eager wrote:
Tom Tromey wrote:
"Andreas" == Andreas Schwab <schwab@redhat.com> writes:

Andreas> A cast expression is not an lvalue. Andreas> See <http://sourceware.org/ml/binutils/2005-08/msg00423.html>.

Yes. (Shouldn't gcc complain about this?)


Yeah, I'm actually testing the appended patch.
Other BFD ports seem to do this.

I don't think a dummy variable is required. There are two cases where a cast is used with an &. This should fix both:

Forget that; bad patch.



-- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]