Subject: Re: kern/13615: NetBSD current requires a .note.netbsd.ident section
To: Jarom r <jdolecek@netbsd.org>
From: None <itojun@iijlab.net>
List: netbsd-bugs
Date: 08/03/2001 07:27:40
>> every compiler?  what about programs that use their own startup routines
>> that are written completely in assembler?  why shouldn't we run unlabelled
>> programs?  i'm yet to see a good reason why.  the default should be to run
>> these programs, and the option should be to disable it.
>
>See kern/12253 for reason why. I do not think we should run random ELF
>binaries as if they would be NetBSD binaries. I think every ELF NetBSD
>binary should be marked as such explicitly.

	maybe we should:
	- keep emulation binary detection part even if we don't have
	  COMPAT_xxx,
	- on program invocation, exclude every obviously-non-netbsd binaries,
	- execute as netbsd binary if none matches.

itojun