Browse Source
* ld-elf/commonpage2.d: New. * ld-elf/maxpage4.d: Likewise. * ld-elf/maxpage4.t: Likewise.gdb_7_0-branch
4 changed files with 34 additions and 0 deletions
@ -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 |
|||
@ -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 |
|||
@ -0,0 +1,9 @@ |
|||
OUTPUT_FORMAT("elf32-i386") |
|||
OUTPUT_ARCH(i386) |
|||
ENTRY(_start) |
|||
SECTIONS |
|||
{ |
|||
.text : {*(.text)} |
|||
.data : {*(.data)} |
|||
/DISCARD/ : {*(*)} |
|||
} |
|||
Loading…
Reference in new issue