From e64f267e4c94e537d8c9ba6481b295a307440aa2 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Fri, 25 May 2018 19:35:00 +0200 Subject: [PATCH] Fix section declarations in .s files --- k11_extension/source/start.s | 4 ++-- k11_extension/source/utils.s | 6 +++--- sysmodules/rosalina/source/input_redirection_hooks.s | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/k11_extension/source/start.s b/k11_extension/source/start.s index 3632d51..bbf9d3b 100644 --- a/k11_extension/source/start.s +++ b/k11_extension/source/start.s @@ -22,8 +22,8 @@ @ or requiring that modified versions of such material be marked in @ reasonable ways as different from the original version. -.section .text.start -.balign 4 +.section .text.start, "ax", %progbits +.balign 32 .global _start _start: b start diff --git a/k11_extension/source/utils.s b/k11_extension/source/utils.s index fef568d..671ab31 100644 --- a/k11_extension/source/utils.s +++ b/k11_extension/source/utils.s @@ -118,12 +118,12 @@ safecpy: _safecpy_end: -.section .rodata +.section .rodata.safecpy_sz, "a", %progbits .global safecpy_sz safecpy_sz: .word _safecpy_end - safecpy -.bss +.section .bss.SGI0Handler, "aw", %nobits .balign 4 .global SGI0Handler @@ -131,7 +131,7 @@ SGI0Handler: .skip 4 @ see synchronization.c .balign 4 -.section .data +.section .data.customInterruptEvent, "aw", %progbits .balign 4 _customInterruptEventObj: .word SGI0Handler diff --git a/sysmodules/rosalina/source/input_redirection_hooks.s b/sysmodules/rosalina/source/input_redirection_hooks.s index 8fa4ba0..4ab487c 100644 --- a/sysmodules/rosalina/source/input_redirection_hooks.s +++ b/sysmodules/rosalina/source/input_redirection_hooks.s @@ -24,7 +24,7 @@ @ Hooks mainly written by Stary (PoC originally by Shiny Quagsire) -.section .rodata +.section .rodata.input_redirection_hook, "a", %progbits .balign 4 .arm