aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-a29k.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-09-15 01:06:52 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-09-15 01:06:52 +0000
commit1dab94dd914a97fd9a67bb7b2540ae60bdc6af9e (patch)
treeeed31692aa23d5e1482f60248565bb1d05e72fcd /gas/config/tc-a29k.c
parent7484b8e6d911ef13ec4197a4b8334220c41f7dc4 (diff)
downloadgdb-1dab94dd914a97fd9a67bb7b2540ae60bdc6af9e.zip
gdb-1dab94dd914a97fd9a67bb7b2540ae60bdc6af9e.tar.gz
gdb-1dab94dd914a97fd9a67bb7b2540ae60bdc6af9e.tar.bz2
2000-09-14 Kazu Hirata <kazu@hxi.com>
* config/tc-a29k.c: Fix formatting. * config/tc-alpha.c: Likewise. * config/tc-arc.c: Likewise. * config/tc-arc.h: Likewise. * config/tc-arm.c: Likewise. * config/tc-arm.h: Likewise. * config/tc-avr.c: Likewise. * config/tc-avr.h: Likewise. * config/tc-tic30.c: Likewise. * config/tc-tic30.h: Likewise. * config/tc-tic54x.c: Likewise. * config/tc-tic54x.h: Likewise. * config/tc-tic80.c: Likewise. * config/tc-tic80.h: Likewise.
Diffstat (limited to 'gas/config/tc-a29k.c')
-rw-r--r--gas/config/tc-a29k.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/gas/config/tc-a29k.c b/gas/config/tc-a29k.c
index b72e570..10760ab 100644
--- a/gas/config/tc-a29k.c
+++ b/gas/config/tc-a29k.c
@@ -1,5 +1,5 @@
/* tc-a29k.c -- Assemble for the AMD 29000.
- Copyright (C) 1989, 90, 91, 92, 93, 94, 95, 1998
+ Copyright (C) 1989, 90, 91, 92, 93, 94, 95, 98, 2000
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -98,7 +98,7 @@ const char comment_chars[] = ";";
.line and .file directives will appear in the pre-processed output */
/* Note that input_file.c hand checks for '#' at the beginning of the
first line of the input file. This is because the compiler outputs
- #NO_APP at the beginning of its output. */
+ #NO_APP at the beginning of its output. */
/* Also note that comments like this one will always work */
const char line_comment_chars[] = "#";
@@ -148,7 +148,7 @@ s_use (ignore)
return;
}
/* Literals can't go in the text segment because you can't read from
- instruction memory on some 29k's. So, into initialized data. */
+ instruction memory on some 29k's. So, into initialized data. */
if (strncmp (input_line_pointer, ".lit", 4) == 0)
{
input_line_pointer += 4;
@@ -283,7 +283,7 @@ md_begin ()
}
/* Hack to avoid multiple opcode entries. We pre-locate all the
- variations (b/i field and P/A field) and handle them. */
+ variations (b/i field and P/A field) and handle them. */
if (!strcmp (name, machine_opcodes[i + 1].name))
{
@@ -427,7 +427,7 @@ machine_ip (str)
/* Build the opcode, checking as we go to make sure that the
operands match.
-
+
If an operand matches, we modify the_insn or opcode appropriately,
and do a "continue". If an operand fails to match, we "break". */
@@ -445,7 +445,7 @@ machine_ip (str)
case '\0': /* end of args */
if (*s == '\0')
{
- /* We are truly done. */
+ /* We are truly done. */
the_insn.opcode = opcode;
return;
}
@@ -669,7 +669,6 @@ machine_ip (str)
}
break;
-
case 'f': /* FS bits of CONVERT */
if (operand->X_op == O_constant &&
operand->X_add_number < 4)
@@ -792,7 +791,6 @@ md_apply_fix (fixP, val)
fixP->fx_addnumber = val; /* Remember value for emit_reloc */
-
know (fixP->fx_size == 4);
know (fixP->fx_r_type < NO_RELOC);
@@ -1004,7 +1002,7 @@ print_insn (insn)
On sparc/29k: first 4 bytes are normal unsigned long address, next three
bytes are index, most sig. byte first. Byte 7 is broken up with
bit 7 as external, bits 6 & 5 unused, and the lower
- five bits as relocation type. Next 4 bytes are long addend. */
+ five bits as relocation type. Next 4 bytes are long addend. */
/* Thanx and a tip of the hat to Michael Bloom, mb@ttidca.tti.com */
#ifdef OBJ_AOUT
@@ -1121,7 +1119,7 @@ md_undefined_symbol (name)
long maxreg;
/* Parse the number, make sure it has no extra zeroes or
- trailing chars. */
+ trailing chars. */
regnum = atol (&name[2]);
if (name[0] == 's' || name[0] == 'S')
@@ -1235,7 +1233,7 @@ md_operand (expressionP)
type = 'x';
fieldlimit = 4;
}
- else
+ else
{
return;
}
@@ -1266,7 +1264,7 @@ md_operand (expressionP)
SKIP_WHITESPACE ();
input_line_pointer = s;
- expressionP->X_op = O_constant;
+ expressionP->X_op = O_constant;
expressionP->X_unsigned = 1;
expressionP->X_add_number = ((floatbuf[fieldnum * 2]
<< LITTLENUM_NUMBER_OF_BITS)
@@ -1292,5 +1290,3 @@ md_pcrel_from (fixP)
{
return fixP->fx_where + fixP->fx_frag->fr_address;
}
-
-/* end of tc-a29k.c */