[Bug gas/12519] size generated from .size _function, .-_function is faulty

2011-02-24 Thread thloh at altera dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12519 --- Comment #4 from Tien Hock Loh 2011-02-25 07:58:40 UTC --- So, the syntax is invalid? Thanks for the quick reply -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --

[Bug gas/12519] size generated from .size _function, .-_function is faulty

2011-02-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12519 --- Comment #3 from cvs-commit at gcc dot gnu.org 2011-02-25 07:50:41 UTC --- CVSROOT:/cvs/src Module name:src Branch: binutils-2_21-branch Changes by:amo...@sourceware.org2011-02-25 07:50:37 Modified files: include/elf

[Bug gas/12519] size generated from .size _function, .-_function is faulty

2011-02-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12519 --- Comment #2 from cvs-commit at gcc dot gnu.org 2011-02-25 07:48:55 UTC --- CVSROOT:/cvs/src Module name:src Changes by:amo...@sourceware.org2011-02-25 07:48:51 Modified files: include/elf: ChangeLog internal.h Log

[Bug gas/12519] size generated from .size _function, .-_function is faulty

2011-02-24 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12519 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com AssignedT

[Bug binutils/12516] BFD: The first section in the PT_DYNAMIC segment is not the .dynamic section

2011-02-24 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12516 Alan Modra changed: What|Removed |Added AssignedTo|unassigned at sources dot |amodra at gmail dot com

[Bug gas/12519] New: size generated from .size _function, .-_function is faulty

2011-02-24 Thread thloh at altera dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12519 Summary: size generated from .size _function, .-_function is faulty Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Co

[Bug binutils/12516] BFD: The first section in the PT_DYNAMIC segment is not the .dynamic section

2011-02-24 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12516 --- Comment #3 from H.J. Lu 2011-02-24 23:39:38 UTC --- It may be caused by http://sourceware.org/ml/binutils-cvs/2010-07/msg00120.html -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving t

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

2011-02-24 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 Dmitry Gorbachev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug binutils/12516] BFD: The first section in the PT_DYNAMIC segment is not the .dynamic section

2011-02-24 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12516 H.J. Lu changed: What|Removed |Added Component|ld |binutils --- Comment #2 from H.J. Lu 2011-0

[Bug ld/12516] BFD: The first section in the PT_DYNAMIC segment is not the .dynamic section

2011-02-24 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12516 H.J. Lu changed: What|Removed |Added Component|binutils|ld --- Comment #1 from H.J. Lu 2011-02-24 2

[Bug ld/12516] BFD: The first section in the PT_DYNAMIC segment is not the .dynamic section

2011-02-24 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12516 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- Configure bug

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

2011-02-24 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12507 H.J. Lu changed: What|Removed |Added Component|ld |gold --- Comment #4 from H.J. Lu 2011-02-24

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

2011-02-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12507 --- Comment #3 from cvs-commit at gcc dot gnu.org 2011-02-24 22:58:08 UTC --- CVSROOT:/cvs/src Module name:src Changes by:h...@sourceware.org2011-02-24 22:58:05 Modified files: ld : ChangeLog plugin.c Log mess

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

2011-02-24 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12507 --- Comment #2 from H.J. Lu 2011-02-24 22:33:46 UTC --- All of linkers, ld.gold, ld.bfd and ld.hjl, are wrong. gold: /usr/gcc-4.6/bin/gcc -B./ -flto -c -o prog.o prog.c /usr/gcc-4.6/bin/gcc -B./ -flto -nostdlib -o prog prog.o readelf -s pr

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

2011-02-24 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #13 from H.J. Lu 2011-02-24 21:12:43 UTC --- (In reply to comment #12) > > I think it is the correct behavior since the LTO version of > > the function isn't used anyway. > > Do you mean it's a linker "feature" rather then a bug?

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

2011-02-24 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #12 from Dmitry Gorbachev 2011-02-24 21:03:13 UTC --- > I think it is the correct behavior since the LTO version of > the function isn't used anyway. Do you mean it's a linker "feature" rather then a bug? That is, if GCC generates

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

2011-02-24 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #11 from H.J. Lu 2011-02-24 16:58:43 UTC --- (In reply to comment #10) > Yes, ld.gold and ld.dk silently use non-LTO part of div.o; it's a bug. > However, > I don't think that an undefined reference error is not a bug. > > 1. The

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

2011-02-24 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #10 from Dmitry Gorbachev 2011-02-24 16:27:53 UTC --- Yes, ld.gold and ld.dk silently use non-LTO part of div.o; it's a bug. However, I don't think that an undefined reference error is not a bug. 1. The testcase compiles well with

[Bug binutils/12516] New: BFD: The first section in the PT_DYNAMIC segment is not the .dynamic section

2011-02-24 Thread sch...@linux-m68k.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12516 Summary: BFD: The first section in the PT_DYNAMIC segment is not the .dynamic section Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priori

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

2011-02-24 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #9 from H.J. Lu 2011-02-24 14:10:49 UTC --- (In reply to comment #8) > (In reply to comment #7) > > Created attachment 5260 [details] > > Testcase #2 > > > > Fails with ld.hjl and ld.bfd (undefined reference to `__udivdi3'). Works

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

2011-02-24 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #8 from H.J. Lu 2011-02-24 14:04:04 UTC --- (In reply to comment #7) > Created attachment 5260 [details] > Testcase #2 > > Fails with ld.hjl and ld.bfd (undefined reference to `__udivdi3'). Works with > ld.gold and ld.dk. Can you

[Bug binutils/12513] bfd_getb32 in libbfd.c:609, crash in ranlib and nm

2011-02-24 Thread dilyan.palauzov at aegee dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=12513 dilyan.palau...@aegee.org changed: What|Removed |Added Target||x86_64-unknown-linux-gnu -

[Bug binutils/12513] bfd_getb32 in libbfd.c:609, crash in ranlib and nm

2011-02-24 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12513 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com AssignedT