From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HXSHe-0008Td-FG for user-mode-linux-devel@lists.sourceforge.net; Fri, 30 Mar 2007 18:21:34 -0700 Received: from smtp008.mail.ukl.yahoo.com ([217.12.11.62]) by mail.sourceforge.net with smtp (Exim 4.44) id 1HXSHb-0000mB-KD for user-mode-linux-devel@lists.sourceforge.net; Fri, 30 Mar 2007 18:21:34 -0700 From: Blaisorblade Date: Sat, 31 Mar 2007 03:21:17 +0200 References: <20070330205938.984247529@mini.kroah.org> <20070330210412.GH29450@kroah.com> In-Reply-To: <20070330210412.GH29450@kroah.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200703310321.18453.blaisorblade@yahoo.it> Subject: Re: [uml-devel] [patch 06/37] UML - Fix static linking List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net Content-Transfer-Encoding: quoted-printable To: user-mode-linux-devel@lists.sourceforge.net Cc: Andrew Morton , Theodore Ts'o , Zwane Mwaikambo , Justin Forbes , Greg KH , JC.LAFOUCRIERE@cea.fr, linux-kernel@vger.kernel.org, Chris Wedgwood , torvalds@linux-foundation.org, Randy Dunlap , Michael Krufky , Chuck Ebbert , Dave Jones , akpm@linux-foundation.org, Jeff Dike , Chuck Wolber , stable@kernel.org, alan@lxorguk.ukuu.org.uk On venerd=EC 30 marzo 2007, Greg KH wrote: > -stable review patch. If anyone has any objections, please let us know. I have one objection, the fix has a typo! This is the additional fix=20 (note '.note' instead of 'note'): --- linux-2.6.git.orig/include/asm-um/common.lds.S +++ linux-2.6.git/include/asm-um/common.lds.S @@ -15,7 +15,7 @@ PROVIDE (_unprotected_end =3D .); . =3D ALIGN(4096); - .note : { *(note.*) } + .note : { *(.note.*) } __start___ex_table =3D .; __ex_table : { *(__ex_table) } __stop___ex_table =3D .; With this, the fix should be merged - I just re-hit this bug and rechecked = everything, now it's ok. > ------------------ > From: Jeff Dike > > During a static link, ld has started putting a .note section in the > .uml.setup.init section. This has the result that the UML setups > begin with 32 bytes of garbage and UML crashes immediately on boot. > > This patch creates a specific .note section for ld to drop this stuff > into. > > Signed-off-by: Jeff Dike > Signed-off-by: Greg Kroah-Hartman > > --- > include/asm-um/common.lds.S | 1 + > 1 file changed, 1 insertion(+) > > --- a/include/asm-um/common.lds.S > +++ b/include/asm-um/common.lds.S > @@ -15,6 +15,7 @@ > PROVIDE (_unprotected_end =3D .); > > . =3D ALIGN(4096); > + .note : { *(note.*) } > __start___ex_table =3D .; > __ex_table : { *(__ex_table) } > __stop___ex_table =3D .; --=20 Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE= VDEV _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel