Fix spelling typos.
Remove use of DEFUN().
This commit is contained in:
parent
590a2450f1
commit
1994a7c76c
16 changed files with 962 additions and 509 deletions
|
@ -1,5 +1,12 @@
|
|||
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.
|
||||
|
||||
2000-06-24 DJ Delorie <dj@cygnus.com>
|
||||
|
|
|
@ -1843,7 +1843,7 @@ configure configure.in gdbinit.in itbl-lex.c itbl-parse.c
|
|||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
SOURCES = $(itbl_test_SOURCES) $(as_new_SOURCES) $(EXTRA_as_new_SOURCES) $(gasp_new_SOURCES)
|
||||
OBJECTS = $(itbl_test_OBJECTS) $(as_new_OBJECTS) $(gasp_new_OBJECTS)
|
||||
|
|
11
gas/aclocal.m4
vendored
11
gas/aclocal.m4
vendored
|
@ -173,7 +173,7 @@ LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
|
|||
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
|
||||
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
|
||||
${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])
|
||||
|
||||
# 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
|
||||
dnl
|
||||
|
||||
case "$target" in
|
||||
NONE) lt_target="$host" ;;
|
||||
*) lt_target="$target" ;;
|
||||
esac
|
||||
|
||||
# Check for any special flags to pass to ltconfig.
|
||||
libtool_flags="--cache-file=$cache_file"
|
||||
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
|
||||
# libtool support.
|
||||
case "$lt_target" in
|
||||
case "$host" in
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||
|
@ -495,7 +490,7 @@ AC_MSG_RESULT([$NM])
|
|||
AC_DEFUN(AC_CHECK_LIBM,
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
LIBM=
|
||||
case "$lt_target" in
|
||||
case "$host" in
|
||||
*-*-beos* | *-*-cygwin*)
|
||||
# These system don't have libm
|
||||
;;
|
||||
|
|
|
@ -578,7 +578,7 @@ obj_pre_write_hook (headers)
|
|||
}
|
||||
|
||||
void
|
||||
DEFUN_VOID (s_sect)
|
||||
s_sect ()
|
||||
{
|
||||
/* Strip out the section name */
|
||||
char *section_name;
|
||||
|
|
|
@ -55,9 +55,9 @@ relax_align (address, alignment)
|
|||
/* calculate the size of the frag chain and create a bfd section
|
||||
to contain all of it */
|
||||
static void
|
||||
DEFUN (size_section, (abfd, idx),
|
||||
bfd * abfd AND
|
||||
unsigned int idx)
|
||||
size_section (abfd, idx)
|
||||
bfd * abfd;
|
||||
unsigned int idx;
|
||||
{
|
||||
asection *sec;
|
||||
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 */
|
||||
static void
|
||||
DEFUN (fill_section, (abfd, idx),
|
||||
bfd * abfd AND
|
||||
unsigned int idx)
|
||||
fill_section (abfd, idx)
|
||||
bfd * abfd;
|
||||
unsigned int idx;
|
||||
{
|
||||
asection *sec = segment_info[idx].user_stuff;
|
||||
if (sec)
|
||||
|
@ -159,8 +159,8 @@ DEFUN (fill_section, (abfd, idx),
|
|||
/* Count the relocations in a chain */
|
||||
|
||||
static unsigned int
|
||||
DEFUN (count_entries_in_chain, (idx),
|
||||
unsigned int idx)
|
||||
count_entries_in_chain (idx)
|
||||
unsigned int idx;
|
||||
{
|
||||
unsigned int nrelocs;
|
||||
fixS *fixup_ptr;
|
||||
|
@ -178,8 +178,8 @@ DEFUN (count_entries_in_chain, (idx),
|
|||
|
||||
/* output all the relocations for a section */
|
||||
void
|
||||
DEFUN (do_relocs_for, (idx),
|
||||
unsigned int idx)
|
||||
do_relocs_for (idx)
|
||||
unsigned int idx;
|
||||
{
|
||||
unsigned int nrelocs;
|
||||
arelent **reloc_ptr_vector;
|
||||
|
@ -270,8 +270,8 @@ DEFUN (do_relocs_for, (idx),
|
|||
|
||||
/* do the symbols.. */
|
||||
static void
|
||||
DEFUN (do_symbols, (abfd),
|
||||
bfd * abfd)
|
||||
do_symbols (abfd)
|
||||
bfd * abfd;
|
||||
{
|
||||
extern symbolS *symbol_rootP;
|
||||
symbolS *ptr;
|
||||
|
@ -333,7 +333,7 @@ DEFUN (do_symbols, (abfd),
|
|||
code */
|
||||
|
||||
void
|
||||
DEFUN_VOID (bfd_as_write_hook)
|
||||
bfd_as_write_hook ()
|
||||
{
|
||||
int i;
|
||||
|
||||
|
@ -509,7 +509,7 @@ obj_symbol_new_hook (symbolP)
|
|||
|
||||
#if 1
|
||||
extern void
|
||||
DEFUN_VOID (write_object_file)
|
||||
write_object_file ()
|
||||
{
|
||||
int i;
|
||||
struct frchain *frchain_ptr;
|
||||
|
|
|
@ -1290,11 +1290,13 @@ static void
|
|||
s_thumb_func (ignore)
|
||||
int ignore ATTRIBUTE_UNUSED;
|
||||
{
|
||||
if (! thumb_mode)
|
||||
opcode_select (16);
|
||||
|
||||
/* The following label is the name/address of the start of a Thumb function.
|
||||
We need to know this for the interworking support. */
|
||||
|
||||
label_is_thumb_function_name = true;
|
||||
|
||||
|
||||
demand_empty_rest_of_line ();
|
||||
}
|
||||
|
||||
|
|
|
@ -1285,8 +1285,7 @@ insert_loop_bounds (output, operand)
|
|||
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
|
||||
build_Mytes (opcode, operand)
|
||||
sh_opcode_info *opcode;
|
||||
|
|
|
@ -1224,7 +1224,7 @@ tip_op (optex, topP)
|
|||
|
||||
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;
|
||||
expP = &(topP->exp_of_operand);
|
||||
topP->seg_of_operand = expression (expP);
|
||||
|
@ -1526,7 +1526,7 @@ tip (titP, instring)
|
|||
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.
|
||||
* We expect comma to seperate each operand.
|
||||
* We let instring track the text, while p tracks a part of the
|
||||
|
|
|
@ -389,7 +389,7 @@ md_assemble (instruction_string)
|
|||
}
|
||||
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. */
|
||||
|
||||
input_line_pointer = operandP->vop_expr_begin;
|
||||
|
@ -1795,7 +1795,7 @@ vip (vitP, instring)
|
|||
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.
|
||||
* We expect comma to seperate each operand.
|
||||
* We let instring track the text, while p tracks a part of the
|
||||
|
|
|
@ -644,8 +644,7 @@ check (operand, low, high)
|
|||
static int log2[] =
|
||||
{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
|
||||
build_Mytes (opcode)
|
||||
struct opinfo *opcode;
|
||||
|
|
|
@ -1185,9 +1185,8 @@ top:;
|
|||
}
|
||||
|
||||
/* This is the guts of the machine-dependent assembler. STR points to a
|
||||
machine dependent instruction. This funciton is supposed to emit
|
||||
the frags/bytes it assembles to.
|
||||
*/
|
||||
machine dependent instruction. This function is supposed to emit
|
||||
the frags/bytes it assembles to. */
|
||||
|
||||
void
|
||||
md_assemble (str)
|
||||
|
|
371
gas/configure
vendored
371
gas/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -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
|
||||
the assembler and linker to generate correct code for interworking
|
||||
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
|
||||
@item .thumb_set
|
||||
|
|
17
gas/macro.c
17
gas/macro.c
|
@ -305,7 +305,9 @@ getstring (idx, in, acc)
|
|||
{
|
||||
char tchar = in->ptr[idx];
|
||||
int escaped = 0;
|
||||
|
||||
idx++;
|
||||
|
||||
while (idx < in->len)
|
||||
{
|
||||
if (in->ptr[idx-1] == '\\')
|
||||
|
@ -315,24 +317,29 @@ getstring (idx, in, acc)
|
|||
|
||||
if (macro_alternate && in->ptr[idx] == '!')
|
||||
{
|
||||
idx++ ;
|
||||
sb_add_char (acc, in->ptr[idx++]);
|
||||
idx ++;
|
||||
|
||||
sb_add_char (acc, in->ptr[idx]);
|
||||
|
||||
idx ++;
|
||||
}
|
||||
else if (escaped && in->ptr[idx] == tchar)
|
||||
{
|
||||
sb_add_char (acc, tchar);
|
||||
idx++;
|
||||
idx ++;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (in->ptr[idx] == tchar)
|
||||
{
|
||||
idx++;
|
||||
idx ++;
|
||||
|
||||
if (idx >= in->len || in->ptr[idx] != tchar)
|
||||
break;
|
||||
}
|
||||
|
||||
sb_add_char (acc, in->ptr[idx]);
|
||||
idx++;
|
||||
idx ++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -100,6 +100,8 @@ config/tc-tahoe.c
|
|||
config/tc-tahoe.h
|
||||
config/tc-tic30.c
|
||||
config/tc-tic30.h
|
||||
config/tc-tic54x.c
|
||||
config/tc-tic54x.h
|
||||
config/tc-tic80.c
|
||||
config/tc-tic80.h
|
||||
config/tc-v850.c
|
||||
|
|
1003
gas/po/gas.pot
1003
gas/po/gas.pot
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue