From: Hans-Peter Nilsson Date: Fri, 24 Sep 2021 14:56:28 +0000 (+0200) Subject: gas/testsuite/ld-elf/dwarf2-21.d: Pass -W X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97caaa905a310d3c1b09a247867b465eac56f866;p=binutils-gdb.git 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. --- 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