linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3 v3] kbuild changes, thin archives, --gc-sections
@ 2016-08-24 12:29 Nicholas Piggin
  2016-08-24 12:29 ` Nicholas Piggin
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Nicholas Piggin @ 2016-08-24 12:29 UTC (permalink / raw)
  To: Michal Marek, linux-kbuild
  Cc: Nicholas Piggin, linux-arch, Sam Ravnborg, Stephen Rothwell,
	Arnd Bergmann, Nicolas Pitre, Segher Boessenkool, Alan Modra

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(-)

-- 
2.8.1


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2016-09-10  4:05 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-24 12:29 [PATCH 0/3 v3] kbuild changes, thin archives, --gc-sections Nicholas Piggin
2016-08-24 12:29 ` Nicholas Piggin
2016-08-24 12:29 ` [PATCH 1/3] kbuild: allow architectures to use thin archives instead of ld -r Nicholas Piggin
2016-08-24 12:29 ` [PATCH 2/3] kbuild: allow archs to select link dead code/data elimination Nicholas Piggin
2016-08-24 12:29 ` [PATCH 3/3] kbuild: add arch specific post-link Makefile Nicholas Piggin
2016-08-24 12:29   ` Nicholas Piggin
2016-08-24 13:32   ` Nicholas Piggin
2016-08-24 13:06 ` [PATCH 0/3 v3] kbuild changes, thin archives, --gc-sections Arnd Bergmann
2016-08-24 13:06   ` Arnd Bergmann
2016-08-24 15:13   ` Nicolas Pitre
2016-08-24 14:21 ` David Howells
2016-08-24 14:21   ` David Howells
2016-08-24 15:21   ` Nicolas Pitre
2016-08-24 15:21     ` Nicolas Pitre
2016-08-25  2:56     ` Nicholas Piggin
2016-08-25  2:56       ` Nicholas Piggin
2016-09-09  0:23 ` Nicolas Pitre
2016-09-09  0:23   ` Nicolas Pitre
2016-09-09 10:59   ` Michal Marek
2016-09-10  4:05     ` Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).