bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/25878] Error: file table slot 1 is already occupied by a differ


From: hjl.tools at gmail dot com
Subject: [Bug gas/25878] Error: file table slot 1 is already occupied by a different file
Date: Fri, 16 Oct 2020 01:20:44 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25878

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-cfl-2 pr26740]$ cat y.s 
        .text
        .global kretprobe_trampoline
kretprobe_trampoline:
        ret
        .file   0 "core.c" md5 0xbbd69fc03ce253b2dbaab2522dd519ae
        .file   1 "types.h"
[hjl@gnu-cfl-2 pr26740]$ ./as --gdwarf-5  -o y.o y.s -32
[hjl@gnu-cfl-2 pr26740]$ readelf -wl y.o
Raw dump of debug contents of section .debug_line:

  Offset:                      0x0
  Length:                      118
  DWARF Version:               5
  Address size (bytes):        4
  Segment selector (bytes):    0
  Prologue Length:             97
  Minimum Instruction Length:  1
  Maximum Ops per Instruction: 1
  Initial value of 'is_stmt':  1
  Line Base:                   -5
  Line Range:                  14
  Opcode Base:                 13

 Opcodes:
  Opcode 1 has 0 args
  Opcode 2 has 1 arg
  Opcode 3 has 1 arg
  Opcode 4 has 1 arg
  Opcode 5 has 1 arg
  Opcode 6 has 0 args
  Opcode 7 has 0 args
  Opcode 8 has 0 args
  Opcode 9 has 1 arg
  Opcode 10 has 0 args
  Opcode 11 has 0 args
  Opcode 12 has 1 arg

 The Directory Table (offset 0x22, lines 1, columns 1):
  Entry Name
  0     (indirect line string, offset: 0x0):
/export/home/hjl/bugs/binutils/pr26740

 The File Name Table (offset 0x2e, lines 3, columns 3):
  Entry Dir     MD5                             Name
  0     0 0xbbd69fc03ce253b2dbaab2522dd519ae    (indirect line string, offset:
0x27): core.c
  1     0 0x00000000000000000000000000000000    (indirect line string, offset:
0x2e): types.h
  2     0 0x00000000000000000000000000000000    (indirect line string, offset:
0x36): y.s
^^^^^^^^^^ This shouldn't be here.

 Line Number Statements:
  [0x0000006d]  Extended opcode 2: set Address to 0x0
  [0x00000074]  Special opcode 8: advance Address by 0 to 0x0 and Line by 3 to
4
  [0x00000075]  Advance PC by 1 to 0x1
  [0x00000077]  Extended opcode 1: End of Sequence


[hjl@gnu-cfl-2 pr26740]$

-- 
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]