Merge "Remove unused mips workarounds."

This commit is contained in:
Elliott Hughes
2020-03-16 21:06:13 +00:00
committed by Gerrit Code Review
15 changed files with 9 additions and 432 deletions

View File

@@ -307,8 +307,8 @@ func (sanitize *sanitize) begin(ctx BaseModuleContext) {
}
}
// CFI needs gold linker, and mips toolchain does not have one.
if !ctx.Config().EnableCFI() || ctx.Arch().ArchType == android.Mips || ctx.Arch().ArchType == android.Mips64 {
// Is CFI actually enabled?
if !ctx.Config().EnableCFI() {
s.Cfi = nil
s.Diag.Cfi = nil
}