summaryrefslogtreecommitdiffstats
path: root/src/image/elf.c
diff options
context:
space:
mode:
authorMichael Brown2007-01-12 09:10:35 +0100
committerMichael Brown2007-01-12 09:10:35 +0100
commit6fdc6c81a6a089074d17f46b0ab930e6e1445e8b (patch)
tree500fcc1b50f4090c11ce6964371adfd666a80497 /src/image/elf.c
parentfetch() now knows nothing about struct image; it simply loads a file and (diff)
downloadipxe-6fdc6c81a6a089074d17f46b0ab930e6e1445e8b.tar.gz
ipxe-6fdc6c81a6a089074d17f46b0ab930e6e1445e8b.tar.xz
ipxe-6fdc6c81a6a089074d17f46b0ab930e6e1445e8b.zip
Force probing of multiboot before ELF.
Diffstat (limited to 'src/image/elf.c')
-rw-r--r--src/image/elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image/elf.c b/src/image/elf.c
index 869be3f3..167ef2bf 100644
--- a/src/image/elf.c
+++ b/src/image/elf.c
@@ -30,7 +30,7 @@
#include <gpxe/image.h>
#include <gpxe/elf.h>
-struct image_type elf_image_type __image_type;
+struct image_type elf_image_type __image_type ( PROBE_NORMAL );
typedef Elf32_Ehdr Elf_Ehdr;
typedef Elf32_Phdr Elf_Phdr;
@@ -143,7 +143,7 @@ int elf_load ( struct image *image ) {
}
/** ELF image type */
-struct image_type elf_image_type __image_type = {
+struct image_type elf_image_type __image_type ( PROBE_NORMAL ) = {
.name = "ELF",
.load = elf_load,
.exec = elf_exec,