aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2021-09-24 16:56:28 +0200
committerHans-Peter Nilsson <hp@bitrange.com>2021-09-24 23:45:13 +0200
commit97caaa905a310d3c1b09a247867b465eac56f866 (patch)
tree63d03fe51f1588a3cbb64bd15a764fa2725d0676 /gas
parent25558938d07b61ad628952a7bdc0a793d27f1b71 (diff)
downloadfsf-binutils-gdb-97caaa905a310d3c1b09a247867b465eac56f866.zip
fsf-binutils-gdb-97caaa905a310d3c1b09a247867b465eac56f866.tar.gz
fsf-binutils-gdb-97caaa905a310d3c1b09a247867b465eac56f866.tar.bz2
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/gas/elf/dwarf2-21.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/testsuite/gas/elf/dwarf2-21.d b/gas/testsuite/gas/elf/dwarf2-21.d
index 16fa317..66cd5a9 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