aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2003-11-23 02:14:21 +0000
committerKazu Hirata <kazu@codesourcery.com>2003-11-23 02:14:21 +0000
commit436d9e46434ecc4ee860265c8f7f8c11bcb9904f (patch)
treec57081487c533cd788022128c35de3b59af0d72d /gas
parent35bb18ac33578e5591761b842e1f6d1cab6e89ab (diff)
downloadgdb-436d9e46434ecc4ee860265c8f7f8c11bcb9904f.zip
gdb-436d9e46434ecc4ee860265c8f7f8c11bcb9904f.tar.gz
gdb-436d9e46434ecc4ee860265c8f7f8c11bcb9904f.tar.bz2
* README-vms: Fix comment typos.
* as.h: Likewise. * dwarf2dbg.c: Likewise. * ecoff.c: Likewise. * hash.c: Likewise. * listing.c: Likewise. * write.c: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/README-vms4
-rw-r--r--gas/as.h2
-rw-r--r--gas/dwarf2dbg.c2
-rw-r--r--gas/ecoff.c2
-rw-r--r--gas/hash.c2
-rw-r--r--gas/listing.c2
-rw-r--r--gas/write.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/gas/README-vms b/gas/README-vms
index 796c603..f3ee10e 100644
--- a/gas/README-vms
+++ b/gas/README-vms
@@ -150,7 +150,7 @@ tracebacks.
5) If you are using the GNU-C++ compiler, you should modify the
compiler driver file GNU_CC:[000000]GCC.COM (or GXX.COM). If you have a
-seperate GXX.COM, then you need to change one line in GXX.COM to:
+separate GXX.COM, then you need to change one line in GXX.COM to:
$ if f$locate("D",p2) .ne. P2_Length then Debug = " ""-G0"""
Notice zero---> ^
If you are using a GCC.COM that does both C and C++, add the following lines to
@@ -196,7 +196,7 @@ you have called the function, and you can examine variables and so forth.
There are several *very* important differences, however. First of all, since
there is no function call involved, you cannot step over the inline function
call - you always step into it. Secondly, since the same source lines are used
-in many locations, there is a seperate copy of the source for *each* usage.
+in many locations, there is a separate copy of the source for *each* usage.
Without this, breakpoints do not work, since we must have a 1-to-1 mapping
between source lines and PC.
Since you cannot step over inline function calls, it can be a real pain
diff --git a/gas/as.h b/gas/as.h
index 1a04b0d..890ecd8 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -301,7 +301,7 @@ typedef asection *segT;
#endif
typedef int subsegT;
-/* What subseg we are accreting now? */
+/* What subseg we are accessing now? */
COMMON subsegT now_subseg;
/* Segment our instructions emit to. */
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 8a232c5..984bb71 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -247,7 +247,7 @@ get_line_subseg (segT seg, subsegT subseg)
return ss;
}
-/* Record an entry for LOC ocurring at OFS within the current fragment. */
+/* Record an entry for LOC occurring at OFS within the current fragment. */
void
dwarf2_gen_line_info (addressT ofs, struct dwarf2_line_info *loc)
diff --git a/gas/ecoff.c b/gas/ecoff.c
index 27cfd6e..1de823e 100644
--- a/gas/ecoff.c
+++ b/gas/ecoff.c
@@ -2863,7 +2863,7 @@ ecoff_directive_endef (int ignore ATTRIBUTE_UNUSED)
else if (coff_symbol_typ == st_Member
&& coff_type.num_sizes - coff_type.extra_sizes == 1)
{
- /* Is this a bitfield? This is indicated by a structure memeber
+ /* Is this a bitfield? This is indicated by a structure member
having a size field that isn't an array. */
coff_type.bitfield = 1;
}
diff --git a/gas/hash.c b/gas/hash.c
index 2756f23..2faeba9 100644
--- a/gas/hash.c
+++ b/gas/hash.c
@@ -23,7 +23,7 @@
/* This version of the hash table code is a wholescale replacement of
the old hash table code, which was fairly bad. This is based on
the hash table code in BFD, but optimized slightly for the
- asssembler. The assembler does not need to derive structures that
+ assembler. The assembler does not need to derive structures that
are stored in the hash table. Instead, it always stores a pointer.
The assembler uses the hash table mostly to store symbols, and we
don't need to confuse the symbol structure with a hash table
diff --git a/gas/listing.c b/gas/listing.c
index ba1271d..9eeab24 100644
--- a/gas/listing.c
+++ b/gas/listing.c
@@ -1,4 +1,4 @@
-/* listing.c - mainting assembly listings
+/* listing.c - maintain assembly listings
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002
Free Software Foundation, Inc.
diff --git a/gas/write.c b/gas/write.c
index 9eb17c6..07c7169 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -1389,7 +1389,7 @@ set_symtab ()
#ifndef SUB_SEGMENT_ALIGN
#ifdef HANDLE_ALIGN
-/* The last subsegment gets an aligment corresponding to the alignment
+/* The last subsegment gets an alignment corresponding to the alignment
of the section. This allows proper nop-filling at the end of
code-bearing sections. */
#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) \