diff options
author | Alan Modra <amodra@gmail.com> | 2009-08-30 05:48:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-08-30 05:48:56 +0000 |
commit | 3021a723350d1c1bc655cca523b645d65f74bdb4 (patch) | |
tree | 437b8da1dd120c35bb755b70c2f6d178a9116709 | |
parent | 8be573a79b848e118bbe0247d706827f93252b43 (diff) | |
download | gdb-3021a723350d1c1bc655cca523b645d65f74bdb4.zip gdb-3021a723350d1c1bc655cca523b645d65f74bdb4.tar.gz gdb-3021a723350d1c1bc655cca523b645d65f74bdb4.tar.bz2 |
PR ld/10569
* ld-elf/commonpage2.d: New.
* ld-elf/maxpage4.d: Likewise.
* ld-elf/maxpage4.t: Likewise.
-rw-r--r-- | ld/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/commonpage2.d | 9 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/maxpage4.d | 9 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/maxpage4.t | 9 |
4 files changed, 34 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index aafb869..98268e8 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2009-08-30 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10569 + * ld-elf/commonpage2.d: New. + * ld-elf/maxpage4.d: Likewise. + * ld-elf/maxpage4.t: Likewise. + 2009-08-26 Maxim Kuvyrkov <maxim@codesourcery.com> * 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 0000000..e4d582b --- /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 0000000..a7cc17b --- /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 0000000..42089e3 --- /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/ : {*(*)} +} |