kbuild changes, thin archives, --gc-sections
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 9 repliesIn review
- v26 patches 11 repliesSuperseded
- v1 RFC5 patches 33 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | kbuild: allow architectures to use thin archives instead of ld -rarch/ scripts/ scripts/ | +85 | 0 replies | |
| 2/3 | kbuild: allow archs to select link dead code/data eliminationMakefile arch/ include/ +4 more | +104 | 0 replies | |
| 3/3 | kbuild: add arch specific post-link MakefileDocumentation/ Makefile arch/ +1 more | +39 | 1 reply |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Arnd Bergmann | Nicolas Pitre |
|---|---|---|
| Series | A-b | A-b |
| 1/3 | ||
| 2/3 | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3 v3] kbuild changes, thin archives, --gc-sections
Hi Michal,
I ended up deciding to do a v3, because I had several changes accumulated, as described in patches.
I've also left off the powerpc arch patches -- they can be found in previous posts, for reference.
I've again tested ARM and it seems to be building okay and without performance regression with my configurations. I think it's going to be a matter of some toolchain options for them to go through. arm64, x86, powerpc, and arm for me all built fine with thin archives and --gc-sections enabled, so I can't see there being a fundamental issue that can't be solved. Worst case, the incremental link option can remain for a time.
Thanks,
Nick
Nicholas Piggin (2):
kbuild: allow archs to select link dead code/data elimination
kbuild: add arch specific post-link Makefile
Stephen Rothwell (1):
kbuild: allow architectures to use thin archives instead of ld -r
Documentation/kbuild/makefiles.txt | 16 +++++++++ Makefile | 19 ++++++++-- arch/Kconfig | 26 ++++++++++++++ include/asm-generic/vmlinux.lds.h | 52 ++++++++++++++++------------ include/linux/compiler.h | 23 ++++++++++++ include/linux/export.h | 30 ++++++++-------- include/linux/init.h | 38 +++++++------------- init/Makefile | 2 ++ scripts/Makefile.build | 23 +++++++++--- scripts/Makefile.modpost | 14 +++++--- scripts/link-vmlinux.sh | 71 ++++++++++++++++++++++++++++++++------ 11 files changed, 228 insertions(+), 86 deletions(-)
Signature · 1 line
2.8.1