diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-01-19 08:25:35 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-01-19 08:25:35 +0000 |
commit | 70c092f3ec6b12211090a235ac4f72e8c5dd597a (patch) | |
tree | a76b333e7cb52f4e828b9de151fd88b28976a427 /include/llvm | |
parent | 467aa258aedd86bbf00eaeaf141fc9cef334d6b8 (diff) | |
download | llvm-70c092f3ec6b12211090a235ac4f72e8c5dd597a.tar.gz llvm-70c092f3ec6b12211090a235ac4f72e8c5dd597a.tar.bz2 llvm-70c092f3ec6b12211090a235ac4f72e8c5dd597a.tar.xz |
ARM: update build attributes for ABI r2.09
Update names for the names as per the current ABI errata. Mark deprecated tags
as such.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199576 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Support/ARMBuildAttributes.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/include/llvm/Support/ARMBuildAttributes.h b/include/llvm/Support/ARMBuildAttributes.h index eef30cb2a4..ef52ffba08 100644 --- a/include/llvm/Support/ARMBuildAttributes.h +++ b/include/llvm/Support/ARMBuildAttributes.h @@ -33,8 +33,6 @@ enum SpecialAttr { enum AttrType { // Rest correspond to ELF/.ARM.attributes File = 1, - Section = 2, - Symbol = 3, CPU_raw_name = 4, CPU_name = 5, CPU_arch = 6, @@ -55,8 +53,8 @@ enum AttrType { ABI_FP_exceptions = 21, ABI_FP_user_exceptions = 22, ABI_FP_number_model = 23, - ABI_align8_needed = 24, - ABI_align8_preserved = 25, + ABI_align_needed = 24, + ABI_align_preserved = 25, ABI_enum_size = 26, ABI_HardFP_use = 27, ABI_VFP_args = 28, @@ -67,14 +65,20 @@ enum AttrType { CPU_unaligned_access = 34, FP_HP_extension = 36, ABI_FP_16bit_format = 38, - MPextension_use = 42, // was 70, 2.08 ABI + MPextension_use = 42, // recoded from 70 (ABI r2.08) DIV_use = 44, - nodefaults = 64, also_compatible_with = 65, - T2EE_use = 66, conformance = 67, Virtualization_use = 68, - MPextension_use_old = 70 + + /// Legacy Tags + Section = 2, // deprecated (ABI r2.09) + Symbol = 3, // deprecated (ABI r2.09) + ABI_align8_needed = 24, // renamed to ABI_align_needed (ABI r2.09) + ABI_align8_preserved = 25, // renamed to ABI_align_preserved (ABI r2.09) + nodefaults = 64, // deprecated (ABI r2.09) + T2EE_use = 66, // deprecated (ABI r2.09) + MPextension_use_old = 70 // recoded to MPextension_use (ABI r2.08) }; StringRef AttrTypeAsString(unsigned Attr, bool HasTagPrefix = true); |