aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-06-25 17:59:22 +0000
committerNick Clifton <nickc@redhat.com>2000-06-25 17:59:22 +0000
commit1994a7c76c7cb0c013596cc97202aa6aa7dacbb2 (patch)
treec2ad37dbf3d2894daf7d7f9a896cea38f04d1bec /gas/config
parent590a2450f15d88ee8491c0819ae21f3d7627d9c8 (diff)
downloadgdb-1994a7c76c7cb0c013596cc97202aa6aa7dacbb2.zip
gdb-1994a7c76c7cb0c013596cc97202aa6aa7dacbb2.tar.gz
gdb-1994a7c76c7cb0c013596cc97202aa6aa7dacbb2.tar.bz2
Fix spelling typos.
Remove use of DEFUN().
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/obj-aout.c2
-rw-r--r--gas/config/obj-ieee.c28
-rw-r--r--gas/config/tc-arm.c6
-rw-r--r--gas/config/tc-sh.c3
-rw-r--r--gas/config/tc-tahoe.c4
-rw-r--r--gas/config/tc-vax.c4
-rw-r--r--gas/config/tc-w65.c3
-rw-r--r--gas/config/tc-z8k.c5
8 files changed, 27 insertions, 28 deletions
diff --git a/gas/config/obj-aout.c b/gas/config/obj-aout.c
index 3a9b3f1..1609077 100644
--- a/gas/config/obj-aout.c
+++ b/gas/config/obj-aout.c
@@ -578,7 +578,7 @@ obj_pre_write_hook (headers)
}
void
-DEFUN_VOID (s_sect)
+s_sect ()
{
/* Strip out the section name */
char *section_name;
diff --git a/gas/config/obj-ieee.c b/gas/config/obj-ieee.c
index 30a0798..fbabb64 100644
--- a/gas/config/obj-ieee.c
+++ b/gas/config/obj-ieee.c
@@ -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;
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 7f7c7ea..50e4bea 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -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 ();
}
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c
index 6dcf515..d08b1a4 100644
--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -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;
diff --git a/gas/config/tc-tahoe.c b/gas/config/tc-tahoe.c
index 26a7524..58d9639 100644
--- a/gas/config/tc-tahoe.c
+++ b/gas/config/tc-tahoe.c
@@ -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
diff --git a/gas/config/tc-vax.c b/gas/config/tc-vax.c
index 314f9bc..acf78ee 100644
--- a/gas/config/tc-vax.c
+++ b/gas/config/tc-vax.c
@@ -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
diff --git a/gas/config/tc-w65.c b/gas/config/tc-w65.c
index 2c6d85a..7223fa0 100644
--- a/gas/config/tc-w65.c
+++ b/gas/config/tc-w65.c
@@ -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;
diff --git a/gas/config/tc-z8k.c b/gas/config/tc-z8k.c
index 6b60cf5..b66bd50 100644
--- a/gas/config/tc-z8k.c
+++ b/gas/config/tc-z8k.c
@@ -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)