diff options
author | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2014-07-08 08:59:22 +0000 |
---|---|---|
committer | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2014-07-08 08:59:22 +0000 |
commit | fb8a2a95cd5af1e0202513a559568df8d2882a16 (patch) | |
tree | 3fc626daa0ab3eba67eedfb47baae3165416f0a2 /llvm/lib/MC/ELFObjectWriter.cpp | |
parent | cc02abbb20df1b12ebe5609b9575e9f62b27baf9 (diff) | |
download | llvm-fb8a2a95cd5af1e0202513a559568df8d2882a16.zip llvm-fb8a2a95cd5af1e0202513a559568df8d2882a16.tar.gz llvm-fb8a2a95cd5af1e0202513a559568df8d2882a16.tar.bz2 |
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.
llvm-svn: 212519
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
-rw-r--r-- | llvm/lib/MC/ELFObjectWriter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp index ead0535..7fb9fae 100644 --- a/llvm/lib/MC/ELFObjectWriter.cpp +++ b/llvm/lib/MC/ELFObjectWriter.cpp @@ -1565,6 +1565,7 @@ void ELFObjectWriter::WriteSection(MCAssembler &Asm, case ELF::SHT_X86_64_UNWIND: case ELF::SHT_MIPS_REGINFO: case ELF::SHT_MIPS_OPTIONS: + case ELF::SHT_MIPS_ABIFLAGS: // Nothing to do. break; |