[Bug gold/10980] Please support more options available from old ld

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-31 06:07 --- I think that this is the current set of missing options: --add-needed --allow-multiple-definition --cref --no-undefined-version --section-start --warn-multiple-gp --warn-shared-textrel --warn-unresolved-symbols -G -ass

[Bug gold/10980] Please support more options available from old ld

2009-12-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-12-31 06:06 --- Subject: Bug 10980 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-12-31 06:05:49 Modified files: gold : ChangeLog options.h Log message:

[Bug gold/10979] Crashes during linking of program

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-31 05:46 --- The klibc problem is due to -Ttext. gold was trying to put the file header and segment header in the text segment, but it was in the wrong place due to -Ttext. I've committed a patch. I believe that fixes all of t

[Bug gold/10979] Crashes during linking of program

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-31 05:14 --- The problem with idjc is a complicated case which arises because it defines a common symbol named "shutdown", then links against a shared library which refers to "shutdown" with a glibc version, and then sees from li

[Bug gold/10979] Crashes during linking of program

2009-12-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-12-31 05:43 --- Subject: Bug 10979 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-12-31 05:43:29 Modified files: gold : ChangeLog layout.cc Log message:

[Bug gold/10979] Crashes during linking of program

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-31 05:15 --- *** Bug 10669 has been marked as a duplicate of this bug. *** -- What|Removed |Added CC|

[Bug gold/10669] internal error in allocate_base_common, at ../../gold/symtab.cc:196

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-31 05:15 --- I was able to find what I assume is the same problem in a simpler test case. With luck, this is now fixed. *** This bug has been marked as a duplicate of 10979 *** -- What|Removed

[Bug gold/10979] Crashes during linking of program

2009-12-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-12-31 05:07 --- Subject: Bug 10979 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-12-31 05:07:22 Modified files: gold : ChangeLog common.cc symtab.h

[Bug gold/10979] Crashes during linking of program

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-31 03:51 --- The problem with arj is that it passes in a linker script as an input file. The linker script is just SECTIONS { /DISCARD/ : { *(.comment) *(.note) *(.stab) *(.stabstr) } } The problem is that once gold sees a SEC

[Bug gold/10979] Crashes during linking of program

2009-12-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-12-31 03:48 --- Subject: Bug 10979 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-12-31 03:48:46 Modified files: gold : ChangeLog layout.cc layout.h script.c

[Bug gold/10931] Missing --sort-common option

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-31 01:59 --- Thanks for the bug report. I've added the --sort-common option to gold. -- What|Removed |Added

[Bug gold/10931] Missing --sort-common option

2009-12-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-12-31 01:58 --- Subject: Bug 10931 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-12-31 01:57:55 Modified files: gold : ChangeLog common.cc options.h symtab.

[Bug gold/10916] Interprets --exclude-libs completely different to old GNU ld

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-31 01:17 --- I think I've spotted the problem. I committed a patch for it. Please let me know if you still have problems with this. -- What|Removed |Added -

[Bug gold/10916] Interprets --exclude-libs completely different to old GNU ld

2009-12-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-12-31 01:14 --- Subject: Bug 10916 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-12-31 01:14:34 Modified files: gold : ChangeLog symtab.cc gold/tes

[Bug gold/10916] Interprets --exclude-libs completely different to old GNU ld

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-31 00:28 --- Thanks for the bug report. I can't help but notice that though you mention -- exclude-libs in the description, you aren't actually using it in the link command line. Still I will look to see if I can spot a differen

[Bug gold/10893] gold doesn't support IFUNC

2009-12-30 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-12-30 22:57 --- STT_GNU_IFUNC is specified in ifunc.txt at http://groups.google.com/group/generic-abi which contains some implementation notes. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10893 --- You are

[Bug gold/10893] gold doesn't support IFUNC

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-30 22:44 --- H.J., can you add a note here about what else gold needs to support IFUNC? -- What|Removed |Added

[Bug gold/10861] gold fails to link fuse user space library (multiple definitions in same object)

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-30 22:43 --- Thanks for the bug report. The root problem here is that fuse_chan_new appears twice in the version script. I can't think of any reasonable meaning for that, so I changed it to be an error. gold now gives this when

[Bug gold/10861] gold fails to link fuse user space library (multiple definitions in same object)

2009-12-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-12-30 22:36 --- Subject: Bug 10861 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-12-30 22:35:49 Modified files: gold : ChangeLog options.cc options.h script

[Bug gold/10843] gold: fails to link fglrx

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-30 20:37 --- Thanks for the bug report and many thanks for including the test case. I have committed a patch which fixes this problem. -- What|Removed |Added ---

[Bug gold/10843] gold: fails to link fglrx

2009-12-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-12-30 20:36 --- Subject: Bug 10843 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-12-30 20:35:53 Modified files: gold : ChangeLog target-reloc.h Log messag

[Bug gold/10670] gold doesn't implement ld -x

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-30 20:25 --- I finally got back to this bug report. I added support for -x/--discard-all. Thanks for reporting it. -- What|Removed |Added --

[Bug gold/10670] gold doesn't implement ld -x

2009-12-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-12-30 20:23 --- Subject: Bug 10670 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-12-30 20:23:29 Modified files: gold : ChangeLog object.cc options.h Log m

[Bug gold/10669] internal error in allocate_base_common, at ../../gold/symtab.cc:196

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-30 20:13 --- I took a look at this, but frankly I've exhausted my patience with trying to build rpm5. There are too many dependencies that I don't have, and even once I got it to configure it doesn't build, complaining about miss

[Bug gold/10450] elfutils elflint failures

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-30 19:31 --- Thanks for pointing that out. I don't think I would have written it that way, but clearly gold should follow the standard. I committed a patch to fix it. elflint is now clean in my test. -- What|Rem

[Bug gold/10450] elfutils elflint failures

2009-12-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-12-30 19:29 --- Subject: Bug 10450 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-12-30 19:29:20 Modified files: gold : ChangeLog output.cc Log message:

[Bug gold/10450] elfutils elflint failures

2009-12-30 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-12-30 17:32 --- (In reply to comment #8) > I think I've fixed all the problems except one where elflint seems wrong to > me. > The remaining problem that I see is > > loadable segment [6] is writable but contains no wri

[Bug gold/10450] elfutils elflint failures

2009-12-30 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-12-30 08:33 --- I think I've fixed all the problems except one where elflint seems wrong to me. The remaining problem that I see is loadable segment [6] is writable but contains no writable sections This is about a PT_TLS segment

[Bug gold/10450] elfutils elflint failures

2009-12-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-12-30 08:29 --- Subject: Bug 10450 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-12-30 08:29:38 Modified files: gold : ChangeLog dynobj.cc Log message:

[Bug gold/10450] elfutils elflint failures

2009-12-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-12-30 07:40 --- Subject: Bug 10450 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2009-12-30 07:40:01 Modified files: gold : ChangeLog symtab.h Log message: