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] [RFC] NetBSD note segment


On Sun, 3 Nov 2002 09:25:14 -0800
Jason R Thorpe <thorpej@wasabisystems.com> wrote:

> On Sun, Nov 03, 2002 at 07:17:59PM +0200, Momchil Velikov wrote:
>  > Then it should be in crt0.o, not in files overriden by third party
>  > compilers. As far as I can understand crtbegin*.o is compiler's
>  > turf, no?
> 
> No, because the notes need to be present in shlibs, too.
> 
> The comprehensive solution I referred to involves splitting the
> NetBSD- specific bits out of NetBSD's crtbegin/crtend into crti and
> crtn files, like other OSs do.

How about putting them in the compiler's crtbegin/crtend files? That
would require changing only gcc/config/netbsd.h and gcc/crtstuff.c
instead of changing crt{i|n} of all the NetBSD CPUs (which seem quite a
large number :)

~velco


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