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]

Re: [PATCH] Fix __builtin_return_address() on PPC


On Mon, Feb 05, 2001 at 02:27:01PM -0500, David Edelsohn wrote:
> 	Why PIC macro as the test?

Thinko -- crtbegin is compiled twice, and that is the macro
used.  But the libgcc bits aren't compiled twice.

> 	SVR4 uses them, but they are suppose to be provided by the base
> system, not the compiler.  I would have expected libc.so to provide them,
> not libgcc.so.

Sure enough, glibc includes these routines.  Which probably means
that hosted systems should not be including this file at all.


r~

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