elf: Add test cases for 32-bit MIPS ABI (#3)

This commit is contained in:
Ayrton Muñoz
2022-05-02 15:13:13 +10:00
committed by GitHub
parent ca5d89a8e2
commit 894282b32a
4 changed files with 6 additions and 0 deletions
Executable
BIN
View File
Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
int main() {
return 0;
}
BIN
View File
Binary file not shown.
Executable
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
clang -c nostd.c --target=mipsel-unknown-elf -mabi=o32
mipsel-unknown-elf-ld --entry=0 nostd.o -o nostd