Add Mips abiflags section to the oatfile.
Once this patch is merged, then the workaround patch:
0acb15ead6a554a6879b29fd90726b9ea8fd98c4
in bionic can be removed.
Change-Id: Ie06a3c4e384a23a77db7d04a2508edbf3a6d3933
diff --git a/oatdump/oatdump.cc b/oatdump/oatdump.cc
index b52f30e..4ca0ee5 100644
--- a/oatdump/oatdump.cc
+++ b/oatdump/oatdump.cc
@@ -147,6 +147,9 @@
bss->WriteNoBitsSection(oat_file_->BssSize());
}
+ if (isa == kMips || isa == kMips64) {
+ builder_->WriteMIPSabiflagsSection();
+ }
builder_->PrepareDynamicSection(
elf_file->GetPath(), rodata_size, text_size, oat_file_->BssSize());
builder_->WriteDynamicSection();