binutils-gdb/binutils/testsuite/binutils-all/pr25543.s
Nick Clifton ba3265d04c Restore readelf's string dump to previous behaviour where newlines were caused line breaks.
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.
2020-03-02 10:02:02 +00:00

8 lines
313 B
ArmAsm

.data
.asciz "line1 : This is a line without a newline at the end"
.asciz "line2 : This is a line with a newline at the end\n"
.asciz "line3 : This is a line with a \nnewline in the middle"
.asciz "line4 : This is a line with a \rcontrol character"
.asciz ""
.asciz "line6 : The previous line was empty\n"