aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/strip-3.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/strip-3.d')
-rw-r--r--binutils/testsuite/binutils-all/strip-3.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/strip-3.d b/binutils/testsuite/binutils-all/strip-3.d
new file mode 100644
index 000000000000..d65669770017
--- /dev/null
+++ b/binutils/testsuite/binutils-all/strip-3.d
@@ -0,0 +1,11 @@
+#PROG: strip
+#source: empty.s
+#strip: -R .text -R .data -R .bss -R .ARM.attributes -R .reginfo -R .pdr -R .xtensa.info
+#readelf: -S --wide
+#name: strip empty file
+#target: *-*-linux*
+
+#...
+ \[[ 0]+\][ \t]+NULL[ \t]+.*
+ \[[ 1]+\] \.shstrtab.*[ \t]+STRTAB[ \t]+.*
+#pass