PKGBUILDs/extra/gnu-efi-libs/lib-arm-setjmp.S-Use-function-instead-of-function.patch
2015-12-18 05:22:24 +00:00

31 lines
699 B
Diff

From: Julian Andres Klode <jak@debian.org>
Date: Sun, 29 Nov 2015 12:31:06 +0100
Subject: lib/arm/setjmp.S: Use %function instead of @function
@ is a comment character on ARM, so use % instead.
---
lib/arm/setjmp.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/arm/setjmp.S b/lib/arm/setjmp.S
index 6e3fbf0..85c8705 100644
--- a/lib/arm/setjmp.S
+++ b/lib/arm/setjmp.S
@@ -15,7 +15,7 @@ BASIS,
.text
.arm
.globl setjmp
- .type setjmp, @function
+ .type setjmp, %function
setjmp:
mov r3, r13
stmia r0, {r3-r12,r14}
@@ -23,6 +23,6 @@ setjmp:
bx lr
.globl longjmp
- .type longjmp, @function
+ .type longjmp, %function
longjmp:
ldmia r0, {r3-r12,r14}