Fix section declarations in .s files
This commit is contained in:
parent
d28e961adc
commit
e64f267e4c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user