#include "elf_stuff.h"#include "defs.h"#include "targ_const.h"#include "targ_const_private.h"#include "vstring.h"#include "config_asm.h"#include "em_elf.h"#include "symtab.h"#include "tn.h"#include "cgemit.h"#include "cgemit_targ.h"#include "data_layout.h"#include "bb.h"#include "op.h"#include "iface_scn.h"#include "cg_flags.h"#include "glob.h"#include "sections.h"

Go to the source code of this file.
| #define EH_DESC_LINKONCE_PREFIX ".gnu.linkonce.h." |
Referenced by CGEMIT_Change_Origin_In_Asm().
| #define EH_REGION_LINKONCE_PREFIX ".gnu.linkonce.e." |
Referenced by CGEMIT_Change_Origin_In_Asm().
| #define USE_STANDARD_TYPES 1 |
Definition at line 59 of file cgemit_targ.cxx.
Definition at line 402 of file cgemit_targ.cxx.
References ANNOT_CALLINFO, ANNOT_callinfo, ANNOT_Get(), BB_annotations, CALLINFO_call_st, CALLINFO_call_wn, Em_Add_New_Event(), Em_Add_New_Rela(), EMIT_interface_section, EMT_Put_Elf_Symbol(), Interface_Scn_Add_Call(), NULL, R_IA_64_PCREL21B, and ST_is_export_local().
| BOOL CGEMIT_Align_Section_Once | ( | const char * | scn_name | ) |
Definition at line 115 of file cgemit_targ.cxx.
References strcmp().
Referenced by CGEMIT_Prn_Scn_In_Asm().
Definition at line 255 of file cgemit_targ.cxx.
References AS_ALIGN, AS_ORIGIN, Asm_File, CG_emit_non_gas_syntax, EH_DESC_LINKONCE_PREFIX, EH_REGION_LINKONCE_PREFIX, fprintf(), ST_name, strcmp(), strlen(), and strncmp().
Referenced by Change_Section_Origin().
Definition at line 435 of file cgemit_targ.cxx.
References AS_FRAME, Asm_File, Current_PU_Stack_Model, FP_TN, fprintf(), RA_TN, rc, REGISTER_machine_id, SMODEL_SMALL, SP_TN, TN_register, and TN_register_class.
Definition at line 452 of file cgemit_targ.cxx.
References ANNOT_ENTRYINFO, ANNOT_entryinfo, ANNOT_Get(), AS_ENT, Asm_File, BB_annotations, CG_emit_non_gas_syntax, Cur_PU_Name, EMT_Write_Qualified_Name(), Entry_BB_Head, ENTRYINFO_name, fprintf(), ST_is_not_used, ST_name, and strcmp().
Definition at line 121 of file cgemit_targ.cxx.
References AS_FILE, Asm_File, CG_emit_non_gas_syntax, fprintf(), NULL, and USRCPOS_filenum.
Definition at line 144 of file cgemit_targ.cxx.
References Asm_File, CG_emit_asm_dwarf, CG_emit_non_gas_syntax, fprintf(), USRCPOS_column, USRCPOS_filenum, and USRCPOS_linenum.
| void CGEMIT_Prn_Scn_In_Asm | ( | FILE * | asm_file, | |
| const char * | scn_name, | |||
| Elf64_Word | scn_type, | |||
| Elf64_Word | scn_flags, | |||
| Elf64_Xword | scn_entsize, | |||
| Elf64_Word | scn_align, | |||
| const char * | cur_scn_name | |||
| ) |
Definition at line 178 of file cgemit_targ.cxx.
References AS_ALIGN, AS_SECTION, BOOL, CG_emit_non_gas_syntax, CGEMIT_Align_Section_Once(), CGEMIT_Prn_Scn_In_Asm(), FALSE, fprintf(), Non_Default_Text_Section(), NULL, p, printed, SHF_ALLOC, SHF_EXECINSTR, SHF_WRITE, ST_base, ST_name, strcmp(), tmp1, tmp2, and TRUE.
Definition at line 163 of file cgemit_targ.cxx.
References Asm_File, CGEMIT_Prn_Scn_In_Asm(), Get_Section_Elf_Entsize(), Get_Section_Elf_Flags(), Get_Section_Elf_Type(), NULL, ST_name, STB_align, STB_section_idx, tmp, and UINT32.
Definition at line 313 of file cgemit_targ.cxx.
References CLASS_BLOCK, FALSE, FmtAssert, GP_DISP, INT, ST_class, ST_name, STB_section, Symbol_Name_Suffix, TN_RELOC_GOT_DISP, TN_RELOC_GOT_OFST, TN_RELOC_GOT_PAGE, TN_RELOC_GPREL16, TN_RELOC_HI_GPSUB, TN_RELOC_HIGH16, TN_RELOC_LO_GPSUB, TN_RELOC_LOW16, TN_relocs, and vstr_concat().
Definition at line 92 of file cgemit_targ.cxx.
Definition at line 107 of file cgemit_targ.cxx.
References Asm_File, fprintf(), and Non_Default_Text_Section().
Definition at line 99 of file cgemit_targ.cxx.
References Asm_File, fprintf(), Non_Default_Text_Section(), ST_base, and ST_name.
Definition at line 298 of file cgemit_targ.cxx.
References FALSE, SCLASS_TEXT, ST_is_export_local(), ST_sclass, and TN_RELOC_IA_LTOFF_FPTR.
Definition at line 606 of file cgemit_targ.cxx.
References Asm_File, EMT_Write_Qualified_Name(), fprintf(), LABEL_name, bfd_link_order::p, p, bfd_link_order::u, and UINT64.
| void CGEMIT_Write_Literal_Symbol | ( | ST * | lit_st, | |
| ST * | sym, | |||
| Elf64_Sxword | sym_ofst | |||
| ) |
Definition at line 619 of file cgemit_targ.cxx.
References Asm_File, Base_Symbol_And_Offset(), CLASS_CONST, CLASS_FUNC, EMT_Write_Qualified_Name(), fprintf(), Has_Base_Block, INT64, ST_class, and ST_is_export_local().
Definition at line 81 of file cgemit_targ.cxx.
References FALSE, SCLASS_TEXT, ST_base, ST_name, ST_sclass, and strcmp().
Referenced by CGEMIT_Prn_Scn_In_Asm(), CGEMIT_Targ_Text_Finalize(), and CGEMIT_Targ_Text_Initialize().
| void STACK_FP_Fixup_PU | ( | ) |
Definition at line 578 of file cgemit_targ.cxx.
ST* current_pu = NULL [static] |
Definition at line 78 of file cgemit_targ.cxx.
1.5.6