From owner-freebsd-arch Fri Feb 23 10:35:26 2001 Delivered-To: freebsd-arch@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 1B21E37B491 for ; Fri, 23 Feb 2001 10:35:23 -0800 (PST) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id 51CB91D0 for ; Fri, 23 Feb 2001 10:31:46 -0800 (PST) Received: from cup.hp.com (p1000180.nsr.hp.com [15.109.0.180]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id KAA02252 for ; Fri, 23 Feb 2001 10:31:45 -0800 (PST) Message-ID: <3A96AC92.F14A90B9@cup.hp.com> Date: Fri, 23 Feb 2001 10:31:46 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: arch@FreeBSD.org Subject: Re: sysctl kern.fallback_elf_brand References: <3A960EF8.75C3FC53@cup.hp.com> <20010223042641.B2539@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David O'Brien wrote: > > The real fix is to teach the ELF image loader to read the .note.ABI-tag > section. Then statically linked Linux binaries would be correctly > identified [since our branding scheme isn't accepted by anyone other than > us]. The use of the section seems broken to me. It's the first time I've heard of it (so I won't really know how it's used :-). AFAICT, ABI information is written in e_ident[EI_OSABI] and annotated with flags in e_flags. That should be enough for our ELF loader. -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message