mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +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:
@ -95,7 +95,7 @@ extern void obj_aout_frob_file_before_fix PARAMS ((void));
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Macros to extract information from 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.
|
* 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.
|
* 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.
|
* 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;
|
static struct hash_control *tag_hash;
|
||||||
@ -1472,7 +1472,7 @@ obj_coff_section (ignore)
|
|||||||
case 'd': flags |= SEC_DATA | SEC_LOAD; /* fall through */
|
case 'd': flags |= SEC_DATA | SEC_LOAD; /* fall through */
|
||||||
case 'w': flags &=~ SEC_READONLY; break;
|
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 'x': flags |= SEC_CODE | SEC_LOAD; break;
|
||||||
case 'r': flags |= SEC_DATA | SEC_LOAD | SEC_READONLY; break;
|
case 'r': flags |= SEC_DATA | SEC_LOAD | SEC_READONLY; break;
|
||||||
|
|
||||||
@ -2038,7 +2038,7 @@ do_relocs_for (abfd, h, file_cursor)
|
|||||||
ext_ptr++;
|
ext_ptr++;
|
||||||
#if defined(TC_A29K)
|
#if defined(TC_A29K)
|
||||||
/* The 29k has a special kludge for the high 16 bit
|
/* 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
|
and R_IHCONST. The second one doesn't contain a
|
||||||
symbol, but uses the value for offset. */
|
symbol, but uses the value for offset. */
|
||||||
if (intr.r_type == R_IHIHALF)
|
if (intr.r_type == R_IHIHALF)
|
||||||
@ -2052,7 +2052,7 @@ do_relocs_for (abfd, h, file_cursor)
|
|||||||
#endif
|
#endif
|
||||||
#if defined(TC_OR32)
|
#if defined(TC_OR32)
|
||||||
/* The or32 has a special kludge for the high 16 bit
|
/* 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
|
and R_IHCONST. The second one doesn't contain a
|
||||||
symbol, but uses the value for offset. */
|
symbol, but uses the value for offset. */
|
||||||
if (intr.r_type == R_IHIHALF)
|
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
|
/* 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
|
static void
|
||||||
fill_section (abfd, h, file_cursor)
|
fill_section (abfd, h, file_cursor)
|
||||||
@ -2964,7 +2964,7 @@ yank_symbols ()
|
|||||||
/* FIXME-SOON: where do dups come from?
|
/* FIXME-SOON: where do dups come from?
|
||||||
Maybe tag references before definitions? xoxorich. */
|
Maybe tag references before definitions? xoxorich. */
|
||||||
/* Move the debug data from the debug symbol to the
|
/* 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
|
real symbol to debug symbol and remove real symbol from the
|
||||||
list.) Because some pointers refer to the real symbol
|
list.) Because some pointers refer to the real symbol
|
||||||
whereas no pointers refer to the debug symbol. */
|
whereas no pointers refer to the debug symbol. */
|
||||||
@ -3428,7 +3428,7 @@ int coff_flags;
|
|||||||
|
|
||||||
#ifndef SUB_SEGMENT_ALIGN
|
#ifndef SUB_SEGMENT_ALIGN
|
||||||
#ifdef HANDLE_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
|
of the section. This allows proper nop-filling at the end of
|
||||||
code-bearing sections. */
|
code-bearing sections. */
|
||||||
#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) \
|
#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) \
|
||||||
|
@ -469,7 +469,7 @@ typedef struct
|
|||||||
#endif
|
#endif
|
||||||
/* Symbol table macros and constants. */
|
/* 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. */
|
The values of TEXT, DATA and BSS may not be portable. */
|
||||||
|
|
||||||
#define C_ABS_SECTION N_ABS
|
#define C_ABS_SECTION N_ABS
|
||||||
@ -480,7 +480,7 @@ typedef struct
|
|||||||
#define C_REGISTER_SECTION 50
|
#define C_REGISTER_SECTION 50
|
||||||
|
|
||||||
/* Macros to extract information from 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. */
|
The argument (s) of all these macros is a pointer to a symbol table entry. */
|
||||||
|
|
||||||
/* Predicates. */
|
/* Predicates. */
|
||||||
@ -795,7 +795,7 @@ typedef struct
|
|||||||
#define H_SET_SYMBOL_TABLE_SIZE(h,v) ((h)->filehdr.f_nsyms = (v))
|
#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_SIZEOF_OPTIONAL_HEADER(h,v) ((h)->filehdr.f_opthdr = (v))
|
||||||
#define H_SET_FLAGS(h,v) ((h)->filehdr.f_flags = (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_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_STRING_SIZE(h,v) ((h)->string_table_size = (v))
|
||||||
#define H_SET_LINENO_SIZE(h,v) ((h)->lineno_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
|
#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
|
SCO specific identifier in the .notes section to satisfy the SCO
|
||||||
linker.
|
linker.
|
||||||
|
|
||||||
|
@ -264,7 +264,7 @@ do_relocs_for (idx)
|
|||||||
from = from->fx_next;
|
from = from->fx_next;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Attatch to the section. */
|
/* Attach to the section. */
|
||||||
section->orelocation = reloc_ptr_vector;
|
section->orelocation = reloc_ptr_vector;
|
||||||
section->reloc_count = nrelocs;
|
section->reloc_count = nrelocs;
|
||||||
section->flags |= SEC_LOAD;
|
section->flags |= SEC_LOAD;
|
||||||
@ -496,7 +496,7 @@ obj_symbol_new_hook (symbolP)
|
|||||||
|
|
||||||
#ifndef SUB_SEGMENT_ALIGN
|
#ifndef SUB_SEGMENT_ALIGN
|
||||||
#ifdef HANDLE_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
|
of the section. This allows proper nop-filling at the end of
|
||||||
code-bearing sections. */
|
code-bearing sections. */
|
||||||
#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) \
|
#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);
|
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. */
|
stab entry and to set the starting address for each code subspace. */
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -2146,7 +2146,7 @@ forward_reference (char *pnt)
|
|||||||
pnt = cvt_integer (pnt + 1, &i);
|
pnt = cvt_integer (pnt + 1, &i);
|
||||||
pnt = cvt_integer (pnt + 1, &i);
|
pnt = cvt_integer (pnt + 1, &i);
|
||||||
} while (*++pnt != ';');
|
} 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. */
|
/* 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;
|
return 1;
|
||||||
spnt = spnt1;
|
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
|
/* 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.
|
* 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.
|
* 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) {;}
|
#define obj_symbol_new_hook(s) {;}
|
||||||
|
|
||||||
/* Force structure tags into scope so that their use in prototypes
|
/* 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 fix;
|
||||||
struct frag;
|
struct frag;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user