mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
940a37f5f0
cherry-pick all patches, apply them on upstream JDK, and adapted for newer $UPDATE version fix: type redefinition introduced in 21.0.2
28 lines
912 B
Diff
28 lines
912 B
Diff
From 6ca44df2c8a0e3c48ccfd04e7520a87ba46112c5 Mon Sep 17 00:00:00 2001
|
|
From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com>
|
|
Date: Wed, 30 Jun 2021 14:30:02 +0700
|
|
Subject: [PATCH 21/37] arm: fix assembly in os_linux_arm.cpp
|
|
|
|
---
|
|
src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp b/src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp
|
|
index fc63deb13..ee7d1bbad 100644
|
|
--- a/src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp
|
|
+++ b/src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp
|
|
@@ -417,8 +417,8 @@ void os::setup_fpu() {
|
|
#if !defined(__SOFTFP__) && defined(__VFP_FP__)
|
|
// Turn on IEEE-754 compliant VFP mode
|
|
__asm__ volatile (
|
|
- "mov %%r0, #0;"
|
|
- "fmxr fpscr, %%r0"
|
|
+ "mov r0, #0;"
|
|
+ "fmxr fpscr, r0"
|
|
: /* no output */ : /* no input */ : "r0"
|
|
);
|
|
#endif
|
|
--
|
|
2.45.2
|
|
|