Fix spelling typos.

Remove use of DEFUN().
This commit is contained in:
Nick Clifton
2000-06-25 17:59:22 +00:00
parent 590a2450f1
commit 1994a7c76c
16 changed files with 962 additions and 509 deletions

View File

@ -1,5 +1,12 @@
2000-06-25 Kazu Hirata <kazu@hxi.com> 2000-06-25 Kazu Hirata <kazu@hxi.com>
* config/obj-aout.c: Remove all uses of DEFUN.
* config/obj-ieee.c: Likewise.
* config/tc-sh.c: Fix comment typos.
* config/tc-tahoe.c: Likewise.
* config/tc-vax.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.
* config/tc-h8300.c (build_bytes): Assemble ldmac correctly. * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
2000-06-24 DJ Delorie <dj@cygnus.com> 2000-06-24 DJ Delorie <dj@cygnus.com>

View File

@ -1843,7 +1843,7 @@ configure configure.in gdbinit.in itbl-lex.c itbl-parse.c
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar TAR = gtar
GZIP_ENV = --best GZIP_ENV = --best
SOURCES = $(itbl_test_SOURCES) $(as_new_SOURCES) $(EXTRA_as_new_SOURCES) $(gasp_new_SOURCES) SOURCES = $(itbl_test_SOURCES) $(as_new_SOURCES) $(EXTRA_as_new_SOURCES) $(gasp_new_SOURCES)
OBJECTS = $(itbl_test_OBJECTS) $(as_new_OBJECTS) $(gasp_new_OBJECTS) OBJECTS = $(itbl_test_OBJECTS) $(as_new_OBJECTS) $(gasp_new_OBJECTS)

11
gas/aclocal.m4 vendored
View File

@ -173,7 +173,7 @@ LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|| AC_MSG_ERROR([libtool configure failed]) || AC_MSG_ERROR([libtool configure failed])
# Reload cache, that may have been modified by ltconfig # Reload cache, that may have been modified by ltconfig
@ -205,11 +205,6 @@ AC_REQUIRE([AC_PROG_NM])dnl
AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_PROG_LN_S])dnl
dnl dnl
case "$target" in
NONE) lt_target="$host" ;;
*) lt_target="$target" ;;
esac
# Check for any special flags to pass to ltconfig. # Check for any special flags to pass to ltconfig.
libtool_flags="--cache-file=$cache_file" libtool_flags="--cache-file=$cache_file"
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
@ -228,7 +223,7 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
# Some flags need to be propagated to the compiler or linker for good # Some flags need to be propagated to the compiler or linker for good
# libtool support. # libtool support.
case "$lt_target" in case "$host" in
*-*-irix6*) *-*-irix6*)
# Find out which ABI we are using. # Find out which ABI we are using.
echo '[#]line __oline__ "configure"' > conftest.$ac_ext echo '[#]line __oline__ "configure"' > conftest.$ac_ext
@ -495,7 +490,7 @@ AC_MSG_RESULT([$NM])
AC_DEFUN(AC_CHECK_LIBM, AC_DEFUN(AC_CHECK_LIBM,
[AC_REQUIRE([AC_CANONICAL_HOST])dnl [AC_REQUIRE([AC_CANONICAL_HOST])dnl
LIBM= LIBM=
case "$lt_target" in case "$host" in
*-*-beos* | *-*-cygwin*) *-*-beos* | *-*-cygwin*)
# These system don't have libm # These system don't have libm
;; ;;

View File

@ -578,7 +578,7 @@ obj_pre_write_hook (headers)
} }
void void
DEFUN_VOID (s_sect) s_sect ()
{ {
/* Strip out the section name */ /* Strip out the section name */
char *section_name; char *section_name;

View File

@ -55,9 +55,9 @@ relax_align (address, alignment)
/* calculate the size of the frag chain and create a bfd section /* calculate the size of the frag chain and create a bfd section
to contain all of it */ to contain all of it */
static void static void
DEFUN (size_section, (abfd, idx), size_section (abfd, idx)
bfd * abfd AND bfd * abfd;
unsigned int idx) unsigned int idx;
{ {
asection *sec; asection *sec;
unsigned int size = 0; unsigned int size = 0;
@ -106,9 +106,9 @@ DEFUN (size_section, (abfd, idx),
/* run through a frag chain and write out the data to go with it */ /* run through a frag chain and write out the data to go with it */
static void static void
DEFUN (fill_section, (abfd, idx), fill_section (abfd, idx)
bfd * abfd AND bfd * abfd;
unsigned int idx) unsigned int idx;
{ {
asection *sec = segment_info[idx].user_stuff; asection *sec = segment_info[idx].user_stuff;
if (sec) if (sec)
@ -159,8 +159,8 @@ DEFUN (fill_section, (abfd, idx),
/* Count the relocations in a chain */ /* Count the relocations in a chain */
static unsigned int static unsigned int
DEFUN (count_entries_in_chain, (idx), count_entries_in_chain (idx)
unsigned int idx) unsigned int idx;
{ {
unsigned int nrelocs; unsigned int nrelocs;
fixS *fixup_ptr; fixS *fixup_ptr;
@ -178,8 +178,8 @@ DEFUN (count_entries_in_chain, (idx),
/* output all the relocations for a section */ /* output all the relocations for a section */
void void
DEFUN (do_relocs_for, (idx), do_relocs_for (idx)
unsigned int idx) unsigned int idx;
{ {
unsigned int nrelocs; unsigned int nrelocs;
arelent **reloc_ptr_vector; arelent **reloc_ptr_vector;
@ -270,8 +270,8 @@ DEFUN (do_relocs_for, (idx),
/* do the symbols.. */ /* do the symbols.. */
static void static void
DEFUN (do_symbols, (abfd), do_symbols (abfd)
bfd * abfd) bfd * abfd;
{ {
extern symbolS *symbol_rootP; extern symbolS *symbol_rootP;
symbolS *ptr; symbolS *ptr;
@ -333,7 +333,7 @@ DEFUN (do_symbols, (abfd),
code */ code */
void void
DEFUN_VOID (bfd_as_write_hook) bfd_as_write_hook ()
{ {
int i; int i;
@ -509,7 +509,7 @@ obj_symbol_new_hook (symbolP)
#if 1 #if 1
extern void extern void
DEFUN_VOID (write_object_file) write_object_file ()
{ {
int i; int i;
struct frchain *frchain_ptr; struct frchain *frchain_ptr;

View File

@ -1290,9 +1290,11 @@ static void
s_thumb_func (ignore) s_thumb_func (ignore)
int ignore ATTRIBUTE_UNUSED; int ignore ATTRIBUTE_UNUSED;
{ {
if (! thumb_mode)
opcode_select (16);
/* The following label is the name/address of the start of a Thumb function. /* The following label is the name/address of the start of a Thumb function.
We need to know this for the interworking support. */ We need to know this for the interworking support. */
label_is_thumb_function_name = true; label_is_thumb_function_name = true;
demand_empty_rest_of_line (); demand_empty_rest_of_line ();

View File

@ -1285,8 +1285,7 @@ insert_loop_bounds (output, operand)
return frag_more (2); return frag_more (2);
} }
/* Now we know what sort of opcodes it is, lets build the bytes - /* Now we know what sort of opcodes it is, lets build the bytes. */
*/
static void static void
build_Mytes (opcode, operand) build_Mytes (opcode, operand)
sh_opcode_info *opcode; sh_opcode_info *opcode;

View File

@ -1224,7 +1224,7 @@ tip_op (optex, topP)
if (*op_bad == '\0') if (*op_bad == '\0')
{ {
/* statement has no syntax goofs yet: lets sniff the expression */ /* Statement has no syntax goofs yet: let's sniff the expression. */
input_line_pointer = point; input_line_pointer = point;
expP = &(topP->exp_of_operand); expP = &(topP->exp_of_operand);
topP->seg_of_operand = expression (expP); topP->seg_of_operand = expression (expP);
@ -1526,7 +1526,7 @@ tip (titP, instring)
else else
{ {
/* /*
* We found a match! So lets pick up as many operands as the * We found a match! So let's pick up as many operands as the
* instruction wants, and even gripe if there are too many. * instruction wants, and even gripe if there are too many.
* We expect comma to seperate each operand. * We expect comma to seperate each operand.
* We let instring track the text, while p tracks a part of the * We let instring track the text, while p tracks a part of the

View File

@ -389,7 +389,7 @@ md_assemble (instruction_string)
} }
else else
{ {
/* statement has no syntax goofs: lets sniff the expression */ /* Statement has no syntax goofs: let's sniff the expression. */
int can_be_short = 0; /* 1 if a bignum can be reduced to a short literal. */ int can_be_short = 0; /* 1 if a bignum can be reduced to a short literal. */
input_line_pointer = operandP->vop_expr_begin; input_line_pointer = operandP->vop_expr_begin;
@ -1795,7 +1795,7 @@ vip (vitP, instring)
else else
{ {
/* /*
* We found a match! So lets pick up as many operands as the * We found a match! So let's pick up as many operands as the
* instruction wants, and even gripe if there are too many. * instruction wants, and even gripe if there are too many.
* We expect comma to seperate each operand. * We expect comma to seperate each operand.
* We let instring track the text, while p tracks a part of the * We let instring track the text, while p tracks a part of the

View File

@ -644,8 +644,7 @@ check (operand, low, high)
static int log2[] = static int log2[] =
{0, 0, 1, 0, 2}; {0, 0, 1, 0, 2};
/* Now we know what sort of opcodes it is, lets build the bytes - /* Now we know what sort of opcodes it is, let's build the bytes. */
*/
static void static void
build_Mytes (opcode) build_Mytes (opcode)
struct opinfo *opcode; struct opinfo *opcode;

View File

@ -1185,9 +1185,8 @@ top:;
} }
/* This is the guts of the machine-dependent assembler. STR points to a /* This is the guts of the machine-dependent assembler. STR points to a
machine dependent instruction. This funciton is supposed to emit machine dependent instruction. This function is supposed to emit
the frags/bytes it assembles to. the frags/bytes it assembles to. */
*/
void void
md_assemble (str) md_assemble (str)

371
gas/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -203,7 +203,8 @@ This directive specifies that the following symbol is the name of a
Thumb encoded function. This information is necessary in order to allow Thumb encoded function. This information is necessary in order to allow
the assembler and linker to generate correct code for interworking the assembler and linker to generate correct code for interworking
between Arm and Thumb instructions and should be used even if between Arm and Thumb instructions and should be used even if
interworking is not going to be performed. interworking is not going to be performed. The presence of this
directive also implies @code{.thumb}
@cindex @code{thumb_set} directive, ARM @cindex @code{thumb_set} directive, ARM
@item .thumb_set @item .thumb_set

View File

@ -305,7 +305,9 @@ getstring (idx, in, acc)
{ {
char tchar = in->ptr[idx]; char tchar = in->ptr[idx];
int escaped = 0; int escaped = 0;
idx++; idx++;
while (idx < in->len) while (idx < in->len)
{ {
if (in->ptr[idx-1] == '\\') if (in->ptr[idx-1] == '\\')
@ -316,7 +318,10 @@ getstring (idx, in, acc)
if (macro_alternate && in->ptr[idx] == '!') if (macro_alternate && in->ptr[idx] == '!')
{ {
idx ++; idx ++;
sb_add_char (acc, in->ptr[idx++]);
sb_add_char (acc, in->ptr[idx]);
idx ++;
} }
else if (escaped && in->ptr[idx] == tchar) else if (escaped && in->ptr[idx] == tchar)
{ {
@ -328,9 +333,11 @@ getstring (idx, in, acc)
if (in->ptr[idx] == tchar) if (in->ptr[idx] == tchar)
{ {
idx ++; idx ++;
if (idx >= in->len || in->ptr[idx] != tchar) if (idx >= in->len || in->ptr[idx] != tchar)
break; break;
} }
sb_add_char (acc, in->ptr[idx]); sb_add_char (acc, in->ptr[idx]);
idx ++; idx ++;
} }

View File

@ -100,6 +100,8 @@ config/tc-tahoe.c
config/tc-tahoe.h config/tc-tahoe.h
config/tc-tic30.c config/tc-tic30.c
config/tc-tic30.h config/tc-tic30.h
config/tc-tic54x.c
config/tc-tic54x.h
config/tc-tic80.c config/tc-tic80.c
config/tc-tic80.h config/tc-tic80.h
config/tc-v850.c config/tc-v850.c

File diff suppressed because it is too large Load Diff