All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] LD_DEAD_CODE_DATA_ELIMINATION fixes and enabling for powerpc
@ 2018-04-20  7:34 ` Nicholas Piggin
  0 siblings, 0 replies; 45+ messages in thread
From: Nicholas Piggin @ 2018-04-20  7:34 UTC (permalink / raw)
  To: linuxppc-dev
  Cc: Nicholas Piggin, linux-arch, linux-kbuild, Christophe Leroy,
	Nicolas Pitre

A few people have been interested in this again. And I promised
if it remains dead code it should be removed, so I would like to
have another try.

I think I got snagged on the modules problem last time and did
not take the time to work it out, this time I just turned off the
compile options for modules (the linker option was never set anyway
so no loss).

This includes some linker script catches and ideas from others, I
didn't documnt them all, but thanks for looking.

I would be interested to help other archs get this working too, if
anybody needs some help.

Thanks,
Nick

Nicholas Piggin (4):
  kbuild: Fix asm-generic/vmlinux.lds.h for
    LD_DEAD_CODE_DATA_ELIMINATION
  kbuild: LD_DEAD_CODE_DATA_ELIMINATION no
    -ffunction-sections/-fdata-sections for module build
  kbuild: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selectable if
    enabled
  powerpc: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selected

 Makefile                          |  4 +--
 arch/Kconfig                      | 15 ----------
 arch/powerpc/Kconfig              |  1 +
 arch/powerpc/kernel/vmlinux.lds.S | 22 +++++++-------
 include/asm-generic/vmlinux.lds.h | 49 ++++++++++++++++++-------------
 init/Kconfig                      | 27 +++++++++++++++++
 6 files changed, 70 insertions(+), 48 deletions(-)

-- 
2.17.0


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

end of thread, other threads:[~2018-05-14 19:16 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-20  7:34 [PATCH 0/4] LD_DEAD_CODE_DATA_ELIMINATION fixes and enabling for powerpc Nicholas Piggin
2018-04-20  7:34 ` Nicholas Piggin
2018-04-20  7:34 ` [PATCH 1/4] kbuild: Fix asm-generic/vmlinux.lds.h for LD_DEAD_CODE_DATA_ELIMINATION Nicholas Piggin
2018-04-20  7:34   ` Nicholas Piggin
2018-04-20  7:34 ` [PATCH 2/4] kbuild: LD_DEAD_CODE_DATA_ELIMINATION no -ffunction-sections/-fdata-sections for module build Nicholas Piggin
2018-04-20  7:34   ` Nicholas Piggin
2018-04-20  7:34 ` [PATCH 3/4] kbuild: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selectable if enabled Nicholas Piggin
2018-04-20  7:34   ` Nicholas Piggin
2018-04-20  7:34 ` [PATCH 4/4] powerpc: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selected Nicholas Piggin
2018-04-20  7:34   ` Nicholas Piggin
2018-04-20 10:00   ` Mathieu Malaterre
2018-04-20 10:00     ` Mathieu Malaterre
2018-04-20 10:41     ` Nicholas Piggin
2018-04-20 10:41       ` Nicholas Piggin
2018-04-20 20:08       ` Mathieu Malaterre
2018-04-20 20:08         ` Mathieu Malaterre
2018-04-21  2:48         ` Nicholas Piggin
2018-04-21  2:48           ` Nicholas Piggin
2018-05-02  9:17           ` Mathieu Malaterre
2018-05-02  9:17             ` Mathieu Malaterre
2018-05-02 12:24             ` Nicholas Piggin
2018-05-02 12:24               ` Nicholas Piggin
2018-05-14 19:10               ` Mathieu Malaterre
2018-05-14 19:10                 ` Mathieu Malaterre
2018-04-21  7:16         ` christophe leroy
2018-04-21  7:16           ` christophe leroy
2018-04-23 11:01           ` Mathieu Malaterre
2018-04-23 11:01             ` Mathieu Malaterre
2018-04-23 11:01             ` Mathieu Malaterre
2018-05-07  0:46       ` Masahiro Yamada
2018-05-07  0:46         ` Masahiro Yamada
2018-05-07  9:53         ` Nicholas Piggin
2018-05-07  9:53           ` Nicholas Piggin
2018-04-20 10:01   ` Christophe LEROY
2018-04-20 10:01     ` Christophe LEROY
2018-04-20 10:36     ` Nicholas Piggin
2018-04-20 10:36       ` Nicholas Piggin
2018-04-20 13:21       ` Christophe LEROY
2018-04-20 13:21         ` Christophe LEROY
2018-04-20 10:39   ` Christophe LEROY
2018-04-20 10:39     ` Christophe LEROY
2018-04-20  9:59 ` [PATCH 0/4] LD_DEAD_CODE_DATA_ELIMINATION fixes and enabling for powerpc Mathieu Malaterre
2018-04-20  9:59   ` Mathieu Malaterre
2018-04-20 10:02 ` Christophe LEROY
2018-04-20 10:02   ` Christophe LEROY

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.