DescriptionMove version branding to before relocation packing.
Objcopy knows nothing about the dynamic tags that point to packed
relocation data. If objcopy is run after relocation packing, and if it
moves the .android.rel.dyn section, these dynamic tags become invalid
and the crazy linker cannot load the library:
E/chromium_android_linker( 9584): Open:
Could not open libchrome.2180.0.so:
Bad packed relocations ident, expected APR1 or APA1
Currently, version branding happens at the end of building libchrome.so,
and after relocation packing. Re-order so that relocation packing again
comes after all other strip and/or objcopy operations.
BUG=417510
Committed: https://crrev.com/4749549c06525071692f777fc6a1fa5a9ad7f877
Cr-Commit-Position: refs/heads/master@{#298236}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|