Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 03:21:06 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r329118 - in stable/11/sys/boot: arm/uboot mips/uboot powerpc/ofw powerpc/uboot
Message-ID:  <201802110321.w1B3L6pw016398@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802110321.w1B3L6pw016398>