[PATCH bfin] Discard zero size sections for Blackfin ELF FD-PIC

Jie Zhang jie.zhang@analog.com
Fri Sep 4 03:37:00 GMT 2009


.rela.bss and .rel.plt are created in 
elf32_bfinfdpic_create_dynamic_sections (). If they are not used later, 
they should be discarded in elf32_bfinfdpic_size_dynamic_sections ().

This patch fixes

FAIL: simple objcopy of executable

for bfin-linux-uclibc target.

Committed.


Jie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd-bfin-fdpic-discard-0size-sections.diff
Type: text/x-patch
Size: 1164 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090904/63e9a364/attachment.bin>


More information about the Binutils mailing list