Re: What do two sections of same name mean in a linkerscipt?

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

 



PRASANTH RAJAGOPAL <prasanthris@xxxxxxxxx> writes:

> I read about gnu.linkonce. But I am confused about the idea behind the
> section names appearing twice:
>
> .text & .text.*
>
> Could someone explain me the difference?

The linker script language permits shell patterns.  The string ".text"
will only match a section named ".text".  The string ".text.*" will
match any section whose name begins with ".text.", such as ".text.fn".

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux