This is the mail archive of the gcc@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]

Re: GCC 3.0 Release Criteria


> Date: Thu, 27 Apr 2000 02:01:26 -0700
> From: Richard Henderson <rth@cygnus.com>
> Cc: geoffk@cygnus.com, gcc@gcc.gnu.org, libc-hacker@sourceware.cygnus.com
> 
> On Wed, Apr 26, 2000 at 01:56:43PM -0700, Mark Mitchell wrote:
> > Richard, would you mind summarizing the problems with the current
> > scheme and how you making libgcc.so a shared library will help? 
> 
> Assume libfoo.so links against libgcc.a, includes a half-dozen functions
> (most notably __register_frame_info and company) and re-exports them.

Actually, this doesn't happen for __register_frame_info under linux:

00000000  w   DF *UND*  000000e4  GLIBC_2.1.3 __cxa_finalize
00000000  w   DF *UND*  000000f0  GLIBC_2.0   __deregister_frame_info
00000000  w   DF *UND*  000000a8  GLIBC_2.0   __register_frame_info

I don't understand why, it's something to do with their being exported
from libc.so.  It's not because crtendS.o comes after libgcc.a on the
link line.

Anyway, it does happen with other stuff from libc.a:

00000710 g    DF .text 00000050  Base        __ashldi3

-- 
- Geoffrey Keating <geoffk@cygnus.com>

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