From 5330a2f5be549ed9795bcd65dfa6b7a02d8e59ee Mon Sep 17 00:00:00 2001 From: dfr Date: Sat, 15 Sep 2001 11:02:10 +0000 Subject: The ia64 kernel is now linked dynamically so parse its _DYNAMIC structure. --- sys/kern/link_elf.c | 4 ---- sys/kern/link_elf_obj.c | 4 ---- 2 files changed, 8 deletions(-) (limited to 'sys') diff --git a/sys/kern/link_elf.c b/sys/kern/link_elf.c index db29c37..65f9946 100644 --- a/sys/kern/link_elf.c +++ b/sys/kern/link_elf.c @@ -179,11 +179,7 @@ link_elf_init(void* arg) linker_add_class(&link_elf_class); #ifdef __ELF__ -#ifndef __ia64__ dp = (Elf_Dyn*) &_DYNAMIC; -#else - dp = 0; -#endif modname = NULL; modptr = preload_search_by_type("elf kernel"); if (modptr) diff --git a/sys/kern/link_elf_obj.c b/sys/kern/link_elf_obj.c index db29c37..65f9946 100644 --- a/sys/kern/link_elf_obj.c +++ b/sys/kern/link_elf_obj.c @@ -179,11 +179,7 @@ link_elf_init(void* arg) linker_add_class(&link_elf_class); #ifdef __ELF__ -#ifndef __ia64__ dp = (Elf_Dyn*) &_DYNAMIC; -#else - dp = 0; -#endif modname = NULL; modptr = preload_search_by_type("elf kernel"); if (modptr) -- cgit v1.1