From 7cc9c114fef05bc603111c0ceb6d2275c0275deb Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 20 Apr 2016 04:27:47 -0700 Subject: [PATCH] Replace .long with .dc.a on my_personality_v0 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 994c2956297..c1dc58948c0 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2016-04-20 H.J. Lu + + * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on + my_personality_v0. + 2016-04-20 Trevor Saunders * emultempl/scoreelf.em: Likewise. diff --git a/ld/testsuite/ld-elf/eh6.s b/ld/testsuite/ld-elf/eh6.s index bdc7dd1f28c..6e39e64d684 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.30.2