diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2003-11-20 00:01:55 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2003-11-20 00:01:55 +0000 |
commit | aaa2624bf8c08e01b7c4f0d2b39f7fb933f92b46 (patch) | |
tree | f08db8f5359c10fc934ac289f58572b58944a0a0 /gas | |
parent | 43d6b3f90efaa74d96b47f1e3abee0fcb37058e5 (diff) | |
download | gdb-aaa2624bf8c08e01b7c4f0d2b39f7fb933f92b46.zip gdb-aaa2624bf8c08e01b7c4f0d2b39f7fb933f92b46.tar.gz gdb-aaa2624bf8c08e01b7c4f0d2b39f7fb933f92b46.tar.bz2 |
* config/obj-aout.h: Fix comment typos.
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-elf.c: Likewise.
* config/obj-ieee.c: Likewise.
* config/obj-som.c: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/obj-aout.h | 2 | ||||
-rw-r--r-- | gas/config/obj-bout.h | 2 | ||||
-rw-r--r-- | gas/config/obj-coff.c | 14 | ||||
-rw-r--r-- | gas/config/obj-coff.h | 6 | ||||
-rw-r--r-- | gas/config/obj-elf.c | 2 | ||||
-rw-r--r-- | gas/config/obj-ieee.c | 4 | ||||
-rw-r--r-- | gas/config/obj-som.c | 2 | ||||
-rw-r--r-- | gas/config/obj-vms.c | 4 | ||||
-rw-r--r-- | gas/config/obj-vms.h | 4 |
9 files changed, 20 insertions, 20 deletions
diff --git a/gas/config/obj-aout.h b/gas/config/obj-aout.h index 7fca45d..23a2907 100644 --- a/gas/config/obj-aout.h +++ b/gas/config/obj-aout.h @@ -95,7 +95,7 @@ extern void obj_aout_frob_file_before_fix PARAMS ((void)); /* * Macros to extract information from a symbol table entry. - * This syntaxic indirection allows independence regarding a.out or coff. + * This syntactic indirection allows independence regarding a.out or coff. * The argument (s) of all these macros is a pointer to a symbol table entry. */ diff --git a/gas/config/obj-bout.h b/gas/config/obj-bout.h index 374abbc..aaa9d9b 100644 --- a/gas/config/obj-bout.h +++ b/gas/config/obj-bout.h @@ -171,7 +171,7 @@ struct relocation_info /* * Macros to extract information from a symbol table entry. - * This syntaxic indirection allows independence regarding a.out or coff. + * This syntactic indirection allows independence regarding a.out or coff. * The argument (s) of all these macros is a pointer to a symbol table entry. */ diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c index 824513c..bd08c2b 100644 --- a/gas/config/obj-coff.c +++ b/gas/config/obj-coff.c @@ -143,7 +143,7 @@ stack_pop (st) } /* - * Maintain a list of the tagnames of the structres. + * Maintain a list of the tagnames of the structures. */ static struct hash_control *tag_hash; @@ -1472,7 +1472,7 @@ obj_coff_section (ignore) case 'd': flags |= SEC_DATA | SEC_LOAD; /* fall through */ case 'w': flags &=~ SEC_READONLY; break; - case 'a': break; /* For compatability with ELF. */ + case 'a': break; /* For compatibility with ELF. */ case 'x': flags |= SEC_CODE | SEC_LOAD; break; case 'r': flags |= SEC_DATA | SEC_LOAD | SEC_READONLY; break; @@ -2038,7 +2038,7 @@ do_relocs_for (abfd, h, file_cursor) ext_ptr++; #if defined(TC_A29K) /* The 29k has a special kludge for the high 16 bit - reloc. Two relocations are emited, R_IHIHALF, + reloc. Two relocations are emitted, R_IHIHALF, and R_IHCONST. The second one doesn't contain a symbol, but uses the value for offset. */ if (intr.r_type == R_IHIHALF) @@ -2052,7 +2052,7 @@ do_relocs_for (abfd, h, file_cursor) #endif #if defined(TC_OR32) /* The or32 has a special kludge for the high 16 bit - reloc. Two relocations are emited, R_IHIHALF, + reloc. Two relocations are emitted, R_IHIHALF, and R_IHCONST. The second one doesn't contain a symbol, but uses the value for offset. */ if (intr.r_type == R_IHIHALF) @@ -2096,7 +2096,7 @@ do_relocs_for (abfd, h, file_cursor) } /* Run through a frag chain and write out the data to go with it, fill - in the scnhdrs with the info on the file postions. */ + in the scnhdrs with the info on the file positions. */ static void fill_section (abfd, h, file_cursor) @@ -2964,7 +2964,7 @@ yank_symbols () /* FIXME-SOON: where do dups come from? Maybe tag references before definitions? xoxorich. */ /* Move the debug data from the debug symbol to the - real symbol. Do NOT do the oposite (i.e. move from + real symbol. Do NOT do the opposite (i.e. move from real symbol to debug symbol and remove real symbol from the list.) Because some pointers refer to the real symbol whereas no pointers refer to the debug symbol. */ @@ -3428,7 +3428,7 @@ int coff_flags; #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) \ diff --git a/gas/config/obj-coff.h b/gas/config/obj-coff.h index 4349acb..5200552 100644 --- a/gas/config/obj-coff.h +++ b/gas/config/obj-coff.h @@ -469,7 +469,7 @@ typedef struct #endif /* Symbol table macros and constants. */ -/* Possible and usefull section number in symbol table +/* Possible and useful section number in symbol table The values of TEXT, DATA and BSS may not be portable. */ #define C_ABS_SECTION N_ABS @@ -480,7 +480,7 @@ typedef struct #define C_REGISTER_SECTION 50 /* Macros to extract information from a symbol table entry. - This syntaxic indirection allows independence regarding a.out or coff. + This syntactic indirection allows independence regarding a.out or coff. The argument (s) of all these macros is a pointer to a symbol table entry. */ /* Predicates. */ @@ -795,7 +795,7 @@ typedef struct #define H_SET_SYMBOL_TABLE_SIZE(h,v) ((h)->filehdr.f_nsyms = (v)) #define H_SET_SIZEOF_OPTIONAL_HEADER(h,v) ((h)->filehdr.f_opthdr = (v)) #define H_SET_FLAGS(h,v) ((h)->filehdr.f_flags = (v)) -/* Extra fields to achieve bsd a.out compatibility and for convinience. */ +/* Extra fields to achieve bsd a.out compatibility and for convenience. */ #define H_SET_RELOCATION_SIZE(h,t,d) ((h)->relocation_size = (t)+(d)) #define H_SET_STRING_SIZE(h,v) ((h)->string_table_size = (v)) #define H_SET_LINENO_SIZE(h,v) ((h)->lineno_size = (v)) diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index c9fd1c7..783930f 100644 --- a/gas/config/obj-elf.c +++ b/gas/config/obj-elf.c @@ -2192,7 +2192,7 @@ elf_frob_file_after_relocs () #ifdef SCO_ELF -/* Heavily plagarized from obj_elf_version. The idea is to emit the +/* Heavily plagiarized from obj_elf_version. The idea is to emit the SCO specific identifier in the .notes section to satisfy the SCO linker. diff --git a/gas/config/obj-ieee.c b/gas/config/obj-ieee.c index 1846a92..6fb301b 100644 --- a/gas/config/obj-ieee.c +++ b/gas/config/obj-ieee.c @@ -264,7 +264,7 @@ do_relocs_for (idx) from = from->fx_next; } - /* Attatch to the section. */ + /* Attach to the section. */ section->orelocation = reloc_ptr_vector; section->reloc_count = nrelocs; section->flags |= SEC_LOAD; @@ -496,7 +496,7 @@ obj_symbol_new_hook (symbolP) #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) \ diff --git a/gas/config/obj-som.c b/gas/config/obj-som.c index 6ae7f62..454042a 100644 --- a/gas/config/obj-som.c +++ b/gas/config/obj-som.c @@ -306,7 +306,7 @@ adjust_stab_sections (abfd, sec, xxx) bfd_h_put_32 (abfd, (bfd_vma) strsz, (bfd_byte *) p + 8); } -/* Called late in the asssembly phase to adjust the special +/* Called late in the assembly phase to adjust the special stab entry and to set the starting address for each code subspace. */ void diff --git a/gas/config/obj-vms.c b/gas/config/obj-vms.c index 32016c0..8df0fcd 100644 --- a/gas/config/obj-vms.c +++ b/gas/config/obj-vms.c @@ -2146,7 +2146,7 @@ forward_reference (char *pnt) pnt = cvt_integer (pnt + 1, &i); pnt = cvt_integer (pnt + 1, &i); } while (*++pnt != ';'); - return 0; /* no forward refences found */ + return 0; /* no forward references found */ } /* Used to check a single element of a structure on the final pass. */ @@ -2163,7 +2163,7 @@ final_forward_reference (struct VMS_DBG_Symbol *spnt) return 1; spnt = spnt1; } - return 0; /* no forward refences found */ + return 0; /* no forward references found */ } /* This routine parses the stabs directives to find any definitions of dbx diff --git a/gas/config/obj-vms.h b/gas/config/obj-vms.h index a535fc4..bd75896 100644 --- a/gas/config/obj-vms.h +++ b/gas/config/obj-vms.h @@ -127,7 +127,7 @@ typedef struct nlist obj_symbol_type; /* Symbol table entry */ /* * Macros to extract information from a symbol table entry. - * This syntaxic indirection allows independence regarding a.out or coff. + * This syntactic indirection allows independence regarding a.out or coff. * The argument (s) of all these macros is a pointer to a symbol table entry. */ @@ -217,7 +217,7 @@ typedef struct nlist obj_symbol_type; /* Symbol table entry */ #define obj_symbol_new_hook(s) {;} /* Force structure tags into scope so that their use in prototypes - will never be their first occurance. */ + will never be their first occurrence. */ struct fix; struct frag; |