0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-06 01:42:03 +00:00
Files
termux-packages/packages/openjdk-21/0020-arm-fix-assembly-in-os_linux_arm.cpp.patch
alexytomi f1a75afe78 fix(openjdk-21): Readd deleted comments to commit message
Also regenerates for 21.0.8-ga
2025-07-23 00:33:24 -05:00

28 lines
916 B
Diff

From e981a5d79d52373c7f4085c0ee0af3077e365491 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 20/40] 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 046e5e3eca5..c136e2981df 100644
--- a/src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp
+++ b/src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp
@@ -435,8 +435,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.50.1