Commit eb296a0a03eebd2d73718d31cd0d8a8db0b804de
1 parent
c2efc95d
Remove the target dependency introduced by previous patch
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3239 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
elf_ops.h
@@ -146,7 +146,7 @@ int glue(load_elf, SZ)(int fd, int64_t virt_to_phys_addend, | @@ -146,7 +146,7 @@ int glue(load_elf, SZ)(int fd, int64_t virt_to_phys_addend, | ||
146 | struct elf_phdr *phdr = NULL, *ph; | 146 | struct elf_phdr *phdr = NULL, *ph; |
147 | int size, i, total_size; | 147 | int size, i, total_size; |
148 | elf_word mem_size; | 148 | elf_word mem_size; |
149 | - target_phys_addr_t addr, low = 0, high = 0; | 149 | + uint64_t addr, low = 0, high = 0; |
150 | uint8_t *data = NULL; | 150 | uint8_t *data = NULL; |
151 | 151 | ||
152 | if (read(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr)) | 152 | if (read(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr)) |