Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2012 05:42:38 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r233986 - stable/9/libexec/rtld-elf
Message-ID:  <201204070542.q375gcn2045247@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Apr  7 05:42:37 2012
New Revision: 233986
URL: http://svn.freebsd.org/changeset/base/233986

Log:
  MFC r233430:
  Provide short-circuit exit(3) implementation for rtld.

Modified:
  stable/9/libexec/rtld-elf/rtld.c
Directory Properties:
  stable/9/libexec/rtld-elf/   (props changed)

Modified: stable/9/libexec/rtld-elf/rtld.c
==============================================================================
--- stable/9/libexec/rtld-elf/rtld.c	Sat Apr  7 05:41:02 2012	(r233985)
+++ stable/9/libexec/rtld-elf/rtld.c	Sat Apr  7 05:42:37 2012	(r233986)
@@ -4384,6 +4384,17 @@ __getosreldate(void)
 	return (osreldate);
 }
 
+void
+exit(int status)
+{
+
+	_exit(status);
+}
+
+void (*__cleanup)(void);
+int __isthreaded = 0;
+int _thread_autoinit_dummy_decl = 1;
+
 /*
  * No unresolved symbols for rtld.
  */



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