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]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]