aboutsummaryrefslogtreecommitdiffhomepage
path: root/obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'obj.h')
-rw-r--r--obj.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/obj.h b/obj.h
index 750ad48..fffc54c 100644
--- a/obj.h
+++ b/obj.h
@@ -1,7 +1,7 @@
#include "common.h"
extern struct objfile {
- const char *file;
+ const char *infile, *outfile;
uchar *textbegin, *textend;
uchar *code;
uchar dataalign, rodataalign, bssalign;
@@ -21,7 +21,7 @@ enum relockind {
};
enum section { Snone, Stext, Srodata, Sdata, Sbss };
-void objini(const char *);
+void objini(const char *infile, const char *outfile);
void objdeffunc(const char *nam, bool globl, uint off, uint siz);
uint objnewdat(const char *name, enum section, bool globl, uint siz, uint align);
void objreloc(const char *sym, enum relockind, enum section, uint off, vlong addend);