aboutsummaryrefslogtreecommitdiffhomepage
path: root/obj/obj.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-12-01 19:10:53 +0100
committerlemon <lsof@mailbox.org>2025-12-02 14:21:59 +0100
commitc14321c4d35549d989d614437953b36b8c771cc2 (patch)
tree2fb34cd361b0d8ee1d837932e5429c68d6148bdf /obj/obj.h
parent0e7a4cbf1d2655240dd2a7e3c289b1b19148cc64 (diff)
c: make tentative definitions work
Diffstat (limited to 'obj/obj.h')
-rw-r--r--obj/obj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/obj/obj.h b/obj/obj.h
index 235ab4d..8e9dea8 100644
--- a/obj/obj.h
+++ b/obj/obj.h
@@ -23,6 +23,7 @@ enum section { Snone, Stext, Srodata, Sdata, Sbss };
void objini(const char *infile, const char *outfile);
void objdeffunc(const char *nam, bool globl, uint off, uint siz);
+enum section objhassym(const char *name);
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);
void objfini(void);