aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/sizeof.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/sizeof.d')
-rw-r--r--ld/testsuite/ld-elf/sizeof.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/sizeof.d b/ld/testsuite/ld-elf/sizeof.d
new file mode 100644
index 0000000000..7cad75a5e5
--- /dev/null
+++ b/ld/testsuite/ld-elf/sizeof.d
@@ -0,0 +1,11 @@
+#ld: -Ur
+#readelf: -sW
+
+Symbol table '\.symtab' contains [0-9]+ entries:
+ +Num: +Value +Size Type +Bind +Vis +Ndx Name
+ +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND +
+#...
+ +[0-9]+: +[a-f0-9]+ +0 +NOTYPE +GLOBAL +DEFAULT +[0-9]+ +__stop_scnfoo
+#...
+ +[0-9]+: +[a-f0-9]+ +0 +NOTYPE +GLOBAL +DEFAULT +UND +.sizeof.scnfoo
+#pass