Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
smol
Commits
48fa48e7
Commit
48fa48e7
authored
Aug 13, 2019
by
PoroCYon
Committed by
PoroCYon
Aug 12, 2019
Browse files
fix 32-bit not working
parent
788135c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
48fa48e7
...
...
@@ -42,7 +42,7 @@ CXXFLAGS += -m$(BITS) $(shell pkg-config --cflags sdl2)
LIBS
=
-lc
SMOLFLAGS
+=
ASFLAGS
+=
-D
USE_INTERP
-DNO_START_ARG
-DUNSAFE_DYNAMIC
-DUSE_DNLOAD_LOADER
#-DALIGN_STACK
ASFLAGS
+=
-D
ALIGN_STACK
-DUSE_INTERP
#
-DUSE_DNLOAD_LOADER
#-DUSE_DNLOAD_LOADER #-DUSE_DT_DEBUG #-DUSE_DL_FINI #-DNO_START_ARG #-DUNSAFE_DYNAMIC
NASM
?=
nasm
...
...
rt/loader32.asm
View file @
48fa48e7
...
...
@@ -19,6 +19,8 @@ _smol_linkoff:
%endif
_smol_start:
mov
eax
,
[
esp
-
32
]
; ???
%ifdef USE_DL_FINI
push
edx
; _dl_fini
%endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment