testsuite/ld-elf/pr26936.d: Pass -W.
authorHans-Peter Nilsson <hp@axis.com>
Wed, 2 Dec 2020 20:53:42 +0000 (21:53 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Wed, 2 Dec 2020 20:53:42 +0000 (21:53 +0100)
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);

ld/ChangeLog
ld/testsuite/ld-elf/pr26936.d

index 5b26496efcff31ab294bf492f1ddc2c412262fdd..c0f5fc36be1831f89a37f7fc63639c7ab8d19dc0 100644 (file)
@@ -1,3 +1,7 @@
+2020-12-02  Hans-Peter Nilsson  <hp@axis.com>
+
+       * testsuite/ld-elf/pr26936.d: Pass -W.
+
 2020-12-01  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/26970
index 1a4dc77a0630c79f7cc3ad521c2b7c202ef6b54d..5e48378c0cca02a13827b431f8a9479d3c41d7eb 100644 (file)
@@ -3,7 +3,7 @@
 #source: pr26936c.s
 #as: --gen-debug
 #ld: -z noseparate-code -Ttext-segment 0x10000 -z max-page-size=0x1000
-#readelf: -wL
+#readelf: -wL -W
 #target: [check_shared_lib_support]
 # Assembly source file for the HPPA assembler is renamed and modifed by
 # sed.  mn10300 and riscv put different numbers of local symbols in
This page took 0.027964 seconds and 4 git commands to generate.