[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/28102] New: [gas, --gdwarf-5] Duplicate file and dir

From: vries at gcc dot gnu.org
Subject: [Bug gas/28102] New: [gas, --gdwarf-5] Duplicate file and dir
Date: Mon, 19 Jul 2021 10:07:33 +0000


            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
$ cat ./tui-layout-asm-short-prog.s
        .global _start
        .rept 5

Assembled and dwarf-5 generated:
$ ~/binutils/install/bin/as --gdwarf-5 --64 -o o.o

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):
  1     1       (indirect line string, offset: 0x20):

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]