This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [RFC] NetBSD note segment
- From: Jason R Thorpe <thorpej at wasabisystems dot com>
- To: Momchil Velikov <velco at fadata dot bg>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 3 Nov 2002 08:10:29 -0800
- Subject: Re: [PATCH] [RFC] NetBSD note segment
- Organization: Wasabi Systems, Inc.
- References: <20021103131555.6658dbc6.velco@fadata.bg>
On Sun, Nov 03, 2002 at 01:15:55PM +0200, Momchil Velikov wrote:
> This is the first shot for generating NetBSD .note* section and the
> corresponding PT_NOTE segment. Without this segment NetBSD refuses to
> execute the file.
This patch is not really correct. The .note section in question should
be supplied by system files, not by a file shipped with the compiler.
I am working on a comprehensive fix for this problem, but in the mean time,
you can run noteless binaries by enabling the EXEC_ELF_NOTELESS option in
your kernel.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>