diff options
author | Geoff Keating <geoffk@cygnus.com> | 2000-08-14 05:59:50 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2000-08-14 05:59:50 +0000 |
commit | 0858c623d0c2307d5072575f394e05448b12817f (patch) | |
tree | bf2013914495537d0dd5a8f1d43cb696b4b8434e /gcc/config/rs6000/sol-c0.c | |
parent | 51a017d8bc4aa54f56d0f245dacf5e847c947b9f (diff) | |
download | gcc-0858c623d0c2307d5072575f394e05448b12817f.zip gcc-0858c623d0c2307d5072575f394e05448b12817f.tar.gz gcc-0858c623d0c2307d5072575f394e05448b12817f.tar.bz2 |
flow.c (attempt_auto_inc): Remove unused variable `bb'.
* flow.c (attempt_auto_inc): Remove unused variable `bb'.
(attempt_auto_inc): Suppress parentheses warning.
* function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
* loop.c (load_mems): Remove `u' suffix in two places.
* config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
hex constants.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/sol-c0.c: Prototype some functions. Remove the
__eabi dummy routine.
* config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
variable `buf_ptr'.
From-SVN: r35670
Diffstat (limited to 'gcc/config/rs6000/sol-c0.c')
-rw-r--r-- | gcc/config/rs6000/sol-c0.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gcc/config/rs6000/sol-c0.c b/gcc/config/rs6000/sol-c0.c index 44cd76f..a31876c 100644 --- a/gcc/config/rs6000/sol-c0.c +++ b/gcc/config/rs6000/sol-c0.c @@ -1,5 +1,5 @@ /* Solaris PowerPC startfile. */ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 2000 Free Software Foundation, Inc. This file is part of GNU CC. @@ -32,6 +32,10 @@ extern char **_environ; extern int atexit (void (*__func) (void)); extern void __init (void) __attribute__ ((__longcall__)); extern void __fini (void) __attribute__ ((__longcall__)); +extern void _start(int argc, char *argv[], char *envp[], void *auxp, + void (*termfunc)()); +extern void exit(int); +extern int main (int argc, char *argv[], char *envp[], void *auxp); typedef void (*func_ptr) (void); int (*__atexit)(func_ptr) = atexit; @@ -116,9 +120,3 @@ _start(int argc, char *argv[], char *envp[], void *auxp, void (*termfunc)()) /* Return to the os */ exit (ret); } - -/* Provide a dummy __eabi in case main got compiled without -mcall-solaris. */ -void -__eabi () -{ -} |