aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/angelscript/fix-ndk-arm.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/angelscript/fix-ndk-arm.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/angelscript/fix-ndk-arm.patch')
-rw-r--r--vcpkg/ports/angelscript/fix-ndk-arm.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/vcpkg/ports/angelscript/fix-ndk-arm.patch b/vcpkg/ports/angelscript/fix-ndk-arm.patch
new file mode 100644
index 0000000..091dcad
--- /dev/null
+++ b/vcpkg/ports/angelscript/fix-ndk-arm.patch
@@ -0,0 +1,49 @@
+diff --git a/angelscript/source/as_callfunc_arm_gcc.S b/angelscript/source/as_callfunc_arm_gcc.S
+index 994fcb0..62a9602 100644
+--- a/angelscript/source/as_callfunc_arm_gcc.S
++++ b/angelscript/source/as_callfunc_arm_gcc.S
+@@ -53,6 +53,12 @@
+ .global armFuncObjLast
+ .global armFuncR0ObjLast
+
++.type armFunc, %function
++.type armFuncR0, %function
++.type armFuncR0R1, %function
++.type armFuncObjLast, %function
++.type armFuncR0ObjLast, %function
++
+ /* --------------------------------------------------------------------------------------------*/
+ armFunc:
+ stmdb sp!, {r4-r8, lr}
+@@ -315,6 +321,7 @@ nomoreargsarmFuncR0R1:
+ .arm /* Use ARM instructions instead of Thumb.*/
+ #endif
+ .globl armFunc /* Make the function globally accessible.*/
++ .type armFunc, %function
+ armFunc:
+ push {r4-r8, r10, r11, lr} /* sp must be 8-byte alignment for ABI compliance, so the pushed registers must be even */
+
+@@ -474,6 +482,7 @@ nomoreargsarmFuncObjLast:
+ .arm /* Use ARM instructions instead of Thumb.*/
+ #endif
+ .globl armFuncR0ObjLast /* Make the function globally accessible.*/
++ .type armFuncR0ObjLast, %function
+ armFuncR0ObjLast:
+ push {r4-r8, r10, r11, lr}
+
+@@ -568,6 +577,7 @@ nomoreargsarmFuncR0ObjLast:
+ .arm /* Use ARM instructions instead of Thumb.*/
+ #endif
+ .globl armFuncR0 /* Make the function globally accessible.*/
++ .type armFuncR0, %function
+ armFuncR0:
+ push {r4-r8, r10, r11, lr}
+
+@@ -644,6 +654,7 @@ nomoreargsarmFuncR0:
+ .arm /* Use ARM instructions instead of Thumb.*/
+ #endif
+ .globl armFuncR0R1 /* Make the function globally accessible.*/
++ .type armFuncR0R1, %function
+ armFuncR0R1:
+ push {r4-r8, r10, r11, lr}
+