diff options
Diffstat (limited to 'debian/patches/hotspot-mips-align.diff')
-rw-r--r-- | debian/patches/hotspot-mips-align.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/hotspot-mips-align.diff b/debian/patches/hotspot-mips-align.diff new file mode 100644 index 0000000..d65a5ca --- /dev/null +++ b/debian/patches/hotspot-mips-align.diff @@ -0,0 +1,11 @@ +--- a/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp ++++ b/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp +@@ -367,7 +367,7 @@ int CppInterpreter::native_entry(Method* + ThreadStateTransition::transition_from_java(thread, _thread_in_native); + + // Make the call +- intptr_t result[4 - LogBytesPerWord]; ++ intptr_t result[4 - LogBytesPerWord] __attribute__((__aligned__(__alignof__(double)))); + ffi_call(handler->cif(), (void (*)()) function, result, arguments); + + // Change the thread state back to _thread_in_Java. |