8016491: PPC64 (part 2): Clean up PPC defines

Distinguish PPC, PPC64 and PPC32. PPC should guard code needed on any PPC system. PPC32 and PPC64 should guard code needed in a port for the ppc64 or ppc32 instruction set.

Reviewed-by: kvn
This commit is contained in:
Goetz Lindenmaier 2013-06-19 12:29:30 +02:00
parent 5ecd1c9655
commit 036382cefd
11 changed files with 34 additions and 14 deletions

View file

@ -205,7 +205,7 @@ static char cpu_arch[] = "i386";
static char cpu_arch[] = "amd64";
#elif defined(ARM)
static char cpu_arch[] = "arm";
#elif defined(PPC)
#elif defined(PPC32)
static char cpu_arch[] = "ppc";
#elif defined(SPARC)
# ifdef _LP64