aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-08-16 15:13:29 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-08-16 15:13:29 +0000
commit1410d87cafe792f6c57d04b41ab97cf250ba0225 (patch)
tree05b4057b43be60667b86d76836862669a0929c55 /ld/testsuite/ld-cris
parent18d944df002f75e0a0a933a7995327adb76e146c (diff)
downloadgdb-1410d87cafe792f6c57d04b41ab97cf250ba0225.zip
gdb-1410d87cafe792f6c57d04b41ab97cf250ba0225.tar.gz
gdb-1410d87cafe792f6c57d04b41ab97cf250ba0225.tar.bz2
* ld-cris/dso-1.s: Add missing alignment directive.
* ld-cris/libdso-10.d: Adjust accordingly.
Diffstat (limited to 'ld/testsuite/ld-cris')
-rw-r--r--ld/testsuite/ld-cris/dso-1.s1
-rw-r--r--ld/testsuite/ld-cris/libdso-10.d4
2 files changed, 3 insertions, 2 deletions
diff --git a/ld/testsuite/ld-cris/dso-1.s b/ld/testsuite/ld-cris/dso-1.s
index 85aeffd..6c621b5 100644
--- a/ld/testsuite/ld-cris/dso-1.s
+++ b/ld/testsuite/ld-cris/dso-1.s
@@ -1,6 +1,7 @@
.text
.global dsofn
.type dsofn,@function
+ .p2align 1
dsofn:
nop
.Lfe:
diff --git a/ld/testsuite/ld-cris/libdso-10.d b/ld/testsuite/ld-cris/libdso-10.d
index f06c7a5..e045496 100644
--- a/ld/testsuite/ld-cris/libdso-10.d
+++ b/ld/testsuite/ld-cris/libdso-10.d
@@ -9,7 +9,7 @@
Program Header:
LOAD off 0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13
- filesz 0x0+143 memsz 0x0+143 flags r-x
+ filesz 0x0+144 memsz 0x0+144 flags r-x
LOAD off 0x0+144 vaddr 0x0+2144 paddr 0x0+2144 align 2\*\*13
filesz 0x0+64 memsz 0x0+64 flags rw-
DYNAMIC off 0x0+144 vaddr 0x0+2144 paddr 0x0+2144 align 2\*\*2
@@ -29,7 +29,7 @@ Idx Name Size VMA LMA File off Algn
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 \.dynstr 0+1f 0+120 0+120 0+120 2\*\*0
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 3 \.text 0+4 0+13f 0+13f 0+13f 2\*\*0
+ 3 \.text 0+4 0+140 0+140 0+140 2\*\*1
CONTENTS, ALLOC, LOAD, READONLY, CODE
4 \.dynamic 0+58 0+2144 0+2144 0+144 2\*\*2
CONTENTS, ALLOC, LOAD, DATA