From b19a0b915f337d6155eb84e4b8ee9cecc4bad9b0 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 15 Feb 2024 21:25:44 +1030 Subject: [PATCH] Re: elf_backend_finish_dynamic_symbol returning false Making a bfd_final_link failure noisy requires testsuite changes. --- 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