Changeset 273


Ignore:
Timestamp:
Jul 24, 2017, 4:51:14 PM (7 years ago)
Author:
max@…
Message:

Mmh, must be Elf64_Xword.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/elf.h

    r270 r273  
    4040typedef uint16_t Elf64_Half;
    4141typedef uint32_t Elf64_Word;
    42 typedef int32_t  Elf64_Sword;
     42typedef int32_t  Elf64_Sword;
     43typedef uint64_t Elf64_Xword;
    4344typedef uint64_t Elf64_Addr;
    4445typedef uint64_t Elf64_Off;
     
    168169        Elf64_Addr  p_vaddr;    /* Segment virtual address */
    169170        Elf64_Addr  p_paddr;    /* Segment physical address */
    170         Elf64_Word p_filesz;   /* Segment size in file */
    171         Elf64_Word p_memsz;    /* Segment size in memory */
    172         Elf64_Word p_align;    /* Segment alignment */
     171        Elf64_Xword p_filesz;   /* Segment size in file */
     172        Elf64_Xword p_memsz;    /* Segment size in memory */
     173        Elf64_Xword p_align;    /* Segment alignment */
    173174}
    174175Elf64_Phdr;
     
    216217#define Elf_Word  Elf64_Word
    217218#define Elf_Sword Elf64_Sword
     219#define Elf_Xword Elf64_Xword
    218220#define Elf_Addr  Elf64_Addr
    219221#define Elf_Off   Elf64_Off
Note: See TracChangeset for help on using the changeset viewer.