diff options
author | Sven Gothel <[email protected]> | 2015-01-30 21:15:45 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-01-30 21:15:45 +0100 |
commit | 0deceee37d943faa7c34971388863a27f395d6a5 (patch) | |
tree | 8bbdba69305671c6764b4796d022f9c5e6c49c43 /src/java/com/jogamp/gluegen/cgram | |
parent | 12feaa7d3b1544098f684d851e3caff1ec88cbc8 (diff) |
Bug 1122: Refine AArch64 and OSType/32Bit incl. MachineDescription
Android:
- Detect ABIType.EABI_GNU_ARMHF via 'armeabi-v7a-hard'
Platform.CPUType:
- contains is32Bit now
MachineDescription:
- Rename *x86_64_unix* -> *lp64_unix*, reflecting universal __LP64__ mode
- Remove is32Bit, which is determined by CPUType
Diffstat (limited to 'src/java/com/jogamp/gluegen/cgram')
-rw-r--r-- | src/java/com/jogamp/gluegen/cgram/types/StructLayout.java | 2 | ||||
-rw-r--r-- | src/java/com/jogamp/gluegen/cgram/types/Type.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/cgram/types/StructLayout.java b/src/java/com/jogamp/gluegen/cgram/types/StructLayout.java index e3ed7c2..9d1a293 100644 --- a/src/java/com/jogamp/gluegen/cgram/types/StructLayout.java +++ b/src/java/com/jogamp/gluegen/cgram/types/StructLayout.java @@ -69,7 +69,7 @@ public class StructLayout { final MachineDescription dbgMD; if( GlueGen.debug() ) { - dbgMD = MachineDescription.StaticConfig.X86_64_UNIX.md; + dbgMD = MachineDescription.StaticConfig.LP64_UNIX.md; System.err.printf("SL.__: o %03d, s %03d, t %s{%d}%n", curOffset.computeSize(dbgMD), 0, t, t.getNumFields()); } else { dbgMD = null; diff --git a/src/java/com/jogamp/gluegen/cgram/types/Type.java b/src/java/com/jogamp/gluegen/cgram/types/Type.java index 32f48a6..63890a1 100644 --- a/src/java/com/jogamp/gluegen/cgram/types/Type.java +++ b/src/java/com/jogamp/gluegen/cgram/types/Type.java @@ -112,7 +112,7 @@ public abstract class Type implements Cloneable { { long _mdSize = -1; try { - _mdSize = size.computeSize(MachineDescription.StaticConfig.X86_64_UNIX.md); + _mdSize = size.computeSize(MachineDescription.StaticConfig.LP64_UNIX.md); } catch (final Exception e) {} mdSize = _mdSize; } |