This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Input section question


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]