All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] [PATCH] UML - Add a .note.SuSE section
@ 2007-08-16 16:24 ` Jeff Dike
  0 siblings, 0 replies; 22+ messages in thread
From: Jeff Dike @ 2007-08-16 16:24 UTC (permalink / raw)
  To: Andrew Morton, stable
  Cc: Alberto Pires de Oliveira Neto, giedrius, LKML, uml-devel

[ 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 = .;

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

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

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

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.