diff options
author | Alan Modra <amodra@gmail.com> | 2018-02-19 09:52:53 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-02-19 10:40:25 +1030 |
commit | dbc88fc14992c556b94e77de563a8f7abcb0b653 (patch) | |
tree | 980e94f810ee77f61b0acaa349001d5820909337 /binutils/ChangeLog | |
parent | d5c78119f7d4f6a6a3d51d7fb7ff97758bf0a880 (diff) | |
download | gdb-dbc88fc14992c556b94e77de563a8f7abcb0b653.zip gdb-dbc88fc14992c556b94e77de563a8f7abcb0b653.tar.gz gdb-dbc88fc14992c556b94e77de563a8f7abcb0b653.tar.bz2 |
PT_LOAD and PT_GNU_RELRO segment overlap
Commit 325ba6fb34 excluded degenerate zero length PT_LOAD segments,
but that only fixed part of the problem, which was that the load
segment limits were not calculated properly.
PR 22845
* elf.c (IS_TBSS): Define.
(_bfd_elf_map_sections_to_segments): Use IS_TBSS.
(assign_file_positions_for_non_load_sections): Revert last change.
Properly calculate load segment limits to compare against relro limits.
Diffstat (limited to 'binutils/ChangeLog')
0 files changed, 0 insertions, 0 deletions