aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/tlsbinpic.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/tlsbinpic.s')
-rw-r--r--ld/testsuite/ld-i386/tlsbinpic.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/tlsbinpic.s b/ld/testsuite/ld-i386/tlsbinpic.s
index 844f952..9c8a006 100644
--- a/ld/testsuite/ld-i386/tlsbinpic.s
+++ b/ld/testsuite/ld-i386/tlsbinpic.s
@@ -162,6 +162,11 @@ fn2:
movl %gs:(%edx), %edx
nop;nop;nop;nop
+ /* GD -> IE because variable is not defined in executable */
+ leal sG1@tlsgd(%ebx), %eax
+ call ___tls_get_addr@plt
+ nop;nop;nop;nop;nop
+
movl -4(%ebp), %ebx
leave
ret