From ccd6e317679ff7dffcca60c4e3d95c96d286fbbe Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Fri, 26 Dec 2025 16:14:17 +0100 Subject: [PATCH] Fix progbits flags for iwram asm functions (#8627) --- src/crt0.s | 2 +- src/decompress_asm.s | 2 +- src/m4a_1.s | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/crt0.s b/src/crt0.s index bd0eb9426c..341f14c379 100644 --- a/src/crt0.s +++ b/src/crt0.s @@ -37,7 +37,7 @@ sp_irq: .word IWRAM_END - 0x60 .pool .arm - .section .iwram.code + .section .iwram.code, "ax", %progbits .align 2, 0 IntrMain:: mov r3, #REG_BASE diff --git a/src/decompress_asm.s b/src/decompress_asm.s index bfe690ef60..9704d83a6a 100644 --- a/src/decompress_asm.s +++ b/src/decompress_asm.s @@ -1,7 +1,7 @@ .syntax unified .arm - .section .iwram.code + .section .iwram.code, "ax", %progbits .align 2 .global FastUnsafeCopy32 diff --git a/src/m4a_1.s b/src/m4a_1.s index 4c0c8f7f89..cc335f0d4c 100644 --- a/src/m4a_1.s +++ b/src/m4a_1.s @@ -85,7 +85,7 @@ lt_o_SoundInfo_pcmBuffer: .word o_SoundInfo_pcmBuffer lt_PCM_DMA_BUF_SIZE: .word PCM_DMA_BUF_SIZE thumb_func_end SoundMain - .section .iwram.code + .section .iwram.code, "ax", %progbits thumb_func_start SoundMainRAM SoundMainRAM: ldrb r3, [r0, o_SoundInfo_reverb]