This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
What do two sections of same name mean in a linkerscipt?
- From: PRASANTH RAJAGOPAL <prasanthris at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 4 May 2011 18:30:51 +0530
- Subject: What do two sections of same name mean in a linkerscipt?
Hi,
I am a newbie.
I am trying to understand the following input section taken from a
linker script.
*(.text .text.* .gnu.linkonce.t.* .l1.text .l1.text.*)
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?
Thanks
Prasanth