[MC][ELF] Handle MIPS specific .sdata and .sbss directives
authorSimon Atanasyan <simon@atanasyan.com>
Thu, 11 Feb 2016 06:45:54 +0000 (06:45 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Thu, 11 Feb 2016 06:45:54 +0000 (06:45 +0000)
commitbe186204323aa35996dce2d36b45a230ad44db38
tree4eff6200e00ebdfef4fb0b136ec7b67ae521b13f
parent88db760e4b6dc781273f6ee6a263bf6e81691873
[MC][ELF] Handle MIPS specific .sdata and .sbss directives

MIPS specific .sdata and .sbss directives create corresponding sections
with proper initialized ELF flags including ELF::SHF_MIPS_GPREL.

Differential Revision: http://reviews.llvm.org/D17001

llvm-svn: 260498
llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/test/CodeGen/Mips/mips-shf-gprel.ll [deleted file]
llvm/test/CodeGen/Mips/mips-shf-gprel.s [new file with mode: 0644]