From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: ELF .note BSD_SYMTAB Date: Wed, 06 Aug 2014 20:31:47 +0100 Message-ID: <53E282A3.9030501@citrix.com> References: <53E280E4.2060806@zoho.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2147204236131336752==" Return-path: In-Reply-To: <53E280E4.2060806@zoho.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============2147204236131336752== Content-Type: multipart/alternative; boundary="------------070200030405050405000901" This is a multi-part message in MIME format. --------------070200030405050405000901 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 06/08/2014 20:24, Ryan O'Neill wrote: > Hello. After reading through some of the libelf-loader.c and > libelf-dominfo.c code, it appears that Xen expects BSD guest kernels > to have an ELF .note auxillary entry of type XEN_ELFNOTE_BSD_SYMTAB > that gets parsed in so that Xen knows to allocate room for the kernels > symbol table. I do not see this Note (Or any note segment/section) in > my freebsd guest kernel image (readelf -n). Can someone explain to me > if this Note is still used? If so, then in what case? > There is no expectation persay. Merely alternative actions taken if found. I seem to recall (or I might be completely confused), it is a somewhat legacy NetBSDism, so I would not be at all surprised if modern FreeBSD doesn't use it. ~Andrew --------------070200030405050405000901 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 06/08/2014 20:24, Ryan O'Neill wrote:
Hello. After reading through some of the libelf-loader.c and
libelf-dominfo.c code, it appears that Xen expects BSD guest kernels
to have an ELF .note auxillary entry of type XEN_ELFNOTE_BSD_SYMTAB
that gets parsed in so that Xen knows to allocate room for the kernels
symbol table. I do not see this Note (Or any note segment/section) in
my freebsd guest kernel image (readelf -n). Can someone explain to me
if this Note is still used? If so, then in what case?


There is no expectation persay.  Merely alternative actions taken if found.

I seem to recall (or I might be completely confused), it is a somewhat legacy NetBSDism, so I would not be at all surprised if modern FreeBSD doesn't use it.

~Andrew
--------------070200030405050405000901-- --===============2147204236131336752== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============2147204236131336752==--