Add a test for PR ld/19162

PR ld/19162
	* ld-x86-64/x86-64.exp: Run pr19162.
	* ld-x86-64/pr19162.d: New file.
	* ld-x86-64/pr19162a.s: Likewise.
	* ld-x86-64/pr19162b.s: Likewise.
This commit is contained in:
H.J. Lu 2015-10-28 03:20:55 -07:00
parent 199af15039
commit 7963511fbf
5 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2015-10-28 H.J. Lu <hongjiu.lu@intel.com>
PR ld/19162
* ld-x86-64/x86-64.exp: Run pr19162.
* ld-x86-64/pr19162.d: New file.
* ld-x86-64/pr19162a.s: Likewise.
* ld-x86-64/pr19162b.s: Likewise.
2015-10-27 Laurent Alfonsi <laurent.alfonsi@st.com>
Christophe Monat <christophe.monat@st.com>

View File

@ -0,0 +1,10 @@
#source: pr19162a.s
#source: pr19162b.s
#as: --64
#ld: -melf_x86_64 -shared -z max-page-size=0x200000 -z common-page-size=0x1000
#readelf: -l --wide
#target: x86_64-*-linux*
#...
DYNAMIC 0x0001a8 0x00000000002001a8 0x00000000002001a8 0x0000b0 0x0000b0 RW 0x8
#pass

View File

@ -0,0 +1,2 @@
.section ".AAA", "a"
.long 0x12345678

View File

@ -0,0 +1,2 @@
.section ".AAA", "wa"
.long 0x12345678

View File

@ -347,6 +347,7 @@ run_dump_test "pr18815"
run_dump_test "pr19013"
run_dump_test "pr19013-x32"
run_dump_test "pr19013-nacl"
run_dump_test "pr19162"
run_dump_test "pr19175"
# Add $PLT_CFLAGS if PLT is expected.