mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 04:22:37 +01:00
rplgen: Fix section flags for dimport section.
This commit is contained in:
parent
a5d15a7a3a
commit
5ce21d4fdc
@ -55,12 +55,11 @@ writeExports(std::ofstream &out,
|
|||||||
out << std::endl;
|
out << std::endl;
|
||||||
|
|
||||||
if (isData) {
|
if (isData) {
|
||||||
out << ".section .dimport_";
|
out << ".section .dimport_" << moduleName << ", \"a\", @0x80000002" << std::endl;
|
||||||
} else {
|
} else {
|
||||||
out << ".section .fimport_";
|
out << ".section .fimport_" << moduleName << ", \"ax\", @0x80000002" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
out << moduleName << ", \"ax\", @0x80000002" << std::endl;
|
|
||||||
out << ".align 4" << std::endl;
|
out << ".align 4" << std::endl;
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user