This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: OO.o / ld / -Bsymbolic patch ...


On Tue, Jul 05, 2005 at 04:44:15PM +0100, michael meeks wrote:
> 
> On Tue, 2005-07-05 at 08:46 -0700, H. J. Lu wrote:
> > I have been trying to address it with this patch
> > 
> > http://sourceware.org/ml/binutils/2005-05/msg00199.html
> > 
> > If you use the current Linux binutils, you can apply -Bsymbolic to
> > individual symbols selectively.
> 
> 	Sure - well; in the past OO.o has had link maps & the like to handle
> this stuff per-symbol. However - they are hard to maintain, work badly
> across platform & compiler toolchains, and ... well ;-) I'm hoping that
> just not binding weak symbols internally is an easy to use &
> non-controversial feature that would be useful for other large C++
> projects no doubt.

G++ may not use weak symbols at all in the future:

http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00913.html

Also weak symbols in shared libraries are/should be/will be treated as
strong. That is anything depending on weak symbols can't be used.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]