rplgen: Fix section flags for dimport section.

This commit is contained in:
James Benton 2018-05-29 10:52:02 +01:00
parent a5d15a7a3a
commit 5ce21d4fdc

View File

@ -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;