ReactOS  0.4.15-dev-439-g292f67a
generic.h File Reference

Go to the source code of this file.

Macros

#define __ELF_CONCAT1(x, y)   x ## y
 
#define __ELF_CONCAT(x, y)   __ELF_CONCAT1(x,y)
 
#define ELF_CLASS   __ELF_CONCAT(ELFCLASS,__ELF_WORD_SIZE)
 
#define ELF_DATA   ELFDATA2LSB
 
#define __elfN(x)   __ELF_CONCAT(__ELF_CONCAT(__ELF_CONCAT(elf,__ELF_WORD_SIZE),_),x)
 
#define __ElfN(x)   __ELF_CONCAT(__ELF_CONCAT(__ELF_CONCAT(Elf,__ELF_WORD_SIZE),_),x)
 
#define __ELFN(x)   __ELF_CONCAT(__ELF_CONCAT(__ELF_CONCAT(ELF,__ELF_WORD_SIZE),_),x)
 
#define __ElfType(x)   typedef __ElfN(x) __ELF_CONCAT(Elf_,x)
 
#define ELF_R_SYM   __ELFN(R_SYM)
 
#define ELF_R_TYPE   __ELFN(R_TYPE)
 
#define ELF_R_INFO   __ELFN(R_INFO)
 
#define ELF_ST_BIND   __ELFN(ST_BIND)
 
#define ELF_ST_TYPE   __ELFN(ST_TYPE)
 
#define ELF_ST_INFO   __ELFN(ST_INFO)
 

Functions

 __ElfType (Addr)
 
 __ElfType (Half)
 
 __ElfType (Off)
 
 __ElfType (Sword)
 
 __ElfType (Word)
 
 __ElfType (Size)
 
 __ElfType (Hashelt)
 
 __ElfType (Ehdr)
 
 __ElfType (Shdr)
 
 __ElfType (Phdr)
 
 __ElfType (Dyn)
 
 __ElfType (Rel)
 
 __ElfType (Rela)
 
 __ElfType (Sym)
 

Macro Definition Documentation

◆ __ELF_CONCAT

#define __ELF_CONCAT (   x,
  y 
)    __ELF_CONCAT1(x,y)

Definition at line 34 of file generic.h.

◆ __ELF_CONCAT1

#define __ELF_CONCAT1 (   x,
  y 
)    x ## y

Definition at line 33 of file generic.h.

◆ __elfN

#define __elfN (   x)    __ELF_CONCAT(__ELF_CONCAT(__ELF_CONCAT(elf,__ELF_WORD_SIZE),_),x)

Definition at line 60 of file generic.h.

◆ __ElfN

#define __ElfN (   x)    __ELF_CONCAT(__ELF_CONCAT(__ELF_CONCAT(Elf,__ELF_WORD_SIZE),_),x)

Definition at line 61 of file generic.h.

◆ __ELFN

#define __ELFN (   x)    __ELF_CONCAT(__ELF_CONCAT(__ELF_CONCAT(ELF,__ELF_WORD_SIZE),_),x)

Definition at line 62 of file generic.h.

◆ __ElfType

#define __ElfType (   x)    typedef __ElfN(x) __ELF_CONCAT(Elf_,x)

Definition at line 63 of file generic.h.

◆ ELF_CLASS

#define ELF_CLASS   __ELF_CONCAT(ELFCLASS,__ELF_WORD_SIZE)

Definition at line 45 of file generic.h.

◆ ELF_DATA

#define ELF_DATA   ELFDATA2LSB

Definition at line 57 of file generic.h.

◆ ELF_R_INFO

#define ELF_R_INFO   __ELFN(R_INFO)

Definition at line 82 of file generic.h.

◆ ELF_R_SYM

#define ELF_R_SYM   __ELFN(R_SYM)

Definition at line 80 of file generic.h.

◆ ELF_R_TYPE

#define ELF_R_TYPE   __ELFN(R_TYPE)

Definition at line 81 of file generic.h.

◆ ELF_ST_BIND

#define ELF_ST_BIND   __ELFN(ST_BIND)

Definition at line 83 of file generic.h.

◆ ELF_ST_INFO

#define ELF_ST_INFO   __ELFN(ST_INFO)

Definition at line 85 of file generic.h.

◆ ELF_ST_TYPE

#define ELF_ST_TYPE   __ELFN(ST_TYPE)

Definition at line 84 of file generic.h.

Function Documentation

◆ __ElfType() [1/14]

__ElfType ( Addr  )

◆ __ElfType() [2/14]

__ElfType ( Half  )

◆ __ElfType() [3/14]

__ElfType ( Off  )

◆ __ElfType() [4/14]

__ElfType ( Sword  )

◆ __ElfType() [5/14]

__ElfType ( Word  )

◆ __ElfType() [6/14]

__ElfType ( Size  )

◆ __ElfType() [7/14]

__ElfType ( Hashelt  )

◆ __ElfType() [8/14]

__ElfType ( Ehdr  )

◆ __ElfType() [9/14]

__ElfType ( Shdr  )

◆ __ElfType() [10/14]

__ElfType ( Phdr  )

◆ __ElfType() [11/14]

__ElfType ( Dyn  )

◆ __ElfType() [12/14]

__ElfType ( Rel  )

◆ __ElfType() [13/14]

__ElfType ( Rela  )

◆ __ElfType() [14/14]

__ElfType ( Sym  )