aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-07-10 23:35:18 +0930
committerAlan Modra <amodra@gmail.com>2019-07-13 09:57:50 +0930
commit7b2438015ca87297b2796c662182f796bb5358c2 (patch)
tree41b7c77993f76651b6094c7bee583a874cad4069 /ld/testsuite/ld-mips-elf
parent0c951c25c6c7cfbf0f399d34277f73b0fdfc18cd (diff)
downloadfsf-binutils-gdb-7b2438015ca87297b2796c662182f796bb5358c2.zip
fsf-binutils-gdb-7b2438015ca87297b2796c662182f796bb5358c2.tar.gz
fsf-binutils-gdb-7b2438015ca87297b2796c662182f796bb5358c2.tar.bz2
PR24786, wrong LMA if first section in overlay is empty
This stops the first overlay section being ignored when empty, losing its LMA assignment PR 24786 * ldlang.h (enum section_type): Add first_overlay_section. * ldlang.c (lang_add_section): Adjust switch statement. (map_input_to_output_sections): Likewise. (lang_size_sections_1): Always set last_os for first overlay section. (lang_leave_overlay): Set sectype to first_overlay_section.
Diffstat (limited to 'ld/testsuite/ld-mips-elf')
0 files changed, 0 insertions, 0 deletions