Commit-ID: 17823c3129fbeede7b483247646707d7c446f220
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=17823c3129fbeede7b483247646707d7c446f220
Author: Cyrill Gorcunov <gor...@gm...>
AuthorDate: Wed, 16 Mar 2016 00:36:01 +0300
Committer: Cyrill Gorcunov <gor...@gm...>
CommitDate: Mon, 11 Apr 2016 00:07:14 +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 {
|