Skip to content
  • Peter Smith's avatar
    [ELF] Fix ARM TLS global dynamic TlsOffsetRel for non-preemtible symbols · 99a99234
    Peter Smith authored
        
    When the target of the TlsOffsetRel is non-preemptible we can write the
    offset directly into the GOT without needing a dynamic relocation. This
    is optional for dynamically linked executables but is required for static
    linking.
        
    This change adds the relocation to the GOT entry and a test case for
    non-0 offsets so that if we miss out the offset the test won't spuriously
    pass by virtue of the default value being 0.
    
    Differential Revision: https://reviews.llvm.org/D31749
    
    llvm-svn: 299751
    99a99234
Loading