This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: PATCH: Check TLS for libgcc


On Wed, Jun 20, 2007 at 11:56:56AM -0400, Jakub Jelinek wrote:
> On Wed, Jun 20, 2007 at 08:44:35AM -0700, H. J. Lu wrote:
> > On Wed, Jun 20, 2007 at 10:57:42AM -0400, Daniel Jacobowitz wrote:
> > > On Wed, Jun 20, 2007 at 07:40:02AM -0700, H. J. Lu wrote:
> > > > Those functions are supposed to be temporary. Put them in a DSO means
> > > >  we have to keep them forever. I prefer to leave DFP in libgcc.a.
> 
> So you prefer to put them into libgcc_s.so instead, where we will have
> to keep them forever?

No, I said "I prefer to leave DFP in libgcc.a."

> 
> If you want them in some *.a library only, then it will be hard to make
> sure there is only one copy (even if the symbol is not hidden, you might
> have at least two copies, one in some executable linking against that *.a
> library without -Wl,-E and one in some shared library). 

We can add "-Wl,--dynamic-list,dfp.list" for building executables if
linker supports --dynamic-list. dfp.list will contain just
__bid_IDEC_glbflags and __bid_IDEC_glbround.


H.J.


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