UUID stuff from Ryan Raasch
[cegcc.git] / cegcc / src / gcc-4.3.2 / gcc / config / bfin / elf.h
blob52a370851906d7c4b7fbb9889f3e53ec52e0fffd
1 #undef STARTFILE_SPEC
2 #define STARTFILE_SPEC "\
3 %{msim:%{!shared:crt0%O%s}} \
4 %{!msim:basiccrt%O%s} \
5 crti%O%s crtbegin%O%s crtlibid%O%s"
7 #undef ENDFILE_SPEC
8 #define ENDFILE_SPEC "crtend%O%s crtn%O%s"
10 #undef LIB_SPEC
11 #define LIB_SPEC "--start-group -lc %{msim:-lsim}%{!msim:-lnosys} --end-group \
12 %{!T*:%{!msim:%{mcpu=bf522*:-T bf522.ld%s}%{mcpu=bf523*:-T bf523.ld%s} \
13 %{mcpu=bf524*:-T bf524.ld%s}%{mcpu=bf525*:-T bf525.ld%s} \
14 %{mcpu=bf526*:-T bf526.ld%s}%{mcpu=bf527*:-T bf527.ld%s} \
15 %{mcpu=bf531*:-T bf531.ld%s}%{mcpu=bf532*:-T bf532.ld%s} \
16 %{mcpu=bf533*:-T bf533.ld%s}%{mcpu=bf534*:-T bf534.ld%s} \
17 %{mcpu=bf536*:-T bf536.ld%s}%{mcpu=bf537*:-T bf537.ld%s} \
18 %{mcpu=bf538*:-T bf538.ld%s}%{mcpu=bf539*:-T bf539.ld%s} \
19 %{mcpu=bf542*:-T bf542.ld%s}%{mcpu=bf544*:-T bf544.ld%s} \
20 %{mcpu=bf547*:-T bf547.ld%s}%{mcpu=bf548*:-T bf548.ld%s} \
21 %{mcpu=bf549*:-T bf549.ld%s} \
22 %{!mcpu=*:-T bf532.ld%s} \
23 -T bfin-common-sc.ld%s}}"
25 #undef USER_LABEL_PREFIX
26 #define USER_LABEL_PREFIX "_"
28 #ifdef __BFIN_FDPIC__
29 #define CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC) \
30 asm (SECTION_OP); \
31 asm ("P3 = [SP + 20];\n\tcall " USER_LABEL_PREFIX #FUNC ";"); \
32 asm (TEXT_SECTION_ASM_OP);
33 #endif
35 #undef SUBTARGET_DRIVER_SELF_SPECS
36 #define SUBTARGET_DRIVER_SELF_SPECS \
37 "%{mfdpic:-msim} %{mid-shared-library:-msim}"
39 #define NO_IMPLICIT_EXTERN_C