mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
Convert every submodule into subrepo (#170)
* remove ZAPD submodule * git subrepo clone https://github.com/zeldaret/ZAPD.git tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "ca229f19" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "ca229f19" git-subrepo: version: "0.4.3" origin: "???" commit: "???" * git subrepo clone https://github.com/simonlindholm/decomp-permuter.git tools/decomp-permuter subrepo: subdir: "tools/decomp-permuter" merged: "1e4b85a7" upstream: origin: "https://github.com/simonlindholm/decomp-permuter.git" branch: "main" commit: "1e4b85a7" git-subrepo: version: "0.4.3" origin: "???" commit: "???" * Remove asm-differ * git subrepo clone https://github.com/simonlindholm/asm-differ.git tools/asm-differ subrepo: subdir: "tools/asm-differ" merged: "eaf72269" upstream: origin: "https://github.com/simonlindholm/asm-differ.git" branch: "master" commit: "eaf72269" git-subrepo: version: "0.4.3" origin: "???" commit: "???" * remove asm-processor * git subrepo clone https://github.com/simonlindholm/asm-processor.git tools/asm-processor subrepo: subdir: "tools/asm-processor" merged: "85288fcd" upstream: origin: "https://github.com/simonlindholm/asm-processor.git" branch: "master" commit: "85288fcd" git-subrepo: version: "0.4.3" origin: "???" commit: "???" * remove .gitmodules file * Update REAMDE * Update warnings
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
// COMPILE-FLAGS: -O2
|
||||
// OBJDUMP-FLAGS: -srt
|
||||
static int xtext(int a, int b, int c);
|
||||
const int rodata1[] = {1};
|
||||
static const int rodata2[] = {2};
|
||||
int data1[] = {3};
|
||||
static int data2[] = {4};
|
||||
int bss1;
|
||||
static int bss2;
|
||||
|
||||
GLOBAL_ASM(
|
||||
glabel bar
|
||||
lui $a0, %hi(rodata2)
|
||||
lw $a0, %lo(rodata2)($a0)
|
||||
lui $a1, %hi(data2)
|
||||
lw $a1, %lo(data2)($a0)
|
||||
lui $a2, %hi(bss2)
|
||||
lw $a2, %lo(bss2)($a0)
|
||||
jal xtext
|
||||
nop
|
||||
jr $ra
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
)
|
||||
|
||||
static int xtext(int a, int b, int c) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
void baz(void) {
|
||||
xtext(bss2, rodata2[0], data2[0]);
|
||||
}
|
||||
Reference in New Issue
Block a user