This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Input section question
- From: John Farmer <news02 at lavabit dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 23 Mar 2009 05:36:18 -0700 (PDT)
- Subject: 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.