Input section question

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

 



Hi,

I have a linker script file and have a question regarding its input section
syntax. I have looked over the internet but cannot find any information on
this.

The input section is specificed as *(.init .init.*) and not just *(.init) as
I would have expected. 

The .init within the parenthesis means any object file that contains an
.init section. But I don't quite understand what the .init.* means. 

Intuitively it looks as though it is saying also include object files that
start with .init. (for example .init.a, .init.any) or perhaps object files
that start with just .init (for example .inita or .initany). Would any of
these be close?

Regards John Farmer
-- 
View this message in context: http://www.nabble.com/Input-section-question-tp22659258p22659258.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[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