aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-07-19 18:59:53 -0700
committerH.J. Lu <hjl.tools@gmail.com>2024-07-19 18:59:53 -0700
commit3f55acd0ec09dc06934d25d5dfcd64852c812890 (patch)
tree3eb6295aa9e1e1a0c9ed082dfb38097326403a9a /binutils
parent964be70df76a830cc8d514f86dd44dd6e5bdc114 (diff)
downloadgdb-3f55acd0ec09dc06934d25d5dfcd64852c812890.zip
gdb-3f55acd0ec09dc06934d25d5dfcd64852c812890.tar.gz
gdb-3f55acd0ec09dc06934d25d5dfcd64852c812890.tar.bz2
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>
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/binutils-all/strip-16.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/strip-16.d b/binutils/testsuite/binutils-all/strip-16.d
new file mode 100644
index 0000000..b2c87a9
--- /dev/null
+++ b/binutils/testsuite/binutils-all/strip-16.d
@@ -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\)
+#...