[arm] branches to weak symbols

Nathan Sidwell nathan@codesourcery.com
Wed Apr 28 08:49:00 GMT 2010


This patch fixes some arm cases where the assembler did not consider that a 
weakly defined symbol might be overridden in the final link.  It would use a 
short thumb branch resulting in an unoverridable relocation (and inability to 
build the linux kernel)

The same error is made in write.c's fixup_segment (and affects this arm problem) 
  It may affect other targets.

Fixed thusly, tested on arm-eabi. ok?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: all.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20100428/c8ba40a9/attachment.ksh>


More information about the Binutils mailing list