mirror of
https://github.com/simonlindholm/decomp-permuter.git
synced 2026-11-07 09:16:08 -10:00
Update labels for better support with latest splat/spimdisasm (#190)
This commit is contained in:
1 parent
333b0c716c
commit
45981f9c46
1 file changed
+39
-11
+39
-11
@@ -1,22 +1,50 @@
|
||||
.set noat
|
||||
.set noreorder
|
||||
.set gp=64
|
||||
.macro glabel label
|
||||
.global \label
|
||||
|
||||
.macro glabel label, visibility=global
|
||||
.\visibility \label
|
||||
.type \label, @function
|
||||
\label:
|
||||
.endm
|
||||
|
||||
.macro dlabel label
|
||||
.global \label
|
||||
\label:
|
||||
.endm
|
||||
|
||||
.macro jlabel label
|
||||
\label:
|
||||
.endm
|
||||
|
||||
.macro endlabel label
|
||||
.size \label, . - \label
|
||||
.endm
|
||||
|
||||
.macro alabel label, visibility=global
|
||||
.\visibility \label
|
||||
.type \label, @function
|
||||
\label:
|
||||
.endm
|
||||
|
||||
.macro ehlabel label, visibility=global
|
||||
.\visibility \label
|
||||
\label:
|
||||
.endm
|
||||
|
||||
|
||||
.macro jlabel label, visibility=local
|
||||
\label:
|
||||
.endm
|
||||
|
||||
|
||||
.macro dlabel label, visibility=global
|
||||
.\visibility \label
|
||||
.type \label, @object
|
||||
\label:
|
||||
.endm
|
||||
|
||||
.macro enddlabel label
|
||||
.size \label, . - \label
|
||||
.endm
|
||||
|
||||
|
||||
.macro nonmatching label, size=1
|
||||
.global \label\().NON_MATCHING
|
||||
.type \label\().NON_MATCHING, @object
|
||||
.size \label\().NON_MATCHING, \size
|
||||
\label\().NON_MATCHING:
|
||||
.endm
|
||||
|
||||
# Float register aliases (o32 ABI)
|
||||
|
||||
Reference in new issue
Block a user