Browse Source
PR 26103 * testsuite/ld-linkonce/ref1.s, * testsuite/ld-linkonce/ref2.s, * testsuite/ld-linkonce/sym1.s, * testsuite/ld-linkonce/sym2.s, * testsuite/ld-linkonce/sym3.s: New test files. * testsuite/ld-linkonce/linkonce.exp: Run tests for PE too. Add pr26103 test. Remove unnecessary load_lib.binutils-2_35-branch
7 changed files with 61 additions and 9 deletions
@ -0,0 +1,2 @@ |
|||
.data |
|||
.dc.a one, two, three |
|||
@ -0,0 +1,2 @@ |
|||
.data |
|||
.dc.a four |
|||
@ -0,0 +1,12 @@ |
|||
.data |
|||
.global two |
|||
two: |
|||
.long 2 |
|||
|
|||
.section .gnu.linkonce.d.foo, "aw" |
|||
.global foo |
|||
# PE signature of the comdat group |
|||
foo: |
|||
.global one |
|||
one: |
|||
.long 1 |
|||
@ -0,0 +1,12 @@ |
|||
.data |
|||
.global three |
|||
three: |
|||
.long 3 |
|||
|
|||
.section .gnu.linkonce.d.foo, "aw" |
|||
.global foo |
|||
# PE signature of the comdat group |
|||
foo: |
|||
.global onex |
|||
onex: |
|||
.long 1 |
|||
@ -0,0 +1,12 @@ |
|||
.data |
|||
.global four |
|||
four: |
|||
.long 4 |
|||
|
|||
.section .gnu.linkonce.d.foo, "aw" |
|||
.global foo |
|||
# PE signature of the comdat group |
|||
foo: |
|||
.global oney |
|||
oney: |
|||
.long 1 |
|||
Loading…
Reference in new issue