[PATCH] Shrink .debug_loc section by ~ 9%

Tom Tromey tromey@redhat.com
Fri Oct 8 21:53:00 GMT 2010


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



More information about the Binutils mailing list