From 28bf260962673c554b926a013af27c77fe82870c Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Wed, 25 Jun 2014 10:57:45 -0400 Subject: [PATCH] ld/arm: adjust offsets in tls-gdierelax2.d Addition of DF_STATIC_TLS in eea6dad2 results in the addition of flags to the dynamic section, which in turn changes these addresses. Fix them up to match their new positions. ld/testsuite/Changelog: 2014-06-24 Kyle McMartin * ld-arm/tls-gdierelax2.d: Fix expected offsets. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-arm/tls-gdierelax2.d | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 2ef10c0b601..561abaf5d0e 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-06-25 Kyle McMartin + + * ld-arm/tls-gdierelax2.d: Fix expected offsets. + 2014-06-16 Will Newton * ld-arm/arm-elf.exp: Add ifunc-gdesc test. diff --git a/ld/testsuite/ld-arm/tls-gdierelax2.d b/ld/testsuite/ld-arm/tls-gdierelax2.d index 3a800944d17..5f6b9ad2834 100644 --- a/ld/testsuite/ld-arm/tls-gdierelax2.d +++ b/ld/testsuite/ld-arm/tls-gdierelax2.d @@ -11,13 +11,13 @@ Disassembly of section .text: [0-9a-f]+: e59f0004 ldr r0, \[pc, #4\] ; .* [0-9a-f]+: e79f0000 ldr r0, \[pc, r0\] [0-9a-f]+: e1a00000 nop ; .* - [0-9a-f]+: 00008098 .word 0x00008098 - [0-9a-f]+: 0000809c .word 0x0000809c + [0-9a-f]+: 000080a0 .word 0x000080a0 + [0-9a-f]+: 000080a4 .word 0x000080a4 [0-9a-f]+ : [0-9a-f]+: 4801 ldr r0, \[pc, #4\] ; .* [0-9a-f]+: 4478 add r0, pc [0-9a-f]+: 6800 ldr r0, \[r0, #0\] [0-9a-f]+: 46c0 nop ; .* - [0-9a-f]+: 0000808a .word 0x0000808a - [0-9a-f]+: 0000808c .word 0x0000808c + [0-9a-f]+: 00008092 .word 0x00008092 + [0-9a-f]+: 00008094 .word 0x00008094 -- 2.30.2