aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected6.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/protected6.s')
-rw-r--r--ld/testsuite/ld-x86-64/protected6.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/protected6.s b/ld/testsuite/ld-x86-64/protected6.s
new file mode 100644
index 0000000..8ac69c5
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/protected6.s
@@ -0,0 +1,14 @@
+ .protected foo
+.globl foo
+ .data
+ .align 4
+ .type foo, @object
+ .size foo, 4
+foo:
+ .long 1
+ .text
+ .globl bar
+ .type bar, @function
+bar:
+ movabsq $foo@GOTOFF, %rax
+ .size bar, .-bar