From: nasm-bot f. C. G. <gor...@gm...> - 2016-04-24 18:00:22
|
Commit-ID: 232788c549952c68452917f43c9adab68e1f78eb Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=232788c549952c68452917f43c9adab68e1f78eb Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Wed, 16 Mar 2016 00:36:01 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 24 Apr 2016 20:02:41 +0300 output: Elf32, Elfx32, Elf64 -- Declare ofmt for all Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outelf32.c | 2 ++ output/outelf64.c | 2 ++ output/outelfx32.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/output/outelf32.c b/output/outelf32.c index 67c0907..12255fd 100644 --- a/output/outelf32.c +++ b/output/outelf32.c @@ -83,6 +83,8 @@ static struct elf_symbol *fwds; static char elf_module[FILENAME_MAX]; extern const struct ofmt of_elf32; +extern const struct ofmt of_elf64; +extern const struct ofmt of_elfx32; static struct ELF_SECTDATA { void *data; diff --git a/output/outelf64.c b/output/outelf64.c index 91d50e8..4730bf6 100644 --- a/output/outelf64.c +++ b/output/outelf64.c @@ -82,7 +82,9 @@ static struct elf_symbol *fwds; static char elf_module[FILENAME_MAX]; +extern const struct ofmt of_elf32; extern const struct ofmt of_elf64; +extern const struct ofmt of_elfx32; static struct ELF_SECTDATA { void *data; diff --git a/output/outelfx32.c b/output/outelfx32.c index b5f62a6..99d92a7 100644 --- a/output/outelfx32.c +++ b/output/outelfx32.c @@ -82,6 +82,8 @@ static struct elf_symbol *fwds; static char elf_module[FILENAME_MAX]; +extern const struct ofmt of_elf32; +extern const struct ofmt of_elf64; extern const struct ofmt of_elfx32; static struct ELF_SECTDATA { |