Re: [PATCH] i386 kernel instant reboot with older binutils fix

2007-01-03 Thread Segher Boessenkool
Hopefully this patch should solve steve's issue too. Sure looks like it. o Older binutils required explicit flags to mark a section allocatable and executable(AX). Newer binutils automatically mark a section AX if the name starts with .text. More exactly, since 2.15 more section names ar

Re: [PATCH] i386 kernel instant reboot with older binutils fix

2007-01-03 Thread Jean Delvare
On Wed, 3 Jan 2007 14:53:26 +0100, Adrian Bunk wrote: > On Wed, Jan 03, 2007 at 09:46:45AM +0530, Vivek Goyal wrote: > > > > o i386 kernel reboots instantly if compiled with binutils older than > > 2.6.15. > > Should that have been "2.15"? > > And is the following perhaps the same issue? > >

Re: [PATCH] i386 kernel instant reboot with older binutils fix

2007-01-03 Thread Vivek Goyal
On Wed, Jan 03, 2007 at 02:53:26PM +0100, Adrian Bunk wrote: > On Wed, Jan 03, 2007 at 09:46:45AM +0530, Vivek Goyal wrote: > > > > o i386 kernel reboots instantly if compiled with binutils older than > > 2.6.15. > > Should that have been "2.15"? > Yes Adrian, it should be 2.15 instead. My mis

Re: [PATCH] i386 kernel instant reboot with older binutils fix

2007-01-03 Thread Adrian Bunk
On Wed, Jan 03, 2007 at 09:46:45AM +0530, Vivek Goyal wrote: > > o i386 kernel reboots instantly if compiled with binutils older than > 2.6.15. Should that have been "2.15"? And is the following perhaps the same issue? Subject: kernel immediately reboots instead of booting References : ht

Re: [PATCH] i386 kernel instant reboot with older binutils fix

2007-01-02 Thread Eric W. Biederman
Vivek Goyal <[EMAIL PROTECTED]> writes: > Hi Eric, > > This .text.head section is not part of vmlinux. This is part of uncompressed > portion in bzImage. arch/i386/boot/compressed/head.S. > > Hence, arch/i386/boot/compressed/vmlinux.lds should take care of it which > already has entry for linking

Re: [PATCH] i386 kernel instant reboot with older binutils fix

2007-01-02 Thread Vivek Goyal
On Tue, Jan 02, 2007 at 11:44:34PM -0700, Eric W. Biederman wrote: > Vivek Goyal <[EMAIL PROTECTED]> writes: > > > o i386 kernel reboots instantly if compiled with binutils older than > > 2.6.15. > > > > o Older binutils required explicit flags to mark a section allocatable > > and executable(

Re: [PATCH] i386 kernel instant reboot with older binutils fix

2007-01-02 Thread Eric W. Biederman
Vivek Goyal <[EMAIL PROTECTED]> writes: > o i386 kernel reboots instantly if compiled with binutils older than > 2.6.15. > > o Older binutils required explicit flags to mark a section allocatable > and executable(AX). Newer binutils automatically mark a section AX if > the name starts with .

[PATCH] i386 kernel instant reboot with older binutils fix

2007-01-02 Thread Vivek Goyal
o i386 kernel reboots instantly if compiled with binutils older than 2.6.15. o Older binutils required explicit flags to mark a section allocatable and executable(AX). Newer binutils automatically mark a section AX if the name starts with .text. o While defining a new section using assem