This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: relocations in .debug_loc, .debug_range
- From: Roland McGrath <roland at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sun, 15 Feb 2009 13:52:08 -0800
- Subject: 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