diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2025-09-04 06:05:33 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-09-05 04:56:27 -0700 |
commit | 3e1716c9fc203f5654d49c17b160a466c78a2a2c (patch) | |
tree | da8b87fa670a8124d8b065dd955af83fd56ce27b /gdb/testsuite/gdb.fortran/vla-array.f90 | |
parent | 507d144bbf083c88110700a123711b2f9bb616b7 (diff) | |
download | fsf-binutils-gdb-master.zip fsf-binutils-gdb-master.tar.gz fsf-binutils-gdb-master.tar.bz2 |
Gold, lld and mold set sh_entsize to 0 on .got and .got.plt sections.
If sh_entsize of GOT sections is 0, assume 8 for ELFCLASS64 and 4 for
ELFCLASS32, except for x32 which uses 8.
PR binutils/33368
* readelf.c (process_got_section_contents): Handle 0 sh_entsize
of GOT sections.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gdb/testsuite/gdb.fortran/vla-array.f90')
0 files changed, 0 insertions, 0 deletions