[Bug binutils/11133] gc-sections deletes sections with __start/__stop reference

2010-01-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-01-08 05:55 --- Subject: Bug 11133 CVSROOT:/cvs/src Module name:src Changes by: amo...@sourceware.org 2010-01-08 05:55:11 Modified files: bfd: ChangeLog elf32-cr16.c elf32-microbla

[Bug ld/10569] -z max-page-size may not work for linker scripts

2010-01-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-01-08 05:13 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug binutils/11133] gc-sections deletes sections with __start/__stop reference

2010-01-07 Thread vapier at gentoo dot org
-- What|Removed |Added CC||toolchain at gentoo dot org http://sourceware.org/bugzilla/show_bug.cgi?id=11133 --- You are receiving th

[Bug ld/11138] ld: internal error when DSO is before object files

2010-01-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-01-08 03:04 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug ld/11138] ld: internal error when DSO is before object files

2010-01-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-01-08 03:03 --- Subject: Bug 11138 CVSROOT:/cvs/src Module name:src Changes by: h...@sourceware.org 2010-01-08 03:03:17 Modified files: bfd: ChangeLog elflink.c ld/tests

[Bug ld/11111] 'defined in discarded section' linker error using gcc 4.1.2 and binutils 2.18

2010-01-07 Thread amodra at gmail dot com
--- Additional Comments From amodra at gmail dot com 2010-01-08 03:03 --- No 2.18 or 2.19 updates are planned for FSF binutils, and as HJ says, this is really a gcc bug. -- What|Removed |Added --

[Bug gold/11062] -z nocombreloc doesn't work

2010-01-07 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2010-01-08 02:54 --- gold will never change to use separate sections for dynamic relocations. That makes no sense in gold's architecture. Different sections can not possibly be required for IFUNC or GNU2 TLS, because the dynamic linker ca

[Bug binutils/11133] gc-sections deletes sections with __start/__stop reference

2010-01-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-01-08 01:45 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug binutils/11133] gc-sections deletes sections with __start/__stop reference

2010-01-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-01-08 01:43 --- Subject: Bug 11133 CVSROOT:/cvs/src Module name:src Changes by: h...@sourceware.org 2010-01-08 01:43:23 Modified files: bfd: ChangeLog elflink.c ld/tests

[Bug binutils/11107] ld fails to build

2010-01-07 Thread amodra at gmail dot com
--- Additional Comments From amodra at gmail dot com 2010-01-08 01:43 --- Fixed -- What|Removed |Added Status|ASSIGNED|RESOLVED Reso

[Bug binutils/11107] ld fails to build

2010-01-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-01-08 01:41 --- Subject: Bug 11107 CVSROOT:/cvs/src Module name:src Branch: binutils-2_20-branch Changes by: amo...@sourceware.org 2010-01-08 01:41:37 Modified files: ld :

[Bug binutils/11107] ld fails to build

2010-01-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-01-08 01:41 --- Subject: Bug 11107 CVSROOT:/cvs/src Module name:src Changes by: amo...@sourceware.org 2010-01-08 01:41:11 Modified files: ld : ChangeLog ld/emultempl : v

[Bug binutils/11107] ld fails to build

2010-01-07 Thread amodra at gmail dot com
-- What|Removed |Added AssignedTo|unassigned at sources dot |amodra at gmail dot com |redhat dot com | Status|REOPENED

Re: still struggling to produce the same flat binary with both 32 and 64bit binutils tool chains

2010-01-07 Thread Alan Modra
On Thu, Jan 07, 2010 at 08:01:12PM +, me wrote: > As such I can't help feeling that all addresses should be based on the > presumption that the start of the file is address 0. Addresses usually don't start at zero. The start is set by your linker script, which you can see by adding --verbose

[Bug gold/11062] -z nocombreloc doesn't work

2010-01-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-01-07 21:24 --- GNU linker manual says: `combreloc' Combines multiple reloc sections and sorts them to make dynamic symbol lookup caching possible. Separate reloc sections help debug linker. They may a

[Bug gold/11062] -z nocombreloc doesn't work

2010-01-07 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2010-01-07 21:17 --- What do you mean by "always combines dynamic relocations?" It's true that gold always generates only a single .rel.dyn or .rela.dyn output section. What the -z combreloc option controls is whether the relocations a

[Bug gold/11061] Gold doesn't generate DT_RELCOUNT/DT_RELACOUNT

2010-01-07 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2010-01-07 21:12 --- Thanks for the bug report. Fixed. -- What|Removed |Added Status|NEW

[Bug gold/11061] Gold doesn't generate DT_RELCOUNT/DT_RELACOUNT

2010-01-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-01-07 21:09 --- Subject: Bug 11061 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2010-01-07 21:09:31 Modified files: gold : ChangeLog layout.cc layout.h output.c

still struggling to produce the same flat binary with both 32 and 64bit binutils tool chains

2010-01-07 Thread me
I posted http://www.mail-archive.com/bug-binutils@gnu.org/msg08677.html on Wed, 09 Dec 2009 14:12:16 -0800 and Alan Modra very kindly advised that I needed to final link the file. Since that time I have been unable to reproduce the output with 64bit binutils. I've also tried a couple of forums.

[Bug gold/11042] Unresolved symbols when using --as-needed

2010-01-07 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2010-01-07 19:34 --- Thanks for the bug report and the test case. I committed a patch which fixes the problem. -- What|Removed |Added --

[Bug gold/11042] Unresolved symbols when using --as-needed

2010-01-07 Thread cvs-commit at gcc dot gnu dot org
X-Bugzilla-Reason: CC --- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-01-07 19:33 --- Subject: Bug 11042 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2010-01-07 19:33:00 Modified files: gold : ChangeLog copy

[Bug binutils/11146] Add "readelf --dyn-syms"

2010-01-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-01-07 19:27 --- A patch is posted at http://sourceware.org/ml/binutils/2010-01/msg00158.html to add a new --dyn-syms option to dump only dynamic symbol table. -- What|Removed |Added -

[Bug gold/11033] gold creates twice time bigger binaries, sometimes

2010-01-07 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2010-01-07 18:56 --- These two programs just look different, and it's hard for me to believe that this is due to a difference between GNU ld and gold. For example, the gold binary has calls to fgets where the GNU ld binary does not. T

[Bug gold/11019] Xindex::initialize_symtab_xindex in object.cc is not instantiated

2010-01-07 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2010-01-07 18:43 --- Thanks for the bug report. I committed a variant of your patch which also instantiates Xindex::read_symtab_xindex. -- What|Removed |Added --

[Bug gold/11019] Xindex::initialize_symtab_xindex in object.cc is not instantiated

2010-01-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-01-07 18:42 --- Subject: Bug 11019 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2010-01-07 18:42:03 Modified files: gold : ChangeLog object.cc Log message:

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

2010-01-07 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2010-01-07 18:33 --- I believe that all the command line options mentioned here are now implemented, or are erroneous. Thanks for the comprehensive report. Please open a new bug report for any new missing options, or for any problems wi

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

2010-01-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-01-07 18:31 --- Subject: Bug 10980 CVSROOT:/cvs/src Module name:src Changes by: i...@sourceware.org 2010-01-07 18:31:30 Modified files: gold : ChangeLog errors.cc options.h Log m

[Bug binutils/11146] New: "readelf -Ds" doesn't work right

2010-01-07 Thread hjl dot tools at gmail dot com
On Fedora/12 where gnu-hash is used, I got [...@gnu-6 pr]$ cat foo.c #include int main () { printf ("Hello\n"); return; } [...@gnu-6 pr]$ gcc foo.c [...@gnu-6 pr]$ readelf -Ds a.out [...@gnu-6 pr]$ readelf -s a.out Symbol table '.dynsym' contains 4 entries: Num:Value Size Ty

[Bug ld/11138] ld: internal error when DSO is before object files

2010-01-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-01-07 17:51 --- A patch is posted at http://sourceware.org/ml/binutils/2010-01/msg00145.html -- What|Removed |Added -

Re: Porting Binutils to A New Target And Getting Error.

2010-01-07 Thread Nick Clifton
Hi Prashant, I am trying to port binutils-2.19 to a new target. Note - you would be better off using the current mainline development sources. But when I give 'make all' command, I am getting 'unknown target vector' error. Look at the bfd/config.bfd file. You will need to add an entry f

[Bug gas/11109] Invalid vcvt UAL encoding

2010-01-07 Thread asl at math dot spbu dot ru
--- Additional Comments From asl at math dot spbu dot ru 2010-01-07 17:06 --- Hi, Nick Looks ok for me, thanks! -- http://sourceware.org/bugzilla/show_bug.cgi?id=11109 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone w

[Bug ld/11138] ld: internal error when using -lstdc++ and version script before object files

2010-01-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-01-07 15:56 --- This should fix it. I will submit a proper patch. -- diff --git a/bfd/elflink.c b/bfd/elflink.c index 297d46b..b587ef6 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -8492,10 +8492,15 @@ elf_link_check_v

[Bug ld/11138] ld: internal error when using -lstdc++ and version script before object files

2010-01-07 Thread hjl dot tools at gmail dot com
-- What|Removed |Added CC||hjl dot tools at gmail dot ||com Version|2.20

[Bug ld/11138] ld: internal error when using -lstdc++ and version script before object files

2010-01-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-01-07 15:45 --- Created an attachment (id=4501) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4501&action=view) A simple testcase [...@gnu-6 pr11138]$ make cc-c -o foo.o foo.c cc-c -o bar.o bar.c ./ld -o l

[Bug ld/11143] gc-sections deletes note section

2010-01-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-01-07 14:12 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug binutils/11133] gc-sections deletes sections with __start/__stop reference

2010-01-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-01-07 14:03 --- (In reply to comment #7) > > So my concern that HJ's idea might affect some existing app is probably not > valid. I still don't particularly like a reference to __start_somesection > meaning that we should

[Bug binutils/11133] gc-sections deletes sections with __start/__stop reference

2010-01-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-01-07 13:47 --- (In reply to comment #7) > Imagine someone who wants an array of functions (perhaps constructor like) or > some other object used in their app. They set up weak references in a named > section, then access

[Bug ld/11143] gc-sections deletes note section

2010-01-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-01-07 13:44 --- Subject: Bug 11143 CVSROOT:/cvs/src Module name:src Changes by: h...@sourceware.org 2010-01-07 13:44:37 Modified files: bfd: ChangeLog elflink.c ld/tests

[Bug binutils/11133] gc-sections deletes sections with __start/__stop reference

2010-01-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-01-07 13:36 --- *** Bug 3400 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug binutils/11133] gc-sections deletes sections with __start/__stop reference

2010-01-07 Thread hjl dot tools at gmail dot com
-- What|Removed |Added GCC build triplet|x86_64 | GCC host triplet|x86_64 | GCC target triplet|x86_64 |

Porting Binutils to A New Target And Getting Error.

2010-01-07 Thread Prashant Purohit
I am trying to port binutils-2.19 to a new target. I have modified all the require configuration files and make files to add the new target details. I have also created .c and .h files in the respective directories. The configure script runs successfully and creates makefile. But when I give 'm

[Bug binutils/11133] gc-sections deletes sections with __start/__stop reference

2010-01-07 Thread amodra at gmail dot com
--- Additional Comments From amodra at gmail dot com 2010-01-07 11:23 --- Imagine someone who wants an array of functions (perhaps constructor like) or some other object used in their app. They set up weak references in a named section, then access the array using the __start_* symbol.