Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2000 23:45:28 -0400
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "Mark Newton" <newton@internode.com.au>
Cc:        "Dan Nelson" <dnelson@emsphone.com>, <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: SVR4 Emulation [was Re: iBCS status?]
Message-ID:  <006601bfd5b2$fc61dc30$1200a8c0@matt>
References:  <000a01bfcf7a$cc810330$1200a8c0@matt> <20000606152128.B82736@internode.com.au> <20000606012552.A1515@dan.emsphone.com> <20000606162453.B83108@internode.com.au> <20000606094719.A19961@dan.emsphone.com> <006101bfd04c$59de5c60$1200a8c0@matt> <20000607094626.B22129@dan.emsphone.com> <20000608101038.B46114@internode.com.au> <000a01bfd0f0$a760ca50$1200a8c0@matt> <20000608115729.C46446@internode.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, Jun 07, 2000 at 10:24:15PM -0400, Matthew Emmerton wrote:
>
> brandelf will really understand any brand at all;  We just add special
> cases to suppress the need for -f for "known" brands.  As it happens,
> though, there's no reason why you can't run "brandelf -f -t BOGUS-BOGUS
foo"
> and have it put a BOGUS-BOGUS brand into an ELF object called foo.
>
>  > What may compound the problem is if
>  > multiple ELF formats use the same brand, or none at all (as is the case
with
>  > SCO ODT5 binaries.)
>
> Well, yes, that's the thing - Branding is, AFAICT, specific to FreeBSD
> and Linux ELF;  All other OSs need either a heuristic to select the
> appropriate emulator (for example, the pathname to the ELF interpreter in
> the executable, which doesn't always work), or an explicit branding, or
> an appropriate setting of the kern.fallback_elf_brand sysctl MIB variable.
>

Even more interesting is the SCO document on how ELFs are pseudo-branded.

OpenServer 5:  No brand, but have a 28-byte NOTE field.
UnixWare 7:  No brand, but have one of the flags set in the FLAG field.  (I
couldn't find anything more specific than this.)

--
Matthew Emmerton
GSI Computer Services
+1 (800) 217-5409 (Canada)




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006601bfd5b2$fc61dc30$1200a8c0>