powerpc: build / linker improvements
Status from this message: Applied to powerpc/next.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 5 repliesApplied
- v17 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- Move sys_call_table data.rel.ro patch to the end.
- And fix the changelog in that patch, the relocations were a red herring.
- Update the changelog in the __end_rodata patch.
- Align __end_rodata to strict align size.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | powerpc: move __end_rodata to cover arch read-only sectionsarch/ arch/ arch/ +2 more | +12 | 0 replies | |
| 2/7 | powerpc/32/build: move got1/got2 sections out of textarch/ | +11 | 0 replies | |
| 3/7 | powerpc/build: move got, toc, plt, branch_lt sections to read-onlyarch/ | +27 | 2 replies | |
| 4/7 | powerpc/build: move .data.rel.ro, .sdata2 to read-onlyarch/ | +12 | 0 replies | |
| 5/7 | powerpc/64/build: only include .opd with ELFv1arch/ | +2 | 0 replies | |
| 6/7 | powerpc/64/build: merge .got and .toc input sectionsarch/ | +1 | 2 replies | |
| 7/7 | powerpc/build: put sys_call_table in .data.rel.ro if RELOCATABLEarch/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/7] powerpc: build / linker improvements
This series is mainly about moving more things out of writable and executable memory, and slightly moving the linker script in the direction of the binutils ld internal linker script as we do.
Thanks,
Nick
Since v1:
- Move sys_call_table data.rel.ro patch to the end.
- And fix the changelog in that patch, the relocations were a red herring.
- Update the changelog in the __end_rodata patch.
- Align __end_rodata to strict align size.
Nicholas Piggin (7):
powerpc: move __end_rodata to cover arch read-only sections powerpc/32/build: move got1/got2 sections out of text powerpc/build: move got, toc, plt, branch_lt sections to read-only powerpc/build: move .data.rel.ro, .sdata2 to read-only powerpc/64/build: only include .opd with ELFv1 powerpc/64/build: merge .got and .toc input sections powerpc/build: put sys_call_table in .data.rel.ro if RELOCATABLE
arch/powerpc/kernel/systbl.S | 4 ++ arch/powerpc/kernel/vmlinux.lds.S | 85 +++++++++++++++--------- arch/powerpc/mm/book3s32/mmu.c | 2 +- arch/powerpc/mm/book3s64/hash_pgtable.c | 2 +- arch/powerpc/mm/book3s64/radix_pgtable.c | 6 +- arch/powerpc/mm/pgtable_32.c | 7 +- 6 files changed, 66 insertions(+), 40 deletions(-)
Signature · 1 line
2.37.2