https://bugs.llvm.org/show_bug.cgi?id=42480
Bug ID: 42480
Summary: "NOCROSSREFS_TO" doesn't supported by LLVM's ld.lld
Product: lld
Version: unspecified
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: unassignedb...@nondot.org
Reporter: qwertyt...@gmail.com
CC: llvm-bugs@lists.llvm.org, peter.sm...@linaro.org
Build fails on the use of "NOCROSSREFS_TO" command in linker script.
Example:
- funnyos.lds.S:
```
...
NOCROSSREFS_TO (.init .text .data)
...
ENTRY(_start)
...
```
Reported build/link error:
```
ld.lld: error: core/funnyos.lds:11: unknown directive: NOCROSSREFS_TO
>>> NOCROSSREFS_TO (.init .text .data)
>>> ^
```
P.S. Problem also reported on
https://stackoverflow.com/questions/56235666/is-it-possible-to-use-nocrossrefs-to-in-linker-script-for-clangs-ld-lld
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs