Merge "Use relocation-packer style relocation packing between 23 and 28." am: 730573cfc4
am: 6bae66aa74
Change-Id: I4cbf51d7a50365be96dc692f6d4955245b219fca
This commit is contained in:
@@ -367,6 +367,8 @@ func (linker *baseLinker) linkerFlags(ctx ModuleContext, flags Flags) Flags {
|
|||||||
flags.Global.LdFlags = append(flags.Global.LdFlags,
|
flags.Global.LdFlags = append(flags.Global.LdFlags,
|
||||||
"-Wl,--pack-dyn-relocs=android+relr",
|
"-Wl,--pack-dyn-relocs=android+relr",
|
||||||
"-Wl,--use-android-relr-tags")
|
"-Wl,--use-android-relr-tags")
|
||||||
|
} else if CheckSdkVersionAtLeast(ctx, 23) {
|
||||||
|
flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--pack-dyn-relocs=android")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user