Browse Source
PR ld/19162 * testsuite/ld-elf/pr19162.d: New file. * testsuite/ld-elf/pr19162a.s: Likwise. * testsuite/ld-elf/pr19162b.s: Likwise.binutils-2_27-branch
4 changed files with 20 additions and 0 deletions
@ -0,0 +1,9 @@ |
|||
#source: pr19162a.s |
|||
#source: pr19162b.s |
|||
#ld: -shared -z max-page-size=0x200000 |
|||
#readelf: -l --wide |
|||
#target: *-*-linux* *-*-gnu* *-*-nacl* |
|||
|
|||
#... |
|||
+LOAD +0x0+[0-9a-f]{3} +0x[0-9a-f]+ +0x[0-9a-f]+ +0x0+[0-9a-f]{3} +0x0+[0-9a-f]{3} +R[WE]+ +0x200000 |
|||
#pass |
|||
@ -0,0 +1,2 @@ |
|||
.section ".AAA", "a" |
|||
.long 0x12345678 |
|||
@ -0,0 +1,2 @@ |
|||
.section ".AAA", "wa" |
|||
.long 0x12345678 |
|||
Loading…
Reference in new issue