Add _ALIGN_DATA and _ALIGN_TEXT macros.

This commit is contained in:
jake 2002-07-29 00:38:07 +00:00
parent fea62cdb6b
commit 16fa260a5e

View File

@ -129,8 +129,16 @@
set sym, dst
#endif
#define _ALIGN_DATA .align 8
#ifdef GPROF
#define _ALIGN_TEXT .align 32
#else
#define _ALIGN_TEXT .align 16
#endif
#define DATA(name) \
.data ; \
_ALIGN_DATA ; \
.globl name ; \
.type name, @object ; \
name ## :
@ -139,7 +147,7 @@ name ## :
#define ENTRY(name) \
.text ; \
.align 16 ; \
_ALIGN_TEXT ; \
.globl name ; \
.type name, @function ; \
name ## :