Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#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"
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 USE_STANDARD_TYPES 1 |
Definition at line 64 of file targ_em_elf.cxx.
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 | ||
) |
Definition at line 105 of file targ_em_elf.cxx.
References ELF64_FSZ_WORD, ELF64_FSZ_XWORD, Em_Add_Bytes_To_Scn(), Em_New_Section(), IA64_OPTIONS, Elf_Options::info, Elf_Options::kind, NULL, Options_Scn, Roundup, Elf_Options::section, SHF_ALLOC, SHF_IRIX_NOSTRIP, SHT_IRIX_OPTIONS, and Elf_Options::size.
Referenced by Em_Write_Reginfo().
void Em_Cleanup_Unwind | ( | void | ) |
Definition at line 181 of file targ_em_elf.cxx.
References unwind_cleanup().
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().
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.
Definition at line 75 of file targ_em_elf.cxx.
Definition at line 77 of file targ_em_elf.cxx.
Referenced by Em_Add_New_Interface(), Em_Begin_File(), and Em_End_File().