https://sourceware.org/bugzilla/show_bug.cgi?id=22011

--- Comment #4 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
 % gcc test.i -fuse-ld=bfd -lm
 % readelf -s --wide ./a.out | grep matherr
     7: 000000000040066a    39 FUNC    GLOBAL DEFAULT   14 matherr@GLIBC_2.2.5
    60: 000000000040066a    39 FUNC    GLOBAL DEFAULT   14 matherr@GLIBC_2.2.5
 % readelf -s --wide ./a.out | grep _LIB_VERSION
     5: 0000000000601040     4 OBJECT  GLOBAL DEFAULT   25
_LIB_VERSION@GLIBC_2.2.5 (4)
    59: 0000000000601040     4 OBJECT  GLOBAL DEFAULT   25
_LIB_VERSION@GLIBC_2.2.5


 % gcc test.i -fuse-ld=gold -lm
 % readelf -s --wide ./a.out | grep matherr
     7: 000000000040066a    39 FUNC    GLOBAL DEFAULT   13 matherr
    28: 000000000040066a    39 FUNC    GLOBAL DEFAULT   13 matherr
    38: 000000000040066a    39 FUNC    GLOBAL DEFAULT   13 matherr
 % readelf -s --wide ./a.out | grep _LIB_VERSION
     8: 0000000000402030     4 OBJECT  GLOBAL DEFAULT   25 _LIB_VERSION
    41: 0000000000402030     4 OBJECT  GLOBAL DEFAULT   25 _LIB_VERSION


 % readelf -s --wide /lib64/libm-2.26.90.so | grep matherr
   348: 0000000000008560     3 FUNC    WEAK   DEFAULT   14 matherr@GLIBC_2.2.5  
    11: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS s_matherr.c          
  1143: 0000000000008560     3 FUNC    LOCAL  DEFAULT   14 __matherr            
  2435: 0000000000008560     3 FUNC    WEAK   DEFAULT   14 matherr

 % readelf -s --wide /lib64/libm-2.26.90.so | grep _LIB_VERSION
   313: 00000000000dd008     4 OBJECT  GLOBAL DEFAULT   24
_LIB_VERSION@GLIBC_2.2.5
  1142: 00000000000dd008     4 OBJECT  LOCAL  DEFAULT   24
_LIB_VERSION_INTERNAL
  2432: 00000000000dd008     4 OBJECT  GLOBAL DEFAULT   24 _LIB_VERSION

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to