diff options
author | peter <peter@FreeBSD.org> | 2001-02-25 07:25:05 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-02-25 07:25:05 +0000 |
commit | 4d7b6a6d7d22536937a1214365c5af9656459c0b (patch) | |
tree | bedb549dc9a6226fb73a4f3832d3570b0bdf8c57 /sys | |
parent | 001b5895b96c7a9ccc0d0c5491049abf9698f492 (diff) | |
download | FreeBSD-src-4d7b6a6d7d22536937a1214365c5af9656459c0b.zip FreeBSD-src-4d7b6a6d7d22536937a1214365c5af9656459c0b.tar.gz |
Manually add an extra _ to _DYNAMIC since it is provided by ld, not gcc.
Make the rest compile.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/link_aout.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |