X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=ld%2Ftestsuite%2Fld-x86-64%2Fprotected3.s;fp=ld%2Ftestsuite%2Fld-x86-64%2Fprotected3.s;h=e4af6e7fb342e77aec9266aa5e10ae8de9663001;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hp=0000000000000000000000000000000000000000;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b;p=msp430-binutils.git diff --git a/ld/testsuite/ld-x86-64/protected3.s b/ld/testsuite/ld-x86-64/protected3.s new file mode 100644 index 0000000..e4af6e7 --- /dev/null +++ b/ld/testsuite/ld-x86-64/protected3.s @@ -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(%rip), %eax + ret + .size bar, .-bar