Minor fix-ups for PowerPC defines
This commit is contained in:
parent
c815c760da
commit
68db54545e
|
@ -370,7 +370,7 @@ class AssignAttributeStartEnd {
|
|||
#if defined(HAVE___ATTRIBUTE__)
|
||||
# if (defined(__i386__) || defined(__x86_64__))
|
||||
# define CACHELINE_ALIGNED __attribute__((aligned(64)))
|
||||
# elif (defined(__PPC__) || defined(__PPC64__))
|
||||
# elif (defined(__PPC__) || defined(__PPC64__) || defined(__ppc__) || defined(__ppc64__))
|
||||
# define CACHELINE_ALIGNED __attribute__((aligned(16)))
|
||||
# elif (defined(__arm__))
|
||||
# define CACHELINE_ALIGNED __attribute__((aligned(64)))
|
||||
|
|
|
@ -96,7 +96,7 @@ void StacktracePowerPCDummyFunction() { __asm__ volatile(""); }
|
|||
// Do not put globals below.
|
||||
|
||||
// Load instruction used on top-of-stack get.
|
||||
#if defined(__PPC64__) || defined(__LP64__)
|
||||
#if defined(__PPC64__) || defined(__ppc64__) || defined(__LP64__)
|
||||
# define LOAD "ld"
|
||||
#else
|
||||
# define LOAD "lwz"
|
||||
|
|
Loading…
Reference in New Issue