Main Page | Class List | Directories | File List | Class Members | File Members

cklf.h File Reference

CKPM ck linking format definitions. More...


Classes

struct  _cklf_hdr
 the file header More...
struct  _cklf_symtab
 a symbol table entry More...

Defines

#define LD_MAX_IDENT   8
#define STT_NOTYPE   0
#define STT_OBJECT   1
#define STT_FUNC   2
#define st_bind_t   int
#define STB_LOCAL   0
#define STB_GLOBAL   1

Functions

char * CKLF_ST_TypeToStr (st_type_t t)
 convert a st_type_t number to a string
char * CKLF_ST_BindToStr (st_bind_t b)
 convert a st_bind_t number to a string


Detailed Description

CKPM ck linking format definitions.


Define Documentation

#define LD_MAX_IDENT   8
 

length of the magic number field

#define st_bind_t   int
 

symbol binding

#define STB_GLOBAL   1
 

global symbol

#define STB_LOCAL   0
 

local symbol

#define STT_FUNC   2
 

symbol is a code object

#define STT_NOTYPE   0
 

symbol type is unspecified

#define STT_OBJECT   1
 

symbol is a data object


Function Documentation

char* CKLF_ST_BindToStr st_bind_t  b  ) 
 

convert a st_bind_t number to a string

Parameters:
b the st_bind_t number
Returns:
the corresponding string

char* CKLF_ST_TypeToStr st_type_t  t  ) 
 

convert a st_type_t number to a string

Parameters:
t the st_type_t number
Returns:
the corresponding string


Generated on Thu Jul 13 03:56:36 2006 for CKPMcc by  doxygen 1.4.4