Align text to 16-byte boundaries if profiling is enabled. This will

allow a fourfold reduction in the size of the profiling buffers.  This
goes with rev.1.91 of Makefile.i386 which does the same thing for C
functions.
This commit is contained in:
Bruce Evans 1997-02-13 08:31:53 +00:00
parent 043c578eb4
commit 47cac30b9a
2 changed files with 8 additions and 0 deletions

View File

@ -42,7 +42,11 @@
/* XXX too much duplication in various asm*.h's. */
#define ALIGN_DATA .align 2 /* 4 byte alignment, zero filled */
#ifdef GPROF
#define ALIGN_TEXT .align 4,0x90 /* 16-byte alignment, nop filled */
#else
#define ALIGN_TEXT .align 2,0x90 /* 4-byte alignment, nop filled */
#endif
#define SUPERALIGN_TEXT .align 4,0x90 /* 16-byte alignment, nop filled */
#define GEN_ENTRY(name) ALIGN_TEXT; .globl __CONCAT(_,name); \

View File

@ -42,7 +42,11 @@
/* XXX too much duplication in various asm*.h's. */
#define ALIGN_DATA .align 2 /* 4 byte alignment, zero filled */
#ifdef GPROF
#define ALIGN_TEXT .align 4,0x90 /* 16-byte alignment, nop filled */
#else
#define ALIGN_TEXT .align 2,0x90 /* 4-byte alignment, nop filled */
#endif
#define SUPERALIGN_TEXT .align 4,0x90 /* 16-byte alignment, nop filled */
#define GEN_ENTRY(name) ALIGN_TEXT; .globl __CONCAT(_,name); \