* ld-elf/comm-data5.d, ld-elf/comm-data5.s: New test.
* ld-elf/comm-data.exp: Run them.
+2012-12-06 Alan Modra <amodra@gmail.com>
+
+ * ld-elf/comm-data4.d, ld-elf/comm-data4.s: New test.
+ * ld-elf/comm-data5.d, ld-elf/comm-data5.s: New test.
+ * ld-elf/comm-data.exp: Run them.
+
2012-12-04 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/shared.exp (build_tests): Build libneeded1b.so,
"comm-data3b" \
] \
]
+
+run_dump_test comm-data4
+run_dump_test comm-data5
--- /dev/null
+#source: comm-data4.s
+#ld:
+#readelf: -r
+#notarget: hppa64*-*-hpux*
+
+There are no relocations in this file.
--- /dev/null
+ .comm i,4,4
+
+ .data
+ .dc.a i
+
+ .globl main
+ .globl start
+ .globl _start
+ .globl __start
+ .text
+main:
+start:
+_start:
+__start:
+ .dc.a 0
--- /dev/null
+#source: comm-data5.s
+#ld:
+#readelf: -r
+#notarget: hppa64*-*-hpux*
+
+There are no relocations in this file.
--- /dev/null
+ .comm i,4,4
+
+ .section .rodata,"a",%progbits
+ .dc.a i
+
+ .globl main
+ .globl start
+ .globl _start
+ .globl __start
+ .text
+main:
+start:
+_start:
+__start:
+ .dc.a 0