Re: [PATCH] (updated, rolled up) make section names compatible with -ffunction-sections -fdata-sections

From: Mike Frysinger
Date: Thu Jul 17 2008 - 21:15:37 EST


On Thu, Jul 17, 2008 at 4:13 PM, Denys Vlasenko
<vda.linux@xxxxxxxxxxxxxx> wrote:
> Hi Andrew,
>
> Here is the update against current Linus tree,
> rolled up into one patch.
>
> James Bottomley suggested a different naming scheme:
> instead of swapping parts (.text.head -> .head.text),
> prepend .kernel to our special section names.
> This patch implements his idea.
>
> ppc and v850 are dropped per comments from arch people.
> parisc and x86 had minor fixes. x86 fix added proper
> executable bits to a section:
>
> -.section ".text.head"
> +.section ".kernel.text.head","ax",@progbits
>
> Does arch/m68k/kernel/sun3-head.S need the same fix?
>
> The patch is run-tested on x86_64.
>
> I would like to ask arch maintainers to ACK/NAK this patch,
> and Andrew to act accordingly.

the Blackfin piece is just one line and shouldnt be a problem from our
side. thanks.

btw, arch maintainers have an alias "linux-arch@xxxxxxxxxxxxxxx" ...
but it doesnt appear to be in MAINTAINERS ?
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/