diff options
Diffstat (limited to 'sysdeps/sparc/DEFS.h')
-rw-r--r-- | sysdeps/sparc/DEFS.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/sparc/DEFS.h b/sysdeps/sparc/DEFS.h index ef6966319f..ab70f5550e 100644 --- a/sysdeps/sparc/DEFS.h +++ b/sysdeps/sparc/DEFS.h @@ -1,4 +1,12 @@ -#define FUNC(name) \ +#ifdef HAVE_ELF +# define FUNC(name) \ + .global name; \ + .type name,@function; \ + .align 4; \ + name: +#else +# define FUNC(name) \ .global name; \ .align 4; \ name: +#endif |