Merge "Revert "Disable relocation_packer and migrate to SHT_RELR sections."" am: fd5059ff10

am: c9e08d397c

Change-Id: I845618811532032f7d9193e954ecf750041f2aa6
This commit is contained in:
Rahul Chaudhry 2018-03-24 06:52:47 +00:00 committed by android-build-merger
commit eae3a62827
4 changed files with 1 additions and 11 deletions

View File

@ -33,7 +33,6 @@ var (
"-Wl,--fix-cortex-a53-843419",
"-fuse-ld=gold",
"-Wl,--icf=safe",
"-Wl,--experimental-use-relr",
}
arm64Cppflags = []string{}

View File

@ -37,7 +37,6 @@ var (
"-Wl,--icf=safe",
"-Wl,--hash-style=gnu",
"-Wl,-m,armelf",
"-Wl,--experimental-use-relr",
}
armArmCflags = []string{

View File

@ -30,7 +30,6 @@ var (
x86_64Ldflags = []string{
"-Wl,--hash-style=gnu",
"-Wl,--experimental-use-relr",
}
x86_64ArchVariantCflags = map[string][]string{

View File

@ -45,14 +45,7 @@ type relocationPacker struct {
}
func (p *relocationPacker) packingInit(ctx BaseModuleContext) {
// Disable relocation_packer and migrate to SHT_RELR sections.
//
// Proposal for adding SHT_RELR sections in generic-abi is at
// https://groups.google.com/forum/#!topic/generic-abi/bX460iggiKg
//
// TODO: Remove relocation_packer and associated build logic.
enabled := false
enabled := true
// Relocation packer isn't available on Darwin yet
if runtime.GOOS == "darwin" {
enabled = false