1 #define OBJECT_FORMAT_ELF
3 #define LOCAL_LABEL_PREFIX "L$"
5 #undef ASM_GENERATE_INTERNAL_LABEL
6 #define ASM_GENERATE_INTERNAL_LABEL(LABEL, PREFIX, NUM) \
7 sprintf (LABEL, "*%s%s$%d", LOCAL_LABEL_PREFIX, PREFIX, (int) NUM)
10 #define STARTFILE_SPEC "%{!shared: crt0%O%s} crti%O%s crtbegin%O%s crtlibid%O%s"
13 #define ENDFILE_SPEC "crtend%O%s crtn%O%s"
15 #undef USER_LABEL_PREFIX
16 #define USER_LABEL_PREFIX "_"
19 #define CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC) \
21 asm ("P3 = [SP + 20];\n\tcall " USER_LABEL_PREFIX #FUNC ";"); \
22 asm (TEXT_SECTION_ASM_OP);
25 #define NO_IMPLICIT_EXTERN_C