Mips.abiflags is a new implicitly generated section that will be present on all...
authorVladimir Medic <Vladimir.Medic@imgtec.com>
Tue, 8 Jul 2014 08:59:22 +0000 (08:59 +0000)
committerVladimir Medic <Vladimir.Medic@imgtec.com>
Tue, 8 Jul 2014 08:59:22 +0000 (08:59 +0000)
commitffbc2a132503f5992d7d5f62562bfb1b7b78ea8a
tree5913e1bd88c3dcbcd9614bf5edb9b9913ee2c245
parent25b7d54e7ff322f5fc2bc1f356d554f0ee4b4be6
Mips.abiflags is a new implicitly generated section that  will be present on all new modules. The section contains a versioned data structure which represents essentially information to allow a program loader to determine the requirements of the application. This patch implements mips.abiflags section and provides test cases for it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212519 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/llvm/Support/ELF.h
lib/MC/ELFObjectWriter.cpp
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
lib/Target/Mips/MipsAsmPrinter.cpp
lib/Target/Mips/MipsSubtarget.h
lib/Target/Mips/MipsTargetStreamer.h
test/CodeGen/Mips/abiflags-xx.ll [new file with mode: 0644]
test/CodeGen/Mips/abiflags32.ll [new file with mode: 0644]
test/MC/Mips/mips-abi-bad.s [new file with mode: 0644]
test/MC/Mips/mips-data-directives.s
test/MC/Mips/mips32/abiflags.s [new file with mode: 0644]
test/MC/Mips/mips32r2/abiflags.s [new file with mode: 0644]
test/MC/Mips/mips64/abiflags.s [new file with mode: 0644]
test/MC/Mips/mips64r2/abi-bad.s [new file with mode: 0644]
test/MC/Mips/mips64r2/abiflags.s [new file with mode: 0644]
test/MC/Mips/mips_abi_flags_xx.s [new file with mode: 0644]
test/MC/Mips/mips_abi_flags_xx_set.s [new file with mode: 0644]