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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
            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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to