Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 2015 09:25:52 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285240 - in head/lib/libc: amd64/sys i386/sys
Message-ID:  <201507070925.t679Pq3K071248@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Tue Jul  7 09:25:51 2015
New Revision: 285240
URL: https://svnweb.freebsd.org/changeset/base/285240

Log:
  Remove reboot.S (part of libc).  It's not needed and was actually
  broken - returning 0 from reboot(2) resulted in SIGBUS.
  
  MFC after:	1 month
  Sponsored by:	The FreeBSD Foundation

Deleted:
  head/lib/libc/amd64/sys/reboot.S
  head/lib/libc/i386/sys/reboot.S
Modified:
  head/lib/libc/amd64/sys/Makefile.inc
  head/lib/libc/i386/sys/Makefile.inc

Modified: head/lib/libc/amd64/sys/Makefile.inc
==============================================================================
--- head/lib/libc/amd64/sys/Makefile.inc	Tue Jul  7 07:42:08 2015	(r285239)
+++ head/lib/libc/amd64/sys/Makefile.inc	Tue Jul  7 09:25:51 2015	(r285240)
@@ -5,7 +5,7 @@ SRCS+=	amd64_get_fsbase.c amd64_get_gsba
 	amd64_set_gsbase.c __vdso_gettc.c
 
 MDASM=	vfork.S brk.S cerror.S exect.S getcontext.S pipe.S ptrace.S \
-	reboot.S sbrk.S setlogin.S sigreturn.S
+	sbrk.S setlogin.S sigreturn.S
 
 # Don't generate default code for these syscalls:
 NOASM=	break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o

Modified: head/lib/libc/i386/sys/Makefile.inc
==============================================================================
--- head/lib/libc/i386/sys/Makefile.inc	Tue Jul  7 07:42:08 2015	(r285239)
+++ head/lib/libc/i386/sys/Makefile.inc	Tue Jul  7 09:25:51 2015	(r285240)
@@ -9,7 +9,7 @@ SRCS+=	i386_get_fsbase.c i386_get_gsbase
 	__vdso_gettc.c
 
 MDASM=	Ovfork.S brk.S cerror.S exect.S getcontext.S pipe.S ptrace.S \
-	reboot.S sbrk.S setlogin.S sigreturn.S syscall.S
+	sbrk.S setlogin.S sigreturn.S syscall.S
 
 # Don't generate default code for these syscalls:
 NOASM=	break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o



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