Try orphan section warning again
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | powerpc/64: place sfpr section explicitly with the linker scriptarch/ | +8 | 0 replies | |
| 2/4 | powerpc/64: do not link crtsavres routines into vmlinuxarch/ | +6 | 0 replies | |
| 3/4 | powerpc/64: do not create new section for save/restore functionsarch/ | +2 | 0 replies | |
| 4/4 | powerpc: link warning for orphan sectionsarch/ arch/ include/ | +26 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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