Messages in this thread | | | Date | Sun, 26 Apr 2009 18:18:48 -0400 (EDT) | From | Anders Kaseorg <> | Subject | Re: [PATCH 15/15] modpost: convert modpost to use HEAD_TEXT_SECTION macro. |
| |
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
| |