GNU gold (version 2.20.51-0.20091130.7.fc12 20091130) 1.9 gcc (GCC) 4.4.2 20091027 (Red Hat 4.4.2-7)
Running trunk 20091130 at x86_64. When I rebuild & link mgetty package from Fedora with ld and gold I get twice that large binaries for gold (both stripped). E.g. -rwxr-xr-x. 1 newman newman 34K 2009-11-30 15:39 gold/pvfnoise -rwxr-xr-x. 1 newman newman 13K 2009-11-30 15:37 ld/pvfnoise When diffing readelf outputs I can see that this junk is in gold/pvfnoise but not in ld/pvfnoise: Relocation section '.rela.plt' at offset 0xc68 contains 55 entries: Offset Info Type Sym. Value Sym. Name + Ad [...] 0000006071d8 000100000007 R_X86_64_JUMP_SLO 0000000000000000 fileno + 0 0000006071e0 000200000007 R_X86_64_JUMP_SLO 0000000000000000 close + 0 0000006071e8 000300000007 R_X86_64_JUMP_SLO 0000000000000000 __isoc99_fscan 0000006071f0 000400000007 R_X86_64_JUMP_SLO 0000000000000000 __fprintf_chk 0000006071f8 000600000007 R_X86_64_JUMP_SLO 0000000000000000 __isoc99_sscan 000000607200 000700000007 R_X86_64_JUMP_SLO 0000000000000000 openlog + 0 000000607208 000800000007 R_X86_64_JUMP_SLO 0000000000000000 exit + 0 000000607210 000900000007 R_X86_64_JUMP_SLO 0000000000000000 __assert_fail 000000607218 000a00000007 R_X86_64_JUMP_SLO 0000000000000000 getopt + 0 000000607220 000b00000007 R_X86_64_JUMP_SLO 0000000000000000 read + 0 000000607228 000c00000007 R_X86_64_JUMP_SLO 0000000000000000 strncmp + 0 000000607230 000d00000007 R_X86_64_JUMP_SLO 0000000000000000 malloc + 0 000000607238 000e00000007 R_X86_64_JUMP_SLO 0000000000000000 __libc_start_m 000000607240 000f00000007 R_X86_64_JUMP_SLO 0000000000000000 unlink + 0 000000607248 001000000007 R_X86_64_JUMP_SLO 0000000000000000 getpid + 0 000000607250 001100000007 R_X86_64_JUMP_SLO 0000000000000000 fgets + 0 000000607258 001200000007 R_X86_64_JUMP_SLO 0000000000000000 fputc + 0 000000607260 001300000007 R_X86_64_JUMP_SLO 0000000000000000 free + 0 000000607268 001400000007 R_X86_64_JUMP_SLO 0000000000000000 _IO_getc + 0 [...] -- Summary: gold creates twice time bigger binaries, sometimes Product: binutils Version: 2.21 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: ian at airs dot com ReportedBy: mnowak at redhat dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=11033 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils