forked from OSchip/llvm-project
parent
6efe955824
commit
0151d7b025
|
@ -347,11 +347,12 @@ void MipsAsmPrinter::EmitStartOfAsmFile(Module &M) {
|
||||||
OutStreamer.EmitRawText("\t.section .mdebug." + Twine(getCurrentABIString()));
|
OutStreamer.EmitRawText("\t.section .mdebug." + Twine(getCurrentABIString()));
|
||||||
|
|
||||||
// TODO: handle O64 ABI
|
// TODO: handle O64 ABI
|
||||||
if (Subtarget->isABI_EABI())
|
if (Subtarget->isABI_EABI()) {
|
||||||
if (Subtarget->isGP32bit())
|
if (Subtarget->isGP32bit())
|
||||||
OutStreamer.EmitRawText(StringRef("\t.section .gcc_compiled_long32"));
|
OutStreamer.EmitRawText(StringRef("\t.section .gcc_compiled_long32"));
|
||||||
else
|
else
|
||||||
OutStreamer.EmitRawText(StringRef("\t.section .gcc_compiled_long64"));
|
OutStreamer.EmitRawText(StringRef("\t.section .gcc_compiled_long64"));
|
||||||
|
}
|
||||||
|
|
||||||
// return to previous section
|
// return to previous section
|
||||||
OutStreamer.EmitRawText(StringRef("\t.previous"));
|
OutStreamer.EmitRawText(StringRef("\t.previous"));
|
||||||
|
|
Loading…
Reference in New Issue