diff options
author | peter <peter@FreeBSD.org> | 2003-05-01 04:39:22 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-05-01 04:39:22 +0000 |
commit | 0c9f89b00abffb100cfeaa418c8a371ee0b0ec62 (patch) | |
tree | f920a953db3b55798af7b457ffd7f208cd3e7278 | |
parent | a6e9962a69965b679c803119c8a3d535cb2f57fa (diff) | |
download | FreeBSD-src-0c9f89b00abffb100cfeaa418c8a371ee0b0ec62.zip FreeBSD-src-0c9f89b00abffb100cfeaa418c8a371ee0b0ec62.tar.gz |
Commit a missed change to keep in sync with the MI elf loader.
-rw-r--r-- | sys/boot/sparc64/loader/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/sparc64/loader/main.c b/sys/boot/sparc64/loader/main.c index 971adc6..08c0d96 100644 --- a/sys/boot/sparc64/loader/main.c +++ b/sys/boot/sparc64/loader/main.c @@ -56,7 +56,7 @@ extern void dtlb_enter(u_long vpn, u_long data); extern vm_offset_t itlb_va_to_pa(vm_offset_t); extern vm_offset_t dtlb_va_to_pa(vm_offset_t); extern vm_offset_t md_load(char *, vm_offset_t *); -static int elf_exec(struct preloaded_file *); +static int __elfN(exec)(struct preloaded_file *); static int sparc64_autoload(void); static int mmu_mapin(vm_offset_t, vm_size_t); @@ -92,8 +92,8 @@ struct devsw *devsw[] = { struct arch_switch archsw; struct file_format sparc64_elf = { - elf_loadfile, - elf_exec + __elfN(loadfile), + __elfN(exec) }; struct file_format *file_formats[] = { &sparc64_elf, @@ -218,7 +218,7 @@ sparc64_copyin(const void *src, vm_offset_t dest, size_t len) * other MD functions */ static int -elf_exec(struct preloaded_file *fp) +__elfN(exec)(struct preloaded_file *fp) { struct file_metadata *fmp; vm_offset_t mdp; |