WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [LIBELF] Print phdr addresses when loadin

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [LIBELF] Print phdr addresses when loading.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Feb 2007 15:01:02 -0800
Delivery-date: Wed, 14 Feb 2007 15:20:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Date 1171053801 21600
# Node ID 1b74475ad5119247fdf5fa743d6d82ee3a19bf3a
# Parent  376940a942e9d9a6b335db325cc9dc41bb480c78
[LIBELF] Print phdr addresses when loading.
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/common/libelf/libelf-loader.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 376940a942e9 -r 1b74475ad511 xen/common/libelf/libelf-loader.c
--- a/xen/common/libelf/libelf-loader.c Fri Feb 09 14:43:21 2007 -0600
+++ b/xen/common/libelf/libelf-loader.c Fri Feb 09 14:43:21 2007 -0600
@@ -128,6 +128,8 @@ void elf_load_binary(struct elf_binary *
        filesz = elf_uval(elf, phdr, p_filesz);
        memsz = elf_uval(elf, phdr, p_memsz);
        dest = elf_get_ptr(elf, paddr);
+       elf_msg(elf, "%s: phdr %" PRIu64 " at 0x%p -> 0x%p\n",
+               __func__, i, dest, dest + filesz);
        memcpy(dest, elf->image + offset, filesz);
        memset(dest + filesz, 0, memsz - filesz);
     }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [LIBELF] Print phdr addresses when loading., Xen patchbot-unstable <=