From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Egger, Christoph" Subject: Re: ELF .note BSD_SYMTAB Date: Thu, 07 Aug 2014 10:55:24 +0200 Message-ID: <53E33EFC.5020202@amazon.de> References: <53E280E4.2060806@zoho.com> <53E282A3.9030501@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53E282A3.9030501@citrix.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 On 06.08.14 21:31, Andrew Cooper wrote: > 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. I recommend to add port-xen@netbsd.org to this thread to get NetBSD people in. Christoph