[binutils-gdb] Re: elf_backend_finish_dynamic_symbol returning false
Alan Modra
amodra@sourceware.org
Thu Feb 15 11:00:27 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b19a0b915f337d6155eb84e4b8ee9cecc4bad9b0
commit b19a0b915f337d6155eb84e4b8ee9cecc4bad9b0
Author: Alan Modra <amodra@gmail.com>
Date: Thu Feb 15 21:25:44 2024 +1030
Re: elf_backend_finish_dynamic_symbol returning false
Making a bfd_final_link failure noisy requires testsuite changes.
Diff:
---
ld/testsuite/ld-arm/non-contiguous-arm7.err | 1 +
ld/testsuite/ld-mips-elf/n64-plt-2.ed | 1 +
ld/testsuite/ld-mips-elf/n64-plt-3.ed | 1 +
3 files changed, 3 insertions(+)
diff --git a/ld/testsuite/ld-arm/non-contiguous-arm7.err b/ld/testsuite/ld-arm/non-contiguous-arm7.err
index 3185ef58ffc..7b3a3d8c3c9 100644
--- a/ld/testsuite/ld-arm/non-contiguous-arm7.err
+++ b/ld/testsuite/ld-arm/non-contiguous-arm7.err
@@ -2,3 +2,4 @@
.* may change behaviour for section .?\.bss\.MY_BUF.? from .*
.* discards section .?\.bss\.MY_BUF.? from .*
.* unresolvable R_ARM_ABS32 relocation against symbol .?MY_BUF.?
+.* final link failed
diff --git a/ld/testsuite/ld-mips-elf/n64-plt-2.ed b/ld/testsuite/ld-mips-elf/n64-plt-2.ed
index 4a42ec1e341..effdb1b522a 100644
--- a/ld/testsuite/ld-mips-elf/n64-plt-2.ed
+++ b/ld/testsuite/ld-mips-elf/n64-plt-2.ed
@@ -1 +1,2 @@
[^\n]*: `\.got\.plt' entry VMA of 0x7fff8000 outside the 32-bit range supported; consider using `-Ttext-segment=\.\.\.'
+.* final link failed
diff --git a/ld/testsuite/ld-mips-elf/n64-plt-3.ed b/ld/testsuite/ld-mips-elf/n64-plt-3.ed
index 29a346b274d..400d91871a8 100644
--- a/ld/testsuite/ld-mips-elf/n64-plt-3.ed
+++ b/ld/testsuite/ld-mips-elf/n64-plt-3.ed
@@ -1 +1,2 @@
[^\n]*: `\.got\.plt' start VMA of 0xffffffff7fff7ff0 outside the 32-bit range supported; consider using `-Ttext-segment=\.\.\.'
+.* final link failed
More information about the Binutils-cvs
mailing list