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:
parent
043c578eb4
commit
47cac30b9a
@ -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); \
|
||||
|
@ -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); \
|
||||
|
Loading…
Reference in New Issue
Block a user