From 449ebf135b2ef81cdea90e518e53f03acfd455a8 Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Wed, 23 Dec 2020 13:42:09 +0000 Subject: Move the literal pool to the end of asm functions This keeps the data at the end of a function, near to where it's used. Sponsored by: Innovate UK --- sys/arm64/include/asm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/arm64/include/asm.h b/sys/arm64/include/asm.h index b6a18cf8a7e42..05e618500e592 100644 --- a/sys/arm64/include/asm.h +++ b/sys/arm64/include/asm.h @@ -45,7 +45,7 @@ .globl sym; LENTRY(sym) #define EENTRY(sym) \ .globl sym; sym: -#define LEND(sym) .cfi_endproc; .size sym, . - sym +#define LEND(sym) .ltorg; .cfi_endproc; .size sym, . - sym #define END(sym) LEND(sym) #define EEND(sym) -- cgit v1.2.3