osprey/kg++fe/gnu/config/arm/pe.h File Reference

This graph shows which files directly or indirectly include this file:

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 Documentation

#define ARM_PE   1

Definition at line 23 of file pe.h.

#define ARM_PE_FLAG_CHAR   '@'

#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)

Definition at line 147 of file pe.h.

#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)

Definition at line 187 of file pe.h.

#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)

Definition at line 131 of file pe.h.

#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)

Definition at line 166 of file pe.h.

#define ASM_OUTPUT_LABELREF ( STREAM,
NAME   )     asm_fprintf (STREAM, "%U%s", arm_strip_name_encoding (NAME))

Definition at line 142 of file pe.h.

#define CALL_USED_REGISTERS

Value:

{     \
  1,1,1,1,0,0,0,0,  \
  0,0,0,1,1,1,1,1,  \
  1,1,1,1,0,0,0,0,  \
  1,1,1     \
}

Definition at line 89 of file pe.h.

#define DRECTVE_SECTION_ASM_OP   "\t.section .drectve"

Definition at line 204 of file pe.h.

#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;            \
    }                 \
}

Definition at line 219 of file pe.h.

#define ENCODE_SECTION_INFO ( DECL   )     arm_pe_encode_section_info (DECL)

Definition at line 105 of file pe.h.

#define FIXED_REGISTERS

Value:

{     \
  0,0,0,0,0,0,0,0,  \
  0,0,0,1,0,1,0,1,  \
  0,0,0,0,0,0,0,0,  \
  1,1,1     \
}

Definition at line 79 of file pe.h.

#define MULTIPLE_SYMBOL_SPACES

Definition at line 118 of file pe.h.

Referenced by handle_pragma_interface(), and import_export_class().

#define REDO_SECTION_INFO_P ( DECL   )     1

Definition at line 112 of file pe.h.

#define SUBTARGET_CPP_SPEC   "-D__pe__ -D__declspec(x)=__attribute__((x))"

Definition at line 52 of file pe.h.

#define SUBTARGET_EXTRA_SECTION_FUNCTIONS

Value:

Definition at line 215 of file pe.h.

#define SUBTARGET_EXTRA_SECTIONS   in_drectve,

Definition at line 210 of file pe.h.

#define SUBTARGET_NAME_ENCODING_LENGTHS   case ARM_PE_FLAG_CHAR: return 3;

Definition at line 29 of file pe.h.

#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, "" },

Definition at line 63 of file pe.h.

#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;         \
    }               \
}

Definition at line 236 of file pe.h.

#define TARGET_ASM_NAMED_SECTION   default_pe_asm_named_section

Definition at line 126 of file pe.h.

#define TARGET_DEFAULT   (ARM_FLAG_SOFT_FLOAT | TARGET_FLAG_NOP_FUN)

Definition at line 69 of file pe.h.

#define TARGET_DLLIMPORT_DECL_ATTRIBUTES

Definition at line 42 of file pe.h.

Referenced by c_determine_visibility(), and determine_visibility().

#define TARGET_FLAG_NOP_FUN   (1 << 24)

Definition at line 57 of file pe.h.

#define TARGET_NOP_FUN_DLLIMPORT   (target_flags & TARGET_FLAG_NOP_FUN)

#define TARGET_VERSION   fputs (" (ARM/pe)", stderr)

Definition at line 38 of file pe.h.

#define UNIQUE_SECTION ( DECL,
RELOC   )     arm_pe_unique_section (DECL, RELOC)

Definition at line 120 of file pe.h.

#define USER_LABEL_PREFIX   "_"

Definition at line 33 of file pe.h.

#define WCHAR_TYPE   "short unsigned int"

Definition at line 73 of file pe.h.

#define WCHAR_TYPE_SIZE   16

Definition at line 75 of file pe.h.


Generated on Wed Apr 8 14:56:55 2009 for Open64 by  doxygen 1.5.6