Changeset 7f1c620 in mainline for generic/include/elf.h
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/elf.h
r991779c5 r7f1c620 194 194 * in ELF header. 195 195 */ 196 typedef __u64elf_xword;197 typedef __s64elf_sxword;198 typedef __u32elf_word;199 typedef __s32elf_sword;200 typedef __u16elf_half;196 typedef uint64_t elf_xword; 197 typedef int64_t elf_sxword; 198 typedef uint32_t elf_word; 199 typedef int32_t elf_sword; 200 typedef uint16_t elf_half; 201 201 202 202 /** … … 205 205 * These types are specific for 32-bit format. 206 206 */ 207 typedef __u32elf32_addr;208 typedef __u32elf32_off;207 typedef uint32_t elf32_addr; 208 typedef uint32_t elf32_off; 209 209 210 210 /** … … 213 213 * These types are specific for 64-bit format. 214 214 */ 215 typedef __u64elf64_addr;216 typedef __u64elf64_off;215 typedef uint64_t elf64_addr; 216 typedef uint64_t elf64_off; 217 217 218 218 /** ELF header */ 219 219 struct elf32_header { 220 __u8e_ident[EI_NIDENT];220 uint8_t e_ident[EI_NIDENT]; 221 221 elf_half e_type; 222 222 elf_half e_machine; … … 234 234 }; 235 235 struct elf64_header { 236 __u8e_ident[EI_NIDENT];236 uint8_t e_ident[EI_NIDENT]; 237 237 elf_half e_type; 238 238 elf_half e_machine; … … 310 310 elf32_addr st_value; 311 311 elf_word st_size; 312 __u8st_info;313 __u8st_other;312 uint8_t st_info; 313 uint8_t st_other; 314 314 elf_half st_shndx; 315 315 }; 316 316 struct elf64_symbol { 317 317 elf_word st_name; 318 __u8st_info;319 __u8st_other;318 uint8_t st_info; 319 uint8_t st_other; 320 320 elf_half st_shndx; 321 321 elf64_addr st_value;
Note:
See TracChangeset
for help on using the changeset viewer.