[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/23840] New: .symver fails with multiple versions [...] for symb
From: |
nsz at gcc dot gnu.org |
Subject: |
[Bug gas/23840] New: .symver fails with multiple versions [...] for symbol `...' |
Date: |
Mon, 29 Oct 2018 12:37:09 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23840
Bug ID: 23840
Summary: .symver fails with multiple versions [...] for symbol
`...'
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: nsz at gcc dot gnu.org
Target Milestone: ---
.global foo
foo:
ret
.symver foo, address@hidden
.symver foo, address@hidden
fails with
c.s: Assembler messages:
c.s:5: Error: multiple versions address@hidden'|address@hidden'] for symbol
`foo'
i see no reason to disallow multiple symbol versions
to point to the same location.
currently this can be worked around by using another
symbol, but such hack should not be needed (only the
location, binding and visibility should matter, the
symbol name should not, so ideally symver should even
work with an address expression that's not a symbol)
.global foo
.global foo_hack
foo:
foo_hack:
ret
.symver foo, address@hidden
.symver foo_hack, address@hidden
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/23840] New: .symver fails with multiple versions [...] for symbol `...',
nsz at gcc dot gnu.org <=