mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-20 11:26:35 +00:00
MC: Remove superfluous section attribute flag definitions
Summary: llvm/MC/MCSectionMachO.h and llvm/Support/MachO.h both had the same definitions for the section flags. Instead, grab the definitions out of support. No functionality change. Reviewers: grosbach, Bigcheese, rafael Reviewed By: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2998 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203211 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -548,15 +548,15 @@ bool TargetLoweringObjectFileMachO::isSectionAtomizableBySymbols(
|
||||
|
||||
// These sections are atomized at the element boundaries without using
|
||||
// symbols.
|
||||
case MCSectionMachO::S_4BYTE_LITERALS:
|
||||
case MCSectionMachO::S_8BYTE_LITERALS:
|
||||
case MCSectionMachO::S_16BYTE_LITERALS:
|
||||
case MCSectionMachO::S_LITERAL_POINTERS:
|
||||
case MCSectionMachO::S_NON_LAZY_SYMBOL_POINTERS:
|
||||
case MCSectionMachO::S_LAZY_SYMBOL_POINTERS:
|
||||
case MCSectionMachO::S_MOD_INIT_FUNC_POINTERS:
|
||||
case MCSectionMachO::S_MOD_TERM_FUNC_POINTERS:
|
||||
case MCSectionMachO::S_INTERPOSING:
|
||||
case MachO::S_4BYTE_LITERALS:
|
||||
case MachO::S_8BYTE_LITERALS:
|
||||
case MachO::S_16BYTE_LITERALS:
|
||||
case MachO::S_LITERAL_POINTERS:
|
||||
case MachO::S_NON_LAZY_SYMBOL_POINTERS:
|
||||
case MachO::S_LAZY_SYMBOL_POINTERS:
|
||||
case MachO::S_MOD_INIT_FUNC_POINTERS:
|
||||
case MachO::S_MOD_TERM_FUNC_POINTERS:
|
||||
case MachO::S_INTERPOSING:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user