[pypy-commit] pypy default: Issue #2418: powerpc+freebsd combination
arigo
pypy.commits at gmail.com
Sun Oct 16 15:09:16 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r87834:805c9cde0fb5
Date: 2016-10-16 21:08 +0200
http://bitbucket.org/pypy/pypy/changeset/805c9cde0fb5/
Log: Issue #2418: powerpc+freebsd combination
diff --git a/rpython/jit/backend/detect_cpu.py b/rpython/jit/backend/detect_cpu.py
--- a/rpython/jit/backend/detect_cpu.py
+++ b/rpython/jit/backend/detect_cpu.py
@@ -61,6 +61,7 @@
'i86pc': MODEL_X86, # Solaris/Intel
'x86': MODEL_X86, # Apple
'Power Macintosh': MODEL_PPC_64,
+ 'powerpc': MODEL_PPC_64, # freebsd
'ppc64': MODEL_PPC_64,
'ppc64le': MODEL_PPC_64,
'x86_64': MODEL_X86,
diff --git a/rpython/translator/c/src/asm.c b/rpython/translator/c/src/asm.c
--- a/rpython/translator/c/src/asm.c
+++ b/rpython/translator/c/src/asm.c
@@ -8,10 +8,6 @@
/* # include "src/asm_gcc_x86_64.c" */
#endif
-#if defined(__GNUC__) && defined(__ppc__)
-# include "src/asm_ppc.c"
-#endif
-
#if defined(_MSC_VER)
# include "src/asm_msvc.c"
#endif
diff --git a/rpython/translator/c/src/asm.h b/rpython/translator/c/src/asm.h
--- a/rpython/translator/c/src/asm.h
+++ b/rpython/translator/c/src/asm.h
@@ -10,10 +10,6 @@
# include "src/asm_gcc_x86_64.h"
#endif
-#if defined(__GNUC__) && defined(__ppc__)
-# include "src/asm_ppc.h"
-#endif
-
#if defined(MS_WINDOWS) && defined(_MSC_VER)
# include "src/asm_msvc.h"
#endif
More information about the pypy-commit
mailing list