Changeset 3569 for trunk/kStuff/include/k/kLdrFmts/mach-o.h
- Timestamp:
- Aug 31, 2007, 4:16:27 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kStuff/include/k/kLdrFmts/mach-o.h
r3568 r3569 865 865 typedef struct scattered_relocation_info 866 866 { 867 #if def KLDR_LITTLE_ENDIAN867 #if K_ENDIAN == K_ENDIAN_LITTLE 868 868 KU32 r_address : 24, /**< Section relative address of the fixup. (macho_relocation_info_t::r_address) */ 869 869 r_type : 4, /**< Relocation type; 0 is standard, non-zero are machine specific. (macho_relocation_info_t::r_type) */ … … 871 871 r_pcrel : 1, /**< PC (program counter) relative fixup; subtract the fixup address. (macho_relocation_info_t::r_pcrel) */ 872 872 r_scattered : 1; /**< Set if scattered relocation, clear if normal relocation. */ 873 #elif defined(KLDR_BIG_ENDIAN)873 #elif K_ENDIAN == K_ENDIAN_BIG 874 874 KU32 r_scattered : 1, /**< Set if scattered relocation, clear if normal relocation. */ 875 875 r_pcrel : 1, /**< PC (program counter) relative fixup; subtract the fixup address. (macho_relocation_info_t::r_pcrel) */ … … 878 878 r_address : 24; /**< Section relative address of the fixup. (macho_relocation_info_t::r_address) */ 879 879 #else 880 # error "Neither K LDR_LITTLE_ENDIAN nor KLDR_BIG_ENDIAN is defined!"880 # error "Neither K_ENDIAN isn't LITTLE or BIG!" 881 881 #endif 882 882 KI32 r_value; /**< The value the fixup is refering to (without offset added). */
Note:
See TracChangeset
for help on using the changeset viewer.