UbixOS  2.0
elf_generic.h File Reference
#include <sys/cdefs.h>
Include dependency graph for elf_generic.h:

Go to the source code of this file.

Macros

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

Functions

typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Addr) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Dyn) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Ehdr) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Half) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Hashelt) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Off) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Phdr) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Rel) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Rela) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Shdr) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Size) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Ssize) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Sword) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Sym) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Verdaux) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Verdef) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Vernaux) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Verneed) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Versym) __CONCAT(Elf_
 
typedef __CONCAT (__CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _), Word) __CONCAT(Elf_
 

Variables

typedef Addr
 
typedef Dyn
 
typedef Ehdr
 
typedef Half
 
typedef Hashelt
 
typedef Off
 
typedef Phdr
 
typedef Rel
 
typedef Rela
 
typedef Shdr
 
typedef Size
 
typedef Ssize
 
typedef Sword
 
typedef Sym
 
typedef Verdaux
 
typedef Verdef
 
typedef Vernaux
 
typedef Verneed
 
typedef Versym
 
typedef Word
 

Macro Definition Documentation

◆ __elfN

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

Definition at line 53 of file elf_generic.h.

◆ __ElfN

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

Definition at line 54 of file elf_generic.h.

◆ __ELFN

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

Definition at line 55 of file elf_generic.h.

◆ __ElfType

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

Definition at line 56 of file elf_generic.h.

◆ ELF_CLASS

#define ELF_CLASS   __CONCAT(ELFCLASS,__ELF_WORD_SIZE)

Definition at line 43 of file elf_generic.h.

◆ ELF_DATA

#define ELF_DATA   ELFDATA2LSB

Definition at line 46 of file elf_generic.h.

◆ ELF_R_INFO

#define ELF_R_INFO   __ELFN(R_INFO)

Definition at line 83 of file elf_generic.h.

◆ ELF_R_SYM

#define ELF_R_SYM   __ELFN(R_SYM)

Definition at line 81 of file elf_generic.h.

◆ ELF_R_TYPE

#define ELF_R_TYPE   __ELFN(R_TYPE)

Definition at line 82 of file elf_generic.h.

◆ ELF_ST_BIND

#define ELF_ST_BIND   __ELFN(ST_BIND)

Definition at line 84 of file elf_generic.h.

◆ ELF_ST_INFO

#define ELF_ST_INFO   __ELFN(ST_INFO)

Definition at line 86 of file elf_generic.h.

◆ ELF_ST_TYPE

#define ELF_ST_TYPE   __ELFN(ST_TYPE)

Definition at line 85 of file elf_generic.h.

◆ ELF_ST_VISIBILITY

#define ELF_ST_VISIBILITY   __ELFN(ST_VISIBILITY)

Definition at line 87 of file elf_generic.h.

Function Documentation

◆ __CONCAT() [1/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Addr   
)

◆ __CONCAT() [2/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Dyn   
)

◆ __CONCAT() [3/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Ehdr   
)

◆ __CONCAT() [4/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Half   
)

◆ __CONCAT() [5/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Hashelt   
)

◆ __CONCAT() [6/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Off   
)

◆ __CONCAT() [7/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Phdr   
)

◆ __CONCAT() [8/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Rel   
)

◆ __CONCAT() [9/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Rela   
)

◆ __CONCAT() [10/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Shdr   
)

◆ __CONCAT() [11/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Size   
)

◆ __CONCAT() [12/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Ssize   
)

◆ __CONCAT() [13/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Sword   
)

◆ __CONCAT() [14/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Sym   
)

◆ __CONCAT() [15/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Verdaux   
)

◆ __CONCAT() [16/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Verdef   
)

◆ __CONCAT() [17/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Vernaux   
)

◆ __CONCAT() [18/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Verneed   
)

◆ __CONCAT() [19/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Versym   
)

◆ __CONCAT() [20/20]

typedef __CONCAT ( __CONCAT(__CONCAT(Elf, __ELF_WORD_SIZE), _)  ,
Word   
)

Variable Documentation

◆ Addr

typedef Addr

Definition at line 58 of file elf_generic.h.

◆ Dyn

typedef Dyn

Definition at line 66 of file elf_generic.h.

◆ Ehdr

typedef Ehdr

Definition at line 63 of file elf_generic.h.

◆ Half

typedef Half

Definition at line 59 of file elf_generic.h.

◆ Hashelt

typedef Hashelt

Definition at line 77 of file elf_generic.h.

◆ Off

typedef Off

Definition at line 60 of file elf_generic.h.

◆ Phdr

typedef Phdr

Definition at line 65 of file elf_generic.h.

◆ Rel

typedef Rel

Definition at line 67 of file elf_generic.h.

◆ Rela

typedef Rela

Definition at line 68 of file elf_generic.h.

◆ Shdr

typedef Shdr

Definition at line 64 of file elf_generic.h.

◆ Size

typedef Size

Definition at line 78 of file elf_generic.h.

◆ Ssize

typedef Ssize

Definition at line 79 of file elf_generic.h.

◆ Sword

typedef Sword

Definition at line 61 of file elf_generic.h.

◆ Sym

typedef Sym

Definition at line 69 of file elf_generic.h.

◆ Verdaux

typedef Verdaux

Definition at line 71 of file elf_generic.h.

◆ Verdef

typedef Verdef

Definition at line 70 of file elf_generic.h.

◆ Vernaux

typedef Vernaux

Definition at line 73 of file elf_generic.h.

◆ Verneed

typedef Verneed

Definition at line 72 of file elf_generic.h.

◆ Versym

typedef Versym

Definition at line 74 of file elf_generic.h.

◆ Word

typedef Word

Definition at line 62 of file elf_generic.h.