Module Name: src
Committed By: martin
Date: Sat Jul 27 13:07:06 UTC 2013
Modified Files:
src/lib/csu/arch/m68k: crtbegin.h
Log Message:
In .fini invoke destructors (fix copy & pasto)
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/arch/m68k/crtbegin.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/csu/arch/m68k/crtbegin.h
diff -u src/lib/csu/arch/m68k/crtbegin.h:1.3 src/lib/csu/arch/m68k/crtbegin.h:1.4
--- src/lib/csu/arch/m68k/crtbegin.h:1.3 Fri Jul 19 06:26:41 2013
+++ src/lib/csu/arch/m68k/crtbegin.h Sat Jul 27 13:07:06 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: crtbegin.h,v 1.3 2013/07/19 06:26:41 matt Exp $ */
+/* $NetBSD: crtbegin.h,v 1.4 2013/07/27 13:07:06 martin Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -38,7 +38,7 @@ __asm( ".pushsection .init"
__asm( ".pushsection .fini"
#ifdef __pic__
-"\n\t" "bsrl __do_global_ctors_aux"
+"\n\t" "bsrl __do_global_dtors_aux"
#else
"\n\t" "jsr __do_global_dtors_aux"
#endif