From c787b889467a41263df4f73cad327af7f3a46373 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Fri, 9 Jan 2004 16:53:10 +0000 Subject: [PATCH] * ld-arm/arm-lib.d, ld-arm/arm-lib.r: Update for R_ARM_PLT32 changes. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-arm/arm-lib.d | 13 ++++++++++++- ld/testsuite/ld-arm/arm-lib.r | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 56416cca4f5..98b6de425a1 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-01-09 Daniel Jacobowitz + + * ld-arm/arm-lib.d, ld-arm/arm-lib.r: Update for R_ARM_PLT32 + changes. + 2004-01-06 Daniel Jacobowitz * 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 d0fb714d1b4..b7be230a412 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\] ; .* + .*: 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: .* : .*: e1a0c00d mov ip, sp .*: e92dd800 stmdb sp!, {fp, ip, lr, pc} - .*: ebfffffe bl .* + .*: ebfffff9 bl .* .*: 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 33ba781fa9d..cd1a5b76d5b 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 -- 2.30.2