aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/eh6.s
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-04-20 04:27:47 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-04-20 04:27:47 -0700
commit7cc9c114fef05bc603111c0ceb6d2275c0275deb (patch)
tree58d07e6896b344b78d1f817e80f75f9103eebec9 /ld/testsuite/ld-elf/eh6.s
parente6c7cdec063514bb9ffe2a62fb280e5ec676cac0 (diff)
downloadgdb-7cc9c114fef05bc603111c0ceb6d2275c0275deb.zip
gdb-7cc9c114fef05bc603111c0ceb6d2275c0275deb.tar.gz
gdb-7cc9c114fef05bc603111c0ceb6d2275c0275deb.tar.bz2
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.
Diffstat (limited to 'ld/testsuite/ld-elf/eh6.s')
-rw-r--r--ld/testsuite/ld-elf/eh6.s2
1 files changed, 1 insertions, 1 deletions
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: