From 99adb48d94c59cb2e5701ca39d7c40d4f63459b3 Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 18 Oct 2025 18:12:19 +0200 Subject: #pragma once --- obj.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'obj.h') 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); -- cgit v1.2.3