diff options
Diffstat (limited to 'obj.h')
| -rw-r--r-- | obj.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |