2000-09-11 Kazu Hirata <kazu@hxi.com>

* bignum-copy.c: Fix formatting.
	* ehopt.c: Likewise.
	* flonum-copy.c: Likewise.
	* flonum-konst.c: Likewise.
	* flonum-mult.c: Likewise.
	* literal.c: Likewise.
	* read.c: Likewise.
	* sb.c: Likewise.
	* stabs.c: Likewise.
	* subsegs.c: Likewise.
This commit is contained in:
Kazu Hirata 2000-09-12 03:56:22 +00:00
parent 92774660ac
commit f0e652b4aa
11 changed files with 112 additions and 101 deletions

View file

@ -1,8 +1,18 @@
2000-09-11 Kazu Hirata <kazu@hxi.com>
* config/tc-i370.c: Fix formatting.
* bignum-copy.c: Fix formatting.
* config/tc-i370.c: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-m68k.c: Likewise.
* ehopt.c: Likewise.
* flonum-copy.c: Likewise.
* flonum-konst.c: Likewise.
* flonum-mult.c: Likewise.
* literal.c: Likewise.
* read.c: Likewise.
* sb.c: Likewise.
* stabs.c: Likewise.
* subsegs.c: Likewise.
2000-09-09 Philip Blundell <philb@gnu.org>

View file

@ -1,5 +1,6 @@
/* bignum_copy.c - copy a bignum
Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc.
Copyright (C) 1987, 1990, 1991, 1992, 2000
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@ -15,7 +16,7 @@
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "as.h"
@ -43,7 +44,7 @@ bignum_copy (in, in_length, out, out_length)
if (out_length < in_length)
{
LITTLENUM_TYPE *p; /* -> most significant (non-zero) input
littlenum. */
littlenum. */
memcpy ((void *) out, (void *) in,
(unsigned int) out_length << LITTLENUM_SHIFT);

View file

@ -1,5 +1,5 @@
/* ehopt.c--optimize gcc exception frame information.
Copyright (C) 1998 Free Software Foundation, Inc.
Copyright (C) 1998, 2000 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@cygnus.com>.
This file is part of GAS, the GNU Assembler.
@ -17,7 +17,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
02111-1307, USA. */
#include "as.h"
#include "subsegs.h"

View file

@ -1,5 +1,5 @@
/* flonum_copy.c - copy a flonum
Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc.
Copyright (C) 1987, 1990, 1991, 1992, 2000 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@ -59,7 +59,7 @@ flonum_copy (in, out)
}
else
{
int shorten; /* 1-origin. Number of littlenums we drop. */
int shorten; /* 1-origin. Number of littlenums we drop. */
shorten = in_length - out_length;
/* Assume out_length >= 0 ! */

View file

@ -1,5 +1,5 @@
/* flonum_const.c - Useful Flonum constants
Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 1996
Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 96, 2000
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@ -23,7 +23,7 @@
#include "flonum.h"
/* JF: I added the last entry to this table, and I'm not
sure if its right or not. Could go either way. I wish
I really understood this stuff. */
I really understood this stuff. */
const int table_size_of_flonum_powers_of_ten = 13;

View file

@ -1,5 +1,6 @@
/* flonum_mult.c - multiply two flonums
Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc.
Copyright (C) 1987, 1990, 1991, 1992, 2000
Free Software Foundation, Inc.
This file is part of Gas, the GNU Assembler.
@ -160,7 +161,7 @@ flonum_multip (a, b, product)
}
}
/* [P]-> position # size_of_sum + 1.
This is where 'carry' should go. */
This is where 'carry' should go. */
#ifdef TRACE
printf ("final carry =%04x\n", carry);
#endif

View file

@ -1,5 +1,5 @@
/* as.c - GAS literal pool management.
Copyright (C) 1994 Free Software Foundation, Inc.
Copyright (C) 1994, 2000 Free Software Foundation, Inc.
Written by Ken Raeburn (raeburn@cygnus.com).
This file is part of GAS, the GNU Assembler.
@ -16,7 +16,7 @@
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* This isn't quite a "constant" pool. Some of the values may get
adjusted at run time, e.g., for symbolic relocations when shared

View file

@ -17,7 +17,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
02111-1307, USA. */
#if 0
/* If your chars aren't 8 bits, you will change this a bit.

View file

@ -1,5 +1,5 @@
/* sb.c - string buffer manipulation routines
Copyright (C) 1994, 1995 Free Software Foundation, Inc.
Copyright (C) 1994, 1995, 2000 Free Software Foundation, Inc.
Written by Steve and Judy Chamberlain of Cygnus Support,
sac@cygnus.com
@ -19,7 +19,7 @@
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
02111-1307, USA. */
#include "config.h"
#include <stdio.h>
@ -62,7 +62,7 @@ int string_count[sb_max_power_two];
static sb_list_vector free_list;
/* initializes an sb. */
/* initializes an sb. */
void
sb_build (ptr, size)
@ -97,7 +97,6 @@ sb_build (ptr, size)
ptr->item = e;
}
void
sb_new (ptr)
sb *ptr;
@ -129,7 +128,7 @@ sb_add_sb (ptr, s)
}
/* make sure that the sb at ptr has room for another len characters,
and grow it if it doesn't. */
and grow it if it doesn't. */
static void
sb_check (ptr, len)
@ -158,7 +157,7 @@ sb_reset (ptr)
ptr->len = 0;
}
/* add character c to the end of the sb at ptr. */
/* add character c to the end of the sb at ptr. */
void
sb_add_char (ptr, c)
@ -169,7 +168,7 @@ sb_add_char (ptr, c)
ptr->ptr[ptr->len++] = c;
}
/* add null terminated string s to the end of sb at ptr. */
/* add null terminated string s to the end of sb at ptr. */
void
sb_add_string (ptr, s)
@ -228,7 +227,7 @@ sb_print_at (outfile, idx, ptr)
}
/* put a null at the end of the sb at in and return the start of the
string, so that it can be used as an arg to printf %s. */
string, so that it can be used as an arg to printf %s. */
char *
sb_name (in)
@ -267,7 +266,7 @@ sb_skip_white (idx, ptr)
/* start at the index idx into the sb at ptr. skips whitespace,
a comma and any following whitespace. returnes the index of the
next character. */
next character. */
int
sb_skip_comma (idx, ptr)

View file

@ -1,5 +1,5 @@
/* Generic stabs parsing for gas.
Copyright (C) 1989, 90, 91, 93, 94, 95, 96, 97, 98, 1999
Copyright (C) 1989, 90, 91, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@ -17,7 +17,7 @@ the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
02111-1307, USA. */
#include "as.h"
#include "obstack.h"
@ -25,7 +25,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "ecoff.h"
/* We need this, despite the apparent object format dependency, since
it defines stab types, which all object formats can use now. */
it defines stab types, which all object formats can use now. */
#include "aout/stab_gnu.h"
@ -112,7 +112,7 @@ get_stab_string_offset (string, stabstr_secname)
}
if (length > 0)
{ /* Ordinary case. */
{ /* Ordinary case. */
p = frag_more (length + 1);
strcpy (p, string);
@ -171,7 +171,7 @@ aout_process_stab (what, string, type, other, desc)
#endif
/* This can handle different kinds of stabs (s,n,d) and different
kinds of stab sections. */
kinds of stab sections. */
static void
s_stab_generic (what, stab_secname, stabstr_secname)
@ -383,7 +383,7 @@ s_stab_generic (what, stab_secname, stabstr_secname)
demand_empty_rest_of_line ();
}
/* Regular stab directive. */
/* Regular stab directive. */
void
s_stab (what)
@ -392,7 +392,7 @@ s_stab (what)
s_stab_generic (what, STAB_SECTION_NAME, STAB_STRING_SECTION_NAME);
}
/* "Extended stabs", used in Solaris only now. */
/* "Extended stabs", used in Solaris only now. */
void
s_xstab (what)
@ -524,7 +524,7 @@ generate_asm_file (type, file)
int len = (bslash ? (bslash - tmp + 1) : strlen (tmp));
/* double all backslashes, since demand_copy_C_string (used by
s_stab to extract the part in quotes) will try to replace them as
escape sequences. backslash may appear in a filespec. */
escape sequences. backslash may appear in a filespec. */
strncpy (bufp, tmp, len);
tmp += len;
bufp += len;

View file

@ -1,5 +1,5 @@
/* subsegs.c - subsegments -
Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 96, 97, 98, 1999
Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@ -37,7 +37,7 @@ static struct obstack frchains;
segment_info_type segment_info[SEG_MAXIMUM_ORDINAL];
#else
/* Commented in "subsegs.h". */
/* Commented in "subsegs.h". */
frchainS *data0_frchainP, *bss0_frchainP;
#endif /* MANY_SEGMENTS */
@ -62,7 +62,7 @@ char const *const seg_name[] =
"transfert vector postload",
"register",
"",
}; /* Used by error reporters, dumpers etc. */
}; /* Used by error reporters, dumpers etc. */
#else /* BFD_ASSEMBLER */
/* Gas segment information for bfd_abs_section_ptr and
@ -103,12 +103,12 @@ subsegs_begin ()
#endif
frchain_root = NULL;
frchain_now = NULL; /* Warn new_subseg() that we are booting. */
frchain_now = NULL; /* Warn new_subseg() that we are booting. */
frag_now = &dummy_frag;
#ifndef BFD_ASSEMBLER
now_subseg = 42; /* Lie for 1st call to subseg_new. */
now_subseg = 42; /* Lie for 1st call to subseg_new. */
#ifdef MANY_SEGMENTS
{
int i;
@ -275,7 +275,7 @@ subseg_set_rest (seg, subseg)
*/
if (!frcP
|| (frcP->frch_seg > seg
|| frcP->frch_subseg > subseg)) /* Kinky logic only works with 2 segments. */
|| frcP->frch_subseg > subseg)) /* Kinky logic only works with 2 segments. */
{
/*
* This should be the only code that creates a frchainS.