diff options
| author | 2025-10-18 18:12:19 +0200 | |
|---|---|---|
| committer | 2025-10-18 18:12:19 +0200 | |
| commit | 99adb48d94c59cb2e5701ca39d7c40d4f63459b3 (patch) | |
| tree | be3c432db54dd7f4e1ceab70848543bba1a4ead8 /obj.h | |
| parent | ffca6b54a9654005a121c3557bb8b245ae65ce55 (diff) | |
#pragma once
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); |