svn commit: r329118 - in stable/11/sys/boot: arm/uboot mips/uboot powerpc/ofw powerpc/uboot

Kyle Evans kevans at FreeBSD.org
Sun Feb 11 03:21:07 UTC 2018


Author: kevans
Date: Sun Feb 11 03:21:06 2018
New Revision: 329118
URL: https://svnweb.freebsd.org/changeset/base/329118

Log:
  Back out MFC r324558: Define prototype for exit and ensure references
  
  This went terribly wrong

Modified:
  stable/11/sys/boot/arm/uboot/conf.c
  stable/11/sys/boot/mips/uboot/conf.c
  stable/11/sys/boot/powerpc/ofw/conf.c
  stable/11/sys/boot/powerpc/uboot/conf.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/boot/arm/uboot/conf.c
==============================================================================
--- stable/11/sys/boot/arm/uboot/conf.c	Sun Feb 11 03:10:27 2018	(r329117)
+++ stable/11/sys/boot/arm/uboot/conf.c	Sun Feb 11 03:21:06 2018	(r329118)
@@ -36,9 +36,6 @@ __FBSDID("$FreeBSD$");
 #include "dev_net.h"
 #endif
 
-/* Make sure we have an explicit reference to exit so libsa's panic pulls in the MD exit */
-void (*exitfn)(int) = exit;
-
 struct devsw *devsw[] = {
 #if defined(LOADER_DISK_SUPPORT) || defined(LOADER_CD9660_SUPPORT)
 	&uboot_storage,

Modified: stable/11/sys/boot/mips/uboot/conf.c
==============================================================================
--- stable/11/sys/boot/mips/uboot/conf.c	Sun Feb 11 03:10:27 2018	(r329117)
+++ stable/11/sys/boot/mips/uboot/conf.c	Sun Feb 11 03:21:06 2018	(r329118)
@@ -36,9 +36,6 @@ __FBSDID("$FreeBSD$");
 #include "dev_net.h"
 #endif
 
-/* Make sure we have an explicit reference to exit so libsa's panic pulls in the MD exit */
-void (*exitfn)(int) = exit;
-
 struct devsw *devsw[] = {
 #if defined(LOADER_DISK_SUPPORT) || defined(LOADER_CD9660_SUPPORT)
 	&uboot_storage,

Modified: stable/11/sys/boot/powerpc/ofw/conf.c
==============================================================================
--- stable/11/sys/boot/powerpc/ofw/conf.c	Sun Feb 11 03:10:27 2018	(r329117)
+++ stable/11/sys/boot/powerpc/ofw/conf.c	Sun Feb 11 03:21:06 2018	(r329118)
@@ -36,9 +36,6 @@ __FBSDID("$FreeBSD$");
 #include "dev_net.h"
 #endif
 
-/* Make sure we have an explicit reference to exit so libsa's panic pulls in the MD exit */
-void (*exitfn)(int) = exit;
-
 /*
  * We could use linker sets for some or all of these, but
  * then we would have to control what ended up linked into

Modified: stable/11/sys/boot/powerpc/uboot/conf.c
==============================================================================
--- stable/11/sys/boot/powerpc/uboot/conf.c	Sun Feb 11 03:10:27 2018	(r329117)
+++ stable/11/sys/boot/powerpc/uboot/conf.c	Sun Feb 11 03:21:06 2018	(r329118)
@@ -35,9 +35,6 @@ __FBSDID("$FreeBSD$");
 #include "dev_net.h"
 #endif
 
-/* Make sure we have an explicit reference to exit so libsa's panic pulls in the MD exit */
-void (*exitfn)(int) = exit;
-
 /*
  * We could use linker sets for some or all of these, but
  * then we would have to control what ended up linked into


More information about the svn-src-all mailing list