Fix yasm warnings about flags being ignored on section redeclaration.

This commit is contained in:
Veikko Sariola 2020-05-27 13:17:28 +03:00
parent 5e05057240
commit 45e554a9f9
2 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,8 @@
%endmacro
%endif
section .text ; yasm throws section redeclaration warnings if strucs are defined without a plain .text section
struc su_stack ; the structure of stack _as the units see it_
.retaddr RESPTR 1
%if BITS == 32 ; we dump everything with pushad, so this is unused in 32-bit

View File

@ -86,6 +86,8 @@
%define MONO 0
%define STEREO 1
section .text ; yasm throws section redeclaration warnings if strucs are defined without a plain .text section
%include "opcodes/flowcontrol.inc"
%include "opcodes/arithmetic.inc"
%include "opcodes/effects.inc"