diff options
author | David Guillen Fandos | 2021-03-18 01:18:39 +0100 |
---|---|---|
committer | David Guillen Fandos | 2021-03-18 01:20:14 +0100 |
commit | 9de4220376bbada53dd1be1d3e6f40a6914c991f (patch) | |
tree | 7f3a4dcb620ae825438dadc8dea01890e4b8bf56 /arm | |
parent | fb7ca09b019248b9a0aba481ea55386f71053d73 (diff) | |
download | picogpsp-9de4220376bbada53dd1be1d3e6f40a6914c991f.tar.gz picogpsp-9de4220376bbada53dd1be1d3e6f40a6914c991f.tar.bz2 picogpsp-9de4220376bbada53dd1be1d3e6f40a6914c991f.zip |
asm fixes for clang
Diffstat (limited to 'arm')
-rw-r--r-- | arm/arm_stub.S | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/arm/arm_stub.S b/arm/arm_stub.S index 27c7c64..e8f7316 100644 --- a/arm/arm_stub.S +++ b/arm/arm_stub.S @@ -8,6 +8,8 @@ .globl reg .globl palette_ram .globl palette_ram_converted +.globl reg_mode +.globl spsr #define REG_R0 (0 * 4) #define REG_R1 (1 * 4) @@ -765,12 +767,18 @@ execute_load_builder(u32, 32, ldrne, #0xF0000000) .data -.comm memory_map_read 0x8000 -.comm memory_map_write 0x8000 -.comm palette_ram 0x400 -.comm palette_ram_converted 0x400 -.comm spsr 24 -.comm reg_mode 196 +memory_map_read: + .space 0x8000 +memory_map_write: + .space 0x8000 +palette_ram: + .space 0x400 +palette_ram_converted: + .space 0x400 +spsr: + .space 24 +reg_mode: + .space 196 .globl reg .globl _reg |