1 /* The GNU C++ standard library requires that these macros be defined. */
2 #undef CPLUSPLUS_CPP_SPEC
3 #define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
6 #define STARTFILE_SPEC \
7 "%{!shared: crt1%O%s} crti%O%s crtbegin%O%s crtlibid%O%s"
10 #define ENDFILE_SPEC \
14 #define LIB_SPEC "%{pthread:-lpthread} -lc"
17 #define CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC) \
19 asm ("P3 = [SP + 20];\n\tcall " USER_LABEL_PREFIX #FUNC ";"); \
20 asm (TEXT_SECTION_ASM_OP);
23 #define NO_IMPLICIT_EXTERN_C