Files
Hans-Peter Nilsson c4f5871457 objdump, readelf: Emit "CU:" format only when wide output is requested
As pre-approved by Alan in
https://sourceware.org/pipermail/binutils/2021-September/118019.html
and I believe people have run into getting testsuite failures for
test-environments with "long" directory names, at least once more
since that time.  Enough.  I grepped the gas, binutils and ld
testsuites for "CU:" to catch target-specific occurrences, but I
noticed none.  I chose to remove "CU:" on the objdump tests instead of
changing options to get the wide format, so as to keep the name of the
test consistent with actual options; but added it to the readelf
options for the gas test as I believe the "CU:" format is preferable.

Tested for cris-elf and native x86_64-pc-linux-gnu.

binutils:
	* dwarf.c (display_debug_lines_decoded): Don't check the
	string length of the directory, instead emit the "CU: dir/name"
	format only if wide output is requested.
	* testsuite/binutils-all/dw5.W, testsuite/binutils-all/objdump.WL:
	Adjust accordingly.

gas:
	* testsuite/gas/elf/dwarf-5-loc0.d: Add -W to readelf options.
2022-01-12 05:51:25 +01:00
..
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2019-01-08 14:58:03 +00:00
2017-11-07 17:01:16 +10:30
2017-11-07 17:01:16 +10:30
2017-11-07 17:01:16 +10:30
2020-06-30 08:56:14 -07:00
2016-03-07 17:29:25 +00:00
2020-11-20 14:06:14 +00:00
2015-04-04 07:34:25 -07:00
2015-04-04 07:34:25 -07:00
2017-09-22 17:05:51 -03:00
2017-09-22 17:05:51 -03:00
2020-08-14 21:29:57 +09:30
2018-09-15 16:56:55 +09:30
2017-11-07 17:01:16 +10:30
2018-09-15 16:56:55 +09:30
2018-09-13 09:09:15 -07:00
2020-06-23 06:52:41 -07:00
2020-06-23 09:20:28 -07:00
2021-02-17 16:57:59 +10:30
2021-02-17 16:57:59 +10:30
2021-02-17 16:57:59 +10:30
2017-11-07 17:01:16 +10:30
2017-11-07 17:01:16 +10:30
2020-08-28 17:23:24 +08:00
2015-08-11 23:29:36 +09:30
2015-08-11 23:29:36 +09:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2019-05-14 16:16:56 +01:00