From 4d7b6a6d7d22536937a1214365c5af9656459c0b Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 25 Feb 2001 07:25:05 +0000 Subject: Manually add an extra _ to _DYNAMIC since it is provided by ld, not gcc. Make the rest compile. --- sys/kern/link_aout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') diff --git a/sys/kern/link_aout.c b/sys/kern/link_aout.c index 558600f..f9e45d7 100644 --- a/sys/kern/link_aout.c +++ b/sys/kern/link_aout.c @@ -93,13 +93,13 @@ static int relocate_file(aout_file_t af); /* * The kernel symbol table starts here. */ -extern struct _dynamic _DYNAMIC; +extern struct _dynamic __DYNAMIC; static void link_aout_init(void* arg) { #ifndef __ELF__ - struct _dynamic* dp = &_DYNAMIC; + struct _dynamic* dp = &__DYNAMIC; #endif linker_add_class(&link_aout_class); @@ -109,7 +109,7 @@ link_aout_init(void* arg) aout_file_t af; linker_kernel_file = - linker_make_file(kernelname, af, &link_aout_class); + linker_make_file(kernelname, &link_aout_class); if (linker_kernel_file == NULL) panic("link_aout_init: Can't create linker structures for kernel"); af = (aout_file_t) linker_kernel_file; -- cgit v1.1