public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] section name cleanup for mn10300
@ 2009-04-30 23:54 Tim Abbott
  2009-04-30 23:54 ` [PATCH 1/6] mn10300: Use macros for .bss.page_aligned section Tim Abbott
  2009-05-01 14:35 ` [PATCH 0/6] section name cleanup for mn10300 David Howells
  0 siblings, 2 replies; 13+ messages in thread
From: Tim Abbott @ 2009-04-30 23:54 UTC (permalink / raw)
  To: Sam Ravnborg
  Cc: Linux kernel mailing list, Anders Kaseorg, Waseem Daher,
	Denys Vlasenko, Jeff Arnold, David Howells, Tim Abbott

This patch series cleans up the section names on the mn10300
architecture.  It requires the architecture-independent macro
definitions from this patch series:

<http://www.spinics.net/lists/mips/msg33499.html>

The long-term goal here is to add support for building the kernel with
-ffunction-sections -fdata-sections.  This requires renaming all the
magic section names in the kernel of the form .text.foo, .data.foo,
.bss.foo, and .rodata.foo to not have collisions with sections
generated for code like:

static int nosave = 0; /* -fdata-sections places in .data.nosave */
static void head(); /* -ffunction-sections places in .text.head */

Note that these patches have not been boot-tested (aside from testing
the analogous changes on x86), since I don't have access to the
appropriate hardware.

	-Tim Abbott


Tim Abbott (6):
  mn10300: Use macros for .bss.page_aligned section.
  mn10300: Drop unused .data.idt section.
  mn10300: use NOSAVE_DATA macro for .data.nosave section.
  mn10300: use new macro for .data.cacheline_aligned section.
  mn10300: use new macros for .data.init_task.
  mn10300: use new macro for .data.read_mostly section.

 arch/mn10300/kernel/init_task.c   |    3 +--
 arch/mn10300/kernel/vmlinux.lds.S |   29 ++++++-----------------------
 2 files changed, 7 insertions(+), 25 deletions(-)


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

end of thread, other threads:[~2009-05-01 15:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-30 23:54 [PATCH 0/6] section name cleanup for mn10300 Tim Abbott
2009-04-30 23:54 ` [PATCH 1/6] mn10300: Use macros for .bss.page_aligned section Tim Abbott
2009-04-30 23:54   ` [PATCH 2/6] mn10300: Drop unused .data.idt section Tim Abbott
2009-04-30 23:54     ` [PATCH 3/6] mn10300: use NOSAVE_DATA macro for .data.nosave section Tim Abbott
2009-04-30 23:54       ` [PATCH 4/6] mn10300: use new macro for .data.cacheline_aligned section Tim Abbott
2009-04-30 23:54         ` [PATCH 5/6] mn10300: use new macros for .data.init_task Tim Abbott
2009-04-30 23:54           ` [PATCH 6/6] mn10300: use new macro for .data.read_mostly section Tim Abbott
2009-05-01 14:46           ` [PATCH 5/6] mn10300: use new macros for .data.init_task David Howells
2009-05-01 15:00             ` Tim Abbott
2009-05-01 15:11               ` Sam Ravnborg
2009-05-01 14:35 ` [PATCH 0/6] section name cleanup for mn10300 David Howells
2009-05-01 14:48   ` Sam Ravnborg
2009-05-01 15:03     ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox