mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix ODR violation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193391 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
81e3828be1
commit
be3cf5f3e4
@ -27,7 +27,7 @@ namespace llvm {
|
||||
ELF_Other_Shift = 10 // Shift value for other flags.
|
||||
};
|
||||
|
||||
enum SymbolFlags {
|
||||
enum ELFSymbolFlags {
|
||||
ELF_STB_Local = (ELF::STB_LOCAL << ELF_STB_Shift),
|
||||
ELF_STB_Global = (ELF::STB_GLOBAL << ELF_STB_Shift),
|
||||
ELF_STB_Weak = (ELF::STB_WEAK << ELF_STB_Shift),
|
||||
|
@ -19,9 +19,9 @@
|
||||
// the correct relocation information.
|
||||
|
||||
namespace llvm {
|
||||
/// SymbolFlags - We store the value for the 'desc' symbol field in the lowest
|
||||
/// 16 bits of the implementation defined flags.
|
||||
enum SymbolFlags { // See <mach-o/nlist.h>.
|
||||
/// MachOSymbolFlags - We store the value for the 'desc' symbol field in the
|
||||
/// lowest 16 bits of the implementation defined flags.
|
||||
enum MachOSymbolFlags { // See <mach-o/nlist.h>.
|
||||
SF_DescFlagsMask = 0xFFFF,
|
||||
|
||||
// Reference type flags.
|
||||
|
Loading…
Reference in New Issue
Block a user