diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-26 06:57:13 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-26 06:57:13 +0000 |
commit | 5356e75b5b764fda2ab4e7f171180032be45632a (patch) | |
tree | 0519206e81056cb32f90d58a7b87d8a32c92f7f4 /include | |
parent | 550d791907b445b1c01680bbd1a50bf0630218a0 (diff) | |
download | llvm-5356e75b5b764fda2ab4e7f171180032be45632a.tar.gz llvm-5356e75b5b764fda2ab4e7f171180032be45632a.tar.bz2 llvm-5356e75b5b764fda2ab4e7f171180032be45632a.tar.xz |
Implement the missing bits corresponding to .mips_hack_elf_flags.
These were:
* noreorder handling on the target object streamer and asm parser.
* setting the initial flag bits based on the enabled features.
* setting the elf header flag for micromips
It is *really* depressing I am the one doing this instead of someone at
mips actually taking the time to understand the infrastructure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/ELF.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h index 35e945c36d..56769faf2a 100644 --- a/include/llvm/Support/ELF.h +++ b/include/llvm/Support/ELF.h @@ -805,6 +805,8 @@ enum LLVM_ENUM_INT_TYPE(unsigned) { EF_MIPS_NOREORDER = 0x00000001, // Don't reorder instructions EF_MIPS_PIC = 0x00000002, // Position independent code EF_MIPS_CPIC = 0x00000004, // Call object with Position independent code + EF_MIPS_ABI2 = 0x00000020, + EF_MIPS_32BITMODE = 0x00000100, EF_MIPS_ABI_O32 = 0x00001000, // This file follows the first MIPS 32 bit ABI //ARCH_ASE |