https://bugs.llvm.org/show_bug.cgi?id=35838
Bug ID: 35838
Summary: lld does not export __start_*/__stop_* symbols when a
version script is passed
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 start.s
.globl __start_foo
.globl __stop_foo
.section foo
$ cat start.lds
{
global:
__start_foo;
__stop_foo;
local:
*;
};
$ make start.o
as -o start.o start.s
$ ld.lld start.o --version-script start.lds -shared
$ nm -D
nm: a.out: no symbols
--
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