* 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.
/*
* 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.
*/
/*
* 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.
*/
}
\f
/*
- * Maintain a list of the tagnames of the structres.
+ * Maintain a list of the tagnames of the structures.
*/
static struct hash_control *tag_hash;
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;
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)
#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)
}
/* 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)
/* 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. */
#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) \
#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
#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. */
#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))
#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.
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;
#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) \
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
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. */
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
/*
* 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.
*/
#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;