00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #define TARGET_SECTION_TYPE_FLAGS xtensa_multibss_section_type_flags
00023
00024
00025 #define NO_IMPLICIT_EXTERN_C
00026
00027 #undef ASM_APP_ON
00028 #define ASM_APP_ON "#APP\n"
00029
00030 #undef ASM_APP_OFF
00031 #define ASM_APP_OFF "#NO_APP\n"
00032
00033 #undef MD_EXEC_PREFIX
00034 #undef MD_STARTFILE_PREFIX
00035
00036 #undef TARGET_VERSION
00037 #define TARGET_VERSION fputs (" (Xtensa/ELF)", stderr);
00038
00039 #undef WCHAR_TYPE
00040 #define WCHAR_TYPE "short unsigned int"
00041
00042 #undef WCHAR_TYPE_SIZE
00043 #define WCHAR_TYPE_SIZE 16
00044
00045 #undef ASM_SPEC
00046 #define ASM_SPEC \
00047 "%{v} \
00048 %{mtext-section-literals:--text-section-literals} \
00049 %{mno-text-section-literals:--no-text-section-literals} \
00050 %{mtarget-align:--target-align} \
00051 %{mno-target-align:--no-target-align} \
00052 %{mlongcalls:--longcalls} \
00053 %{mno-longcalls:--no-longcalls}"
00054
00055 #undef LIB_SPEC
00056 #define LIB_SPEC "-lc -lsim -lc -lhandlers-sim -lhal"
00057
00058 #undef STARTFILE_SPEC
00059 #define STARTFILE_SPEC \
00060 "crt1-sim%O%s crt0%O%s crti%O%s crtbegin%O%s _vectors%O%s"
00061
00062 #undef ENDFILE_SPEC
00063 #define ENDFILE_SPEC "crtend%O%s crtn%O%s"
00064
00065 #undef LINK_SPEC
00066 #define LINK_SPEC \
00067 "%{shared:-shared} \
00068 %{!shared: \
00069 %{!static: \
00070 %{rdynamic:-export-dynamic} \
00071 %{static:-static}}}"
00072
00073 #undef LOCAL_LABEL_PREFIX
00074 #define LOCAL_LABEL_PREFIX "."
00075
00076
00077 #undef NO_DOLLAR_IN_LABEL
00078 #define NO_DOT_IN_LABEL
00079
00080
00081 #define XTENSA_ALWAYS_PIC 0
00082
00083
00084
00085 #define GCC_DRIVER_HOST_INITIALIZATION \
00086 do \
00087 { \
00088 char *tooldir, *archdir; \
00089 tooldir = concat (tooldir_base_prefix, spec_machine, \
00090 dir_separator_str, NULL); \
00091 if (!IS_ABSOLUTE_PATH (tooldir)) \
00092 tooldir = concat (standard_exec_prefix, spec_machine, dir_separator_str, \
00093 spec_version, dir_separator_str, tooldir, NULL); \
00094 archdir = concat (tooldir, "arch", dir_separator_str, NULL); \
00095 add_prefix (&startfile_prefixes, \
00096 concat (archdir, "lib", dir_separator_str, NULL), \
00097 "GCC", PREFIX_PRIORITY_LAST, 0, 1); \
00098 add_prefix (&include_prefixes, archdir, \
00099 "GCC", PREFIX_PRIORITY_LAST, 0, 0); \
00100 } \
00101 while (0)
00102