Handle .data.rel.ro correctly and use it for BPF
Status from this message: The following commit has been merged into the objtool/urgent branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 0 repliesApplied
- v22 patches 5 repliesSuperseded
Changes in v3 from the cover letter
- Rewrite patch titles and commit logs
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vmlinux.lds: Ensure that const vars with relocations are mapped R/Oinclude/ | +1 | 0 replies | |
| 2/2 | objtool: Fix C jump table annotations for Clanginclude/ tools/ tools/ | +6 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Tiezhu Yang |
|---|---|
| 1/2 | |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] Handle .data.rel.ro correctly and use it for BPF
From: Ard Biesheuvel <[email protected]>
LoongArch uses PIE codegen for the entire kernel, which has some implications for how .rodata is populated and emitted into vmlinux.
Changes since v2:
- Rewrite patch titles and commit logs
Changes since v1: [0]
- Always use .data.rel.ro.c_jump_table for C jump tables
- Add Tiezhu Yang's Tested-by
- Split into two patches and rebase onto Linus's tree
[0] https://lore.kernel.org/all/[email protected]/T/#u
Ard Biesheuvel (2):
vmlinux.lds: Ensure that const vars with relocations are mapped R/O
objtool: Fix C jump table annotations for Clang
include/asm-generic/vmlinux.lds.h | 2 +- include/linux/compiler.h | 2 +- tools/objtool/check.c | 7 ++++--- tools/objtool/include/objtool/special.h | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-)
Signature · 1 line
2.48.1.601.g30ceb7b040-goog