Skip to content

Register save/restore function build improvements

Nicholas Piggin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5powerpc/64: place sfpr section explicitly with the linker scriptarch/powerpc/kernel/vmlinux.lds.S+8 -01 reply
2/5powerpc/64: do not link crtsavres.o in vmlinuxarch/powerpc/lib/Makefile+6 -20 replies
3/5powerpc/64: do not link crtsaveres.o in bootarch/powerpc/boot/Makefile arch/powerpc/boot/crtsavres.S+6 -51 reply
4/5powerpc/64: do not create new section for save/restore functionsarch/powerpc/lib/crtsavres.S+2 -40 replies
5/5powerpc/64: Linker on-demand sfpr functions for modulesarch/powerpc/Makefile arch/powerpc/lib/Makefile+18 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Register save/restore function build improvements

These are some minor improvements I came up when investigating "orphan" sections (.sfpr currently is). For 4.13.

Nicholas Piggin (5):
powerpc/64: place sfpr section explicitly with the linker script powerpc/64: do not link crtsavres.o in vmlinux powerpc/64: do not link crtsaveres.o in boot powerpc/64: do not create new section for save/restore functions powerpc/64: Linker on-demand save/restore functions for modules

 arch/powerpc/Makefile             | 10 ++++++++++
 arch/powerpc/boot/Makefile        |  3 ++-
 arch/powerpc/boot/crtsavres.S     |  8 ++++----
 arch/powerpc/kernel/vmlinux.lds.S |  8 ++++++++
 arch/powerpc/lib/Makefile         | 13 ++++++++++---
 arch/powerpc/lib/crtsavres.S      |  6 ++----
 6 files changed, 36 insertions(+), 12 deletions(-)
Signature · 1 line
2.11.0