[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/26850] New: as -g: remove non-executable sections' contribution
From: |
i at maskray dot me |
Subject: |
[Bug gas/26850] New: as -g: remove non-executable sections' contribution from DW_AT_ranges |
Date: |
Fri, 06 Nov 2020 17:28:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26850
Bug ID: 26850
Summary: as -g: remove non-executable sections' contribution
from DW_AT_ranges
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
% cat a.s
.section .alloc0,"a"
ret
.section .alloc1,"a"
ret
.section .nonalloc,""
ret
% as -gdwarf-2 a.s -o a.o
% llvm-dwarfdump a.o
a.o: file format elf64-x86-64
.debug_info contents:
0x00000000: Compile Unit: length = 0x0000001e, format = DWARF32, version =
0x0002, abbr_offset = 0x0000, addr_size = 0x08 (next unit at 0x00000022)
0x0000000b: DW_TAG_compile_unit
DW_AT_stmt_list (0x00000000)
DW_AT_ranges (0x00000000
[0x0000000000000000, 0x0000000000000001)
[0x0000000000000000, 0x0000000000000001)
[0x0000000000000000, 0x0000000000000001))
DW_AT_name ("a.s")
DW_AT_comp_dir ("/tmp/c")
DW_AT_producer ("GNU AS 2.35.1")
DW_AT_language (DW_LANG_Mips_Assembler)
DW_AT_ranges (since DWARF v3; probably ok to have it in -gdwarf-2) probably
should not have contribution from non-executable sections.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/26850] New: as -g: remove non-executable sections' contribution from DW_AT_ranges,
i at maskray dot me <=