Blackfin patch: Fix -gc-sections for FD-PIC

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


I've committed the following, which is an old patch from Jie Zhang, 
which fixes a linker error when -gc-sections is used with FD-PIC.

Specifically, it was a consistency check in 
elf32-bfinfdpic_finish_dynamic_sections that aborted.  We verify that 
the number of relocs in the gotfixup section matches what we computed 
earlier, and with -gc-sections the count came up short.


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: jie-sweep.diff
Type: text/x-patch
Size: 9356 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080312/9bf12c7f/attachment.bin>


More information about the Binutils mailing list