xref: /openbsd/gnu/usr.bin/gcc/gcc/config/alpha/gnu.h (revision 17df1aa7)
1 /* Configuration for an Alpha running GNU with ELF as the target machine.  */
2 
3 #undef TARGET_VERSION
4 #define TARGET_VERSION fprintf (stderr, " (Alpha GNU)");
5 
6 #undef TARGET_OS_CPP_BUILTINS /* config.gcc includes alpha/linux.h.  */
7 #define TARGET_OS_CPP_BUILTINS()		\
8     do {					\
9 	builtin_define ("__GNU__");		\
10 	builtin_define ("__ELF__");		\
11 	builtin_define ("__gnu_hurd__");	\
12 	builtin_define ("_LONGLONG");		\
13 	builtin_define_std ("unix");		\
14 	builtin_assert ("system=gnu");		\
15     } while (0)
16 
17 #undef ELF_DYNAMIC_LINKER
18 #define ELF_DYNAMIC_LINKER	"/lib/ld.so"
19 
20 #undef	STARTFILE_SPEC
21 #define STARTFILE_SPEC \
22   "%{!shared: \
23      %{!static: \
24        %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
25      %{static:crt0.o%s}} \
26    crti.o%s \
27    %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
28 
29 /* FIXME: Is a Hurd-specific fallback mechanism necessary?  */
30 #undef MD_FALLBACK_FRAME_STATE_FOR
31