This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, AARCH64] Removes anchoring symbol expectation from R_AARCH64_GOT_LD_PREL19


This patch replaces anchoring symbols with regexp, as anchoring symbols are
currently non-deterministic, causing the tests to fail.

Thanks,
Chris Socha

ChangeLog:

2012-09-18 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>

ld/testsuite

	* ld-aarch64/emit-relocs-309-low.d: Replaces symbol with regexp.
	* ld-aarch64/emit-relocs-309-up.d: Replaces symbol with regexp.
From 117a599b0e5f68f49aaa9cf51f225b8f959c2309 Mon Sep 17 00:00:00 2001
From: Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>
Date: Tue, 18 Sep 2012 13:44:35 +0100
Subject: [PATCH] Removes anchoring symbol expectation from
 R_AARCH64_GOT_LD_PREL19 ld tests.

---
 ld/testsuite/ld-aarch64/emit-relocs-309-low.d |    2 +-
 ld/testsuite/ld-aarch64/emit-relocs-309-up.d  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ld/testsuite/ld-aarch64/emit-relocs-309-low.d b/ld/testsuite/ld-aarch64/emit-relocs-309-low.d
index 4dee982..acb8cd3 100644
--- a/ld/testsuite/ld-aarch64/emit-relocs-309-low.d
+++ b/ld/testsuite/ld-aarch64/emit-relocs-309-low.d
@@ -9,4 +9,4 @@ Disassembly of section \.text:
 
 00000000000ffffc <_start>:
    ffffc:	d503201f 	nop
-  100000:	58800000 	ldr	x0, 0 <_GLOBAL_OFFSET_TABLE_-0x8>
+  100000:	58800000 	ldr	x0, 0 .*
diff --git a/ld/testsuite/ld-aarch64/emit-relocs-309-up.d b/ld/testsuite/ld-aarch64/emit-relocs-309-up.d
index dc2bb55..a84c343 100644
--- a/ld/testsuite/ld-aarch64/emit-relocs-309-up.d
+++ b/ld/testsuite/ld-aarch64/emit-relocs-309-up.d
@@ -9,4 +9,4 @@ Disassembly of section \.text:
 
 0000000000000000 <_start>:
    0:	d503201f 	nop
-   4:	587fffe0 	ldr	x0, 100000 <_stack\+0x80000>
+   4:	587fffe0 	ldr	x0, 100000 .*
-- 
1.7.5.2

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]