Re: PATCH: Fix gnu-efi-3.0b-041222 for ia32

From: Matthew Wilcox <matthew_at_wil.cx>
Date: 2006-03-18 08:52:49
On Fri, Mar 17, 2006 at 01:46:57PM -0800, H. J. Lu wrote:
> On Fri, Mar 17, 2006 at 12:53:24PM -0800, James E Wilson wrote:
> > On Fri, 2006-03-17 at 12:45, James E Wilson wrote:
> > > That should be .text.*, not .text*.
> > 
> > And because .text.* doesn't match .text, this actually needs to be
> >     *(.text .text.*)
> 
> I don't think so. linker calls fnmatch to match section names by
> patterns.  According to my man page:
> 
> DESCRIPTION
>        The  fnmatch()  function checks whether the string argument
> matches the
>        pattern argument, which is a shell wildcard pattern.
> 
> ".text*" should work as a shell wildcard pattern.

I believe his point is that .text* matches .textual and .texterific and
many other sections which shouldn't be matched.  So you need to match
.text and .text.*, not just .text*
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Mar 18 08:53:23 2006

This archive was generated by hypermail 2.1.8 : 2006-03-18 08:54:02 EST