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

Change-Id: Ifd83f983bae3d05c5977f1b3d955725f028d68cb
This commit is contained in:
Treehugger Robot
2020-04-14 22:34:25 +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{})