Re: [Xen-devel] [PATCH v7 17/24] build_id: Provide ld-embedded build-ids

2016-04-11 Thread Andrew Cooper
On 11/04/16 14:31, Konrad Rzeszutek Wilk wrote: > On Mon, Apr 11, 2016 at 01:17:38PM +0100, Andrew Cooper wrote: >> On 10/04/16 22:14, Konrad Rzeszutek Wilk wrote: >>> diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile >>> index d210bb7..e8cd757 100644 >>> --- a/xen/arch/x86/Makefile >>> ++

Re: [Xen-devel] [PATCH v7 17/24] build_id: Provide ld-embedded build-ids

2016-04-11 Thread Konrad Rzeszutek Wilk
On Mon, Apr 11, 2016 at 01:17:38PM +0100, Andrew Cooper wrote: > On 10/04/16 22:14, Konrad Rzeszutek Wilk wrote: > > diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile > > index d210bb7..e8cd757 100644 > > --- a/xen/arch/x86/Makefile > > +++ b/xen/arch/x86/Makefile > > @@ -76,6 +76,12 @@ ef

Re: [Xen-devel] [PATCH v7 17/24] build_id: Provide ld-embedded build-ids

2016-04-11 Thread Andrew Cooper
On 10/04/16 22:14, Konrad Rzeszutek Wilk wrote: > diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile > index d210bb7..e8cd757 100644 > --- a/xen/arch/x86/Makefile > +++ b/xen/arch/x86/Makefile > @@ -76,6 +76,12 @@ efi-y := $(shell if [ ! -r > $(BASEDIR)/include/xen/compile.h -o \ >

[Xen-devel] [PATCH v7 17/24] build_id: Provide ld-embedded build-ids

2016-04-10 Thread Konrad Rzeszutek Wilk
This patch enables the Elf to be built with the build-id and provide in the Xen hypervisor the code to extract it. The man-page for ld --build-id says it is: "Request the creation of a ".note.gnu.build-id" ELF note section or a ".build-id" COFF section. The contents of the note are unique bits i