[PATCH] [RFC] NetBSD note segment
Jason R Thorpe
thorpej@wasabisystems.com
Sun Nov 3 09:25:00 GMT 2002
On Sun, Nov 03, 2002 at 07:17:59PM +0200, Momchil Velikov wrote:
> You mean the content of the section may change with new OS releases ?
> Like new version numbers, etc ?
Yes.
> 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.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
More information about the Gcc-patches
mailing list