binutils: Add a test for strip with build notes

Add a test for strip with build notes.

	PR binutils/31999
	* testsuite/binutils-all/strip-16.d: New.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
H.J. Lu
2024-07-19 18:59:53 -07:00
parent 964be70df7
commit 3f55acd0ec

View File

@@ -0,0 +1,11 @@
#PROG: strip
#as: --generate-missing-build-notes=yes
#readelf: --notes --wide
#name: strip with build notes
#source: note-5.s
#...
Displaying notes found in: .gnu.build.attributes
[ ]+Owner[ ]+Data size[ ]+Description
[ ]+GA\$<version>3a1[ ]+0x000000(08|10)[ ]+OPEN[ ]+Applies to region from 0 to 0x.. \(note_5.s\)
#...