This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] readelf: When highpc is in constant form also print as address.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 26 Mar 2013 09:46:57 +0100
- Subject: Re: [PATCH] readelf: When highpc is in constant form also print as address.
On Tue, 26 Mar 2013 09:30:03 +0100, Mark Wielaard wrote:
> Otherwise readelf has to display a symbol
> associated with the "next" symbol, if any.
Displaying such symbol is correct, it corresponds to the address being
> But it is inconsistent with how we display high_pc if it is a
> DW_FORM_addr, or when it is displayed on its own, not as a
> low_pc..high_pc range. So lets go for consistent and always display it
> as a "raw" single address instead of a range.
It looks correct to me now:
low_pc (addr) 0x00000000004005e0 <main>
high_pc (data8) 32 (0x0000000000400600 <__libc_csu_init>)
I would prefer to align the addresses underneath but that is already not
possible due to "(addr)" vs. "(data8)"; I am used more to binutils readelf.