From: Alan Modra Date: Sun, 30 Aug 2009 05:48:56 +0000 (+0000) Subject: PR ld/10569 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3021a723350d1c1bc655cca523b645d65f74bdb4;p=binutils-gdb.git PR ld/10569 * ld-elf/commonpage2.d: New. * ld-elf/maxpage4.d: Likewise. * ld-elf/maxpage4.t: Likewise. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index aafb869f902..98268e80c52 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2009-08-30 H.J. Lu + + PR ld/10569 + * ld-elf/commonpage2.d: New. + * ld-elf/maxpage4.d: Likewise. + * ld-elf/maxpage4.t: Likewise. + 2009-08-26 Maxim Kuvyrkov * ld-m68k/tls-def-1.s: New file. diff --git a/ld/testsuite/ld-elf/commonpage2.d b/ld/testsuite/ld-elf/commonpage2.d new file mode 100644 index 00000000000..e4d582bef60 --- /dev/null +++ b/ld/testsuite/ld-elf/commonpage2.d @@ -0,0 +1,9 @@ +#source: maxpage1.s +#as: --32 +#ld: -z max-page-size=0x200000 -z common-page-size=0x100000 -T maxpage4.t +#readelf: -l --wide +#target: x86_64-*-linux* + +#... + LOAD+.*0x200000 +#pass diff --git a/ld/testsuite/ld-elf/maxpage4.d b/ld/testsuite/ld-elf/maxpage4.d new file mode 100644 index 00000000000..a7cc17b92aa --- /dev/null +++ b/ld/testsuite/ld-elf/maxpage4.d @@ -0,0 +1,9 @@ +#source: maxpage1.s +#as: --32 +#ld: -z max-page-size=0x200000 -T maxpage4.t +#readelf: -l --wide +#target: x86_64-*-linux* + +#... + LOAD+.*0x200000 +#pass diff --git a/ld/testsuite/ld-elf/maxpage4.t b/ld/testsuite/ld-elf/maxpage4.t new file mode 100644 index 00000000000..42089e33903 --- /dev/null +++ b/ld/testsuite/ld-elf/maxpage4.t @@ -0,0 +1,9 @@ +OUTPUT_FORMAT("elf32-i386") +OUTPUT_ARCH(i386) +ENTRY(_start) +SECTIONS +{ + .text : {*(.text)} + .data : {*(.data)} + /DISCARD/ : {*(*)} +}