Merge patch series "riscv: vdso.lds.S: some improvement"
authorPalmer Dabbelt <palmer@rivosinc.com>
Sun, 5 Nov 2023 22:15:17 +0000 (14:15 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sun, 5 Nov 2023 22:15:17 +0000 (14:15 -0800)
commit7f00a975005f5656ee2bf656bab1c1657c587e2b
treea9994df59305752bab602d83708f8e107c899232
parentb8a03a634129b61a7ec69ece4460297ffbd790dc
parent8f8c1ff879fab60f80f3a7aec3000f47e5b03ba9
Merge patch series "riscv: vdso.lds.S: some improvement"

Jisheng Zhang <jszhang@kernel.org> says:

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.

* b4-shazam-merge:
  riscv: vdso.lds.S: remove hardcoded 0x800 .text start addr
  riscv: vdso.lds.S: merge .data section into .rodata section
  riscv: vdso.lds.S: drop __alt_start and __alt_end symbols

Link: https://lore.kernel.org/linux-riscv/20221123161805.1579-1-jszhang@kernel.org/
Link: https://lore.kernel.org/r/20230912072015.2424-1-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>