From 97caaa905a310d3c1b09a247867b465eac56f866 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Fri, 24 Sep 2021 16:56:28 +0200 Subject: [PATCH] gas/testsuite/ld-elf/dwarf2-21.d: Pass -W Required for the expected "CU:" to be emitted for long source-paths. See binutils/dwarf.c: if (do_wide || strlen (directory) < 76) printf (_("CU: %s/%s:\n"), directory, file_table[0].name); else printf ("%s:\n", file_table[0].name); See also commit 5f410aa50ce2c, "testsuite/ld-elf/pr26936.d: Pass -W." gas/ChangeLog: * testsuite/ld-elf/dwarf2-21.d: Pass -W. --- gas/testsuite/gas/elf/dwarf2-21.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas/testsuite/gas/elf/dwarf2-21.d b/gas/testsuite/gas/elf/dwarf2-21.d index 16fa317be66..66cd5a95ad1 100644 --- a/gas/testsuite/gas/elf/dwarf2-21.d +++ b/gas/testsuite/gas/elf/dwarf2-21.d @@ -1,6 +1,6 @@ #name: DWARF2 21 #as: -gdwarf-2 -#readelf: -wL +#readelf: -wL -W # Note that non-zero view numbers are allowed here. This doesn't really # make much sense, but DW_LNS_fixed_advance_pc is defined to not set the # view back to zero in contrast with all other changes in PC. A number -- 2.30.2