[PATCH] D69188: [llvm-objcopy] Preserve .ARM.attributes section when stripping files
Jake Ehrlich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 18:06:13 PDT 2019
jakehehrlich added a comment.
My impression is that a large fleet of devices for some reason decided to do this much like the infamous 8-byte aligned note bug. I think we should allow people to cope while giving them the best results possible. I'm personally in favor of adding this for now and removing it later personally.
However I have an even better solution that might work and its something I've been meaning to do for a while anyways. We should add `llvm-strip-gnu` and `llvm-objcopy-gnu` which act as really strong drop in replacements for GNU objcopy and strip. This lets us maintain the best possible results for 99% of users while allowing the 1% to not be blocked when they're doing something unsavory like relaying on a non-allocated section, or section headers at all, at runtime.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69188/new/
https://reviews.llvm.org/D69188
More information about the llvm-commits
mailing list