Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: elfutils 129 ignores a local symbol within a global
https://bugzilla.redhat.com/show_bug.cgi?id=268961
dvlasenk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| bzcl34nup |bzcl34nup
------- Additional Comments From dvlasenk@redhat.com 2008-07-22 11:24 EST ------- nop #0 .globl global_outer global_outer: nop #1 .globl global_in_global global_in_global: nop #2 .size global_in_global, . - global_in_global local_in_global: nop #3 .size local_in_global, . - local_in_global nop #4 .Lsizeless: nop #5 .size global_outer, . - global_outer nop #6
# LD_LIBRARY_PATH=libelf:libdw:backends src/addr2line -S -e testcase2.o 0 1 2 3 4 5 6 (.text)+0 ??:0 global_outer ??:0 global_in_global <===== was ist das? ??:0 global_outer+0x2 ??:0 global_outer+0x3 ??:0 global_outer+0x4 ??:0 (.text)+0x6 ??:0
It does ignore local_in_global, as Roland intended, but it picks global_outer and global_in_global inconsistently. For offset 2, it picked nested global +0, but for offset 3 it selected outer global +2, not nested global +1.
Roland, what should it do in this case? If offset 2 is ok, are offsets 3,4,5 wrong?