From: Alan Modra Date: Thu, 15 Feb 2024 10:55:44 +0000 (+1030) Subject: Re: elf_backend_finish_dynamic_symbol returning false X-Git-Tag: gdb-15-branchpoint~966 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b19a0b915f337d6155eb84e4b8ee9cecc4bad9b0;p=thirdparty%2Fbinutils-gdb.git Re: elf_backend_finish_dynamic_symbol returning false Making a bfd_final_link failure noisy requires testsuite changes. --- 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