aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sparc.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-02-15 21:09:34 +0000
committerK. Richard Pixley <rich@cygnus>1992-02-15 21:09:34 +0000
commita87b3269340cca83c2197909ade48e28023b9cfd (patch)
tree70aaf742bce3e0cb67d7500523b91108cd3981cd /gas/config/tc-sparc.c
parent5b3fb530400928638f5a542f9bb8e37d7e4db8a9 (diff)
downloadgdb-a87b3269340cca83c2197909ade48e28023b9cfd.zip
gdb-a87b3269340cca83c2197909ade48e28023b9cfd.tar.gz
gdb-a87b3269340cca83c2197909ade48e28023b9cfd.tar.bz2
White space and comment changes, and #ifdef __STDC__ becomes #if
__STDC__ == 1.
Diffstat (limited to 'gas/config/tc-sparc.c')
-rw-r--r--gas/config/tc-sparc.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index c27c058..f17a7dc 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -1,6 +1,5 @@
-#define cypress 1234
/* tc-sparc.c -- Assemble for the SPARC
- Copyright (C) 1989, 1990, 1991 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -18,6 +17,8 @@
along with GAS; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+#define cypress 1234
+
#include <stdio.h>
#include <ctype.h>
@@ -111,17 +112,18 @@ int pcrel;
enum reloc_type reloc;
} the_insn, set_insn;
-#ifdef __STDC__
+#if __STDC__ == 1
#if 0
static void print_insn(struct sparc_it *insn);
#endif
static int getExpression(char *str);
-#else
+#else /* not __STDC__ */
#if 0
static void print_insn();
#endif
static int getExpression();
-#endif
+#endif /* not __STDC__ */
+
static char *expr_end;
static int special_case;
@@ -1496,7 +1498,7 @@ void tc_aout_fix_to_chars(where, fixP, segment_address_in_file)
{
long r_index;
long r_extern;
- long r_addend;
+ long r_addend = 0;
long r_address;
know(fixP->fx_addsy);