H.J. Lu
c398915025
Don't generate empty reloc sections
binutils/
PR binutils/13947
* objcopy.c (copy_object): Call copy_relocations_in_section
before copy_section.
(skip_section): New.
(copy_relocations_in_section): Likewise.
(copy_section): Use skip_section. Don't copy relocations here.
binutils/testsuite/
PR binutils/13947
* binutils-all/i386/compressed-1b.d: Remove empty REL section.
* binutils-all/i386/compressed-1c.d: Likewise.
* binutils-all/x86-64/compressed-1b.d: Remove empty RELA
section.
* binutils-all/x86-64/compressed-1c.d: Likewise.
2012-04-13 02:52:34 +00:00
..
2012-04-13 02:52:34 +00:00
2010-07-14 19:46:01 +00:00
2012-04-03 16:01:38 +00:00
2012-04-13 02:52:34 +00:00
2012-01-05 10:09:39 +00:00
2004-01-02 11:16:21 +00:00