aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/data.t
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-04-08 00:51:37 +0000
committerAlan Modra <amodra@gmail.com>2004-04-08 00:51:37 +0000
commit76cb62b0033357959af72bc655811e63f3c017e2 (patch)
treedaf1752a9196d41e1591e9b59ae743992dc8e7d3 /ld/testsuite/ld-scripts/data.t
parent343d4b76f9654dca24592b2e765f4a4b64428ac9 (diff)
downloadgdb-76cb62b0033357959af72bc655811e63f3c017e2.zip
gdb-76cb62b0033357959af72bc655811e63f3c017e2.tar.gz
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/data.t')
-rw-r--r--ld/testsuite/ld-scripts/data.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/testsuite/ld-scripts/data.t b/ld/testsuite/ld-scripts/data.t
index 8ee3d41..f56d10f 100644
--- a/ld/testsuite/ld-scripts/data.t
+++ b/ld/testsuite/ld-scripts/data.t
@@ -1,8 +1,9 @@
SECTIONS
{
- .text 0x1000 :
+ . = 0x1000 + SIZEOF_HEADERS;
+ .text ALIGN (0x20) :
{
- LONG (label)
+ LONG (label - .)
label = .;
LONG (ADDR (.other))
}