diff options
author | Alan Modra <amodra@gmail.com> | 2018-07-03 17:57:36 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-07-03 18:52:52 +0930 |
commit | b8a6ced79668ec8af3180e50b76f7517ebbab0d9 (patch) | |
tree | d1eea4f9ae80bbf669ba5f268fb6e2bfb4b05847 /gprof/source.c | |
parent | 8d2c8c3d17926826864f4b739362f66af547428f (diff) | |
download | gdb-b8a6ced79668ec8af3180e50b76f7517ebbab0d9.zip gdb-b8a6ced79668ec8af3180e50b76f7517ebbab0d9.tar.gz gdb-b8a6ced79668ec8af3180e50b76f7517ebbab0d9.tar.bz2 |
Correct removal of .gnu.attributes
Setting SEC_EXCLUDE for empty .gnu.attributes is too late in the link
process for the linker to remove the section. That must be done in
bfd_elf_final_link, as we do for removed group sections.
* elflink.c (bfd_elf_final_link): Remove zero size .gnu.attributes
sections.
Diffstat (limited to 'gprof/source.c')
0 files changed, 0 insertions, 0 deletions