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: [Fwd: Re: [linker] relaxation question]


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










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