diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2020-12-23 13:42:09 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2020-12-23 13:57:25 +0000 |
commit | 449ebf135b2ef81cdea90e518e53f03acfd455a8 (patch) | |
tree | ef3b8f5a5c2afb5961e645a81451124d565389a7 | |
parent | edb48ff6e736ca39eb5b9db7dab4e43fefe387a0 (diff) | |
download | src-449ebf135b2ef81cdea90e518e53f03acfd455a8.tar.gz src-449ebf135b2ef81cdea90e518e53f03acfd455a8.zip |
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
-rw-r--r-- | sys/arm64/include/asm.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |