From: nasm-bot f. C. G. <gor...@gm...> - 2016-04-24 18:00:20
|
Commit-ID: a541094beb7a79682aefa60e32ee2c40a3f87e30 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=a541094beb7a79682aefa60e32ee2c40a3f87e30 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 13 Mar 2016 10:27:50 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 24 Apr 2016 20:02:40 +0300 out: Elf32, Elfx32 -- Unify struct ELF_SECTDATA and @elf_foffs Use int64_t. Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outelf32.c | 4 ++-- output/outelfx32.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/output/outelf32.c b/output/outelf32.c index 961c883..67cdaa3 100644 --- a/output/outelf32.c +++ b/output/outelf32.c @@ -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 *, diff --git a/output/outelfx32.c b/output/outelfx32.c index 37d5dca..1c504db 100644 --- a/output/outelfx32.c +++ b/output/outelfx32.c @@ -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); |