Replace .long with .dc.a on my_personality_v0
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 20 Apr 2016 11:27:47 +0000 (04:27 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 20 Apr 2016 11:27:47 +0000 (04:27 -0700)
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
ld/testsuite/ld-elf/eh6.s

index 994c2956297bb5d63e604f6a831b5282fb7e37f3..c1dc58948c0aa3be733f68fd6d57e8c0f972e4a7 100644 (file)
@@ -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.
index bdc7dd1f28cb6f458c4ad3f54b6992bc21e719e9..6e39e64d684fc375cef46c20445d36c0cb2e922c 100644 (file)
@@ -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: