]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-i386/protected3.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / testsuite / ld-i386 / protected3.s
diff --git a/ld/testsuite/ld-i386/protected3.s b/ld/testsuite/ld-i386/protected3.s
new file mode 100644 (file)
index 0000000..7a605a2
--- /dev/null
@@ -0,0 +1,15 @@
+       .protected      foo
+.globl foo
+       .data
+       .align 4
+       .type   foo, @object
+       .size   foo, 4
+foo:
+       .long   1
+       .text
+.globl bar
+       .type   bar, @function
+bar:
+       movl    foo@GOTOFF(%ecx), %eax
+       ret
+       .size   bar, .-bar