From 45e554a9f961436d2ef6556960cad0aa966640c8 Mon Sep 17 00:00:00 2001 From: Veikko Sariola Date: Wed, 27 May 2020 13:17:28 +0300 Subject: [PATCH] Fix yasm warnings about flags being ignored on section redeclaration. --- src/sointu.asm | 2 ++ src/sointu.inc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/sointu.asm b/src/sointu.asm index 1941b50..0745d08 100644 --- a/src/sointu.asm +++ b/src/sointu.asm @@ -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 diff --git a/src/sointu.inc b/src/sointu.inc index b60a7aa..e4eeac1 100644 --- a/src/sointu.inc +++ b/src/sointu.inc @@ -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"