From e8038f4f56755524de560f979d59268f99b9c897 Mon Sep 17 00:00:00 2001 From: uebayasi Date: Wed, 13 May 2015 05:29:57 +0000 Subject: [PATCH] Define END() to set ELF symbol size. OK miod@ --- sys/arch/amd64/include/asm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/amd64/include/asm.h b/sys/arch/amd64/include/asm.h index 880c24f1ec5..989f98e5fc5 100644 --- a/sys/arch/amd64/include/asm.h +++ b/sys/arch/amd64/include/asm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asm.h,v 1.5 2013/03/28 17:41:03 martynas Exp $ */ +/* $OpenBSD: asm.h,v 1.6 2015/05/13 05:29:57 uebayasi Exp $ */ /* $NetBSD: asm.h,v 1.2 2003/05/02 18:05:47 yamt Exp $ */ /*- @@ -95,6 +95,7 @@ #define ENTRY(y) _ENTRY(_C_LABEL(y)); _PROF_PROLOGUE #define NENTRY(y) _ENTRY(_C_LABEL(y)) #define ASENTRY(y) _ENTRY(_ASM_LABEL(y)); _PROF_PROLOGUE +#define END(y) .size y, . - y #define ASMSTR .asciz -- 2.20.1