Blackfin: Detect overflow on pcrel24 relocs

Bernd Schmidt bernds_cb1@t-online.de
Wed Mar 26 13:06:00 GMT 2008


We need to handle pcrel24 relocs in a slightly special way due to how 
they are layed out.  Currently, we don't do any error checking and 
silently allow overflows.  I've committed this patch, which adds error 
checking and moves common code into a new function.


Bernd
-- 
This footer brought to you by insane German lawmakers.
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: final-reloc.diff
Type: text/x-patch
Size: 6243 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080326/286e9ef5/attachment.bin>


More information about the Binutils mailing list