Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Feb 2004 08:52:27 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        philip.reynolds@rfc-networks.ie
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: ELF branding / magic numbers
Message-ID:  <20040205.085227.88488269.imp@bsdimp.com>
In-Reply-To: <20040205103154.GA99852@rfc-networks.ie>
References:  <20040205083945.GB96509@rfc-networks.ie> <20040205095636.GF13932@FreeBSD.org.ua> <20040205103154.GA99852@rfc-networks.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20040205103154.GA99852@rfc-networks.ie>
            Philip Reynolds <philip.reynolds@rfc-networks.ie> writes:
: Ruslan Ermilov <ru@freebsd.org> 35 lines of wisdom included:
: > On Thu, Feb 05, 2004 at 08:39:45AM +0000, Philip Reynolds wrote:
: > [...]
: > > Does the magic number not then support multiple ABI's per system
: > > architecture, or is there some part of the puzzle I'm missing?
: > > 
: > There's an EI_ABIVERSION byte following the EI_OSABI byte, which
: > is both documented in the elf(5) manpage, and is shown in the
: > ``readelf -h'' output.
: 
: You misunderstood me. 
: 
: My question was why is there a need for a PT_NOTE section (which is
: a more convaluted way of branding and reading a brand of an elf
: binary) if the above sections exist?

Because PT_NOTE is more portable and flexible.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040205.085227.88488269.imp>