metarutaiga opened a new pull request, #13197:
URL: https://github.com/apache/nuttx/pull/13197

   ## Summary
     I tried to use LLVM to build my executable, but it crashed always.
     Then I found it did't implement some relocation.
   
   ## Impact
     Implement R_RISCV_BRANCH / R_RISCV_JAL / R_RISCV_RVC_JUMP / 
R_RISCV_RVC_BRANCH
   
   ## Testing
   ```
   #include <stdio.h>
   
   int main(int argc, char const* argv[])
   {
     printf("Hello world\n");
     return 0;
   }
   ```
   ```
   clang -Os --target=riscv32-esp-elf -march=rv32imc -mabi=ilp32 
-Wl,-e,main,-r,-T,binfmt/libelf/gnu-elf.ld
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to