aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-02-23 09:24:46 +0000
committerAlan Modra <amodra@gmail.com>2004-02-23 09:24:46 +0000
commit33ed461333b1726596e446392627ad2a93b6a62c (patch)
treefd17b38c951abfb8f029449ae0d9c2f4ec581b60 /ld
parent646411fba021b0739b3d7a134bb0d25cf5c027cf (diff)
downloadgdb-33ed461333b1726596e446392627ad2a93b6a62c.zip
gdb-33ed461333b1726596e446392627ad2a93b6a62c.tar.gz
gdb-33ed461333b1726596e446392627ad2a93b6a62c.tar.bz2
* ld-scripts/data.t: Set ".other" address so location doesn't
depend on target alignment. * ld-scripts/data.d: Update.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog6
-rw-r--r--ld/testsuite/ld-scripts/data.d2
-rw-r--r--ld/testsuite/ld-scripts/data.t2
3 files changed, 8 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index b103d5b..2bb7510 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-23 Alan Modra <amodra@bigpond.net.au>
+
+ * ld-scripts/data.t: Set ".other" address so location doesn't
+ depend on target alignment.
+ * ld-scripts/data.d: Update.
+
2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
* ld-scripts/align.{s,t,exp}: New.
diff --git a/ld/testsuite/ld-scripts/data.d b/ld/testsuite/ld-scripts/data.d
index 6284686..83d6142 100644
--- a/ld/testsuite/ld-scripts/data.d
+++ b/ld/testsuite/ld-scripts/data.d
@@ -5,5 +5,5 @@
.*: file format .*
Contents of section .text:
- 1000 (0410)?0000(1004)? (0810)?0000(1008)? +........ *
+ 1000 (0410)?0000(1004)? (0020)?0000(2000)? .*
#pass
diff --git a/ld/testsuite/ld-scripts/data.t b/ld/testsuite/ld-scripts/data.t
index 359a02f..8ee3d41 100644
--- a/ld/testsuite/ld-scripts/data.t
+++ b/ld/testsuite/ld-scripts/data.t
@@ -6,5 +6,5 @@ SECTIONS
label = .;
LONG (ADDR (.other))
}
- .other : {}
+ .other 0x2000 : {}
}