1 /* Target OS preprocessor built-ins. */
2 #define TARGET_OS_CPP_BUILTINS() \
5 builtin_define ("__ELF__"); \
9 /* Undefine some macros defined in h8300 that conflict with elfos.h . */
10 #undef SDB_DEBUGGING_INFO
11 #undef DBX_DEBUGGING_INFO
12 #undef ASM_OUTPUT_IDENT
14 #undef CTORS_SECTION_ASM_OP
15 #undef DTORS_SECTION_ASM_OP
16 #undef INIT_SECTION_ASM_OP
17 #undef READONLY_DATA_SECTION_ASM_OP
18 #undef TARGET_ASM_NAMED_SECTION
19 #undef TARGET_MEM_FUNCTIONS
20 #undef PREFERRED_DEBUGGING_TYPE
21 /* ??? h8300.h defines PCC_BITFIELD_TYPE_MATTERS to 0, but it
22 doesn't define STRUCTURE_SIZE_BOUNDARY, nor does h8300.md
23 have a full set of bit field instructions. */
24 #undef PCC_BITFIELD_TYPE_MATTERS
26 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
33 #define ENDFILE_SPEC "crtend.o%s %{pg:gcrtn.o%s}%{!pg:crtn.o%s}"
36 #define STARTFILE_SPEC "%{!shared: \
38 %{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}}\
39 %{pg:gcrti.o%s}%{!pg:crti.o%s} \
42 /* Output at beginning/end of assembler file. */
44 #define ASM_FILE_START(FILE) \
45 (output_file_directive ((FILE), main_input_filename), \
46 asm_file_start (FILE))
48 #undef USER_LABEL_PREFIX
49 #define USER_LABEL_PREFIX "_"
51 #define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
54 #define LINK_SPEC "%{mh:-m h8300helf} %{ms:-m h8300self}"