gold: Missing options -u

2008-04-07 Thread Roland Baumann
We would love to use gold to speed-up link times. Very important would 
be the option -u from ld to force linking in some objects that are not 
referenced otherwise.


  -u SYMBOL, --undefined SYMBOL
  Start with undefined reference to SYMBOL

Thanks,
Roland


--

Dr. Roland Baumann   Staff Software Engineer
CoWare, Inc.Tel: +49(0)241-943788137
Grüner Weg 1Fax: +49(0)241-943788131
52070 AachenEmail: [EMAIL PROTECTED]
Germany  WWW: http://www.CoWare.com/


LT Design Software GmbH  Firmensitz: Grüner Weg 1, 52070 Aachen 


Sitz der Gesellschaft: München, Amtsgericht München:  HRB 147824
Geschäftsführer: Dr. Andreas Hoffmann


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Link error when building gold with gcc-3.4.4

2008-04-07 Thread Roland Baumann
I've downloaded binutils with anonymous CVS to build gold. When 
compiling with gcc 3.4.4, I got a link error. This was due to an inlined 
method in merge.cc that is also used in a different file. The change I 
made to fix it is simply not to inline the method (see below).


Regards,
Roland


--

Dr. Roland Baumann   Staff Software Engineer
CoWare, Inc.Tel: +49(0)241-943788137
Grüner Weg 1Fax: +49(0)241-943788131
52070 AachenEmail: [EMAIL PROTECTED]
Germany  WWW: http://www.CoWare.com/


LT Design Software GmbH  Firmensitz: Grüner Weg 1, 52070 Aachen 


Sitz der Gesellschaft: München, Amtsgericht München:  HRB 147824
Geschäftsführer: Dr. Andreas Hoffmann


Index: merge.cc
===
RCS file: /cvs/src/src/gold/merge.cc,v
retrieving revision 1.28
diff -u -r1.28 merge.cc
--- merge.cc13 Mar 2008 21:04:21 -  1.28
+++ merge.cc7 Apr 2008 14:30:02 -
@@ -140,7 +140,7 @@

 // Get the output offset for an input address.

-inline bool
+bool
 Object_merge_map::get_output_offset(const Merge_map* merge_map,
unsigned int shndx,
section_offset_type input_offset,





___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils