summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-09-16 00:28:56 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-09-16 00:28:56 +0000
commit8d3d9f5017bb9367e7c4898c22ab42457bc1fa43 (patch)
treeb8e817efd3e00d6343cb2f2dea2446a51ae3d075 /ld/testsuite/ld-scripts
parent483a75dd573b54b14116d4b766057f965a62ec06 (diff)
downloadbinutils-redhat-8d3d9f5017bb9367e7c4898c22ab42457bc1fa43.tar.gz
* ld-elf/group3b.d: Disable for generic linker targets.
* ld-elf/linkonce2.d: Likewise. * ld-scripts/empty-address-2a.d: Disable for frv and aout,oldld. * ld-scripts/empty-address-2b.d: Likewise. * ld-scripts/rgn-at5.s: Don't use .word. * ld-scripts/rgn-at5.d: Update.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r--ld/testsuite/ld-scripts/empty-address-2a.d2
-rw-r--r--ld/testsuite/ld-scripts/empty-address-2b.d2
-rw-r--r--ld/testsuite/ld-scripts/rgn-at5.d11
-rw-r--r--ld/testsuite/ld-scripts/rgn-at5.s10
4 files changed, 13 insertions, 12 deletions
diff --git a/ld/testsuite/ld-scripts/empty-address-2a.d b/ld/testsuite/ld-scripts/empty-address-2a.d
index 15fc65cc08..689db611f1 100644
--- a/ld/testsuite/ld-scripts/empty-address-2a.d
+++ b/ld/testsuite/ld-scripts/empty-address-2a.d
@@ -1,7 +1,7 @@
#source: empty-address-2.s
#ld: -Ttext 0x0000000 -Tdata 0x2000000 -T empty-address-2a.t
#nm: -n
-#notarget: frv-*-*linux*
+#notarget: frv-*-*linux* *-*-linux*aout *-*-linux*oldld
#...
0+0 T _start
#...
diff --git a/ld/testsuite/ld-scripts/empty-address-2b.d b/ld/testsuite/ld-scripts/empty-address-2b.d
index 29b806947e..0c58946b64 100644
--- a/ld/testsuite/ld-scripts/empty-address-2b.d
+++ b/ld/testsuite/ld-scripts/empty-address-2b.d
@@ -1,7 +1,7 @@
#source: empty-address-2.s
#ld: -Ttext 0x0000000 -Tdata 0x2000000 -T empty-address-2b.t
#nm: -n
-#notarget: frv-*-*linux*
+#notarget: frv-*-*linux* *-*-linux*aout *-*-linux*oldld
#...
0+0 T _start
#...
diff --git a/ld/testsuite/ld-scripts/rgn-at5.d b/ld/testsuite/ld-scripts/rgn-at5.d
index 1a37794755..e33b34bffb 100644
--- a/ld/testsuite/ld-scripts/rgn-at5.d
+++ b/ld/testsuite/ld-scripts/rgn-at5.d
@@ -11,8 +11,9 @@
Sections:
Idx +Name +Size +VMA +LMA +File off +Algn +Flags
- 0 .sec0 +0+2 +0+02000 +0+2000 +0+02000 +.*
- 1 .sec1 +0+2 +0+01000 +0+012c +0+01000 +.*
- 2 .sec2 +0+2 +0+04000 +0+603c +0+04000 +.*
- 3 .sec3 +0+2 +0+05000 +0+412c +0+03000 +.*
- 4 .sec4 +0+2 +0+02002 +0+2002 +0+02002 +.*
+ 0 .sec0 +0+4 +0+02000 +0+2000 +0+02000 +.*
+ 1 .sec1 +0+4 +0+01000 +0+012c +0+01000 +.*
+ 2 .sec2 +0+4 +0+04000 +0+603c +0+04000 +.*
+ 3 .sec3 +0+4 +0+05000 +0+412c +0+03000 +.*
+ 4 .sec4 +0+4 +0+02004 +0+2004 +0+02004 +.*
+#pass
diff --git a/ld/testsuite/ld-scripts/rgn-at5.s b/ld/testsuite/ld-scripts/rgn-at5.s
index dbb63ea34c..ce8576c19b 100644
--- a/ld/testsuite/ld-scripts/rgn-at5.s
+++ b/ld/testsuite/ld-scripts/rgn-at5.s
@@ -1,14 +1,14 @@
.section .sec0, "a"
- .word 0
+ .long 0
.section .sec1, "a"
- .word 0x11
+ .long 0x11
.section .sec2, "a"
- .word 0x22
+ .long 0x22
.section .sec3, "a"
- .word 0x33
+ .long 0x33
.section .sec4, "a"
- .word 0x44
+ .long 0x44