0a99d34 x86: Check the versioned __tls_get_addr symbol

Authored and Committed by H.J. Lu 6 years ago
    x86: Check the versioned __tls_get_addr symbol
    
    We need to check the versioned __tls_get_addr symbol when looking up
    "__tls_get_addr".
    
    bfd/
    
    	PR ld/22721
    	* elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the
    	versioned __tls_get_addr symbol.
    
    ld/
    
    	PR ld/22721
    	* testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
    	* testsuite/ld-plugin/pr22721.t: New file.
    	* testsuite/ld-plugin/pr22721a.s: Likewise.
    	* testsuite/ld-plugin/pr22721b.c: Likewise.
    
    (cherry picked from commit 8a1b824af786989f879ab1421a4279f60bba141a)
    
        
file modified
+6 -0
file modified
+10 -1
file modified
+8 -0