Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

/users/u3/mtikir/PMaCInstrumentor_v1601/include/defines/RelocationTable.d

Go to the documentation of this file.
00001 /*
00002 ##################################################################
00003 XCOFF32     XCOFF64     Name     Description
00004 Offset     Length     Offset     Length
00005 0     4     0     8     r_vaddr+     Virtual address (position) in section to be relocated
00006 4     4     8     4     r_symndx+     Symbol table index of item that is referenced
00007 8     1     12     1     r_rsize+     Relocation size and information
00008 9     1     13     1     r_rtype+     Relocation type
00009 +Use "32" or "64" suffix when __XCOFF_HYBRID__ is defined.
00010 ##################################################################
00011 */
00012 
00013 #define RELOCATION_MACROS_BASIS(__str)  \
00014         GET_FIELD_BASIS(uint64_t,r_vaddr); \
00015         GET_FIELD_BASIS(uint32_t,r_symndx); \
00016         GET_FIELD_BASIS(uint8_t,r_rsize); \
00017         GET_FIELD_BASIS(uint8_t,r_rtype); \
00018 
00020 #define RELOCATION_MACROS_CLASS(__str)  \
00021         GET_FIELD_CLASS(uint64_t,r_vaddr); \
00022         GET_FIELD_CLASS(uint32_t,r_symndx); \
00023         GET_FIELD_CLASS(uint8_t,r_rsize); \
00024         GET_FIELD_CLASS(uint8_t,r_rtype); \
00025 

Generated on Mon Jan 28 11:08:31 2008 for PMaCInstrumentor by doxygen 1.3.5