summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfcomm/common-1d.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elfcomm/common-1d.d')
-rw-r--r--ld/testsuite/ld-elfcomm/common-1d.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfcomm/common-1d.d b/ld/testsuite/ld-elfcomm/common-1d.d
new file mode 100644
index 00000000000..33c5c4392f9
--- /dev/null
+++ b/ld/testsuite/ld-elfcomm/common-1d.d
@@ -0,0 +1,8 @@
+#source: common-1.s
+#as: --elf-stt-common=yes
+#ld: -r -z common
+#readelf: -s -W
+
+#...
+ +[0-9]+: +0+4 +30 +COMMON +GLOBAL +DEFAULT +COM +foobar
+#pass