]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/ppc/sam460ex.c
elf: Add optional function ptr to load_elf() to parse ELF notes
[mirror_qemu.git] / hw / ppc / sam460ex.c
index 202ed14bcf772f39d544b46ebc0797cf6c765645..75250d49e43244e2e1dfa883acc868e356f2a89a 100644 (file)
@@ -426,7 +426,8 @@ static void sam460ex_init(MachineState *machine)
         if (success < 0) {
             uint64_t elf_entry, elf_lowaddr;
 
-            success = load_elf(machine->kernel_filename, NULL, NULL, &elf_entry,
+            success = load_elf(machine->kernel_filename, NULL,
+                               NULL, NULL, &elf_entry,
                                &elf_lowaddr, NULL, 1, PPC_ELF_MACHINE, 0, 0);
             entry = elf_entry;
             loadaddr = elf_lowaddr;