Add a testcase for PR ld/19162
PR ld/19162 * testsuite/ld-elf/pr19162.d: New file. * testsuite/ld-elf/pr19162a.s: Likwise. * testsuite/ld-elf/pr19162b.s: Likwise.
This commit is contained in:
parent
d521906965
commit
7f50ebc1b1
@ -1,3 +1,10 @@
|
||||
2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/19162
|
||||
* testsuite/ld-elf/pr19162.d: New file.
|
||||
* testsuite/ld-elf/pr19162a.s: Likwise.
|
||||
* testsuite/ld-elf/pr19162b.s: Likwise.
|
||||
|
||||
2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
|
||||
|
||||
* testsuite/ld-elf/merge.d: Removed xfail for ARC.
|
||||
|
||||
9
ld/testsuite/ld-elf/pr19162.d
Normal file
9
ld/testsuite/ld-elf/pr19162.d
Normal file
@ -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
|
||||
2
ld/testsuite/ld-elf/pr19162a.s
Normal file
2
ld/testsuite/ld-elf/pr19162a.s
Normal file
@ -0,0 +1,2 @@
|
||||
.section ".AAA", "a"
|
||||
.long 0x12345678
|
||||
2
ld/testsuite/ld-elf/pr19162b.s
Normal file
2
ld/testsuite/ld-elf/pr19162b.s
Normal file
@ -0,0 +1,2 @@
|
||||
.section ".AAA", "wa"
|
||||
.long 0x12345678
|
||||
Loading…
Reference in New Issue
Block a user