git: 449ebf135b2e - Move the literal pool to the end of asm functions

Andrew Turner andrew at FreeBSD.org
Wed Dec 23 14:13:34 UTC 2020


The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=449ebf135b2ef81cdea90e518e53f03acfd455a8

commit 449ebf135b2ef81cdea90e518e53f03acfd455a8
Author:     Andrew Turner <andrew at FreeBSD.org>
AuthorDate: 2020-12-23 13:42:09 +0000
Commit:     Andrew Turner <andrew at FreeBSD.org>
CommitDate: 2020-12-23 13:57:25 +0000

    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(-)

diff --git a/sys/arm64/include/asm.h b/sys/arm64/include/asm.h
index b6a18cf8a7e4..05e618500e59 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)
 


More information about the dev-commits-src-all mailing list