mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-20 00:52:33 +00:00
Add rodata where appropriate
This commit is contained in:
@@ -30,7 +30,7 @@ DEFAULT_PRINT_OPTIONS :: isa.DEFAULT_PRINT_OPTIONS
|
||||
|
||||
// ---- ABI register name tables ----------------------------------------------
|
||||
|
||||
@(private="file")
|
||||
@(rodata, private="file")
|
||||
GPR_NAMES_ABI := [32]string{
|
||||
"zero", "at",
|
||||
"v0", "v1",
|
||||
|
||||
@@ -33,7 +33,7 @@ Print_Options :: isa.Print_Options
|
||||
Print_Result :: isa.Print_Result
|
||||
DEFAULT_PRINT_OPTIONS :: isa.DEFAULT_PRINT_OPTIONS
|
||||
|
||||
@(private="file")
|
||||
@(rodata, private="file")
|
||||
GPR_ABI := [32]string{
|
||||
"zero", "ra", "sp", "gp", "tp",
|
||||
"t0", "t1", "t2",
|
||||
@@ -43,7 +43,7 @@ GPR_ABI := [32]string{
|
||||
"t3", "t4", "t5", "t6",
|
||||
}
|
||||
|
||||
@(private="file")
|
||||
@(rodata, private="file")
|
||||
FPR_ABI := [32]string{
|
||||
"ft0", "ft1", "ft2", "ft3", "ft4", "ft5", "ft6", "ft7",
|
||||
"fs0", "fs1",
|
||||
|
||||
@@ -27,7 +27,7 @@ Print_Options :: isa.Print_Options
|
||||
Print_Result :: isa.Print_Result
|
||||
DEFAULT_PRINT_OPTIONS :: isa.DEFAULT_PRINT_OPTIONS
|
||||
|
||||
@(private="file")
|
||||
@(rodata, private="file")
|
||||
GPR_NAMES_ABI := [32]string{
|
||||
"zero", "at",
|
||||
"v0", "v1",
|
||||
@@ -39,7 +39,7 @@ GPR_NAMES_ABI := [32]string{
|
||||
"gp", "sp", "fp", "ra",
|
||||
}
|
||||
|
||||
@(private="file")
|
||||
@(rodata, private="file")
|
||||
CP0_NAMES := [16]string{
|
||||
"sp_mem_addr", "sp_dram_addr", "sp_rd_len", "sp_wr_len",
|
||||
"sp_status", "sp_dma_full", "sp_dma_busy", "sp_semaphore",
|
||||
|
||||
Reference in New Issue
Block a user