aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/mov1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/mov1.s')
-rw-r--r--ld/testsuite/ld-x86-64/mov1.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/mov1.s b/ld/testsuite/ld-x86-64/mov1.s
index 2a11b7a..844129c 100644
--- a/ld/testsuite/ld-x86-64/mov1.s
+++ b/ld/testsuite/ld-x86-64/mov1.s
@@ -1,6 +1,10 @@
.text
+ .weak __start_my_section
+ .weak __stop_my_section
.globl _start
.type _start, @function
_start:
movq _DYNAMIC@GOTPCREL(%rip), %rax
+ movq __start_my_section@GOTPCREL(%rip), %rax
+ movq __stop_my_section@GOTPCREL(%rip), %rax
.size _start, .-_start