tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libgcc



> It seems like all shared libraries need to have a dependency against the
> shared libgcc.  Isn't it required for e.g. exceptions, too?

I don't really understand things, but seems so.  And our shared libraries
don't get linked against libgcc_s.  From gnu/dist/gcc4/gcc/gcc.c:

   1623 /* XXX NH XXX */
   1624 #if defined(LINK_EH_SPEC) || 1
   1625                 "%{shared-libgcc:", shared_name, "} ",
   1626                 static_name,
   1627 #ifdef LIBGCC_PICSUFFIX
   1628                 LIBGCC_PICSUFFIX ,
   1629 #endif
   1630 #else
   1631                 shared_name,
   1632 #endif

I guess the "|| 1" should be "&& 0" because we don't support --eh-frame-hdr
yet.

Masao

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635


Home | Main Index | Thread Index | Old Index