[Bug ld/12507] Can't build a program with -flto -nostdlib

2011-02-22 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12507 --- Comment #1 from Dmitry Gorbachev 2011-02-23 07:02:20 UTC --- The same problem with symbol given in --entry=... option. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail becau

[Bug ld/12507] New: Can't build a program with -flto -nostdlib

2011-02-22 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12507 Summary: Can't build a program with -flto -nostdlib Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unas

[Bug ld/12496] Linker fails with "could not read symbols: Bad value" message

2011-02-22 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #4 from Dmitry Gorbachev 2011-02-23 06:43:06 UTC --- I can reproduce it with recent lto-mixed LD (and GCC 4.5/4.6; for 4.5, add -fuse-linker-plugin to CFLAGS). I see elf_link_add_archive_symbols() is called twice for libdiv.a: #0

[Bug ld/12496] Linker fails with "could not read symbols: Bad value" message

2011-02-22 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #3 from H.J. Lu 2011-02-22 23:59:22 UTC --- (In reply to comment #2) > It happens with BFD linker from lto-mixed branch. I CC'ed you, but forgot to > mention it in PR — sorry! I can't reproduce it with lto-mixed branch either. --

[Bug binutils/6997] avr32 support

2011-02-22 Thread binu at piments dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6997 binu changed: What|Removed |Added CC||binu at piments dot com --- Comment #5 from binu

[Bug ld/12496] Linker fails with "could not read symbols: Bad value" message

2011-02-22 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #2 from Dmitry Gorbachev 2011-02-22 18:06:57 UTC --- It happens with BFD linker from lto-mixed branch. I CC'ed you, but forgot to mention it in PR — sorry! -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=em

Bug: -masm=intel -fPIC causes global offset table

2011-02-22 Thread Salykin Vladimir
The combination of -masm=intel and -fPIC when producing 32-bit causes strange behaviour when dealing with globals. Bug is similar to Bug 12186(I'm using ld version 2.21, tested Bug 46275 and it's successfully fixed). But I'm linking another code. typedef void (*pFuncAddress) (void); pFuncAddress S