testsuite/ld-elf/pr26936.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);
This commit is contained in:
Hans-Peter Nilsson
2020-12-02 21:53:42 +01:00
committed by Hans-Peter Nilsson
parent 2542804022
commit 5f410aa50c
2 changed files with 5 additions and 1 deletions

View 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> 2020-12-01 H.J. Lu <hongjiu.lu@intel.com>
PR ld/26970 PR ld/26970

View File

@ -3,7 +3,7 @@
#source: pr26936c.s #source: pr26936c.s
#as: --gen-debug #as: --gen-debug
#ld: -z noseparate-code -Ttext-segment 0x10000 -z max-page-size=0x1000 #ld: -z noseparate-code -Ttext-segment 0x10000 -z max-page-size=0x1000
#readelf: -wL #readelf: -wL -W
#target: [check_shared_lib_support] #target: [check_shared_lib_support]
# Assembly source file for the HPPA assembler is renamed and modifed by # Assembly source file for the HPPA assembler is renamed and modifed by
# sed. mn10300 and riscv put different numbers of local symbols in # sed. mn10300 and riscv put different numbers of local symbols in