https://bugs.llvm.org/show_bug.cgi?id=32899
Bug ID: 32899
Summary: LLD ELF: weak undefined symbols remain weak even if we
see a strong undefined symbol later
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedb...@nondot.org
Reporter: pe...@pcc.me.uk
CC: llvm-bugs@lists.llvm.org
$ cat w1.s
.weak foo
$ cat w2.s
.long foo
.globl _start
_start:
ret
$ clang -c w{1,2}.s
$ ld.lld w{1,2}.o
$ ld.lld w{2,1}.o
ld.lld: error: undefined symbol: foo
>>> referenced by w2.o:(.text+0x0)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs