public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] UML - Add a .note.SuSE section
@ 2007-08-16 16:24 Jeff Dike
  2007-08-16 16:30 ` Arjan van de Ven
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Jeff Dike @ 2007-08-16 16:24 UTC (permalink / raw)
  To: Andrew Morton, stable
  Cc: LKML, uml-devel, Alberto Pires de Oliveira Neto, giedrius

[ This is both 2.6.24 and -stable material ]

SuSE seems to require that binaries have a .note.SuSE section.
Without it, UML segfaults if any parameters are passed on the command
line.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
--
 arch/um/kernel/dyn.lds.S |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6.22/arch/um/kernel/dyn.lds.S
===================================================================
--- linux-2.6.22.orig/arch/um/kernel/dyn.lds.S	2007-08-15 10:39:39.000000000 -0400
+++ linux-2.6.22/arch/um/kernel/dyn.lds.S	2007-08-15 12:07:10.000000000 -0400
@@ -10,6 +10,7 @@ SECTIONS
   PROVIDE (__executable_start = START);
   . = START + SIZEOF_HEADERS;
   .interp         : { *(.interp) }
+  .note.SuSE	  : { *(.note.SuSE) }
   __binary_start = .;
   . = ALIGN(4096);		/* Init code and data */
   _text = .;

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

end of thread, other threads:[~2007-08-23 14:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-16 16:24 [PATCH] UML - Add a .note.SuSE section Jeff Dike
2007-08-16 16:30 ` Arjan van de Ven
2007-08-16 16:54   ` [stable] " Greg KH
2007-08-16 19:26   ` Jeff Dike
2007-08-16 20:04     ` Sam Ravnborg
2007-08-16 21:05       ` Jeff Dike
2007-08-21 17:05         ` [uml-devel] " Blaisorblade
2007-08-22 16:37           ` Jeff Dike
2007-08-23 14:50             ` Blaisorblade
2007-08-16 16:39 ` [stable] " Chris Wright
2007-08-16 19:30 ` Andi Kleen

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