diff options
author | Alan Modra <amodra@gmail.com> | 2004-04-08 00:51:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-04-08 00:51:37 +0000 |
commit | 76cb62b0033357959af72bc655811e63f3c017e2 (patch) | |
tree | daf1752a9196d41e1591e9b59ae743992dc8e7d3 /ld/testsuite/ld-scripts/size-1.t | |
parent | 343d4b76f9654dca24592b2e765f4a4b64428ac9 (diff) | |
download | fsf-binutils-gdb-76cb62b0033357959af72bc655811e63f3c017e2.zip fsf-binutils-gdb-76cb62b0033357959af72bc655811e63f3c017e2.tar.gz fsf-binutils-gdb-76cb62b0033357959af72bc655811e63f3c017e2.tar.bz2 |
* ld-scripts/align.exp: Don't run on aix.
* ld-scripts/assert.s: Remove comment.
* ld-scripts/data.s: Likewise.
* ld-scripts/data.t: Set start address to allow for aout headers.
Make first LONG pc-relative.
* ld-scripts/data.d: Update.
* ld-scripts/defined2.d: Allow other random syms.
* ld-scripts/defined3.d: Likewise.
* ld-scripts/provide-1.s: Pad section.
* ld-scripts/provide-1.t: Set .data address and align.
* ld-scripts/provide-1.d: Update.
* ld-scripts/provide-2.s: Pad section.
* ld-scripts/provide-2.d: Allow random trailing syms.
* ld-scripts/provide-3.s: Pad section.
* ld-scripts/provide-3.d: Fix typos.
* ld-scripts/provide.exp: Don't run on aix.
* ld-scripts/size-1.s: Simplify test.
* ld-scripts/size-1.t: Rewrite.
* ld-scripts/size-1.d: Update.
* ld-scripts/size-2.s: Simplify.
* ld-scripts/size-2.t: Set start address. Set exe flag on image.
* ld-scripts/size-2.d: Update.
* ld-scripts/size.exp: Don't run on aix. Run size-2 on all elf
targets except mips.
Diffstat (limited to 'ld/testsuite/ld-scripts/size-1.t')
-rw-r--r-- | ld/testsuite/ld-scripts/size-1.t | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/ld/testsuite/ld-scripts/size-1.t b/ld/testsuite/ld-scripts/size-1.t index 8582840..bb48665 100644 --- a/ld/testsuite/ld-scripts/size-1.t +++ b/ld/testsuite/ld-scripts/size-1.t @@ -1,15 +1,10 @@ SECTIONS { - .text : { *(.text) } - .data : { *(.data) } - .bss : { *(.bss) } - .tdata : { *(.tdata) } - .tbss : { *(.tbss) } - .map : { + . = 0x1000 + SIZEOF_HEADERS; + .text ALIGN (0x20) : { *(.text) } + .data 0x2000 : { + *(.data) LONG (SIZEOF (.text)) LONG (SIZEOF (.data)) - LONG (SIZEOF (.bss)) - LONG (SIZEOF (.tdata)) - LONG (SIZEOF (.tbss)) } } |