https://sourceware.org/bugzilla/show_bug.cgi?id=32370
--- Comment #5 from Mark Wielaard <mark at klomp dot org> --- Question is whether we should try to handle them in the debug sections. e.g. for hello.o we currently get: $ eu-readelf -U --debug-dump=loc /tmp/hello.o DWARF section [ 9] '.debug_loclists' at offset 0x227: Table at Offset 0x0: Length: 85 DWARF version: 5 Address size: 8 Segment size: 0 Offset entries: 0 CU [ c] base: 000000000000000000 Offset: c, Index: 0 base_address 0x0 offset_pair 0, 4 [ 0] reg10 offset_pair 4, 11 [ 0] reg15 offset_pair 11, 12 [ 0] entry_value: [ 0] reg10 [ 3] stack_value end_of_list Offset: 28, Index: 1c base_address 0x0 offset_pair 0, 11 [ 0] reg11 offset_pair 11, 12 [ 0] entry_value: [ 0] reg11 [ 3] stack_value end_of_list Offset: 3f, Index: 33 start_length 0x4, 6 [ 0] reg10 end_of_list Offset: 4c, Index: 40 start_length 0x4, 6 [ 0] reg15 end_of_list While the linked variant gives: $ eu-readelf -U --debug-dump=loc /tmp/testfileloc DWARF section [32] '.debug_loclists' at offset 0x2a70: Table at Offset 0x0: Length: 85 DWARF version: 5 Address size: 8 Segment size: 0 Offset entries: 0 CU [ c] base: 000000000000000000 Offset: c, Index: 0 base_address 0x103f0 offset_pair 0, 4 [ 0] reg10 offset_pair 4, b [ 0] reg15 offset_pair b, c [ 0] entry_value: [ 0] reg10 [ 3] stack_value end_of_list Offset: 28, Index: 1c base_address 0x103f0 offset_pair 0, b [ 0] reg11 offset_pair b, c [ 0] entry_value: [ 0] reg11 [ 3] stack_value end_of_list Offset: 3f, Index: 33 start_length 0x103f4, 6 [ 0] reg10 end_of_list Offset: 4c, Index: 40 start_length 0x103f4, 6 [ 0] reg15 end_of_list So the offset pairs look slightly off. Is that a problem? -- You are receiving this mail because: You are on the CC list for the bug.