mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6953477: Increase portability and flexibility of building Hotspot
A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail. Reviewed-by: phh, never, coleenp, dholmes
This commit is contained in:
parent
c45761e2a8
commit
b95c7e9523
113 changed files with 1669 additions and 559 deletions
|
@ -188,4 +188,37 @@
|
|||
#define NOT_SPARC(code) code
|
||||
#endif
|
||||
|
||||
#ifdef PPC
|
||||
#define PPC_ONLY(code) code
|
||||
#define NOT_PPC(code)
|
||||
#else
|
||||
#define PPC_ONLY(code)
|
||||
#define NOT_PPC(code) code
|
||||
#endif
|
||||
|
||||
#ifdef E500V2
|
||||
#define E500V2_ONLY(code) code
|
||||
#define NOT_E500V2(code)
|
||||
#else
|
||||
#define E500V2_ONLY(code)
|
||||
#define NOT_E500V2(code) code
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef ARM
|
||||
#define ARM_ONLY(code) code
|
||||
#define NOT_ARM(code)
|
||||
#else
|
||||
#define ARM_ONLY(code)
|
||||
#define NOT_ARM(code) code
|
||||
#endif
|
||||
|
||||
#ifdef JAVASE_EMBEDDED
|
||||
#define EMBEDDED_ONLY(code) code
|
||||
#define NOT_EMBEDDED(code)
|
||||
#else
|
||||
#define EMBEDDED_ONLY(code)
|
||||
#define NOT_EMBEDDED(code) code
|
||||
#endif
|
||||
|
||||
#define define_pd_global(type, name, value) const type pd_##name = value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue