aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-03-07 08:28:29 -0800
committerAlan Modra <amodra@gmail.com>2024-04-02 17:29:58 +1030
commit33c58f484406bd9665e5bd15637600540157f612 (patch)
treec961a2759521e46e966f83f577ea3c83eee96a77 /ld
parent3c6c32951e292a51ede70b8087bb0308d7dbc4fc (diff)
downloadgdb-33c58f484406bd9665e5bd15637600540157f612.zip
gdb-33c58f484406bd9665e5bd15637600540157f612.tar.gz
gdb-33c58f484406bd9665e5bd15637600540157f612.tar.bz2
PR31458, FAIL: MIPS eh-frame 3 with --no-keep-memory
PR 31458 bfd/ * elf-bfd.h (_bfd_elf_link_read_relocs), (_bfd_elf_link_info_read_relocs): Constify section. * elflink.c: Likewise. * elfxx-mips.c (_bfd_mips_elf_eh_frame_address_size): Read relocs again in case --no-keep-memory. ld/ * testsuite/ld-mips-elf/mips-elf.exp: Run --no-keep-memory version of eh-frame3 test.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-mips-elf/mips-elf.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index 50af78d..818238d 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -771,6 +771,7 @@ if {$linux_gnu} {
run_dump_test_n64 "eh-frame2-n64"
}
run_dump_test_eabi "eh-frame3"
+run_dump_test_eabi "eh-frame3" {{ld --no-keep-memory} {name --no-keep-memory}}
run_dump_test_eabi "eh-frame4"
if {$linux_gnu} {
set eh_frame5_test {