aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/h8300/elf.h
blob: 7cf0b645cdd7ba7d9f15678d3b25391e29b027bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#undef SUBTARGET_CPP_SPEC
#define SUBTARGET_CPP_SPEC "-D__ELF__"

/* Undefine some macros defined in h8300 that conflict with elfos.h .  */
#undef SDB_DEBUGGING_INFO
#undef DBX_DEBUGGING_INFO
#undef ASM_OUTPUT_IDENT
#undef IDENT_ASM_OP
#undef CTORS_SECTION_ASM_OP
#undef DTORS_SECTION_ASM_OP
#undef INIT_SECTION_ASM_OP
#undef READONLY_DATA_SECTION
#undef ASM_OUTPUT_CONSTRUCTOR
#undef ASM_OUTPUT_DESTRUCTOR
#undef TARGET_ASM_NAMED_SECTION
#undef TARGET_MEM_FUNCTIONS
#undef PREFERRED_DEBUGGING_TYPE
/* ??? h8300.h defines PCC_BITFIELD_TYPE_MATTERS to 0, but it
   doesn't define STRUCTURE_SIZE_BOUNDARY, nor does h8300.md
   have a full set of bit field instructions.  */
#undef PCC_BITFIELD_TYPE_MATTERS

#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG

#include "elfos.h"

/* Output at beginning/end of assembler file.  */
#undef ASM_FILE_START
#define ASM_FILE_START(FILE)                            \
  (output_file_directive ((FILE), main_input_filename), \
   asm_file_start (FILE))

#undef USER_LABEL_PREFIX
#define USER_LABEL_PREFIX "_"

#define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)

#undef LINK_SPEC
#define LINK_SPEC "%{mh:-m h8300helf} %{ms:-m h8300self}"