2015-08-30 04:46:02 +03:00
|
|
|
/* $NetBSD: kern_ksyms_buf.c,v 1.4 2015/08/30 01:46:02 uebayasi Exp $ */
|
|
|
|
|
|
|
|
#if defined(_KERNEL_OPT)
|
|
|
|
#include "opt_copy_symtab.h"
|
|
|
|
#endif
|
|
|
|
|
2014-08-18 01:17:43 +04:00
|
|
|
#define SYMTAB_FILLER "|This is the symbol table!"
|
|
|
|
|
2015-08-30 04:46:02 +03:00
|
|
|
#ifdef makeoptions_COPY_SYMTAB
|
2014-08-18 01:17:43 +04:00
|
|
|
#ifndef SYMTAB_SPACE
|
|
|
|
char db_symtab[] = SYMTAB_FILLER;
|
|
|
|
#else
|
2015-05-08 12:43:41 +03:00
|
|
|
char db_symtab[SYMTAB_SPACE] = SYMTAB_FILLER;
|
2014-08-18 01:17:43 +04:00
|
|
|
#endif
|
|
|
|
int db_symtabsize = sizeof(db_symtab);
|
|
|
|
#endif
|