[ELF][MIPS] Extend test case to check LA25 stubs creation for STO_MIPS_PIC symbols...
authorSimon Atanasyan <simon@atanasyan.com>
Mon, 4 Apr 2016 16:47:31 +0000 (16:47 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Mon, 4 Apr 2016 16:47:31 +0000 (16:47 +0000)
commit38da8c3bac074d8d5905af10644880ae8efe43fc
treebe6424c96fd1033d18f71e5a126bcff55c4c2da8
parentffbc9c7f3bd9cdb5696c9bd3e3c0b9b8b7128aaa
[ELF][MIPS] Extend test case to check LA25 stubs creation for STO_MIPS_PIC symbols. NFC.

The only way to get an object file with symbols marked by the STO_MIPS_PIC
flag is to link PIC and non-PIC object files and generate a relocatable
output using '-r' command line option. Now LLD is able to generate a relocatable
output but does not mark PIC symbols by the STO_MIPS_PIC flag. So I have
to use binary input mips-sto-pic.o generated by GNU BFD linker.

llvm-svn: 265310
lld/test/ELF/Inputs/mips-sto-pic.o [new file with mode: 0644]
lld/test/ELF/mips-npic-call-pic.s