OSDN Git Service

* config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
[pf3gnuchains/gcc-fork.git] / gcc / config / h8300 / elf.h
1 #undef SUBTARGET_CPP_SPEC
2 #define SUBTARGET_CPP_SPEC "-D__ELF__"
3
4 /* Undefine some macros defined in h8300 that conflict with elfos.h .  */
5 #undef SDB_DEBUGGING_INFO
6 #undef DBX_DEBUGGING_INFO
7 #undef ASM_OUTPUT_IDENT
8 #undef IDENT_ASM_OP
9 #undef CTORS_SECTION_ASM_OP
10 #undef DTORS_SECTION_ASM_OP
11 #undef INIT_SECTION_ASM_OP
12 #undef READONLY_DATA_SECTION
13 #undef ASM_OUTPUT_CONSTRUCTOR
14 #undef ASM_OUTPUT_DESTRUCTOR
15 #undef TARGET_ASM_NAMED_SECTION
16 #undef TARGET_MEM_FUNCTIONS
17 #undef PREFERRED_DEBUGGING_TYPE
18 /* ??? h8300.h defines PCC_BITFIELD_TYPE_MATTERS to 0, but it
19    doesn't define STRUCTURE_SIZE_BOUNDARY, nor does h8300.md
20    have a full set of bit field instructions.  */
21 #undef PCC_BITFIELD_TYPE_MATTERS
22
23 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
24
25 #include "elfos.h"
26
27
28 #undef  ENDFILE_SPEC
29 #define ENDFILE_SPEC "crtend.o%s %{pg:gcrtn.o%s}%{!pg:crtn.o%s}"
30
31 #undef  STARTFILE_SPEC
32 #define STARTFILE_SPEC "%{!shared: \
33                          %{!symbolic: \
34                           %{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}}\
35                         %{pg:gcrti.o%s}%{!pg:crti.o%s} \
36                         crtbegin.o%s"
37
38 /* Output at beginning/end of assembler file.  */
39 #undef ASM_FILE_START
40 #define ASM_FILE_START(FILE)                            \
41   (output_file_directive ((FILE), main_input_filename), \
42    asm_file_start (FILE))
43
44 #undef USER_LABEL_PREFIX
45 #define USER_LABEL_PREFIX "_"
46
47 #define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
48
49 #undef LINK_SPEC
50 #define LINK_SPEC "%{mh:-m h8300helf} %{ms:-m h8300self}"