summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruebayasi <uebayasi@openbsd.org>2015-05-13 05:29:57 +0000
committeruebayasi <uebayasi@openbsd.org>2015-05-13 05:29:57 +0000
commite8038f4f56755524de560f979d59268f99b9c897 (patch)
tree53d245311415a971bf61cf62b52a16aedb263a6c
parentHaving the same settings on the same phy across multiple boards is just (diff)
downloadwireguard-openbsd-e8038f4f56755524de560f979d59268f99b9c897.tar.xz
wireguard-openbsd-e8038f4f56755524de560f979d59268f99b9c897.zip
Define END() to set ELF symbol size.
OK miod@
-rw-r--r--sys/arch/amd64/include/asm.h3
1 files changed, 2 insertions, 1 deletions
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