From 26355173f710eea899f55c96cb7dc5f3b5a3bf42 Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Sat, 19 Aug 2023 17:30:27 +0200 Subject: bootstrap: put strings in the data section --- bootstrap.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bootstrap.lua') diff --git a/bootstrap.lua b/bootstrap.lua index c0243c6..f7308fa 100755 --- a/bootstrap.lua +++ b/bootstrap.lua @@ -271,7 +271,10 @@ local function compile_fn() print("ret") + print("section .data") io.write(strings) + print("section .text") + print("end_" .. fn_id .. ":") end -- cgit v1.2.3