From 436d9e46434ecc4ee860265c8f7f8c11bcb9904f Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 23 Nov 2003 02:14:21 +0000 Subject: [PATCH] * README-vms: Fix comment typos. * as.h: Likewise. * dwarf2dbg.c: Likewise. * ecoff.c: Likewise. * hash.c: Likewise. * listing.c: Likewise. * write.c: Likewise. --- gas/README-vms | 4 ++-- gas/as.h | 2 +- gas/dwarf2dbg.c | 2 +- gas/ecoff.c | 2 +- gas/hash.c | 2 +- gas/listing.c | 2 +- gas/write.c | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gas/README-vms b/gas/README-vms index 796c603b4f..f3ee10e5e1 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 1a04b0d9b7..890ecd8f10 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 8a232c5733..984bb71dc6 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 27cfd6e730..1de823e24d 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 2756f23f6c..2faeba9c09 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 ba1271db86..9eeab247ab 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 9eb17c6597..07c7169e56 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) \ -- 2.34.1