ia64/xen-unstable

changeset 9144:d75cab09ef57

Fix mkelf32 cross compilation support. The previous fix for
this was misapplied by me.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Mar 06 11:01:43 2006 +0100 (2006-03-06)
parents 42f93cc190b7
children f096a90c7728
files xen/arch/x86/boot/mkelf32.c
line diff
     1.1 --- a/xen/arch/x86/boot/mkelf32.c	Mon Mar 06 10:58:50 2006 +0100
     1.2 +++ b/xen/arch/x86/boot/mkelf32.c	Mon Mar 06 11:01:43 2006 +0100
     1.3 @@ -244,8 +244,8 @@ int main(int argc, char **argv)
     1.4  
     1.5      inimage  = argv[1];
     1.6      outimage = argv[2];
     1.7 -    loadbase = strtoull(argv[3], NULL, 16);
     1.8 -    final_exec_addr = strtoul(argv[4], NULL, 16);
     1.9 +    loadbase = strtoul(argv[3], NULL, 16);
    1.10 +    final_exec_addr = strtoull(argv[4], NULL, 16);
    1.11  
    1.12      infd = open(inimage, O_RDONLY);
    1.13      if ( infd == -1 )