osprey/fake_ld/common/fake.h File Reference

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

Go to the source code of this file.

Data Types

type  an_object_file
type  extern_sym

Defines

#define STO_DEFAULT   0x0
#define STO_INTERNAL   0x1
#define STO_HIDDEN   0x2
#define STO_PROTECTED   0x3
#define STO_OPTIONAL   0x4
#define STO_SC_ALIGN_UNUSED   0xff
#define ELF_COMMENT   ".comment"
#define ELF_ADDR   Elf32_Addr
#define ELF_HALF   Elf32_Half
#define ELF_OFF   Elf32_Off
#define ELF_SWORD   Elf32_Sword
#define ELF_WORD   Elf32_Word
#define ELF_SIZE   Elf32_Word
#define ELF_INT   Elf32_Sword
#define ELF_FLAGS   Elf32_Word
#define ELFCLASS   ELFCLASS32
#define _fmt_w   "w32"
#define _fmt_v   "d"
#define _fmt_a   "x"
#define _fmt_s   "x"
#define _fmt_w_a   "08x"
#define _fmt_w_s   "08x"
#define MALLOC_ASSERT(addr)   if (addr == 0) {perror("malloc failed");exit(1);}
#define FOPEN(filename, type)   fopen((const char *)(filename), (const char *)(type))
#define FDOPEN(fid, type)   fdopen((int)(fid), (const char *)(type))
#define FCLOSE(stream)   fclose ((FILE *)(stream))
#define FTRUNCATE(fildes, length)   ftruncate ((int)(fildes), (off_t)(length)
#define OPEN(path, oflag, mode)   open((char *)(path), (int)(oflag), (int)(mode))
#define LSEEK(fid, offset, whence)   lseek((int)(fid), (off_t)(offset), (int)(whence))
#define READ(fid, buf, nbyte)   read((int)(fid), (void *)(buf), (unsigned)(nbyte))
#define WRITE(fid, buf, nbyte)   write((int)(fid), (const void *)(buf), (unsigned)(nbyte))
#define CLOSE(fid)   close((int)(fid))
#define FCHMOD(fid, mode)   fchmod((int)(fid), (mode_t)(mode))
#define UNLINK(path)   unlink((const char *)(path))
#define MKDIR(path, mode)   mkdir((const char *)(path), (mode_t)(mode))
#define RMDIR(path)   rmdir((const char *)(path))
#define STAT(path, buf)   stat((const char *)(path), (struct stat *) (buf))
#define FSTAT(fid, buf)   fstat((int)(fid), (buf))
#define FSTATVFS(fid, buf)   fstatvfs((int)(fid), (buf))
#define MMAP(addr, len, prot, flags, fd, off)
#define PERROR(s)   perror((char *) s)
#define MUNMAP(addr, len)   munmap((void *)(addr), (int)(len))
#define MALLOC(nbytes)   malloc((size_t)(nbytes))
#define FREE(ptr)   free((void *) (ptr))
#define REALLOC(ptr, size)   realloc((void *)(ptr), (size_t)(size))
#define CALLOC(nelem, elsize)   calloc((size_t)(nelem), (size_t)(elsize))
#define ALLOCA(size)   alloca((unsigned int)(size))
#define MEMCCPY(s1, s2, c, n)   memccpy((void *)(s1), (void *)(s2), (int)(c), (size_t)(n))
#define MEMCHR(s, c, n)   memchr((void *)(s), (int)(c), (size_t)(n))
#define MEMCPY(s1, s2, n)   memcpy((void *)(s1), (void *)(s2), (size_t)(n))
#define MEMSET(s, c, n)   memset((void *)(s), (int)(c), (size_t)(n))
#define MEMCMP(s1, s2, n)   memcmp((void *)(s1), (void *)(s2), (size_t)(n))
#define BZERO(b, len)   bzero((void *)(b), (int)(len))
#define BCOPY(src, dst, len)   bcopy((const void *)(src), (void *)(dst), (int)(len))
#define PCREATEVE(path, argv, envp)
#define WAIT(stat)   wait((int *)(stat))

Typedefs

typedef struct an_object_file an_object_file
typedef struct an_object_filean_object_file_ptr
typedef struct extern_sym EXTSYM
typedef uint32 ADDR
typedef int32 OFFSET
typedef int32 FILE_SZ
typedef longlong_t ELF_SXWORD
typedef unsigned char ELF_BYTE
typedef unsigned short ELF_SECTION

Enumerations

enum  msgtype_t {
  ER_ILLEGAL = -1, ER_NOERROR = 0, ER_FATAL, ER_WARNING,
  ER_INFO, ER_DEBUG, ER_VERBOSE, ER_ERROR,
  ER_MSG, ER_DEFAULT, ER_OFF
}
enum  error_number {
  ERN_IGNORED, ERN_BAD_OPTION, ERN_INTERNAL_FATAL, ERN_USAGE,
  ERN_ILL_FLAG, ERN_NOT_IMP, ERN_MISSARG_FATAL, ERN_CONFLICT_RFLAG,
  ERN_BAD_HEX, ERN_IO_FATAL, ERN_NO_OUTFILE, ERN_OBJ_FATAL,
  ERN_OBJ_CLASS, ERN_MALLOC, ERN_SYM_TRACE, ERN_MULT_DEF,
  ERN_MISMATCH_GP, ERN_MISMATCH_USGP, ERN_MISMATCH_VAL, ERN_UNDEF_EXIST,
  ERN_0SIZE_EXT, ERN_HALF_OVFL, ERN_OFS_OVFL, ERN_BAD_RTYPE,
  ERN_MISS_RLO, ERN_JMP_OVFL, ERN_JMP_OVFLS, ERN_BAD_LIT,
  ERN_GP_OVFL, ERN_GP_OVFLS, ERN_PRED_CONFLICT, ERN_LIBLIST_UNMATCH,
  ERN_LIBLIST_NOTFOUND, ERN_UNDEFINED_SYMBOL_ERROR, ERN_CNFLCT_DEF_SYM, ERN_ARCHIVE_OBJ,
  ERN_LOAD_OBJ, ERN_LOAD_SO, ERN_UNLOADED_SEC, ERN_ROUNDED,
  ERN_OVERLAP, ERN_SAMEPAGE, ERN_SHARABLE_FLGS, ERN_MIX_OBJ,
  ERN_NS_PIC, ERN_S_NPIC, ERN_NO_OBJ, ERN_BAD_R4K,
  ERN_NO_REGISTRY, ERN_NO_UPDATE, ERN_BAD_REGISTRY, ERN_REGISTRY_FAIL,
  ERN_BAD_NAME, ERN_SYM_NOMATCH_SEC, ERN_BAD_LOCAL, ERN_NOT_SO,
  ERN_WARN_RANGE, ERN_BAD_WARN, ERN_BAD_MEMBER, ERN_MULT_TXT_SEG,
  ERN_MESSAGE, ERN_MESSAGE2, ERN_BAD_LCL_RELOC, ERN_BAD_SYMIDX,
  ERN_BAD_RELOC_SYM, ERN_R4K_JUMP, ERN_NO_BACKUP_FATAL, ERN_SEARCH_LIB,
  ERN_BAD_IFACE_REC, ERN_CONFLICT_IFACE, ERN_MISMATCH_PCNT, ERN_MISMATCH_PTYPE,
  ERN_MISMATCH_PSIZE, ERN_PARM_FLOAT, ERN_MISSING_EXT, ERN_LOCAL_UNDEF,
  ERN_UNREF_SYM, ERN_WARN_PLACEMENT, ERN_NOFILE, ERN_NOSTAT,
  ERN_LSPEC_SYNTAX, ERN_LSPEC_DEFAULT_UNPLACED, ERN_ELS_REL, ERN_NOLOAD_ATTRIBUTE,
  ERN_UNUSED_LIB, ERN_CONFLICT_SYM, ERN_ISCN_NOT_LOADED, ERN_DELETION_ILLEGAL,
  ERN_INVALID_RELFOR, ERN_MISMATCHED_QUOTE, ERN_INVALID_SYM, ERN_INVALID_SYMSPEC,
  ERN_SYMSPEC_BADSHNDX, ERN_CANT_RESTORE_REG, ERN_GP_TOO_FAR, ERN_AVD_SEC_MISSING,
  ERN_AVD_SYM_MISSING, ERN_GOT_OVERFLOW, ERN_INCOMPATIBLE_MERGE_SZ, ERN_GOT_2FAR,
  ERN_GP_DSO, ERN_NONEST, ERN_COM_DSO, ERN_NOT_PROTECTED,
  ERN_NO_GOTPAGE, ERN_COM_ALIGN, ERN_LSPEC_REGEXP, ERN_CONFLICT_IFACE_FPMASK,
  ERN_OMIT_HEADERS, ERN_MUL_SEG, ERN_VARARG_WITH_FP, ERN_NOTIMP,
  ERN_OLD_OBJ, ERN_NEW_OBJ, ERN_WRONG_ALIGN, ERN_XLOCAL_MISSING,
  ERN_COMPILE, ERN_EXEC, ERN_NO_MEMBER, ERN_XFLAG_REPLACED,
  ERN_NO_IPA, ERN_BAD_DYN_ORDER, ERN_BAD_SCNIDX, ERN_IFD_OVERFLOW,
  ERN_QI_NOLIB, ERN_CHNG_CLASS, ERN_ARCHIVE_EMPTY, ERN_TWO_SO,
  ERN_LS_DUP_OSCN, ERN_NO_EXPORT, ERN_T5_NOP, ERN_MULTW_DEF,
  ERN_NO_CORDING, ERN_BAD_R5K, ERN_CONFLICT_WEAK_SYM, ERN_LIBLIST_OUTNAME,
  ERN_SPLIT_SUCCEDED, ERN_UNALIGNED_MEMBER, ERN_BAD_SEG_PLACEMENT, ERN_INTERNAL_ERROR,
  ERN_INTERNAL_WARNING, ERN_ILL_FLAG_FATAL, ERN_MISSARG_WARNING, ERN_IO_ERROR,
  ERN_OBJ_ERROR, ERN_OBJ_WARNING, ERN_OBJ_CLASS_WHIRL, ERN_MISMATCH_GP_ERROR,
  ERN_RTYPE_ERROR, ERN_GP_OVFL_FATAL, ERN_BAD_ENTRY_NAME, ERN_NO_ELSPEC_FILE,
  ERN_INFO_MESSAGE, ERN_INFO_MESSAGE2, ERN_FATAL_MESSAGE2, ERN_OPTION_SYNTAX,
  ERN_NO_BACKUP_WARNING, ERN_UNDEFINED_SYMBOL_WARNING, ERN_OBJ_CLASS_WARNING, ERN_SYM_UNRESOLVED_WEAK,
  ERN_SYM_UNRESOLVED_OPTIONAL, ERN_SYM_INHERIT_OPTIONAL, ERN_DELAY_LOAD_1, ERN_DELAY_LOAD_2,
  ERN_TEXT_DATA_MISMATCH, ERN_INVALID_ALIGN, ERN_MISMATCH_RTYPE, ERN_MISMATCH_RSIZE,
  ERN_FEEDBACK_MESG_1, ERN_FEEDBACK_MESG_2, ERN_FEEDBACK_MESG_3, ERN_MULTIGOT_INVOKED,
  ERN_FEEDBACK_MESG_4, ERN_LSPEC_NOGPREL, ERN_CONFLICT_WEAK_SYM_2, ERN_CONFLICT_WEAK_SYM_3,
  ERN_CONFLICT_WEAK_SYM_4, ERN_CONFLICT_WEAK_SYM_5, ERN_MISMATCH_DATA_FUNC, MAX_ERN_MESSAGE,
  ER_FATAL, ER_WARNING, ER_INFO, ER_ERROR,
  ER_VERBOSE, ER_MSG
}

Functions/Subroutines

void msg (int, int,...)
char * concat_names (const char *, const char *)
EXTSYMslookup_mext (char *)
void read_one_section (int, an_object_file_ptr)
void merge_ext (an_elf_sym_record *, char *, int, an_object_file *)


Define Documentation

#define _fmt_a   "x"

Definition at line 348 of file fake.h.

#define _fmt_s   "x"

Definition at line 349 of file fake.h.

#define _fmt_v   "d"

Definition at line 347 of file fake.h.

Referenced by IP_tag_symbol_gp_rel().

#define _fmt_w   "w32"

Definition at line 346 of file fake.h.

#define _fmt_w_a   "08x"

Definition at line 350 of file fake.h.

#define _fmt_w_s   "08x"

Definition at line 351 of file fake.h.

#define ALLOCA ( size   )     alloca((unsigned int)(size))

Definition at line 435 of file fake.h.

#define BCOPY ( src,
dst,
len   )     bcopy((const void *)(src), (void *)(dst), (int)(len))

Definition at line 459 of file fake.h.

#define BZERO ( b,
len   )     bzero((void *)(b), (int)(len))

Definition at line 454 of file fake.h.

Referenced by _X_PROP_CREATE_(), _xlate_do_current_block(), _xlate_do_simple_32bit_header(), _xlate_do_simple_64bit_header(), LINEX::Add_access(), add_reloc_type(), Alloc_BB_Like(), MAP::Alloc_hash_vec(), CODEMAP::Alloc_hash_vec(), LFTR::Alloc_hash_vec(), DU_MANAGER::Alloc_IPA_summary(), Allocate_Block(), Allocate_Large_Block(), ARB::ARB(), AUX_IPA_EDGE< EDGE >::AUX_IPA_EDGE(), AUX_IPA_NODE< NODE >::AUX_IPA_NODE(), BB_MAP_create_kind(), BB_OP_MAP_Create_Kind(), BB_OP_MAP_Extend_Map(), Begin_ABI(), BITWISE_DCE::BITWISE_DCE(), GRAPH::Build(), ORDERED_NODE_ITER::BuildVector(), DYN_ARRAY< T >::Bzero_array(), ARRAY< TT >::Bzero_array(), Cg_Dwarf_Output_Asm_Bytes_Sym_Relocs(), Check_TN_Vec_Size(), IPO_ADDR_HASH::Clear(), ETABLE::Clear_dpo_exp_phi(), W2FC_FLAG_ARRAY::Clear_w2fc_flags(), Connect_call_graph(), IPO_CLONE::Copy_Node(), GRA_LOOP_MGR::Create(), DCE::DCE(), Depth_First_Ordering(), Digest_Archive(), Disambiguate_Aliased_Actuals(), do_32bit_merge_header(), do_64bit_merge_header(), DOM_INFO::DOM_INFO(), Eliminate_Dead_Func(), Em_New_Section(), Estimate_Callee_Saves(), FBV::FBV(), OPT_REVISE_SSA::Find_scalars_from_lda_indirects(), OPT_REVISE_SSA::Find_scalars_from_lowering_bitfld(), OPT_REVISE_SSA::Find_scalars_from_lowering_bitfld_cr(), GCM_Schedule_Region(), Gen_MP_SingleProcess_Region(), Generate_Unique_Exit(), get_command_line(), OPT_REVISE_SSA::Get_new_occ(), GLOBAL_ANNOT::GLOBAL_ANNOT(), Handle_ASM(), hash_table_create(), Hazard_Create(), Hazard_Group(), hTN_MAP32_Create(), hTN_MAP64_Create(), hTN_MAP_Create(), Increase_Data_Buffer_Size(), Increase_File_Table_Size(), Increase_Incl_Table_Size(), EXP_PHI::Init(), ALT_ENTRY::Init(), SUMMARY_COMMON_SHAPE::Init(), SUMMARY_PHI::Init(), SUMMARY_PROCEDURE::Init(), SUMMARY_CALLSITE::Init(), BLK::Init(), CTRL_DEP::Init(), SUMMARY_CONTROL_DEPENDENCE::Init(), SUMMARY_STRUCT_ACCESS::Init(), SUMMARY_FEEDBACK::Init(), ARRAY_SUMMARY::Init(), SUMMARY_SYMBOL::Init(), SUMMARY_EXPR::Init(), SUMMARY_STMT::Init(), SUMMARY_VALUE::Init(), SUMMARY_GLOBAL::Init(), SUMMARY_PROC_INFO::Init(), SUMMARY_COMMON::Init(), Init_Constab(), Init_Edges(), init_hash_tables(), Init_OPSCH_For_BB(), CFG_NODE_INFO::Init_Out(), Init_TNs_For_PU(), Initialize_Symbol_Tables(), IP_FILE_HDR::IP_FILE_HDR(), IP_FILE_HDR_Add_New_PU(), IPA_add_new_procedure(), IPAA_NODE_INFO::IPAA_NODE_INFO(), IPO_ADDR_HASH::IPO_ADDR_HASH(), ISA_Bundle_Pack_Create(), Localize_in_serialized_parallel(), LOOPINFO::LOOPINFO(), lower_io_statement(), lower_mp(), LowerMP_PU_Init(), Machine_To_Pseudo(), ARRAY_SUMMARY_OUTPUT::Map_loop_info(), ARRAY_SUMMARY_OUTPUT::Map_proj_array(), MEM_POOL_Delete(), MEM_POOL_Pop_P(), MEM_POOL_Realloc_P(), LINEX::Merge(), AUX_IPA_NODE< NODE >::operator[](), OPTCOUNT::OPTCOUNT(), Optimize_Branches(), ETABLE::Per_worklst_cleanup(), Preprocess_PU(), SUMMARIZE< program >::Process_formal(), SUMMARIZE< program >::Process_formal_alt(), Process_PDO(), Pseudo_To_Machine(), Read_PU_Infos(), Read_Section(), Realloc_Clear(), IPA_NODE::Scope(), LINEX::Subtract(), SUMMARY_DESC::SUMMARY_DESC(), SUMMARY_ENTRY_CACHE::SUMMARY_ENTRY_CACHE(), SUMMARY_FILE_HEADER::SUMMARY_FILE_HEADER(), SYMTAB_HEADER_TABLE< table_size >::SYMTAB_HEADER_TABLE(), TI_ASM_Unpack_Inst(), TI_RES_COUNT_Alloc(), TLOG_INFO::TLOG_INFO(), daVinci::Translate_Call_Graph(), W2CF_Symtab_Nameof_Preg(), W2CF_Symtab_Nameof_St(), W2FC_FLAG_ARRAY::W2FC_FLAG_ARRAY(), WFE_CS_push(), WN2C_create_ref_param_lda(), WN_Create(), WN_MAP_realloc_array(), xlate_finish(), xlate_named_init_elf(), and xlate_pro_init().

#define CALLOC ( nelem,
elsize   )     calloc((size_t)(nelem), (size_t)(elsize))

Definition at line 432 of file fake.h.

#define CLOSE ( fid   )     close((int)(fid))

Definition at line 389 of file fake.h.

#define ELF_ADDR   Elf32_Addr

Definition at line 329 of file fake.h.

Referenced by F_DISASSEMBLER(), and IP_estimate_got_size().

#define ELF_COMMENT   ".comment"

Definition at line 75 of file fake.h.

Referenced by check_section_headers(), Em_Add_Comment(), process_whirl(), and WN_write_revision().

#define ELF_FLAGS   Elf32_Word

Definition at line 340 of file fake.h.

#define ELF_HALF   Elf32_Half

Definition at line 330 of file fake.h.

#define ELF_INT   Elf32_Sword

Definition at line 335 of file fake.h.

#define ELF_OFF   Elf32_Off

Definition at line 331 of file fake.h.

#define ELF_SIZE   Elf32_Word

Definition at line 334 of file fake.h.

#define ELF_SWORD   Elf32_Sword

Definition at line 332 of file fake.h.

#define ELF_WORD   Elf32_Word

Definition at line 333 of file fake.h.

#define ELFCLASS   ELFCLASS32

Definition at line 342 of file fake.h.

Referenced by elf_core_file_p(), and elf_object_p().

#define FCHMOD ( fid,
mode   )     fchmod((int)(fid), (mode_t)(mode))

Definition at line 392 of file fake.h.

#define FCLOSE ( stream   )     fclose ((FILE *)(stream))

Definition at line 366 of file fake.h.

Referenced by ipacom_doit().

#define FDOPEN ( fid,
type   )     fdopen((int)(fid), (const char *)(type))

Definition at line 363 of file fake.h.

#define FOPEN ( filename,
type   )     fopen((const char *)(filename), (const char *)(type))

Definition at line 360 of file fake.h.

Referenced by ipa_compile_init().

#define FREE ( ptr   )     free((void *) (ptr))

Definition at line 426 of file fake.h.

#define FSTAT ( fid,
buf   )     fstat((int)(fid), (buf))

Definition at line 407 of file fake.h.

Referenced by _fio_du_open().

#define FSTATVFS ( fid,
buf   )     fstatvfs((int)(fid), (buf))

Definition at line 410 of file fake.h.

#define FTRUNCATE ( fildes,
length   )     ftruncate ((int)(fildes), (off_t)(length)

Definition at line 374 of file fake.h.

#define LSEEK ( fid,
offset,
whence   )     lseek((int)(fid), (off_t)(offset), (int)(whence))

Definition at line 380 of file fake.h.

Referenced by _fio_du_flush(), _fio_du_read(), _fio_du_write(), and f_find_com().

#define MALLOC ( nbytes   )     malloc((size_t)(nbytes))

Definition at line 423 of file fake.h.

#define MALLOC_ASSERT ( addr   )     if (addr == 0) {perror("malloc failed");exit(1);}

Definition at line 357 of file fake.h.

#define MEMCCPY ( s1,
s2,
c,
n   )     memccpy((void *)(s1), (void *)(s2), (int)(c), (size_t)(n))

Definition at line 438 of file fake.h.

#define MEMCHR ( s,
c,
n   )     memchr((void *)(s), (int)(c), (size_t)(n))

Definition at line 441 of file fake.h.

#define MEMCMP ( s1,
s2,
n   )     memcmp((void *)(s1), (void *)(s2), (size_t)(n))

Definition at line 450 of file fake.h.

#define MEMCPY ( s1,
s2,
n   )     memcpy((void *)(s1), (void *)(s2), (size_t)(n))

Definition at line 444 of file fake.h.

#define MEMSET ( s,
c,
n   )     memset((void *)(s), (int)(c), (size_t)(n))

Definition at line 447 of file fake.h.

Referenced by sort_symbol_ref_count_array().

#define MKDIR ( path,
mode   )     mkdir((const char *)(path), (mode_t)(mode))

Definition at line 398 of file fake.h.

#define MMAP ( addr,
len,
prot,
flags,
fd,
off   ) 

Value:

mmap((void *)(addr), (int)(len), (int)(prot), (int)(flags), (int)(fd), \
   (off_t)(off))

Definition at line 413 of file fake.h.

#define MUNMAP ( addr,
len   )     munmap((void *)(addr), (int)(len))

Definition at line 420 of file fake.h.

#define OPEN ( path,
oflag,
mode   )     open((char *)(path), (int)(oflag), (int)(mode))

Definition at line 377 of file fake.h.

#define PCREATEVE ( path,
argv,
envp   ) 

Value:

pcreateve((const char *)(path), (char *const *)(argv), \
        (char *const *)(envp))

Definition at line 463 of file fake.h.

#define PERROR (  )     perror((char *) s)

Definition at line 417 of file fake.h.

#define READ ( fid,
buf,
nbyte   )     read((int)(fid), (void *)(buf), (unsigned)(nbyte))

Definition at line 383 of file fake.h.

#define REALLOC ( ptr,
size   )     realloc((void *)(ptr), (size_t)(size))

Definition at line 429 of file fake.h.

#define RMDIR ( path   )     rmdir((const char *)(path))

Definition at line 401 of file fake.h.

#define STAT ( path,
buf   )     stat((const char *)(path), (struct stat *) (buf))

Definition at line 404 of file fake.h.

Referenced by SETPOS().

#define STO_DEFAULT   0x0

Definition at line 68 of file fake.h.

#define STO_HIDDEN   0x2

Definition at line 70 of file fake.h.

#define STO_INTERNAL   0x1

Definition at line 69 of file fake.h.

#define STO_OPTIONAL   0x4

Definition at line 72 of file fake.h.

Referenced by enter_st(), st_other_for_sym(), ST_to_Elfsym(), and Sync_symbol_attributes().

#define STO_PROTECTED   0x3

Definition at line 71 of file fake.h.

#define STO_SC_ALIGN_UNUSED   0xff

Definition at line 73 of file fake.h.

Referenced by EMT_Put_Elf_Symbol().

#define UNLINK ( path   )     unlink((const char *)(path))

Definition at line 395 of file fake.h.

#define WAIT ( stat   )     wait((int *)(stat))

Definition at line 467 of file fake.h.

#define WRITE ( fid,
buf,
nbyte   )     write((int)(fid), (const void *)(buf), (unsigned)(nbyte))

Definition at line 386 of file fake.h.


Typedef Documentation

typedef uint32 ADDR

Definition at line 325 of file fake.h.

Definition at line 39 of file fake.h.

Definition at line 39 of file fake.h.

typedef unsigned char ELF_BYTE

Definition at line 338 of file fake.h.

typedef unsigned short ELF_SECTION

Definition at line 339 of file fake.h.

typedef longlong_t ELF_SXWORD

Definition at line 337 of file fake.h.

Definition at line 62 of file fake.h.

typedef int32 FILE_SZ

Definition at line 327 of file fake.h.

typedef int32 OFFSET

Definition at line 326 of file fake.h.


Enumeration Type Documentation

Enumerator:
ERN_IGNORED 
ERN_BAD_OPTION 
ERN_INTERNAL_FATAL 
ERN_USAGE 
ERN_ILL_FLAG 
ERN_NOT_IMP 
ERN_MISSARG_FATAL 
ERN_CONFLICT_RFLAG 
ERN_BAD_HEX 
ERN_IO_FATAL 
ERN_NO_OUTFILE 
ERN_OBJ_FATAL 
ERN_OBJ_CLASS 
ERN_MALLOC 
ERN_SYM_TRACE 
ERN_MULT_DEF 
ERN_MISMATCH_GP 
ERN_MISMATCH_USGP 
ERN_MISMATCH_VAL 
ERN_UNDEF_EXIST 
ERN_0SIZE_EXT 
ERN_HALF_OVFL 
ERN_OFS_OVFL 
ERN_BAD_RTYPE 
ERN_MISS_RLO 
ERN_JMP_OVFL 
ERN_JMP_OVFLS 
ERN_BAD_LIT 
ERN_GP_OVFL 
ERN_GP_OVFLS 
ERN_PRED_CONFLICT 
ERN_LIBLIST_UNMATCH 
ERN_LIBLIST_NOTFOUND 
ERN_UNDEFINED_SYMBOL_ERROR 
ERN_CNFLCT_DEF_SYM 
ERN_ARCHIVE_OBJ 
ERN_LOAD_OBJ 
ERN_LOAD_SO 
ERN_UNLOADED_SEC 
ERN_ROUNDED 
ERN_OVERLAP 
ERN_SAMEPAGE 
ERN_SHARABLE_FLGS 
ERN_MIX_OBJ 
ERN_NS_PIC 
ERN_S_NPIC 
ERN_NO_OBJ 
ERN_BAD_R4K 
ERN_NO_REGISTRY 
ERN_NO_UPDATE 
ERN_BAD_REGISTRY 
ERN_REGISTRY_FAIL 
ERN_BAD_NAME 
ERN_SYM_NOMATCH_SEC 
ERN_BAD_LOCAL 
ERN_NOT_SO 
ERN_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ICT_WEAK_SYM_5 
ERN_MISMATCH_DATA_FUNC 
MAX_ERN_MESSAGE 
ER_FATAL 
ER_WARNING 
ER_INFO 
ER_ERROR 
ER_VERBOSE 
ER_MSG 

Definition at line 96 of file fake.h.

enum msgtype_t

Enumerator:
ER_ILLEGAL 
ER_NOERROR 
ER_FATAL 
ER_WARNING 
ER_INFO 
ER_DEBUG 
ER_VERBOSE 
ER_ERROR 
ER_MSG 
ER_DEFAULT 
ER_OFF 

Definition at line 77 of file fake.h.


Function Documentation

char* concat_names ( const char *  ,
const char *   
)

void merge_ext ( an_elf_sym_record *  ,
char *  ,
int  ,
an_object_file  
)

void msg ( int  ,
int  ,
  ... 
)

Definition at line 150 of file ipa_ld.c.

void read_one_section ( int  ,
an_object_file_ptr   
)

EXTSYM* slookup_mext ( char *   ) 

Referenced by Merge_Global_St().


Generated on Wed Apr 8 15:07:33 2009 for Open64 by  doxygen 1.5.6