Skip to content

riscv: improve link and support ARCH_WANT_LD_ORPHAN_WARN

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. v2 Latest5 patches 2 repliesApplied 5/5
  2. v14 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- add one more patch to catch .init.bss from EFI stub

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5riscv: lds: define RUNTIME_DISCARD_EXITarch/riscv/kernel/vmlinux.lds.S+1 -01 replyApplied
2/5riscv: vmlinux.lds.S: explicitly catch .rela.dyn symbolsarch/riscv/kernel/vmlinux.lds.S+4 -00 repliesApplied
3/5riscv: vmlinux.lds.S: explicitly catch .riscv.attributes sectionsarch/riscv/kernel/vmlinux.lds.S+1 -00 repliesApplied
4/5riscv: vmlinux.lds.S: explicitly catch .init.bss sections from EFI stubarch/riscv/kernel/vmlinux.lds.S+3 -00 repliesApplied
5/5riscv: select ARCH_WANT_LD_ORPHAN_WARN for !XIP_KERNELarch/riscv/Kconfig+1 -01 replyApplied

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchConor Dooley
1/5R-b
2/5
3/5
4/5
5/5R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/5] riscv: improve link and support ARCH_WANT_LD_ORPHAN_WARN

This series tries to improve link time handling of riscv:
patch1 adds the missing RUNTIME_DISCARD_EXIT as suggested by Masahiro.

Similar as other architectures such as x86, arm64 and so on, enable ARCH_WANT_LD_ORPHAN_WARN to enable linker orphan warnings to prevent from missing any new sections in future. So the following two patches are preparation ones, and the last patch finally selects ARCH_WANT_LD_ORPHAN_WARN

Since v1:
- add one more patch to catch .init.bss from EFI stub

Jisheng Zhang (5):
riscv: lds: define RUNTIME_DISCARD_EXIT
riscv: vmlinux.lds.S: explicitly catch .rela.dyn symbols
riscv: vmlinux.lds.S: explicitly catch .riscv.attributes sections
riscv: vmlinux.lds.S: explicitly catch .init.bss sections from EFI
stub
riscv: select ARCH_WANT_LD_ORPHAN_WARN for !XIP_KERNEL

 arch/riscv/Kconfig              | 1 +
 arch/riscv/kernel/vmlinux.lds.S | 9 +++++++++
 2 files changed, 10 insertions(+)
Signature · 7 lines
2.38.1


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv