1 /* 2 * Setup some glibc defines so we can just drop in the 3 * asm files from glibc without any modification. 4 */ 5 6 #include <features.h> 7 8 #define __ASSEMBLY__ 9 #include <asm/traps.h> 10 11 /* Is alignment really needed? */ 12 13 #define ENTRY_ALIGN 4 14 15 #define ENTRY(sym) \ 16 .global sym; \ 17 .align ENTRY_ALIGN; \ 18 .type sym,%function; \ 19 sym: 20 21 #define LOC(sym) \ 22 .L ## sym 23 24 #define END(sym) \ 25 .size sym,.-sym; 26