mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
To avoid symbol clash, undefine PPC here. PPC may be predefined on some hosts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177234 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -12,6 +12,8 @@
|
|||||||
|
|
||||||
#include "llvm/MC/MCFixup.h"
|
#include "llvm/MC/MCFixup.h"
|
||||||
|
|
||||||
|
#undef PPC
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
namespace PPC {
|
namespace PPC {
|
||||||
enum Fixups {
|
enum Fixups {
|
||||||
|
@@ -47,6 +47,10 @@ MCObjectWriter *createPPCELFObjectWriter(raw_ostream &OS,
|
|||||||
uint8_t OSABI);
|
uint8_t OSABI);
|
||||||
} // End llvm namespace
|
} // End llvm namespace
|
||||||
|
|
||||||
|
// Generated files will use "namespace PPC". To avoid symbol clash,
|
||||||
|
// undefine PPC here. PPC may be predefined on some hosts.
|
||||||
|
#undef PPC
|
||||||
|
|
||||||
// Defines symbolic names for PowerPC registers. This defines a mapping from
|
// Defines symbolic names for PowerPC registers. This defines a mapping from
|
||||||
// register name to register number.
|
// register name to register number.
|
||||||
//
|
//
|
||||||
|
@@ -17,6 +17,10 @@
|
|||||||
// GCC #defines PPC on Linux but we use it as our namespace name
|
// GCC #defines PPC on Linux but we use it as our namespace name
|
||||||
#undef PPC
|
#undef PPC
|
||||||
|
|
||||||
|
// Generated files will use "namespace PPC". To avoid symbol clash,
|
||||||
|
// undefine PPC here. PPC may be predefined on some hosts.
|
||||||
|
#undef PPC
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
namespace PPC {
|
namespace PPC {
|
||||||
/// Predicate - These are "(BI << 5) | BO" for various predicates.
|
/// Predicate - These are "(BI << 5) | BO" for various predicates.
|
||||||
|
Reference in New Issue
Block a user