Displaying 1 result from an estimated 1 matches for "elf_sec".
Did you mean:
  elf_rel
  
2006 Jun 29
2
x86_64 platform : addresses type
Several addresses are actually on 32 bits, such as in
typedef struct {
    u32 flags;
    u32 mem_lower;
    u32 mem_upper;
    u32 boot_device;
    u32 cmdline;
    u32 mods_count;
    u32 mods_addr;
    union {
        aout_symbol_table_t aout_sym;
        elf_section_header_table_t elf_sec;
    } u;
    u32 mmap_length;
    u32 mmap_addr;
} multiboot_info_t
However, on x86_64 using gcc, addresses as well as unsigned long are 64 
bits long.
It seems that luckily mmap_addr is below 2*32-1, making the u32 type 
acceptable
so far (for instance in function __...