objtool: Avoid pointless modifications
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | objtool: Optimize re-writing jump_labeltools/ | +1 | 3 replies | |
| 2/2 | objtool: Optimize/fix retpoline alternative generationtools/ tools/ tools/ | +11 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] objtool: Avoid pointless modifications
While chasing that libelf warning, I started wondering why we're re-writing the elf file to begin with, the second/noinstr pass shouldn't modify the image, so we shouldn't end up in elf_write() in the first place.
These here two patches seem to cure this and should thereby also improve performance somewhat.