Merge "Use relocation-packer style relocation packing between 23 and 28." am: 730573cfc4
Change-Id: Ic8952057b2c0b631c4ff66e4a5029098f17f9926
This commit is contained in:
commit
6bae66aa74
1 changed files with 2 additions and 0 deletions
|
@ -367,6 +367,8 @@ func (linker *baseLinker) linkerFlags(ctx ModuleContext, flags Flags) Flags {
|
|||
flags.Global.LdFlags = append(flags.Global.LdFlags,
|
||||
"-Wl,--pack-dyn-relocs=android+relr",
|
||||
"-Wl,--use-android-relr-tags")
|
||||
} else if CheckSdkVersionAtLeast(ctx, 23) {
|
||||
flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--pack-dyn-relocs=android")
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue