aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2007-01-23 16:42:43 +0000
committerNathan Sidwell <nathan@codesourcery.com>2007-01-23 16:42:43 +0000
commit723cda25827919370128f30e71a2b01450b4a522 (patch)
tree2674008b25bea9cde379a40dcfca1fa14ed8b0d0 /ld
parent7b69d46638328d6604391a1a052c04600821612f (diff)
downloadgdb-723cda25827919370128f30e71a2b01450b4a522.zip
gdb-723cda25827919370128f30e71a2b01450b4a522.tar.gz
gdb-723cda25827919370128f30e71a2b01450b4a522.tar.bz2
* ld-elf/header.d: Reduce page size, restrict to linux & vxworks
* ld-elf/header.s: Adjust. * ld-elf/header.t: Reduce initial offset.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog6
-rw-r--r--ld/testsuite/ld-elf/header.d12
-rw-r--r--ld/testsuite/ld-elf/header.s2
-rw-r--r--ld/testsuite/ld-elf/header.t2
4 files changed, 10 insertions, 12 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 316ce66..1c604fc 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-23 Nathan Sidwell <nathan@codesourcery.com>
+
+ * ld-elf/header.d: Reduce page size, restrict to linux & vxworks
+ * ld-elf/header.s: Adjust.
+ * ld-elf/header.t: Reduce initial offset.
+
2007-01-23 Andreas Schwab <schwab@suse.de>
* lib/ld-lib.exp (run_dump_test): Don't prematurely remove
diff --git a/ld/testsuite/ld-elf/header.d b/ld/testsuite/ld-elf/header.d
index f52dbd3..d438832 100644
--- a/ld/testsuite/ld-elf/header.d
+++ b/ld/testsuite/ld-elf/header.d
@@ -1,13 +1,5 @@
-# target: *-*-linux*
-# ld: -T header.t -z max-page-size=0x10000
+# target: *-*-linux* *-*-vxworks
+# ld: -T header.t -z max-page-size=0x100
# objdump: -hpw
#...
-Program Header:
- LOAD off 0x0*0000000 vaddr 0x0*0010000 paddr 0x0*0010000 align 2..16
- filesz 0x0*00100[23][048] memsz 0x0*00100[23][048] flags rwx
-#...
-Sections:
-Idx Name Size VMA *LMA *File off Algn Flags
- 0 .text 0*000ffac 0*00100[78][048] 0*00100[78][048] 0*00000[78][048] 2... CONTENTS, ALLOC, LOAD, READONLY, CODE
- 1 .data 0*0000004 0*002002[04c] 0*002002[04c] 0*001002[04c] 2... CONTENTS, ALLOC, LOAD, DATA
diff --git a/ld/testsuite/ld-elf/header.s b/ld/testsuite/ld-elf/header.s
index c47d3f1..38f2228 100644
--- a/ld/testsuite/ld-elf/header.s
+++ b/ld/testsuite/ld-elf/header.s
@@ -1,7 +1,7 @@
.text
.globl main
main:
- .rept 0x4000 - 0x15
+ .rept 0x40 - 0x15
.long 0xfedcba98
.endr
.data
diff --git a/ld/testsuite/ld-elf/header.t b/ld/testsuite/ld-elf/header.t
index cc0317b..c378fbe 100644
--- a/ld/testsuite/ld-elf/header.t
+++ b/ld/testsuite/ld-elf/header.t
@@ -2,7 +2,7 @@ ENTRY(main)
SECTIONS
{
- . = 0x10000 + SIZEOF_HEADERS;
+ . = 0x100 + SIZEOF_HEADERS;
.text : { *(.text) }
.data : { *(.data) }
}