mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-30 16:41:05 +08:00
out: Elf32, Elfx32 -- Unify struct ELF_SECTDATA and @elf_foffs
Use int64_t. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
caa18da230
commit
a541094beb
@ -86,11 +86,11 @@ extern const struct ofmt of_elf32;
|
||||
|
||||
static struct ELF_SECTDATA {
|
||||
void *data;
|
||||
int32_t len;
|
||||
int64_t len;
|
||||
bool is_saa;
|
||||
} *elf_sects;
|
||||
static int elf_nsect, nsections;
|
||||
static int32_t elf_foffs;
|
||||
static int64_t elf_foffs;
|
||||
|
||||
static void elf_write(void);
|
||||
static void elf_sect_write(struct elf_section *, const uint8_t *,
|
||||
|
@ -86,11 +86,11 @@ extern const struct ofmt of_elfx32;
|
||||
|
||||
static struct ELF_SECTDATA {
|
||||
void *data;
|
||||
int32_t len;
|
||||
int64_t len;
|
||||
bool is_saa;
|
||||
} *elf_sects;
|
||||
static int elf_nsect, nsections;
|
||||
static int32_t elf_foffs;
|
||||
static int64_t elf_foffs;
|
||||
|
||||
static void elf_write(void);
|
||||
static void elf_sect_write(struct elf_section *, const void *, size_t);
|
||||
|
Loading…
Reference in New Issue
Block a user