diff options
Diffstat (limited to 'sysdeps/i386/asm-syntax.h')
-rw-r--r-- | sysdeps/i386/asm-syntax.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sysdeps/i386/asm-syntax.h b/sysdeps/i386/asm-syntax.h index fe3995f177..68c7b0e584 100644 --- a/sysdeps/i386/asm-syntax.h +++ b/sysdeps/i386/asm-syntax.h @@ -63,3 +63,18 @@ #undef ALIGN #define ALIGN(log) .align 1<<log #endif + +#undef L +#ifdef __ELF__ +#ifdef __STDC__ +#define L(body) .L##body +#else +#define L(body) .L/**/body +#endif +#else +#ifdef __STDC__ +#define L(body) L##body +#else +#define L(body) L/**/body +#endif +#endif |