https://sourceware.org/bugzilla/show_bug.cgi?id=28102
Bug ID: 28102 Summary: [gas, --gdwarf-5] Duplicate file and dir Product: binutils Version: 2.38 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider test-case ./tui-layout-asm-short-prog.s (based on gdb/testsuite/gdb.tui/tui-layout-asm-short-prog.S): ... $ cat ./tui-layout-asm-short-prog.s .global _start _start: .rept 5 nop .endr ... Assembled and dwarf-5 generated: ... $ ~/binutils/install/bin/as --gdwarf-5 --64 -o o.o ./tui-layout-asm-short-prog.s ... We have: ... $ readelf -wl o.o ... The Directory Table (offset 0x22, lines 2, columns 1): Entry Name 0 (indirect line string, offset: 0x0): . 1 (indirect line string, offset: 0x2): . The File Name Table (offset 0x30, lines 2, columns 2): Entry Dir Name 0 0 (indirect line string, offset: 0x4): tui-layout-asm-short-prog.s 1 1 (indirect line string, offset: 0x20): tui-layout-asm-short-prog.s ... In other words, we've got duplicate directories and duplicate files. -- You are receiving this mail because: You are on the CC list for the bug.