[lld] r234635 - [Mips] Add -pcrel-eh-reloc command line option

Simon Atanasyan simon at atanasyan.com
Fri Apr 10 14:24:32 PDT 2015


On Sat, Apr 11, 2015 at 12:14 AM, Rui Ueyama <ruiu at google.com> wrote:
> On Fri, Apr 10, 2015 at 2:00 PM, Simon Atanasyan <simon at atanasyan.com>
> wrote:
>>
>> Author: atanasyan
>> Date: Fri Apr 10 16:00:41 2015
>> New Revision: 234635
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=234635&view=rev
>> Log:
>> [Mips] Add -pcrel-eh-reloc command line option

[...]

>> --- lld/trunk/test/elf/Mips/rel-eh-03.test (added)
>> +++ lld/trunk/test/elf/Mips/rel-eh-03.test Fri Apr 10 16:00:41 2015
>> @@ -0,0 +1,128 @@
>> +# Check R_MIPS_EH relocation handling in case of -pcrel-eh-reloc option.
>> +
>> +# RUN: yaml2obj -format=elf -docnum 1 %s > %t1.o
>> +# RUN: yaml2obj -format=elf -docnum 2 %s > %t2.o
>> +# RUN: lld -flavor gnu -target mipsel -e T0 \
>> +# RUN:     -pcrel-eh-reloc -o %t.exe %t1.o %t2.o %t.so
>
>
> This test fails because %t.so does not exist. Can you fix the issue?

Heh, the last second change before commit. I hope this fixed at
r234639. Thanks for the pointing to the problem.

-- 
Simon Atanasyan



More information about the llvm-commits mailing list