bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17973] New: Useless FILE entries in symbol table


From: hjl.tools at gmail dot com
Subject: [Bug ld/17973] New: Useless FILE entries in symbol table
Date: Fri, 13 Feb 2015 17:29:14 +0000

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

            Bug ID: 17973
           Summary: Useless FILE entries in symbol table
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com

ld generates useless FILE entries in symbol table:

address@hidden symtab-2]$ cat foo.s
    .text
    .globl    foo
    .type    foo, @function
foo:
    .cfi_startproc
    rep ret
    .cfi_endproc
    .size    foo, .-foo
    .type    bar, @function
bar:
    .cfi_startproc
    rep ret
    .cfi_endproc
    .size    bar, .-bar
address@hidden symtab-2]$ make
as   -o foo.o foo.s
ld -shared -o lib.so foo.o
ld.gold -shared -o gold.so foo.o
readelf -sW lib.so | grep FILE
     7: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS foo.o
     9: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS 
readelf -sW gold.so | grep FILE
make: *** [all] Error 1
address@hidden symtab-2]$ 

It leads to

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65015

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