This is the mail archive of the binutils@sourceware.org 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: gold patch to discard .note.callgraph sections in the final link.


On Thu, Sep 22, 2011 at 1:36 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, Sep 22, 2011 at 1:11 PM, Cary Coutant <ccoutant@google.com> wrote:
>>> As I understand it, SHF_EXCLUDE sections should not be discarded by an
>>> ld -r link. ?If gold is doing that today, which it probably is, that
>>> should be fixed. ?So, yeah, SHF_EXCLUDE sounds like a much better way to
>>> deal with this.
>>
>> Sounds good to me. Now we either need an assembly syntax for
>> SHF_EXCLUDE, or Sri will need to add his section to the list of
>> special cases in special_sections[] in bfd/elf.c.
>>
>
> See:
>
> http://sourceware.org/ml/binutils/2010-05/msg00136.html

Thanks.

-Sri.

>
> --
> H.J.
>


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