[ELF][MIPS] Support .MIPS.abiflags section
authorSimon Atanasyan <simon@atanasyan.com>
Fri, 12 Aug 2016 06:28:49 +0000 (06:28 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Fri, 12 Aug 2016 06:28:49 +0000 (06:28 +0000)
commit85c6b44817227d838a3f3385f707ecf42dc79713
tree44760b50e24597364f822efef5081b85ac13d64c
parent0f303accded1e45fdb897cf8cd7cd687ab26fdb1
[ELF][MIPS] Support .MIPS.abiflags section

This section supersedes .reginfo and .MIPS.options sections. But for now
we have to support all three sections for ABI transition period.

llvm-svn: 278482
lld/ELF/InputFiles.cpp
lld/ELF/InputFiles.h
lld/ELF/InputSection.cpp
lld/ELF/InputSection.h
lld/ELF/Mips.cpp
lld/ELF/OutputSections.cpp
lld/ELF/OutputSections.h
lld/ELF/Writer.h
lld/test/ELF/basic-mips.s
lld/test/ELF/mips-elf-flags-err.s
lld/test/ELF/mips-elf-flags.s