summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvsb/protected1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elfvsb/protected1.d')
-rw-r--r--ld/testsuite/ld-elfvsb/protected1.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvsb/protected1.d b/ld/testsuite/ld-elfvsb/protected1.d
new file mode 100644
index 0000000..235db00
--- /dev/null
+++ b/ld/testsuite/ld-elfvsb/protected1.d
@@ -0,0 +1,9 @@
+#source: undef.s
+#ld: -r
+#readelf: -s
+
+Symbol table '.symtab' contains .* entries:
+ +Num: +Value +Size Type +Bind +Vis +Ndx +Name
+#...
+ +[0-9]+: [0-9a-fA-F]* +0 +NOTYPE +GLOBAL +PROTECTED +UND protected
+#pass