diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-04-13 02:52:34 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-04-13 02:52:34 +0000 |
commit | c398915025cc1d08213bb8fb38e53908b8057904 (patch) | |
tree | 75e6f85b592f02197f2818a73922b5f280613a23 /gprof/alpha.c | |
parent | e319fa28f9559b7164a0a52e34ebcda1a07341c9 (diff) | |
download | gdb-c398915025cc1d08213bb8fb38e53908b8057904.zip gdb-c398915025cc1d08213bb8fb38e53908b8057904.tar.gz gdb-c398915025cc1d08213bb8fb38e53908b8057904.tar.bz2 |
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.
Diffstat (limited to 'gprof/alpha.c')
0 files changed, 0 insertions, 0 deletions