Module Name:    src
Committed By:   maya
Date:           Tue Aug 15 08:47:39 UTC 2017

Modified Files:
        src/sys/arch/cats/cats: cats_machdep.c

Log Message:
Remove dead code. it isn't possible to do non-__ELF__ builds


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/cats/cats/cats_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/cats/cats/cats_machdep.c
diff -u src/sys/arch/cats/cats/cats_machdep.c:1.84 src/sys/arch/cats/cats/cats_machdep.c:1.85
--- src/sys/arch/cats/cats/cats_machdep.c:1.84	Tue Jun 13 15:24:05 2017
+++ src/sys/arch/cats/cats/cats_machdep.c	Tue Aug 15 08:47:39 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: cats_machdep.c,v 1.84 2017/06/13 15:24:05 skrll Exp $	*/
+/*	$NetBSD: cats_machdep.c,v 1.85 2017/08/15 08:47:39 maya Exp $	*/
 
 /*
  * Copyright (c) 1997,1998 Mark Brinicombe.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cats_machdep.c,v 1.84 2017/06/13 15:24:05 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cats_machdep.c,v 1.85 2017/08/15 08:47:39 maya Exp $");
 
 #include "opt_ddb.h"
 #include "opt_modular.h"
@@ -467,18 +467,6 @@ initarm(void *arm_bootargs)
 	fcomcndetach();
 #endif
 
-
-#if NKSYMS || defined(DDB) || defined(MODULAR)
-#ifndef __ELF__		/* XXX */
-	{
-		extern int end;
-		extern int *esym;
-
-		ksyms_addsyms_elf(*(int *)&end, ((int *)&end) + 1, esym);
-	}
-#endif /* __ELF__ */
-#endif
-
 #ifdef DDB
 	db_machine_init();
 	if (boothowto & RB_KDB)

Reply via email to