Subject: Re: kern/13615: NetBSD current requires a .note.netbsd.ident section
To: Andrew Cagney <>
From: Jaromír <>
List: netbsd-bugs
Date: 09/22/2001 17:35:58
> Can I assume that only post 1.5.x branch kernels check for the 
> .note.netbsd.ident section?  Released kernels from the 1.5.x branch 
> continue to ignore the .note.netbsd.ident and hence allow GCC to use its 
> own (working) crt{begin,end}.

Well, the kernels up to 1.5.* check for the note, but eventually run
the ELF binary under NetBSD emulation anyway. This fallback has
been removed on -current since it has bad interactions when running
binaries from different OS than NetBSD (potentially dangerous interactions).

Any binary not having the note is IMHO broken. Please find some
solution to get the note in there, probably by pushing the section
to GCC's crt{begin,end} for 1.5.* and down.

Jaromir Dolecek <>
NetBSD - just plain best OS! -=*=- Got spare MCA cards or docs? Hand me them!