* target.h (asm_out.file_start, file_start_app_off,
[official-gcc.git] / gcc / config / h8300 / elf.h
blob7f67a3a78b14eeaab3f5905cfdc1dd982f2017ce
1 /* Undefine some macros defined in h8300 that conflict with elfos.h . */
2 #undef SDB_DEBUGGING_INFO
3 #undef DBX_DEBUGGING_INFO
4 #undef ASM_OUTPUT_IDENT
5 #undef IDENT_ASM_OP
6 #undef CTORS_SECTION_ASM_OP
7 #undef DTORS_SECTION_ASM_OP
8 #undef INIT_SECTION_ASM_OP
9 #undef READONLY_DATA_SECTION_ASM_OP
10 #undef TARGET_ASM_NAMED_SECTION
11 #undef TARGET_MEM_FUNCTIONS
12 #undef PREFERRED_DEBUGGING_TYPE
13 /* ??? h8300.h defines PCC_BITFIELD_TYPE_MATTERS to 0, but it
14 doesn't define STRUCTURE_SIZE_BOUNDARY, nor does h8300.md
15 have a full set of bit field instructions. */
16 #undef PCC_BITFIELD_TYPE_MATTERS
18 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
20 #include "dbxelf.h"
21 #include "elfos.h"
24 #undef ENDFILE_SPEC
25 #define ENDFILE_SPEC "crtend.o%s %{pg:gcrtn.o%s}%{!pg:crtn.o%s}"
27 #undef STARTFILE_SPEC
28 #define STARTFILE_SPEC "%{!shared: \
29 %{!symbolic: \
30 %{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}}\
31 %{pg:gcrti.o%s}%{!pg:crti.o%s} \
32 crtbegin.o%s"
34 #undef USER_LABEL_PREFIX
35 #define USER_LABEL_PREFIX "_"
37 #define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
39 #undef LINK_SPEC
40 #define LINK_SPEC "%{mh:%{mn:-m h8300hnelf}} %{mh:%{!mn:-m h8300helf}} %{ms:%{mn:-m h8300snelf}} %{ms:%{!mn:-m h8300self}}"