This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

Re: linkonce directive


> If this directive is specified then we cannot have redundant sections.
> (i.e)If the section name and sections contents are same then that
> section will be deleted from the '.o' file.

Almost.  If you have MORE THAN ONE section with that name and those
contents, there will be ONE copy in the output, shared amongst
everyone that needs it.

Think of it as a simple compression scheme.


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