Remove the target dependency introduced by previous patch
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3239 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c2efc95d45
commit
eb296a0a03
@ -146,7 +146,7 @@ int glue(load_elf, SZ)(int fd, int64_t virt_to_phys_addend,
|
|||||||
struct elf_phdr *phdr = NULL, *ph;
|
struct elf_phdr *phdr = NULL, *ph;
|
||||||
int size, i, total_size;
|
int size, i, total_size;
|
||||||
elf_word mem_size;
|
elf_word mem_size;
|
||||||
target_phys_addr_t addr, low = 0, high = 0;
|
uint64_t addr, low = 0, high = 0;
|
||||||
uint8_t *data = NULL;
|
uint8_t *data = NULL;
|
||||||
|
|
||||||
if (read(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr))
|
if (read(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr))
|
||||||
|
Loading…
Reference in New Issue
Block a user