diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2020-12-02 21:53:42 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2020-12-02 21:53:42 +0100 |
commit | 5f410aa50ce2c6d42e7f2d1ac58589ef1bf8c16a (patch) | |
tree | 4de0a58827a50b57faeea1f3b73cf7e9d2704a4e | |
parent | 25428040229b10f5a8a71be51dfc6ee2fc3f41b9 (diff) | |
download | fsf-binutils-gdb-5f410aa50ce2c6d42e7f2d1ac58589ef1bf8c16a.zip fsf-binutils-gdb-5f410aa50ce2c6d42e7f2d1ac58589ef1bf8c16a.tar.gz fsf-binutils-gdb-5f410aa50ce2c6d42e7f2d1ac58589ef1bf8c16a.tar.bz2 |
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);
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr26936.d | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 5b26496..c0f5fc36b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 diff --git a/ld/testsuite/ld-elf/pr26936.d b/ld/testsuite/ld-elf/pr26936.d index 1a4dc77..5e48378 100644 --- a/ld/testsuite/ld-elf/pr26936.d +++ b/ld/testsuite/ld-elf/pr26936.d @@ -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 |