https://sourceware.org/bugzilla/show_bug.cgi?id=29393
Bug ID: 29393 Summary: Option to emit .debug_info CU version 4 Product: binutils Version: 2.38 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: jengelh at inai dot de Target Milestone: --- $ ld -v GNU ld (GNU Binutils; openSUSE Tumbleweed) 2.38.20220525-6 $ echo 'int main(){}' >x.c $ gcc x.c -g $ objdump -W a.out [...] Contents of the .debug_info section: Compilation Unit @ offset 0x0: Length: 0x24 (32-bit) Version: 5 Unit Type: DW_UT_compile (1) Abbrev Offset: 0x0 Pointer Size: 8 I did not find an option to emit v4 CUs. gcc's -gdwarf-4 option has no effect in that regard, either. -- You are receiving this mail because: You are on the CC list for the bug.