X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-x86-64%2Fprotected1.d;fp=ld%2Ftestsuite%2Fld-x86-64%2Fprotected1.d;h=783b85a1a6fcd3a5fad812709ba00c77973f4890;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/ld/testsuite/ld-x86-64/protected1.d b/ld/testsuite/ld-x86-64/protected1.d new file mode 100644 index 0000000..783b85a --- /dev/null +++ b/ld/testsuite/ld-x86-64/protected1.d @@ -0,0 +1,3 @@ +#as: --64 +#ld: -shared -melf_x86_64 +#error: .*relocation R_X86_64_PC32 against protected symbol `foo' can not be used when making a shared object