This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Replace .long with .dc.a on my_personality_v0
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: binutils at sourceware dot org
- Date: Wed, 20 Apr 2016 04:29:52 -0700
- Subject: [PATCH] Replace .long with .dc.a on my_personality_v0
- Authentication-results: sourceware.org; auth=none
We should use .dc.a instead of .long to take address of a symbol.
* testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
my_personality_v0.
---
ld/ChangeLog | 5 +++++
ld/testsuite/ld-elf/eh6.s | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 994c295..c1dc589 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
+ my_personality_v0.
+
2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* emultempl/scoreelf.em: Likewise.
diff --git a/ld/testsuite/ld-elf/eh6.s b/ld/testsuite/ld-elf/eh6.s
index bdc7dd1..6e39e64 100644
--- a/ld/testsuite/ld-elf/eh6.s
+++ b/ld/testsuite/ld-elf/eh6.s
@@ -10,7 +10,7 @@ foo:
.section .data.rel.ro, "a", @progbits
indirect_ptr:
- .long my_personality_v0
+ .dc.a my_personality_v0
.globl my_personality_v0
my_personality_v0:
--
2.5.5