This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Shrink .debug_loc section by ~ 9%
- From: Tom Tromey <tromey at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org, Roland McGrath <roland at redhat dot com>, Jan Kratochvil <jkratoch at redhat dot com>, binutils at sources dot redhat dot com
- Date: Fri, 08 Oct 2010 15:53:34 -0600
- Subject: Re: [PATCH] Shrink .debug_loc section by ~ 9%
- References: <20101008192802.GO4127@tyan-ft48-01.lab.bos.redhat.com>
>>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:
Jakub> The drawback of the patch is that at least readelf -w[io] will need
Jakub> adjustments, because its assumptions no longer hold (it assumes that
Jakub> location list offsets in .debug_info section are monotonically
Jakub> increasing), so it reports warnings about .debug_loc holes.
Jakub> Any other debug info consumer makes similar assumptions?
GDB should be ok here.
Tom