aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-01-09 16:53:10 +0000
committerDaniel Jacobowitz <drow@false.org>2004-01-09 16:53:10 +0000
commitc787b889467a41263df4f73cad327af7f3a46373 (patch)
treea1efd4f6f99323ed096c6306523162a4ec547134
parent209721fe3f6c2357049d751a4cdf7b1c9a446859 (diff)
downloadfsf-binutils-gdb-c787b889467a41263df4f73cad327af7f3a46373.zip
fsf-binutils-gdb-c787b889467a41263df4f73cad327af7f3a46373.tar.gz
fsf-binutils-gdb-c787b889467a41263df4f73cad327af7f3a46373.tar.bz2
* ld-arm/arm-lib.d, ld-arm/arm-lib.r: Update for R_ARM_PLT32
changes.
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-arm/arm-lib.d13
-rw-r--r--ld/testsuite/ld-arm/arm-lib.r2
3 files changed, 18 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 56416cc..98b6de4 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-09 Daniel Jacobowitz <drow@mvista.com>
+
+ * ld-arm/arm-lib.d, ld-arm/arm-lib.r: Update for R_ARM_PLT32
+ changes.
+
2004-01-06 Daniel Jacobowitz <drow@mvista.com>
* ld-arm/arm-app.d, ld-arm/arm-app.r, ld-arm/arm-app.s,
diff --git a/ld/testsuite/ld-arm/arm-lib.d b/ld/testsuite/ld-arm/arm-lib.d
index d0fb714..b7be230 100644
--- a/ld/testsuite/ld-arm/arm-lib.d
+++ b/ld/testsuite/ld-arm/arm-lib.d
@@ -4,12 +4,23 @@ architecture: arm, flags 0x00000150:
HAS_SYMS, DYNAMIC, D_PAGED
start address 0x.*
+Disassembly of section .plt:
+
+.* <.plt>:
+ .*: e52de004 str lr, \[sp, #-4\]!
+ .*: e59fe004 ldr lr, \[pc, #4\] ; .* <lib_func1-0x10>
+ .*: e08fe00e add lr, pc, lr
+ .*: e5bef008 ldr pc, \[lr, #8\]!
+ .*: .*
+ .*: e28fc6.* add ip, pc, #.* ; 0x.*
+ .*: e28cca.* add ip, ip, #.* ; 0x.*
+ .*: e5bcf.* ldr pc, \[ip, #.*\]!
Disassembly of section .text:
.* <lib_func1>:
.*: e1a0c00d mov ip, sp
.*: e92dd800 stmdb sp!, {fp, ip, lr, pc}
- .*: ebfffffe bl .* <lib_func1\+0x8>
+ .*: ebfffff9 bl .* <lib_func1-0xc>
.*: e89d6800 ldmia sp, {fp, sp, lr}
.*: e12fff1e bx lr
diff --git a/ld/testsuite/ld-arm/arm-lib.r b/ld/testsuite/ld-arm/arm-lib.r
index 33ba781..cd1a5b7 100644
--- a/ld/testsuite/ld-arm/arm-lib.r
+++ b/ld/testsuite/ld-arm/arm-lib.r
@@ -3,6 +3,6 @@ tmpdir/arm-lib.so: file format elf32-littlearm
DYNAMIC RELOCATION RECORDS
OFFSET TYPE VALUE
-.* R_ARM_PC24 app_func2
+.* R_ARM_JUMP_SLOT app_func2