Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / config / ia64 / linux.h
blob3d585609f61fd9241a167237e931281af76d0dfb
1 /* Definitions for ia64-linux 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) Linux");
8 /* This is for -profile to use -lc_p instead of -lc. */
9 #undef CC1_SPEC
10 #define CC1_SPEC "%{profile:-p} %{G*}"
12 /* Target OS builtins. */
13 #define TARGET_OS_CPP_BUILTINS() \
14 do { \
15 LINUX_TARGET_OS_CPP_BUILTINS(); \
16 builtin_define("_LONGLONG"); \
17 } while (0)
19 /* Need to override linux.h STARTFILE_SPEC, since it has crtbeginT.o in. */
20 #undef STARTFILE_SPEC
21 #ifdef HAVE_LD_PIE
22 #define STARTFILE_SPEC \
23 "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}}\
24 crti.o%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
25 #else
26 #define STARTFILE_SPEC \
27 "%{!shared: %{pg|p|profile:gcrt1.o%s;:crt1.o%s}}\
28 crti.o%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
29 #endif
31 /* Similar to standard Linux, but adding -ffast-math support. */
32 #undef ENDFILE_SPEC
33 #define ENDFILE_SPEC \
34 "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
35 %{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
37 /* Define this for shared library support because it isn't in the main
38 linux.h file. */
40 #undef LINK_SPEC
41 #define LINK_SPEC "\
42 %{shared:-shared} \
43 %{!shared: \
44 %{!static: \
45 %{rdynamic:-export-dynamic} \
46 %{!dynamic-linker:-dynamic-linker /lib/ld-linux-ia64.so.2}} \
47 %{static:-static}}"
50 #define JMP_BUF_SIZE 76
52 /* Override linux.h LINK_EH_SPEC definition.
53 Signalize that because we have fde-glibc, we don't need all C shared libs
54 linked against -lgcc_s. */
55 #undef LINK_EH_SPEC
56 #define LINK_EH_SPEC ""
58 #define MD_UNWIND_SUPPORT "config/ia64/linux-unwind.h"