diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/crt32/stdio/ppc/cinitstd.s | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/crt32/stdio/ppc/cinitstd.s')
-rw-r--r-- | private/crt32/stdio/ppc/cinitstd.s | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/private/crt32/stdio/ppc/cinitstd.s b/private/crt32/stdio/ppc/cinitstd.s new file mode 100644 index 000000000..cef95550e --- /dev/null +++ b/private/crt32/stdio/ppc/cinitstd.s @@ -0,0 +1,47 @@ +// page ,132 +// title cinittmp - C Run-Time Termination for STDIO Buffer Flushing +// +//cinittmp.asm - WIN32 C Run-Time Initialization for the temporary file function +// +// Copyright (c) 1992, Microsoft Corporation. All rights reserved. +// +//Purpose: +// This module defines the symbol __cflush which is referenced by those +// modules that require the __endstdio() terminator. This module places +// the address of the __endstdio() terminator in the pre-terminator table. +// +//Notes: +// +//Revision History: +// 03-19-92 SKS Module created. +// 03-24-92 SKS Added MIPS support (NO_UNDERSCORE) +// 04-29-92 SKS Changed erroneous XP$C to XP$X +// 04-30-92 SKS Add "offset FLAT:" to get correct fixups for OMF objs +// 08-06-92 SKS Revised to use new section names and macros +// +// ****************************************************************************/ + +#include "kxppc.h" + + .extern _endstdio + + +beginSection(XPX) + + .long _endstdio + +endSection(XPX) + + + .data + .align 2 + +// +// _cflush is a dummy variable used to pull in _endstdio() when +// any STDIO routine is included in the user program. +// + + .globl _cflush + +_cflush: .long 0 + |