[llvm-bugs] [Bug 50156] New: [RISCV] error: 2-byte data relocations not supported
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Apr 28 15:02:25 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50156
Bug ID: 50156
Summary: [RISCV] error: 2-byte data relocations not supported
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: RISC-V
Assignee: unassignedbugs at nondot.org
Reporter: ndesaulniers at google.com
CC: asb at lowrisc.org, craig.topper at gmail.com,
jrtc27 at jrtc27.com, llvm-bugs at lists.llvm.org,
natechancellor at gmail.com, srhines at google.com
Blocks: 4068
via: https://github.com/ClangBuiltLinux/linux/issues/1143
$ cat clang --target=riscv64-linux-gnu -c head.s
.macro __EFI_PE_HEADER
.short section_count
.endm
__EFI_PE_HEADER
$ clang --target=riscv64-linux-gnu -c head.s
<instantiation>:1:8: error: 2-byte data relocations not supported
.short section_count
^
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=4068
[Bug 4068] [Meta] Compiling the Linux kernel with clang
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210428/f59e0084/attachment.html>
More information about the llvm-bugs
mailing list