diff options
author | Mike Stump <mrs@gcc.gnu.org> | 1996-07-03 22:07:53 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 1996-07-03 22:07:53 +0000 |
commit | 0f41302f4736dbb0fbf4690d6430ce581c5a9d80 (patch) | |
tree | e82dd48a4282d7b9e8b1c71b065b52af17254c52 /gcc/crtstuff.c | |
parent | 9753f1136864a98cca12ab71f0ffe1af4dd84486 (diff) | |
download | gcc-0f41302f4736dbb0fbf4690d6430ce581c5a9d80.zip gcc-0f41302f4736dbb0fbf4690d6430ce581c5a9d80.tar.gz gcc-0f41302f4736dbb0fbf4690d6430ce581c5a9d80.tar.bz2 |
formatting tweaks
From-SVN: r12390
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 cce41b6..ce5ef32 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 */ |