Back to index

cell-binutils  2.17cvs20070401
Classes | Defines | Typedefs
internal.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  elf_internal_ehdr
struct  elf_internal_phdr
struct  elf_internal_shdr
struct  elf_internal_sym
struct  elf_internal_note
struct  elf_internal_rela
struct  elf_internal_dyn
struct  elf_internal_verdef
struct  elf_internal_verdaux
struct  elf_internal_verneed
struct  elf_internal_vernaux
struct  elf_internal_versym
struct  Elf_Internal_Syminfo
struct  Elf_Internal_Auxv
struct  elf_segment_map
union  elf_internal_dyn.d_un

Defines

#define EI_NIDENT   16 /* Size of e_ident[] */
#define ELF_SECTION_SIZE(sec_hdr, segment)
#define ELF_IS_SECTION_IN_SEGMENT(sec_hdr, segment)
#define ELF_IS_SECTION_IN_SEGMENT_FILE(sec_hdr, segment)
#define ELF_IS_SECTION_IN_SEGMENT_MEMORY(sec_hdr, segment)

Typedefs

typedef struct elf_internal_ehdr Elf_Internal_Ehdr
typedef struct elf_internal_phdr
typedef struct elf_internal_shdr Elf_Internal_Shdr
typedef struct elf_internal_sym
typedef struct elf_internal_note Elf_Internal_Note
typedef struct elf_internal_rela Elf_Internal_Rela
typedef struct elf_internal_dyn Elf_Internal_Dyn
typedef struct elf_internal_verdef Elf_Internal_Verdef
typedef struct elf_internal_verdaux Elf_Internal_Verdaux
typedef struct elf_internal_verneed Elf_Internal_Verneed
typedef struct elf_internal_vernaux Elf_Internal_Vernaux
typedef struct elf_internal_versym Elf_Internal_Versym

Class Documentation

struct elf_internal_ehdr

Definition at line 44 of file internal.h.

Class Members
unsigned int e_ehsize
bfd_vma e_entry
unsigned long e_flags
unsigned char e_ident
unsigned short e_machine
unsigned int e_phentsize
unsigned int e_phnum
bfd_size_type e_phoff
unsigned int e_shentsize
unsigned int e_shnum
bfd_size_type e_shoff
unsigned int e_shstrndx
unsigned short e_type
unsigned long e_version
struct elf_internal_phdr

Definition at line 63 of file internal.h.

Class Members
bfd_vma p_align
bfd_vma p_filesz
unsigned long p_flags
bfd_vma p_memsz
bfd_vma p_offset
bfd_vma p_paddr
unsigned long p_type
bfd_vma p_vaddr
struct elf_internal_shdr

Definition at line 78 of file internal.h.

Collaboration diagram for elf_internal_shdr:
Class Members
asection * bfd_section
unsigned char * contents
bfd_vma sh_addr
unsigned int sh_addralign
bfd_size_type sh_entsize
bfd_vma sh_flags
unsigned long sh_info
unsigned long sh_link
unsigned int sh_name
file_ptr sh_offset
bfd_size_type sh_size
unsigned int sh_type
struct elf_internal_sym

Definition at line 97 of file internal.h.

Class Members
unsigned char st_info
unsigned long st_name
unsigned char st_other
unsigned int st_shndx
bfd_vma st_size
bfd_vma st_value
struct elf_internal_note

Definition at line 110 of file internal.h.

Class Members
char * descdata
bfd_vma descpos
unsigned long descsz
char * namedata
unsigned long namesz
unsigned long type
struct elf_internal_rela

Definition at line 121 of file internal.h.

Class Members
bfd_vma r_addend
bfd_vma r_info
bfd_vma r_offset
struct elf_internal_dyn

Definition at line 129 of file internal.h.

Class Members
bfd_vma d_tag
union elf_internal_dyn d_un
struct elf_internal_verdef

Definition at line 141 of file internal.h.

Collaboration diagram for elf_internal_verdef:
Class Members
unsigned long vd_aux
struct elf_internal_verdaux * vd_auxptr
bfd * vd_bfd
unsigned short vd_cnt
unsigned int vd_exp_refno
unsigned short vd_flags
unsigned long vd_hash
unsigned short vd_ndx
unsigned long vd_next
struct elf_internal_verdef * vd_nextdef
const char * vd_nodename
unsigned short vd_version
struct elf_internal_verdaux

Definition at line 161 of file internal.h.

Collaboration diagram for elf_internal_verdaux:
Class Members
unsigned long vda_name
unsigned long vda_next
struct elf_internal_verdaux * vda_nextptr
const char * vda_nodename
struct elf_internal_verneed

Definition at line 173 of file internal.h.

Collaboration diagram for elf_internal_verneed:
Class Members
unsigned long vn_aux
struct elf_internal_vernaux * vn_auxptr
bfd * vn_bfd
unsigned short vn_cnt
unsigned long vn_file
const char * vn_filename
unsigned long vn_next
struct elf_internal_verneed * vn_nextref
unsigned short vn_version
struct elf_internal_vernaux

Definition at line 190 of file internal.h.

Collaboration diagram for elf_internal_vernaux:
Class Members
unsigned short vna_flags
unsigned long vna_hash
unsigned long vna_name
unsigned long vna_next
struct elf_internal_vernaux * vna_nextptr
const char * vna_nodename
unsigned short vna_other
struct elf_internal_versym

Definition at line 206 of file internal.h.

Class Members
unsigned short vs_vers
struct Elf_Internal_Syminfo

Definition at line 211 of file internal.h.

Class Members
unsigned short int si_boundto
unsigned short int si_flags
struct Elf_Internal_Auxv

Definition at line 218 of file internal.h.

Class Members
bfd_vma a_type
bfd_vma a_val
struct elf_segment_map

Definition at line 228 of file internal.h.

Collaboration diagram for elf_segment_map:
Class Members
unsigned int count
unsigned int includes_filehdr: 1
unsigned int includes_phdrs: 1
struct elf_segment_map * next
bfd_vma p_align
unsigned int p_align_valid: 1
unsigned long p_flags
unsigned int p_flags_valid: 1
bfd_vma p_paddr
unsigned int p_paddr_valid: 1
unsigned long p_type
bfd_vma p_vaddr_offset
asection * sections
union elf_internal_dyn.d_un

Definition at line 132 of file internal.h.

Class Members
bfd_vma d_ptr
bfd_vma d_val

Define Documentation

#define EI_NIDENT   16 /* Size of e_ident[] */

Definition at line 42 of file internal.h.

#define ELF_IS_SECTION_IN_SEGMENT (   sec_hdr,
  segment 
)
Value:
(((((sec_hdr->sh_flags & SHF_TLS) != 0)                 \
     && (segment->p_type == PT_TLS                      \
        || segment->p_type == PT_LOAD))                 \
    || ((sec_hdr->sh_flags & SHF_TLS) == 0                     \
       && segment->p_type != PT_TLS))                          \
   /* Compare allocated sec_hdrs by VMA, unallocated sec_hdrs  \
      by file offset.  */                               \
   && (sec_hdr->sh_flags & SHF_ALLOC                           \
       ? (sec_hdr->sh_addr >= segment->p_vaddr                 \
         && (sec_hdr->sh_addr                                  \
             + ELF_SECTION_SIZE(sec_hdr, segment)              \
             <= segment->p_vaddr + segment->p_memsz))          \
       : ((bfd_vma) sec_hdr->sh_offset >= segment->p_offset    \
         && (sec_hdr->sh_offset                         \
             + ELF_SECTION_SIZE(sec_hdr, segment)              \
             <= segment->p_offset + segment->p_filesz))))

Definition at line 271 of file internal.h.

#define ELF_IS_SECTION_IN_SEGMENT_FILE (   sec_hdr,
  segment 
)
Value:
(sec_hdr->sh_size > 0                                          \
   && ELF_IS_SECTION_IN_SEGMENT (sec_hdr, segment))

Definition at line 289 of file internal.h.

#define ELF_IS_SECTION_IN_SEGMENT_MEMORY (   sec_hdr,
  segment 
)
Value:
(ELF_SECTION_SIZE(sec_hdr, segment) > 0                 \
   && ELF_IS_SECTION_IN_SEGMENT (sec_hdr, segment))

Definition at line 294 of file internal.h.

#define ELF_SECTION_SIZE (   sec_hdr,
  segment 
)
Value:
(((sec_hdr->sh_flags & SHF_TLS) == 0                           \
     || sec_hdr->sh_type != SHT_NOBITS                         \
     || segment->p_type == PT_TLS) ? sec_hdr->sh_size : 0)

Definition at line 263 of file internal.h.


Typedef Documentation

Definition at line 74 of file internal.h.

Definition at line 106 of file internal.h.