Re: [PATCH 1/5] vmlinux.lds.h: Include *(.text.*) in TEXT_TEXT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Jun 2010 10:32:46 -0400 (EDT), Tim Abbott <tabbott@xxxxxxxxxxx> wrote:
> 
> I was planning to submit in the next couple weeks a change that adds 
> support for building the kernel with -ffunction-sections -fdata-sections, 
> which would have as a piece of it adding to TEXT_TEXT the following 
> expression:
> 
> 	*(.text.[A-Za-z$_]*)	/* handle -ffunction-sections */\
> 
> which should match the .text.foo sections generated by -ffunction-sections 
> but not the kernel's special sections which now all have names of the form 
> .text..foo.  I suspect after that change, the cleanup of deleting .text.* 
> from the various architecture linker scripts that reference it should be 
> possible.

Do these special kernel sections include things like the parisc
.text.do_softirq, .text.sys_exit, etc? James raised a good objection to
the parisc patch of this series. I'm guessing most people saw it already
but I'll paste it here for reference,


    This would destroy all of the named parisc text ordering we do above the
    removed line because now you'd have swept up all the function sections
    before we get to them, won't it?

    The ordering is an execution speed up on 32 bit systems because our
    relative jump is so short.

    James

Will you changes handle this OK?
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux