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: My proposal for the libgcc runtime ABI (ia64 gcc/glibc is broken.)


> From: Linus Torvalds <torvalds@transmeta.com>
> Date: Tue, 11 Jul 2000 11:45:32 -0700
> Newsgroups: linux.egcs
> 
> Is there something really wrong with just sidestepping this issue
> altogether with the following simple rule:
> 
>  - libgcc is always statically linked inside the object file that needs
>    it (be it a binary or a shared library)
> 
> Yes. It will result in code duplication. Is that a huge problem?

Yes.  There is at least one routine in libgcc that must not be
duplicated; it relies on there being only one copy of itself in the
whole program.  This is the routine causing all the trouble.  We also
occasionally want to modify this routine, and you can't do that if
it's linked statically into every program.

-- 
- 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]