mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
* 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.
This commit is contained in:
parent
43d6b3f90e
commit
aaa2624bf8
@ -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.
|
||||
*/
|
||||
|
||||
|
@ -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.
|
||||
*/
|
||||
|
||||
|
@ -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) \
|
||||
|
@ -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))
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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) \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user