This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: relocations in .debug_loc, .debug_range


> I'm wondering about how to determine if the address pair read from 
> loclist is terminating the sequence.  When no relocations are in effect, 
> that's easy: (0,0) is the terminal.  But with relocations?  Currently 
> it's considered a terminal if it's (0,0), and neither of the two 
> addresses was relocated.  Is that right?

Yes.  The terminator is a literal 0,0 and you should consider any relocated
address to be an address and never part of a terminator.


Thanks,
Roland

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