Source-Changes-HG archive

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

[src/trunk]: src/regress/lib/csu/initfini/arch/i386 i386 asm bits for .init/....



details:   https://anonhg.NetBSD.org/src/rev/c2aef0f9033e
branches:  trunk
changeset: 512793:c2aef0f9033e
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jul 17 04:03:53 2001 +0000

description:
i386 asm bits for .init/.fini regression test.

diffstat:

 regress/lib/csu/initfini/arch/i386/initfini_asm.S |  16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r 21954cb6f35b -r c2aef0f9033e regress/lib/csu/initfini/arch/i386/initfini_asm.S
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/csu/initfini/arch/i386/initfini_asm.S Tue Jul 17 04:03:53 2001 +0000
@@ -0,0 +1,16 @@
+/*     $NetBSD: initfini_asm.S,v 1.1 2001/07/17 04:03:53 thorpej Exp $ */
+
+/*
+ * This file placed in the public domain.
+ * Jason R. Thorpe, July 16, 2001.
+ */
+
+#include <machine/asm.h>
+
+       .section .init, "ax", @progbits
+       call    _C_LABEL(i_am_init)
+       .previous
+
+       .section .fini, "ax", @progbits
+       call    _C_LABEL(i_am_fini)
+       .previous



Home | Main Index | Thread Index | Old Index