aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/symbols-2.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/symbols-2.d')
-rw-r--r--binutils/testsuite/binutils-all/symbols-2.d14
1 files changed, 14 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/symbols-2.d b/binutils/testsuite/binutils-all/symbols-2.d
new file mode 100644
index 0000000..99950aa
--- /dev/null
+++ b/binutils/testsuite/binutils-all/symbols-2.d
@@ -0,0 +1,14 @@
+#name: weaken 'fo*' but not 'foo'
+#PROG: objcopy
+#objcopy: -w -W !foo -W fo*
+#source: symbols.s
+#DUMPPROG: nm
+#nm: -n
+
+0+ D bar
+0+ W foa
+0+ W fob
+0+ D foo
+0+ W foo1
+0+ W foo2
+