
Go to the source code of this file.
Defines | |
| #define | ARM_PE 1 |
| #define | ARM_PE_FLAG_CHAR '@' |
| #define | SUBTARGET_NAME_ENCODING_LENGTHS case ARM_PE_FLAG_CHAR: return 3; |
| #define | USER_LABEL_PREFIX "_" |
| #define | TARGET_VERSION fputs (" (ARM/pe)", stderr) |
| #define | TARGET_DLLIMPORT_DECL_ATTRIBUTES |
| #define | SUBTARGET_CPP_SPEC "-D__pe__ -D__declspec(x)=__attribute__((x))" |
| #define | TARGET_FLAG_NOP_FUN (1 << 24) |
| #define | TARGET_NOP_FUN_DLLIMPORT (target_flags & TARGET_FLAG_NOP_FUN) |
| #define | SUBTARGET_SWITCHES |
| #define | TARGET_DEFAULT (ARM_FLAG_SOFT_FLOAT | TARGET_FLAG_NOP_FUN) |
| #define | WCHAR_TYPE "short unsigned int" |
| #define | WCHAR_TYPE_SIZE 16 |
| #define | FIXED_REGISTERS |
| #define | CALL_USED_REGISTERS |
| #define | ENCODE_SECTION_INFO(DECL) arm_pe_encode_section_info (DECL) |
| #define | REDO_SECTION_INFO_P(DECL) 1 |
| #define | MULTIPLE_SYMBOL_SPACES |
| #define | UNIQUE_SECTION(DECL, RELOC) arm_pe_unique_section (DECL, RELOC) |
| #define | SUPPORTS_ONE_ONLY 1 |
| #define | TARGET_ASM_NAMED_SECTION default_pe_asm_named_section |
| #define | ASM_FILE_START(STREAM) |
| #define | ASM_OUTPUT_LABELREF(STREAM, NAME) asm_fprintf (STREAM, "%U%s", arm_strip_name_encoding (NAME)) |
| #define | ASM_DECLARE_FUNCTION_NAME(STREAM, NAME, DECL) |
| #define | ASM_OUTPUT_COMMON(STREAM, NAME, SIZE, ROUNDED) |
| #define | ASM_DECLARE_OBJECT_NAME(STREAM, NAME, DECL) |
| #define | DRECTVE_SECTION_ASM_OP "\t.section .drectve" |
| #define | SUBTARGET_EXTRA_SECTIONS in_drectve, |
| #define | SUBTARGET_EXTRA_SECTION_FUNCTIONS |
| #define | DRECTVE_SECTION_FUNCTION |
| #define | SWITCH_TO_SECTION_FUNCTION |
| #define ARM_PE_FLAG_CHAR '@' |
Definition at line 25 of file pe.h.
Referenced by arm_dllexport_name_p(), arm_dllimport_name_p(), arm_mark_dllexport(), and arm_mark_dllimport().
| #define ASM_DECLARE_FUNCTION_NAME | ( | STREAM, | |||
| NAME, | |||||
| DECL | ) |
Value:
do \ { \ if (arm_dllexport_name_p (NAME)) \ { \ drectve_section (); \ fprintf (STREAM, "\t.ascii \" -export:%s\"\n", \ arm_strip_name_encoding (NAME)); \ function_section (DECL); \ } \ ARM_DECLARE_FUNCTION_NAME (STREAM, NAME, DECL); \ if (TARGET_THUMB) \ fprintf (STREAM, "\t.code 16\n"); \ ASM_OUTPUT_LABEL (STREAM, NAME); \ } \ while (0)
| #define ASM_DECLARE_OBJECT_NAME | ( | STREAM, | |||
| NAME, | |||||
| DECL | ) |
Value:
do \ { \ if (arm_dllexport_name_p (NAME)) \ { \ enum in_section save_section = in_section; \ drectve_section (); \ fprintf (STREAM, "\t.ascii \" -export:%s\"\n",\ arm_strip_name_encoding (NAME)); \ switch_to_section (save_section, (DECL)); \ } \ ASM_OUTPUT_LABEL ((STREAM), (NAME)); \ } \ while (0)
| #define ASM_FILE_START | ( | STREAM | ) |
Value:
do \ { \ asm_fprintf (STREAM, "%@ Generated by gcc %s for ARM/pe\n",\ version_string); \ output_file_directive ((STREAM), main_input_filename); \ } \ while (0)
| #define ASM_OUTPUT_COMMON | ( | STREAM, | |||
| NAME, | |||||
| SIZE, | |||||
| ROUNDED | ) |
Value:
do \ { \ if (arm_dllexport_name_p (NAME)) \ { \ drectve_section (); \ fprintf ((STREAM), "\t.ascii \" -export:%s\"\n",\ arm_strip_name_encoding (NAME)); \ } \ if (! arm_dllimport_name_p (NAME)) \ { \ fprintf ((STREAM), "\t.comm\t"); \ assemble_name ((STREAM), (NAME)); \ asm_fprintf ((STREAM), ", %d\t%@ %d\n", \ (ROUNDED), (SIZE)); \ } \ } \ while (0)
| #define ASM_OUTPUT_LABELREF | ( | STREAM, | |||
| NAME | ) | asm_fprintf (STREAM, "%U%s", arm_strip_name_encoding (NAME)) |
| #define CALL_USED_REGISTERS |
| #define DRECTVE_SECTION_FUNCTION |
Value:
void \ drectve_section () \ { \ if (in_section != in_drectve) \ { \ fprintf (asm_out_file, "%s\n", DRECTVE_SECTION_ASM_OP); \ in_section = in_drectve; \ } \ }
| #define ENCODE_SECTION_INFO | ( | DECL | ) | arm_pe_encode_section_info (DECL) |
| #define FIXED_REGISTERS |
| #define MULTIPLE_SYMBOL_SPACES |
Definition at line 118 of file pe.h.
Referenced by handle_pragma_interface(), and import_export_class().
| #define SUBTARGET_CPP_SPEC "-D__pe__ -D__declspec(x)=__attribute__((x))" |
| #define SUBTARGET_EXTRA_SECTION_FUNCTIONS |
| #define SUBTARGET_NAME_ENCODING_LENGTHS case ARM_PE_FLAG_CHAR: return 3; |
| #define SUBTARGET_SWITCHES |
Value:
{ "nop-fun-dllimport", TARGET_FLAG_NOP_FUN, \
N_("Ignore dllimport attribute for functions") }, \
{ "no-nop-fun-dllimport", - TARGET_FLAG_NOP_FUN, "" },
| #define SUPPORTS_ONE_ONLY 1 |
Definition at line 122 of file pe.h.
Referenced by c_cpp_builtins(), cb_register_builtins(), make_decl_one_only(), and supports_one_only().
| #define SWITCH_TO_SECTION_FUNCTION |
Value:
static void switch_to_section PARAMS ((enum in_section, tree)); \ static void \ switch_to_section (section, decl) \ enum in_section section; \ tree decl; \ { \ switch (section) \ { \ case in_text: text_section (); break; \ case in_data: data_section (); break; \ case in_named: named_section (decl, NULL, 0); break; \ case in_rdata: rdata_section (); break; \ case in_ctors: ctors_section (); break; \ case in_dtors: dtors_section (); break; \ case in_drectve: drectve_section (); break; \ default: abort (); break; \ } \ }
| #define TARGET_DEFAULT (ARM_FLAG_SOFT_FLOAT | TARGET_FLAG_NOP_FUN) |
| #define TARGET_DLLIMPORT_DECL_ATTRIBUTES |
Definition at line 42 of file pe.h.
Referenced by c_determine_visibility(), and determine_visibility().
| #define TARGET_NOP_FUN_DLLIMPORT (target_flags & TARGET_FLAG_NOP_FUN) |
Definition at line 60 of file pe.h.
Referenced by arm_dllimport_p(), i386_pe_dllimport_p(), i386_pe_type_dllimport_p(), and i386_pe_valid_dllimport_attribute_p().
| #define UNIQUE_SECTION | ( | DECL, | |||
| RELOC | ) | arm_pe_unique_section (DECL, RELOC) |
1.5.6