Fix progbits flags for iwram asm functions (#8627)

This commit is contained in:
DizzyEggg 2025-12-26 16:14:17 +01:00 committed by GitHub
parent c6f9700414
commit ccd6e31767
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ sp_irq: .word IWRAM_END - 0x60
.pool .pool
.arm .arm
.section .iwram.code .section .iwram.code, "ax", %progbits
.align 2, 0 .align 2, 0
IntrMain:: IntrMain::
mov r3, #REG_BASE mov r3, #REG_BASE

View File

@ -1,7 +1,7 @@
.syntax unified .syntax unified
.arm .arm
.section .iwram.code .section .iwram.code, "ax", %progbits
.align 2 .align 2
.global FastUnsafeCopy32 .global FastUnsafeCopy32

View File

@ -85,7 +85,7 @@ lt_o_SoundInfo_pcmBuffer: .word o_SoundInfo_pcmBuffer
lt_PCM_DMA_BUF_SIZE: .word PCM_DMA_BUF_SIZE lt_PCM_DMA_BUF_SIZE: .word PCM_DMA_BUF_SIZE
thumb_func_end SoundMain thumb_func_end SoundMain
.section .iwram.code .section .iwram.code, "ax", %progbits
thumb_func_start SoundMainRAM thumb_func_start SoundMainRAM
SoundMainRAM: SoundMainRAM:
ldrb r3, [r0, o_SoundInfo_reverb] ldrb r3, [r0, o_SoundInfo_reverb]