mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
ba3265d04c
PR 25543 * readelf.c (dump_section_as_strings): Display new-line characters as \n and then insert a line break. * testsuite/binutils-all/pr25543.s: New test. * testsuite/binutils-all/pr25543.d: Test driver. * testsuite/binutils-all/readelf.exp: Run the new test.
13 lines
424 B
Makefile
13 lines
424 B
Makefile
#source: pr25543.s
|
|
#readelf: -p.data
|
|
#notarget: rx-*
|
|
|
|
String dump of section '.data':
|
|
\[ 0\] line1 : This is a line without a newline at the end
|
|
\[ 34\] line2 : This is a line with a newline at the end\\n
|
|
\[ 66\] line3 : This is a line with a \\n
|
|
newline in the middle
|
|
\[ 9b\] line4 : This is a line with a \^Mcontrol character
|
|
\[ cd\] line6 : The previous line was empty\\n
|
|
#pass
|