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: [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
displayed.


> 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.


Thanks,
Jan

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