diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-08-30 10:19:50 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-08-30 10:19:50 +0000 |
commit | 1a2bdead7e7f29549e2927b099891f0827544aac (patch) | |
tree | 6c2c2e4c84479c8d3ca0bf85cce307da1f56fcf3 /sys/arch/powerpc | |
parent | 6511681351d80cffa4c99567b91f501f17778efe (diff) |
Provide remaining arch with END() macro for setting calculated size on
symbols in ASM
ok deraadt@ mpi@
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/include/asm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/asm.h b/sys/arch/powerpc/include/asm.h index 564622bf014..9d397259f29 100644 --- a/sys/arch/powerpc/include/asm.h +++ b/sys/arch/powerpc/include/asm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asm.h,v 1.11 2013/10/17 15:58:23 deraadt Exp $ */ +/* $OpenBSD: asm.h,v 1.12 2015/08/30 10:19:49 guenther Exp $ */ /* $NetBSD: asm.h,v 1.1 1996/09/30 16:34:20 ws Exp $ */ /* @@ -90,6 +90,7 @@ _TMP_LABEL(y):; \ #define ENTRY(y) _ENTRY(_C_LABEL(y)); _PROF_PROLOGUE(y) #define ASENTRY(y) _ENTRY(_ASM_LABEL(y)); _PROF_PROLOGUE(y) +#define END(y) .size y, . - y #define ASMSTR .asciz |