Skip to content
  • Peter Smith's avatar
    [ELF] Split handleNoRelaxTlsRelocation into ARM and Mips specific impls · a630d0f0
    Peter Smith authored
        
    The handleNoRelaxTlsRelocation handled both ARM and Mips as at a
    high-level the actions of what to do when encountering a local dynamic or
    global dynamic TLS relocation are the same. However due to Mips using a
    custom GOT the differences of the implementation are enough that the
    function became difficult to understand.
        
    This change replaces handleNotRelaxTlsRelocation into
    handleARMTlsRelocation() and handleMipsTlsRelocation() so that the ARM and
    Mips specific code is isolated.
    
    Differential Revision: https://reviews.llvm.org/D31748
    
    llvm-svn: 299750
    a630d0f0
Loading