X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-i386%2Fprotected1.d;fp=ld%2Ftestsuite%2Fld-i386%2Fprotected1.d;h=a3cb5cef1403733817b6ff46b76d1a4e1223cb8e;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/testsuite/ld-i386/protected1.d b/ld/testsuite/ld-i386/protected1.d new file mode 100644 index 0000000..a3cb5ce --- /dev/null +++ b/ld/testsuite/ld-i386/protected1.d @@ -0,0 +1,3 @@ +#as: --32 +#ld: -shared -melf_i386 +#error: .*relocation R_386_GOTOFF against protected function `foo' can not be used when making a shared object