Merge "Clean up unused flags for LLD." am: 7f64ed9dcf am: f0f0f071a4

Change-Id: Ia1f63c05f14ebeae2e09ba02e9d5b47e3c493758
This commit is contained in:
Treehugger Robot
2020-04-14 22:45:44 +00:00
committed by Automerger Merge Worker
2 changed files with 0 additions and 4 deletions

View File

@@ -37,10 +37,8 @@ var (
} }
arm64Ldflags = []string{ arm64Ldflags = []string{
"-Wl,-m,aarch64_elf64_le_vec",
"-Wl,--hash-style=gnu", "-Wl,--hash-style=gnu",
"-Wl,-z,separate-code", "-Wl,-z,separate-code",
"-fuse-ld=gold",
"-Wl,--icf=safe", "-Wl,--icf=safe",
} }

View File

@@ -80,10 +80,8 @@ var ClangUnknownCflags = sorted([]string{
// Ldflags that should be filtered out when linking with clang lld // Ldflags that should be filtered out when linking with clang lld
var ClangUnknownLldflags = sorted([]string{ var ClangUnknownLldflags = sorted([]string{
"-fuse-ld=gold",
"-Wl,--fix-cortex-a8", "-Wl,--fix-cortex-a8",
"-Wl,--no-fix-cortex-a8", "-Wl,--no-fix-cortex-a8",
"-Wl,-m,aarch64_elf64_le_vec",
}) })
var ClangLibToolingUnknownCflags = sorted([]string{}) var ClangLibToolingUnknownCflags = sorted([]string{})