[lld] Allow Arm PC-relative relocations in pic or shared library (PR #77304)
    Fangrui Song via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jan  9 17:08:47 PST 2024
    
    
  
================
@@ -0,0 +1,13 @@
+// REQUIRES: arm
----------------
MaskRay wrote:
Instead of a new file, you can reuse an existing file. You can add a `-shared` RUN line to `arm-adr.s` with a comment stating that `/// R_ARM_ALU_PC_G0 referencing a non-preemptible symbol can be used in PIC links.'
https://github.com/llvm/llvm-project/pull/77304
    
    
More information about the llvm-commits
mailing list