* ld-elf/header.d: Reduce page size, restrict to linux & vxworks
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 23 Jan 2007 16:42:43 +0000 (16:42 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Tue, 23 Jan 2007 16:42:43 +0000 (16:42 +0000)
* ld-elf/header.s: Adjust.
* ld-elf/header.t: Reduce initial offset.

ld/testsuite/ChangeLog
ld/testsuite/ld-elf/header.d
ld/testsuite/ld-elf/header.s
ld/testsuite/ld-elf/header.t

index 316ce66d85b5a13a9915ac911c8b3e8f3f7daaa3..1c604fceaa60bcedeb1869e099565ae2243faf21 100644 (file)
@@ -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
index f52dbd3b78f2ab623c739dabe71beab496ca972a..d4388323ddda59f7bc8ffb1f65d4dc2656333cf6 100644 (file)
@@ -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
index c47d3f130a89f3cb5cbb54ffa8bd3cca89382227..38f22280e8e06aaa213f0bfbcd231ccd65724137 100644 (file)
@@ -1,7 +1,7 @@
        .text
        .globl main
 main:
-       .rept 0x4000 - 0x15
+       .rept 0x40 - 0x15
        .long 0xfedcba98
        .endr
        .data
index cc0317bf77f4525fb4669a68d2eb8723270f9f00..c378fbe07e015fd8cb48c6868be1dabdbb86f09d 100644 (file)
@@ -2,7 +2,7 @@ ENTRY(main)
 
 SECTIONS
 {
-  . = 0x10000 + SIZEOF_HEADERS;
+  . = 0x100 + SIZEOF_HEADERS;
   .text : { *(.text) }
   .data : { *(.data) }
 }
This page took 0.025605 seconds and 4 git commands to generate.