Re: [PATCH 15/15] modpost: convert modpost to use HEAD_TEXT_SECTIONmacro.

From: Anders Kaseorg
Date: Sun Apr 26 2009 - 18:19:41 EST


On Sun, 26 Apr 2009, Sam Ravnborg wrote:
> I have seen linkers that added a number after the section names
> in certain situations. Often this is due to mix of sections
> with different flags ("ax" versus no "ax").
> This is the background for the wildcard.
>
> With your patchset we should not see any such users - but we
> should then warn if they showed up anyway if we do not silently
> support them.

Right, that is exactly the purpose of my
[PATCH] modpost: Check the section flags, not name, to catch missing
"ax"/"aw"
<http://lkml.org/lkml/2009/2/26/503>
which is also the second patch in this thread (as [PATCH v3 2/3]).

This patch also catches some possible bugs that the existing check misses,
even without -ffunction-sections, so it would be nice to get it merged
independently.

Anders
--
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/