[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/12262] New: gold fails to link symbols explicitly defined in b
From: |
flameeyes at gmail dot com |
Subject: |
[Bug gold/12262] New: gold fails to link symbols explicitly defined in base-version |
Date: |
Wed, 24 Nov 2010 01:21:16 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12262
Summary: gold fails to link symbols explicitly defined in
base-version
Product: binutils
Version: 2.22 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: address@hidden
ReportedBy: address@hidden
The binutils manual for ld suggests using this syntax to define a symbol
explicitly in base-version:
__asm__(".symver original_foo,foo@");
__asm__(".symver new_foo,foo@@VERS2");
but code compiled with this syntax is rejected by gold as the version "" is
undefined.
I'm attaching a patch to solve the issue, which ensures that the base version
is registered for the "" version.
Thanks,
Diego
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug gold/12262] New: gold fails to link symbols explicitly defined in base-version,
flameeyes at gmail dot com <=