diff options
author | Alan Modra <amodra@gmail.com> | 2025-03-10 23:02:19 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-03-10 23:02:19 +1030 |
commit | ebed0bfecc7f482a2c284947527427625ee42c1a (patch) | |
tree | abb75c821553baa1df2a61b2771c883f16704e60 /gdb | |
parent | b8c5ada1742586d389cec1b82f69c895976b1849 (diff) | |
download | binutils-ebed0bfecc7f482a2c284947527427625ee42c1a.zip binutils-ebed0bfecc7f482a2c284947527427625ee42c1a.tar.gz binutils-ebed0bfecc7f482a2c284947527427625ee42c1a.tar.bz2 |
meaningless p_offset for zero p_filesz PT_LOAD
This patch avoids generating PT_LOAD segments that trip a bug in
glibc's loader.
PR 25237
PR 32763
* elf.c (assign_file_positions_for_load_sections): Don't put
p_offset zero for empty PT_LOAD.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions