Commit 48fa48e7 authored by PoroCYon's avatar PoroCYon Committed by PoroCYon
Browse files

fix 32-bit not working

parent 788135c6
......@@ -42,7 +42,7 @@ CXXFLAGS += -m$(BITS) $(shell pkg-config --cflags sdl2)
LIBS=-lc
SMOLFLAGS +=
ASFLAGS += -DUSE_INTERP -DNO_START_ARG -DUNSAFE_DYNAMIC -DUSE_DNLOAD_LOADER #-DALIGN_STACK
ASFLAGS += -DALIGN_STACK -DUSE_INTERP #-DUSE_DNLOAD_LOADER
#-DUSE_DNLOAD_LOADER #-DUSE_DT_DEBUG #-DUSE_DL_FINI #-DNO_START_ARG #-DUNSAFE_DYNAMIC
NASM ?= nasm
......
......@@ -19,6 +19,8 @@ _smol_linkoff:
%endif
_smol_start:
mov eax, [esp - 32] ; ???
%ifdef USE_DL_FINI
push edx ; _dl_fini
%endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment