* 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.
This commit is contained in:
Alan Modra 2012-12-06 00:10:41 +00:00
parent 625ef6dc55
commit 5c3ab52b3b
6 changed files with 51 additions and 0 deletions

View file

@ -1,3 +1,9 @@
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,

View file

@ -98,3 +98,6 @@ run_ld_link_tests [list \
"comm-data3b" \
] \
]
run_dump_test comm-data4
run_dump_test comm-data5

View file

@ -0,0 +1,6 @@
#source: comm-data4.s
#ld:
#readelf: -r
#notarget: hppa64*-*-hpux*
There are no relocations in this file.

View file

@ -0,0 +1,15 @@
.comm i,4,4
.data
.dc.a i
.globl main
.globl start
.globl _start
.globl __start
.text
main:
start:
_start:
__start:
.dc.a 0

View file

@ -0,0 +1,6 @@
#source: comm-data5.s
#ld:
#readelf: -r
#notarget: hppa64*-*-hpux*
There are no relocations in this file.

View file

@ -0,0 +1,15 @@
.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