Skip to content

Try orphan section warning again

Nicholas Piggin linuxppc-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4powerpc/64: place sfpr section explicitly with the linker scriptarch/powerpc/kernel/vmlinux.lds.S+8 -00 replies
2/4powerpc/64: do not link crtsavres routines into vmlinuxarch/powerpc/lib/Makefile+6 -20 replies
3/4powerpc/64: do not create new section for save/restore functionsarch/powerpc/lib/crtsavres.S+2 -40 replies
4/4powerpc: link warning for orphan sectionsarch/powerpc/Makefile arch/powerpc/kernel/vmlinux.lds.S include/asm-generic/vmlinux.lds.h+26 -20 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/4] Try orphan section warning again

Hi,

The orphan section warning patch had a minor issue with unhandled .text.save.restore last time I sent it. I went back and tidied up crtsavres a bit, so after these, I think we can enable orphan section warnings.

There is a further step we can take which is to enable --save-restore-funcs for module link, which means 64-bit does not need crtsavres at all. That option is only in binutils 2.25 though, so I'll send that later.

Thanks,
Nick

Nicholas Piggin (4):
powerpc/64: place sfpr section explicitly with the linker script powerpc/64: do not link crtsavres routines into vmlinux powerpc/64: do not create new section for save/restore functions
powerpc: link warning for orphan sections

 arch/powerpc/Makefile             |  1 +
 arch/powerpc/kernel/vmlinux.lds.S | 24 ++++++++++++++++++++++--
 arch/powerpc/lib/Makefile         |  8 ++++++--
 arch/powerpc/lib/crtsavres.S      |  6 ++----
 include/asm-generic/vmlinux.lds.h | 11 +++++++++++
 5 files changed, 42 insertions(+), 8 deletions(-)
Signature · 1 line
2.10.2