Skip to content

riscv: vdso.lds.S: some improvement

Jisheng Zhang linux-riscv lkml 2 versions – Applied

Status from this message: This series was applied to riscv/linux.git (for-next)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/23 patches 0 repliesApplied 3/3
  2. v1 posting 1/23 patches 4 repliesSuperseded

Patches in v1 posting 2/2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3riscv: vdso.lds.S: drop __alt_start and __alt_end symbolsarch/riscv/kernel/vdso/vdso.lds.S+0 -20 repliesApplied
2/3riscv: vdso.lds.S: merge .data section into .rodata sectionarch/riscv/kernel/vdso/vdso.lds.S+7 -80 repliesApplied
3/3riscv: vdso.lds.S: remove hardcoded 0x800 .text start addrarch/riscv/kernel/vdso/vdso.lds.S+8 -90 repliesApplied

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchEmil Renner BerthingAndrew Jones
1/3T-b
2/3T-b
3/3T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RESEND PATCH 0/3] riscv: vdso.lds.S: some improvement

This series renews one of my last year RFC patch[1], tries to improve the vdso layout a bit.

patch1 removes useless symbols
patch2 merges .data section of vdso into .rodata because they are readonly
patch3 is the real renew patch, it removes hardcoded 0x800 .text start addr. But I rewrite the commit msg per Andrew's suggestions and move move .note, .eh_frame_hdr, and .eh_frame between .rodata and .text to keep the actual code well away from the non-instruction data.

Jisheng Zhang (3):
riscv: vdso.lds.S: drop __alt_start and __alt_end symbols
riscv: vdso.lds.S: merge .data section into .rodata section
riscv: vdso.lds.S: remove hardcoded 0x800 .text start addr

 arch/riscv/kernel/vdso/vdso.lds.S | 30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)
Signature · 1 line
2.40.1