From 78ff0561c0a2bf4ddcdd948351d5b1fe6402f9d9 Mon Sep 17 00:00:00 2001 From: dfr Date: Fri, 29 Sep 2000 13:34:04 +0000 Subject: Don't support dynamic linking on ia64 for now - the tools can't cope. --- sys/kern/link_elf_obj.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/kern/link_elf_obj.c') diff --git a/sys/kern/link_elf_obj.c b/sys/kern/link_elf_obj.c index e3139e9..813ebb9 100644 --- a/sys/kern/link_elf_obj.c +++ b/sys/kern/link_elf_obj.c @@ -149,7 +149,9 @@ r_debug_state(void) /* * The kernel symbol table starts here. */ +#ifndef __ia64__ extern struct _dynamic _DYNAMIC; +#endif static void link_elf_init(void* arg) @@ -164,7 +166,11 @@ link_elf_init(void* arg) linker_add_class(&link_elf_class); #ifdef __ELF__ +#ifndef __ia64__ dp = (Elf_Dyn*) &_DYNAMIC; +#else + dp = 0; +#endif if (dp) { modname = NULL; modptr = preload_search_by_type("elf kernel"); -- cgit v1.1