[ELF] - Properly check that R_X86_64_PC32 and R_X86_64_32 relocations are disallowed in DSO.
Initially we wanted to check that these two relocations are not present when linking DSO because of possible overflow in runtime. Patch moves them to writable segment in testcases to allow proper error check to trigger. Otherwise error message about using dynamic relocations against text segment was shown. Differential revision: http://reviews.llvm.org/D21184 llvm-svn: 272379
Loading
Please register or sign in to comment