Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
targ_em_elf.cxx File Reference
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <errno.h>
#include <bstring.h>
#include <elf.h>
#include <elfaccess.h>
#include <libelf.h>
#include <stamp.h>
#include <alloca.h>
#include <cmplrs/leb128.h>
#include <cmplrs/elf_interfaces.h>
#include <sys/unwindP.h>
#include "defs.h"
#include "erlib.h"
#include "erglob.h"
#include "config.h"
#include "targ_const.h"
#include "glob.h"
#include "config_elf_targ.h"
#include "em_elf.h"
Include dependency graph for targ_em_elf.cxx:

Go to the source code of this file.

Defines

#define USE_STANDARD_TYPES   1

Functions

void Em_Write_Reginfo (Elf64_Addr gprvalue, Elf64_Word gprmask, Elf64_Word fprmask, BOOL pure_abi)
void Em_Add_New_Option (Elf32_Byte option_kind, Elf32_Section option_section, Elf32_Word option_info, void *buffer, Elf32_Byte length)
void Em_Add_New_Event (Elf64_Word ev_kind, Elf64_Word ev_ofst, Elf64_Word operand1, Elf64_Word operand2, Elf64_Word operand3, pSCNINFO scn)
void Em_Add_New_Content (Elf64_Word con_kind, Elf64_Xword con_ofst, Elf64_Word operand1, Elf64_Word operand2, pSCNINFO scn)
void Em_End_Unwind (FILE *trace_file, pSCNINFO text_scn)
void Em_Cleanup_Unwind (void)

Variables

INT GP_DISP = 0
pSCNINFO Interface_Scn

Define Documentation

#define USE_STANDARD_TYPES   1

Definition at line 64 of file targ_em_elf.cxx.


Function Documentation

void Em_Add_New_Content ( Elf64_Word  con_kind,
Elf64_Xword  con_ofst,
Elf64_Word  operand1,
Elf64_Word  operand2,
pSCNINFO  scn 
)

Definition at line 159 of file targ_em_elf.cxx.

void Em_Add_New_Event ( Elf64_Word  ev_kind,
Elf64_Word  ev_ofst,
Elf64_Word  operand1,
Elf64_Word  operand2,
Elf64_Word  operand3,
pSCNINFO  scn 
)

Definition at line 145 of file targ_em_elf.cxx.

void Em_Add_New_Option ( Elf32_Byte  option_kind,
Elf32_Section  option_section,
Elf32_Word  option_info,
void *  buffer,
Elf32_Byte  length 
)
void Em_Cleanup_Unwind ( void  )

Definition at line 181 of file targ_em_elf.cxx.

References unwind_cleanup().

Here is the call graph for this function:

void Em_End_Unwind ( FILE *  trace_file,
pSCNINFO  text_scn 
)

Definition at line 170 of file targ_em_elf.cxx.

References unwind_dump2ascii(), unwind_dump2elf(), and unwind_process().

Here is the call graph for this function:

void Em_Write_Reginfo ( Elf64_Addr  gprvalue,
Elf64_Word  gprmask,
Elf64_Word  fprmask,
BOOL  pure_abi 
)

Definition at line 79 of file targ_em_elf.cxx.

References EC_Assertion, Em_Add_New_Option(), EM_IA_64, ErrMsg(), Get_Elf_Target_Machine(), ODK_IA64_REGINFO, Elf_IA64_RegInfo::ri_gp_value, SHN_UNDEF, and Sixtyfour_Bit.

Here is the call graph for this function:


Variable Documentation

INT GP_DISP = 0

Definition at line 75 of file targ_em_elf.cxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines