gas/testsuite/ld-elf/dwarf2-21.d: Pass -W
authorHans-Peter Nilsson <hp@axis.com>
Fri, 24 Sep 2021 14:56:28 +0000 (16:56 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Fri, 24 Sep 2021 21:45:13 +0000 (23:45 +0200)
commit97caaa905a310d3c1b09a247867b465eac56f866
tree63d03fe51f1588a3cbb64bd15a764fa2725d0676
parent25558938d07b61ad628952a7bdc0a793d27f1b71
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