1 /* Definitions for embedded ia64-elf target. */
3 /* This macro is a C statement to print on `stderr' a string describing the
4 particular machine description choice. */
6 #define TARGET_VERSION fprintf (stderr, " (IA-64) ELF");
8 /* A C string constant that tells the GCC driver program options to pass to
9 the assembler. It can also specify how to translate options you give to GNU
10 CC into options for GCC to pass to the assembler. */
12 #if ((TARGET_CPU_DEFAULT | TARGET_DEFAULT) & MASK_GNU_AS) != 0
15 #define ASM_EXTRA_SPEC \
16 "%{mno-gnu-as:-N so} %{!mno-gnu-as:-x}"
21 "%{!mgnu-as:-N so} %{mgnu-as:-x} %{mconstant-gp:-M const_gp}\
22 %{mauto-pic:-M no_plabel}"
25 /* A C string constant that tells the GCC driver program options to pass to
26 the linker. It can also specify how to translate options you give to GCC
27 into options for GCC to pass to the linker. */
29 /* The Intel linker does not support dynamic linking, so we need -dn.
30 The Intel linker gives annoying messages unless -N so is used. */
31 #if ((TARGET_CPU_DEFAULT | TARGET_DEFAULT) & MASK_GNU_LD) != 0
33 #define LINK_SPEC "%{mno-gnu-ld:-dn -N so}"
36 #define LINK_SPEC "%{!mgnu-ld:-dn -N so}"
39 /* svr4.h links with crti.o/crtn.o, but elfos.h does not. We override elfos.h
40 so that we can use the standard ELF Unix method. */
42 #define ENDFILE_SPEC "crtend.o%s crtn.o%s"
45 #define STARTFILE_SPEC "%{!shared: \
47 %{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}}\
48 crti.o%s crtbegin.o%s"