[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070816162428.GA8128@c2.user-mode-linux.org>
Date: Thu, 16 Aug 2007 12:24:28 -0400
From: Jeff Dike <jdike@...toit.com>
To: Andrew Morton <akpm@...l.org>, stable@...nel.org
Cc: LKML <linux-kernel@...r.kernel.org>,
uml-devel <user-mode-linux-devel@...ts.sourceforge.net>,
Alberto Pires de Oliveira Neto <apon1@...ra.com.br>,
giedrius@...lt
Subject: [PATCH] UML - Add a .note.SuSE section
[ 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@...ux.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 = .;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists