Align the entry point to assembly language functions to a 16-byte boundary.

(The Opteron's instruction fetcher reads instructions from the L1 cache in
16-byte, aligned packets.)
This commit is contained in:
Alan Cox 2005-04-10 20:49:21 +00:00
parent 2f8ad6c087
commit 16f571bd18

View File

@ -56,8 +56,7 @@
#define CNAME(csym) csym
#define HIDENAME(asmsym) .asmsym
/* XXX should use .p2align 4,0x90 for -m486. */
#define _START_ENTRY .text; .p2align 2,0x90
#define _START_ENTRY .text; .p2align 4,0x90
#define _ENTRY(x) _START_ENTRY; \
.globl CNAME(x); .type CNAME(x),@function; CNAME(x):