summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/group9b.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/group9b.d')
-rw-r--r--ld/testsuite/ld-elf/group9b.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/group9b.d b/ld/testsuite/ld-elf/group9b.d
new file mode 100644
index 0000000000..82ca062345
--- /dev/null
+++ b/ld/testsuite/ld-elf/group9b.d
@@ -0,0 +1,13 @@
+#source: group9.s
+#ld: -r --gc-sections --entry bar
+#readelf: -g --wide
+#notarget: ia64-*-*
+
+COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains 2 sections:
+ \[Index\] Name
+ \[[ 0-9]+\] .text.foo
+ \[[ 0-9]+\] .data.foo
+
+COMDAT group section \[[ 0-9]+\] `.group' \[bar\] contains 1 sections:
+ \[Index\] Name
+ \[[ 0-9]+\] .text.bar