diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2025-08-20 12:27:53 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-08-20 16:27:22 -0700 |
commit | 9c0adb10c7fcfb5a317095201cf144cdada6ca08 (patch) | |
tree | 1664fe5fe7fe54ddb0a3eafd37e100ab55285b15 /gdb/testsuite/gdb.fortran/pointer-to-pointer.f90 | |
parent | fbcdc06c238be4fd6da7fb9bff4dd4c7f749ae07 (diff) | |
download | gdb-9c0adb10c7fcfb5a317095201cf144cdada6ca08.zip gdb-9c0adb10c7fcfb5a317095201cf144cdada6ca08.tar.gz gdb-9c0adb10c7fcfb5a317095201cf144cdada6ca08.tar.bz2 |
elf: Clear entsize when clearing SEC_MERGE|SEC_STRINGS
When generating an output from input SEC_MERGE|SEC_STRINGS sections with
different entsizes, we clear the SEC_MERGE|SEC_STRINGS bits. We also need
to clear entsize.
PR ld/33291
* ldlang.c (lang_add_section): Clearing entsize when clearing
SEC_MERGE|SEC_STRINGS.
* testsuite/ld-elf/pr33291.d: New file.
* testsuite/ld-elf/pr33291a.s: Likewise.
* testsuite/ld-elf/pr33291b.s: Likewise.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gdb/testsuite/gdb.fortran/pointer-to-pointer.f90')
0 files changed, 0 insertions, 0 deletions