aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-coff.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2003-11-20 00:01:55 +0000
committerKazu Hirata <kazu@codesourcery.com>2003-11-20 00:01:55 +0000
commitaaa2624bf8c08e01b7c4f0d2b39f7fb933f92b46 (patch)
treef08db8f5359c10fc934ac289f58572b58944a0a0 /gas/config/obj-coff.c
parent43d6b3f90efaa74d96b47f1e3abee0fcb37058e5 (diff)
downloadgdb-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/config/obj-coff.c')
-rw-r--r--gas/config/obj-coff.c14
1 files changed, 7 insertions, 7 deletions
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) \