Change `splat.yaml` to add jlabel macro
This commit is contained in:
parent
2a602f70e7
commit
17bcb1984c
|
|
@ -8,3 +8,8 @@
|
|||
.global \label
|
||||
\label:
|
||||
.endm
|
||||
|
||||
.macro jlabel label
|
||||
.global \label
|
||||
\label:
|
||||
.endm
|
||||
|
|
|
|||
|
|
@ -29,6 +29,14 @@ options:
|
|||
# auto_all_sections: [".data", "rodata", ".bss"]
|
||||
# libultra_symbols: True
|
||||
# hardware_regs: True
|
||||
|
||||
# This tells splat/spimdisasm to use one kind of label for functions (glabel) and a different one for data and jumptable labels
|
||||
# This helps you to avoid marking some data as a function or viceversa
|
||||
asm_function_macro: glabel
|
||||
asm_data_macro: dlabel
|
||||
asm_jtbl_label_macro: jlabel
|
||||
asm_emit_size_directive: True
|
||||
|
||||
segments:
|
||||
- name: header
|
||||
type: header
|
||||
|
|
|
|||
Loading…
Reference in New Issue