OSDN Git Service

* config/h8300/h8300.c (final_prescan_insn): Constify uid.
[pf3gnuchains/gcc-fork.git] / gcc / config / h8300 / elf.h
1 /* Target OS preprocessor built-ins.  */
2 #define TARGET_OS_CPP_BUILTINS()                \
3   do                                            \
4     {                                           \
5       builtin_define ("__ELF__");               \
6     }                                           \
7   while (0)
8
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
13 #undef IDENT_ASM_OP
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
25
26 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
27
28 #include "dbxelf.h"
29 #include "elfos.h"
30
31
32 #undef  ENDFILE_SPEC
33 #define ENDFILE_SPEC "crtend.o%s %{pg:gcrtn.o%s}%{!pg:crtn.o%s}"
34
35 #undef  STARTFILE_SPEC
36 #define STARTFILE_SPEC "%{!shared: \
37                          %{!symbolic: \
38                           %{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}}\
39                         %{pg:gcrti.o%s}%{!pg:crti.o%s} \
40                         crtbegin.o%s"
41
42 /* Output at beginning/end of assembler file.  */
43 #undef ASM_FILE_START
44 #define ASM_FILE_START(FILE)                            \
45   (output_file_directive ((FILE), main_input_filename), \
46    asm_file_start (FILE))
47
48 #undef USER_LABEL_PREFIX
49 #define USER_LABEL_PREFIX "_"
50
51 #define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
52
53 #undef LINK_SPEC
54 #define LINK_SPEC "%{mh:-m h8300helf} %{ms:-m h8300self}"