Artifact 21e13ce963e40b29d9c35ad3bc10a65e29339b2b:
- File ffcall/avcall/asmsparc.h — part of check-in [24d3bc4776] at 2011-01-30 17:11:43 on branch trunk — Adding ffcall (and built files) (user: matt, size: 903) [annotate] [blame] [check-ins using] [more...]
- File ffcall/callback/trampoline_r/asmsparc.h — part of check-in [24d3bc4776] at 2011-01-30 17:11:43 on branch trunk — Adding ffcall (and built files) (user: matt, size: 903) [annotate] [blame] [check-ins using]
- File ffcall/callback/vacall_r/asmsparc.h — part of check-in [24d3bc4776] at 2011-01-30 17:11:43 on branch trunk — Adding ffcall (and built files) (user: matt, size: 903) [annotate] [blame] [check-ins using]
- File ffcall/trampoline/asmsparc.h — part of check-in [24d3bc4776] at 2011-01-30 17:11:43 on branch trunk — Adding ffcall (and built files) (user: matt, size: 903) [annotate] [blame] [check-ins using]
- File ffcall/vacall/asmsparc.h — part of check-in [24d3bc4776] at 2011-01-30 17:11:43 on branch trunk — Adding ffcall (and built files) (user: matt, size: 903) [annotate] [blame] [check-ins using]
// Assembly language support for sparc CPU. // Bruno Haible 29.5.1999 #ifdef ASM_UNDERSCORE // SunOS4, Linux/a.out #ifdef __STDC__ #define C(entrypoint) _##entrypoint #else #define C(entrypoint) _/**/entrypoint #endif #else // Solaris, Linux/ELF #define C(entrypoint) entrypoint #endif // When assembly language code is compiled into a shared library, ELF linkers // need to know which symbols are functions. #if defined(__NetBSD__) || defined(__OpenBSD__) #define DECLARE_FUNCTION(name) .type C(name),@function #elif defined(__svr4__) || defined(__ELF__) // Solaris, Linux/ELF // Some preprocessors keep the backslash in place, some don't. // Some complain about the # being not in front of an ANSI C macro. // Therefore we use a dollar, which will be sed-converted to # later. #define DECLARE_FUNCTION(name) .type C(name),$function #else // SunOS4, Linux/a.out #define DECLARE_FUNCTION(name) #endif