Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/lib/libc/stdlib Pull up following revision(s) (requested ...



details:   https://anonhg.NetBSD.org/src/rev/77395793f220
branches:  netbsd-7
changeset: 799222:77395793f220
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Sun Apr 19 05:03:02 2015 +0000

description:
Pull up following revision(s) (requested by joerg in ticket #708):
        lib/libc/stdlib/atexit.c: revision 1.28
Add __aeabi_atexit alias for another case of NIH on ARM.

diffstat:

 lib/libc/stdlib/atexit.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 6517c7d0604a -r 77395793f220 lib/libc/stdlib/atexit.c
--- a/lib/libc/stdlib/atexit.c  Sun Apr 19 04:44:03 2015 +0000
+++ b/lib/libc/stdlib/atexit.c  Sun Apr 19 05:03:02 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atexit.c,v 1.26 2013/08/19 22:14:37 matt Exp $ */
+/*     $NetBSD: atexit.c,v 1.26.4.1 2015/04/19 05:03:02 msaitoh Exp $  */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: atexit.c,v 1.26 2013/08/19 22:14:37 matt Exp $");
+__RCSID("$NetBSD: atexit.c,v 1.26.4.1 2015/04/19 05:03:02 msaitoh Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "reentrant.h"
@@ -133,6 +133,10 @@
  *
  *     http://www.codesourcery.com/cxx-abi/abi.html#dso-dtor
  */
+#if defined(__ARM_EABI__) && !defined(lint)
+__strong_alias(__aeabi_atexit,__cxa_atexit);
+#endif
+
 int
 __cxa_atexit(void (*func)(void *), void *arg, void *dso)
 {



Home | Main Index | Thread Index | Old Index