[Top][All Lists]

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

[Bug ld/18735] New: multiple definition of `foo'

From: hjl.tools at gmail dot com
Subject: [Bug ld/18735] New: multiple definition of `foo'
Date: Wed, 29 Jul 2015 15:08:34 +0000


            Bug ID: 18735
           Summary: multiple definition of `foo'
           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
  Target Milestone: ---

address@hidden pr18720]$ cat foo1.c
#if 0
foo (void)

asm (".symver foo,address@hidden");
foo (void)

asm (".symver foo,foo@@FOO");
address@hidden pr18720]$ gcc -c foo1.c
address@hidden pr18720]$
/export/build/gnu/binutils-misc/build-x86_64-linux/ld/ld-new -r foo1.o
foo1.o:(*IND*+0x0): multiple definition of `foo'
foo1.o:foo1.c:(.text+0x0): first defined here
address@hidden pr18720]$

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]