Date: Wed, 23 Dec 2020 14:13:34 GMT From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 6f8866af349c - Add LENTRY and LEND to arm64 Message-ID: <202012231413.0BNEDY1h016607@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=6f8866af349ceda693edee0dad4aedf4d727096d commit 6f8866af349ceda693edee0dad4aedf4d727096d Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2020-12-23 13:17:56 +0000 Commit: Andrew Turner <andrew@FreeBSD.org> CommitDate: 2020-12-23 13:57:25 +0000 Add LENTRY and LEND to arm64 These allow us to mark local asm functions as a function Sponsored by: Innovate UK --- sys/arm64/include/asm.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/arm64/include/asm.h b/sys/arm64/include/asm.h index 443377bf0c14..b6a18cf8a7e4 100644 --- a/sys/arm64/include/asm.h +++ b/sys/arm64/include/asm.h @@ -38,12 +38,15 @@ #define _C_LABEL(x) x -#define ENTRY(sym) \ - .text; .globl sym; .align 2; .type sym,#function; sym: \ +#define LENTRY(sym) \ + .text; .align 2; .type sym,#function; sym: \ .cfi_startproc +#define ENTRY(sym) \ + .globl sym; LENTRY(sym) #define EENTRY(sym) \ .globl sym; sym: -#define END(sym) .cfi_endproc; .size sym, . - sym +#define LEND(sym) .cfi_endproc; .size sym, . - sym +#define END(sym) LEND(sym) #define EEND(sym) #define WEAK_REFERENCE(sym, alias) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012231413.0BNEDY1h016607>