[Fwd: Re: [linker] relaxation question]

M R Swami Reddy MR.Swami.Reddy@nsc.com
Wed Aug 12 12:12:00 GMT 2009


Hi,

The {u/s}leb128 directive(s), all the targets, which support linker 
relaxation has
the problem with c++ exceptions. Is this known/expected issue with Binutils?

Thanks
Swami
Nick Clifton wrote:
> Hi Daniel,
>
>   
>>> The problem is that LEB128 values are variable in length.  In theory
>>> the correct thing to do is:
>>>       
>> Alternatively, give the linker special knowledge of whatever the
>> LEB128s are appearing in.
>>     
>
> Hmm, I would not like that since:
>
>    a) LEB128 values could in theory be used anywhere, not just in DWARF 
> debugging sections.
>
>    b) The DWARF standard is evolving, so it is likely that there will be 
> new dwarf sections in the future which will make use of LEB128 encoded 
> values.
>
> Cheers
>    Nick
>
>
>
>
>
>
>
>   




More information about the Binutils mailing list