lkml.org 
[lkml]   [2006]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Patch "i386: Relocatable kernel support" causes instant reboot
    Hi Segher,

    On Tue, 26 Dec 2006 13:43:31 +0100, Segher Boessenkool wrote:
    > > Thanks Jean. Your compressed/head.o looks fine.
    >
    > No it doesn't -- the .text.head section doesn't have
    > the ALLOC attribute set. The section then ends up not
    > being assigned to an output segment (during the linking
    > of vmlinux) and all hell breaks loose. The linker gives
    > you a warning about this btw.

    I didn't notice any warning, but maybe I just missed it.

    > Jean, how old is your binutils?

    2.14.90.0.6

    > Since 2.15 at least this should be set automatically
    > on sections named .text.<whatever> .
    >
    > It wouldn't hurt to specify it by hand in the source
    > code of course -- change
    >
    > .section ".text.head"
    >
    > to
    >
    > .section ".text.head","ax",@progbits
    >
    > in compressed/head.S .

    I don't have access to this test system at the moment, I'll check, test
    and report back once I have access again.

    Thanks,
    --
    Jean Delvare
    -
    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/

    \
     
     \ /
      Last update: 2006-12-26 15:07    [W:3.037 / U:0.232 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site