bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/10433] Latest ld fails to link ldconfig properly


From: jakub at redhat dot com
Subject: [Bug ld/10433] Latest ld fails to link ldconfig properly
Date: 22 Jul 2009 20:52:49 -0000

------- Additional Comments From jakub at redhat dot com  2009-07-22 20:52 
-------
When linked with 2.19.51.0.11 (which works), .rela.plt contains:
Relocation section '.rela.plt' at offset 0x1a0 contains 8 entries:
    Offset             Info             Type               Symbol's Value 
Symbol's Name + Addend
00000000006c65d0  0000000000000025 R_X86_64_IRELATIVE                           
  0000000000421a50
00000000006c65d8  0000000000000025 R_X86_64_IRELATIVE                           
  000000000041f720
00000000006c65e0  0000000000000025 R_X86_64_IRELATIVE                           
  0000000000423a30
00000000006c65e8  0000000000000025 R_X86_64_IRELATIVE                           
  0000000000423a30
00000000006c65f0  0000000000000025 R_X86_64_IRELATIVE                           
  0000000000423ed0
00000000006c65f8  0000000000000025 R_X86_64_IRELATIVE                           
  0000000000479060
00000000006c6600  0000000000000025 R_X86_64_IRELATIVE                           
  000000000041e760
00000000006c6608  0000000000000025 R_X86_64_IRELATIVE                           
  000000000047a030

where
  2532: 000000000047a030    68 IFUNC   WEAK   DEFAULT    6 stpncpy
  1394: 0000000000421a50    68 IFUNC   WEAK   DEFAULT    6 stpcpy

But when linked with trunk, this is:
00000000006c65d0  0000000000000025 R_X86_64_IRELATIVE                           
  000000000047a030
00000000006c65d8  0000000000000025 R_X86_64_IRELATIVE                           
  000000000041f720
00000000006c65e0  0000000000000025 R_X86_64_IRELATIVE                           
  0000000000423a30
00000000006c65e8  0000000000000025 R_X86_64_IRELATIVE                           
  0000000000423a30
00000000006c65f0  0000000000000025 R_X86_64_IRELATIVE                           
  0000000000423ed0
00000000006c65f8  0000000000000025 R_X86_64_IRELATIVE                           
  0000000000479060
00000000006c6600  0000000000000025 R_X86_64_IRELATIVE                           
  000000000041e760
00000000006c6608  0000000000000025 R_X86_64_IRELATIVE                           
  000000000047a030

and the symbols are the same.  And indeed, the only changes between the two
binaries are 3 bytes in .rela.plt section:
 Relocation section '.rela.plt' at offset 0x1a0 contains 8 entries:
     Offset             Info             Type               Symbol's Value 
Symbol's Name + Addend
-00000000006c65d0  0000000000000025 unrecognized: 25                            
  000000000047a030
+00000000006c65d0  0000000000000025 unrecognized: 25                            
  0000000000421a50
and content of .note.gnu.build-id section.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10433

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]