mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
Ignore degenerate PT_LOAD segments
Fixes a failure triggered by -z separate-code. p_memsz is tested rather than p_filesz for objcopy --only-keep-debug where p_filesz is set to zero. PR 22845 * elf.c (assign_file_positions_for_non_load_sections): Ignore degenerate zero size PT_LOAD segments when finding one overlapping the PT_GNU_RELRO segment.
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
2018-02-17 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 22845
|
||||
* elf.c (assign_file_positions_for_non_load_sections): Ignore
|
||||
degenerate zero size PT_LOAD segments when finding one overlapping
|
||||
the PT_GNU_RELRO segment.
|
||||
|
||||
2018-02-16 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* libbfd.c (_bfd_bool_bfd_false_error): Rename from bfd_false.
|
||||
|
Reference in New Issue
Block a user