https://bugs.llvm.org/show_bug.cgi?id=42656
Bug ID: 42656
Summary: Allow linking of fPIC objects into regular
executables.
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedb...@nondot.org
Reporter: s...@chromium.org
CC: llvm-bugs@lists.llvm.org, peter.sm...@linaro.org
Currently this is not supported under wasm but is supported on other platforms.
We have a couple of options for how to implement this:
1. Linker relaxation
This would rewrite the "get_global + load/store" and "get_global +
call_indirect" into simple load/start or call_indirect instructions.
2. Create module-internal globals for address and table offsets.
I think I'll start with (2) since is simple and doesn't involve any new
relocation types.
--
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