1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-10 00:40:16 +00:00

Properly align asm & data (+ minor fixes) (#165)

* Add .align 4 directives to all data/ files (+ minor alignment fixes)

* Use .balign for everything and fix typo
This commit is contained in:
Roman971 2020-05-27 00:09:00 +02:00 committed by GitHub
parent ba0e57eecd
commit 53ceea717d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
979 changed files with 3631 additions and 1894 deletions

View file

@ -3,11 +3,11 @@
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.set gp=64 # allow use of 64-bit general purpose registers
.section .rodata
.align 4
.balign 16
glabel jtbl_8014A640
.word L800F9588
@ -44,7 +44,7 @@ glabel jtbl_8014A680
.word L800FACD4
.word L800FAC3C
.align 4 # file split? const data below used in multiple files
.balign 16 # file split? const data below used in multiple files
glabel D_8014A6C0
.half 0x1C00