What do two sections of same name mean in a linkerscipt?

PRASANTH RAJAGOPAL prasanthris@gmail.com
Wed May 4 13:01:00 GMT 2011


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



More information about the Gcc-help mailing list