diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-07-03 22:07:53 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-07-03 22:07:53 +0000 |
commit | a92771b8eeb748b4e841f0ebca91514203a3fc2b (patch) | |
tree | e82dd48a4282d7b9e8b1c71b065b52af17254c52 /gcc/crtstuff.c | |
parent | 3486c3bf66bc963f1b0d1c5bab35140519dd7619 (diff) | |
download | gcc-a92771b8eeb748b4e841f0ebca91514203a3fc2b.tar.gz |
formatting tweaks
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12390 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/crtstuff.c')
-rw-r--r-- | gcc/crtstuff.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c index cce41b65d7e..ce5ef3293ec 100644 --- a/gcc/crtstuff.c +++ b/gcc/crtstuff.c @@ -123,6 +123,7 @@ __do_global_dtors_aux () } /* Stick a call to __do_global_dtors_aux into the .fini section. */ + static void fini_dummy () { @@ -142,6 +143,7 @@ fini_dummy () function. It is externally callable so that __main can invoke it when INVOKE__main is defined. This has the additional effect of forcing cc1 to switch to the .text section. */ + static void __do_global_ctors_aux (); void __do_global_ctors () { @@ -161,7 +163,7 @@ asm (INIT_SECTION_ASM_OP); /* cc1 doesn't know that we are switching! */ crti.o may do something, such as bump the stack, which we have to undo before we reach the function prologue code for __do_global_ctors (directly below). For such systems, define the macro INIT_SECTION_PREAMBLE - to expand into the code needed to undo the actions of the crti.o file. */ + to expand into the code needed to undo the actions of the crti.o file. */ #ifdef INIT_SECTION_PREAMBLE INIT_SECTION_PREAMBLE; @@ -235,6 +237,7 @@ __do_global_ctors_aux () } /* Stick a call to __do_global_ctors_aux into the .init section. */ + static void init_dummy () { @@ -248,7 +251,7 @@ init_dummy () /* This is a kludge. The i386 Linux dynamic linker needs ___brk_addr, __environ and atexit (). We have to make sure they are in the .dynsym section. We accomplish it by making a dummy call here. This - code is never reached. */ + code is never reached. */ #if defined(__linux__) && defined(__PIC__) && defined(__i386__) { @@ -282,7 +285,7 @@ init_dummy () other libraries, etc. That's because those other initializations may include setup operations for very primitive things (e.g. initializing the state of the floating-point coprocessor, etc.) which should be done - before we start to execute any of the user's code. */ + before we start to execute any of the user's code. */ static void __do_global_ctors_aux () /* prologue goes in .text section */ |