Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933736AbXHPQ0k (ORCPT ); Thu, 16 Aug 2007 12:26:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1764869AbXHPQ0c (ORCPT ); Thu, 16 Aug 2007 12:26:32 -0400 Received: from saraswathi.solana.com ([198.99.130.12]:51197 "EHLO saraswathi.solana.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764833AbXHPQ0b (ORCPT ); Thu, 16 Aug 2007 12:26:31 -0400 Date: Thu, 16 Aug 2007 12:24:28 -0400 From: Jeff Dike To: Andrew Morton , stable@kernel.org Cc: LKML , uml-devel , Alberto Pires de Oliveira Neto , giedrius@su.lt Subject: [PATCH] UML - Add a .note.SuSE section Message-ID: <20070816162428.GA8128@c2.user-mode-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1078 Lines: 28 [ 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 -- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/