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

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

 



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*
-
: send the line "unsubscribe linux-ia64" 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]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux