https://llvm.org/bugs/show_bug.cgi?id=31563
Bug ID: 31563
Summary: lld parses version scripts too late
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Given a test.s with
.global _start
_start:
.quad foo
and test2.s with
.global "foo@@ver1"
"foo@@ver1":
If test2.o is put in a .a lld will fail to link:
ld.lld test.o test2.a -o t
The problem is that we parse the symbol names after resolution. This works for
shared libraries where the name was already parsed, but fails for .a files.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs