diff options
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r-- | bfd/aoutx.h | 224 |
1 files changed, 112 insertions, 112 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h index d096ed5..6ece9d0 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -178,59 +178,59 @@ DESCRIPTION reloc_howto_type howto_table_ext[] = { - /* Type rs size bsz pcrel bitpos ovrf sf name part_inpl readmask setmask pcdone. */ - HOWTO (RELOC_8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, 0, "8", FALSE, 0, 0x000000ff, FALSE), - HOWTO (RELOC_16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, 0, "16", FALSE, 0, 0x0000ffff, FALSE), - HOWTO (RELOC_32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, 0, "32", FALSE, 0, 0xffffffff, FALSE), - HOWTO (RELOC_DISP8, 0, 0, 8, TRUE, 0, complain_overflow_signed, 0, "DISP8", FALSE, 0, 0x000000ff, FALSE), - HOWTO (RELOC_DISP16, 0, 1, 16, TRUE, 0, complain_overflow_signed, 0, "DISP16", FALSE, 0, 0x0000ffff, FALSE), - HOWTO (RELOC_DISP32, 0, 2, 32, TRUE, 0, complain_overflow_signed, 0, "DISP32", FALSE, 0, 0xffffffff, FALSE), - HOWTO (RELOC_WDISP30, 2, 2, 30, TRUE, 0, complain_overflow_signed, 0, "WDISP30", FALSE, 0, 0x3fffffff, FALSE), - HOWTO (RELOC_WDISP22, 2, 2, 22, TRUE, 0, complain_overflow_signed, 0, "WDISP22", FALSE, 0, 0x003fffff, FALSE), - HOWTO (RELOC_HI22, 10, 2, 22, FALSE, 0, complain_overflow_bitfield, 0, "HI22", FALSE, 0, 0x003fffff, FALSE), - HOWTO (RELOC_22, 0, 2, 22, FALSE, 0, complain_overflow_bitfield, 0, "22", FALSE, 0, 0x003fffff, FALSE), - HOWTO (RELOC_13, 0, 2, 13, FALSE, 0, complain_overflow_bitfield, 0, "13", FALSE, 0, 0x00001fff, FALSE), - HOWTO (RELOC_LO10, 0, 2, 10, FALSE, 0, complain_overflow_dont, 0, "LO10", FALSE, 0, 0x000003ff, FALSE), - HOWTO (RELOC_SFA_BASE,0, 2, 32, FALSE, 0, complain_overflow_bitfield, 0, "SFA_BASE", FALSE, 0, 0xffffffff, FALSE), - HOWTO (RELOC_SFA_OFF13,0, 2, 32, FALSE, 0, complain_overflow_bitfield, 0, "SFA_OFF13", FALSE, 0, 0xffffffff, FALSE), - HOWTO (RELOC_BASE10, 0, 2, 10, FALSE, 0, complain_overflow_dont, 0, "BASE10", FALSE, 0, 0x000003ff, FALSE), - HOWTO (RELOC_BASE13, 0, 2, 13, FALSE, 0, complain_overflow_signed, 0, "BASE13", FALSE, 0, 0x00001fff, FALSE), - HOWTO (RELOC_BASE22, 10, 2, 22, FALSE, 0, complain_overflow_bitfield, 0, "BASE22", FALSE, 0, 0x003fffff, FALSE), - HOWTO (RELOC_PC10, 0, 2, 10, TRUE, 0, complain_overflow_dont, 0, "PC10", FALSE, 0, 0x000003ff, TRUE), - HOWTO (RELOC_PC22, 10, 2, 22, TRUE, 0, complain_overflow_signed, 0, "PC22", FALSE, 0, 0x003fffff, TRUE), - HOWTO (RELOC_JMP_TBL, 2, 2, 30, TRUE, 0, complain_overflow_signed, 0, "JMP_TBL", FALSE, 0, 0x3fffffff, FALSE), + /* Type rs size bsz pcrel bitpos ovrf sf name part_inpl readmask setmask pcdone. */ + HOWTO (RELOC_8, 0, 0, 8, FALSE, 0, complain_overflow_bitfield, 0, "8", FALSE, 0, 0x000000ff, FALSE), + HOWTO (RELOC_16, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, 0, "16", FALSE, 0, 0x0000ffff, FALSE), + HOWTO (RELOC_32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, 0, "32", FALSE, 0, 0xffffffff, FALSE), + HOWTO (RELOC_DISP8, 0, 0, 8, TRUE, 0, complain_overflow_signed, 0, "DISP8", FALSE, 0, 0x000000ff, FALSE), + HOWTO (RELOC_DISP16, 0, 1, 16, TRUE, 0, complain_overflow_signed, 0, "DISP16", FALSE, 0, 0x0000ffff, FALSE), + HOWTO (RELOC_DISP32, 0, 2, 32, TRUE, 0, complain_overflow_signed, 0, "DISP32", FALSE, 0, 0xffffffff, FALSE), + HOWTO (RELOC_WDISP30, 2, 2, 30, TRUE, 0, complain_overflow_signed, 0, "WDISP30", FALSE, 0, 0x3fffffff, FALSE), + HOWTO (RELOC_WDISP22, 2, 2, 22, TRUE, 0, complain_overflow_signed, 0, "WDISP22", FALSE, 0, 0x003fffff, FALSE), + HOWTO (RELOC_HI22, 10, 2, 22, FALSE, 0, complain_overflow_bitfield, 0, "HI22", FALSE, 0, 0x003fffff, FALSE), + HOWTO (RELOC_22, 0, 2, 22, FALSE, 0, complain_overflow_bitfield, 0, "22", FALSE, 0, 0x003fffff, FALSE), + HOWTO (RELOC_13, 0, 2, 13, FALSE, 0, complain_overflow_bitfield, 0, "13", FALSE, 0, 0x00001fff, FALSE), + HOWTO (RELOC_LO10, 0, 2, 10, FALSE, 0, complain_overflow_dont, 0, "LO10", FALSE, 0, 0x000003ff, FALSE), + HOWTO (RELOC_SFA_BASE,0, 2, 32, FALSE, 0, complain_overflow_bitfield, 0, "SFA_BASE", FALSE, 0, 0xffffffff, FALSE), + HOWTO (RELOC_SFA_OFF13,0, 2, 32, FALSE, 0, complain_overflow_bitfield, 0, "SFA_OFF13", FALSE, 0, 0xffffffff, FALSE), + HOWTO (RELOC_BASE10, 0, 2, 10, FALSE, 0, complain_overflow_dont, 0, "BASE10", FALSE, 0, 0x000003ff, FALSE), + HOWTO (RELOC_BASE13, 0, 2, 13, FALSE, 0, complain_overflow_signed, 0, "BASE13", FALSE, 0, 0x00001fff, FALSE), + HOWTO (RELOC_BASE22, 10, 2, 22, FALSE, 0, complain_overflow_bitfield, 0, "BASE22", FALSE, 0, 0x003fffff, FALSE), + HOWTO (RELOC_PC10, 0, 2, 10, TRUE, 0, complain_overflow_dont, 0, "PC10", FALSE, 0, 0x000003ff, TRUE), + HOWTO (RELOC_PC22, 10, 2, 22, TRUE, 0, complain_overflow_signed, 0, "PC22", FALSE, 0, 0x003fffff, TRUE), + HOWTO (RELOC_JMP_TBL, 2, 2, 30, TRUE, 0, complain_overflow_signed, 0, "JMP_TBL", FALSE, 0, 0x3fffffff, FALSE), HOWTO (RELOC_SEGOFF16,0, 2, 0, FALSE, 0, complain_overflow_bitfield, 0, "SEGOFF16", FALSE, 0, 0x00000000, FALSE), HOWTO (RELOC_GLOB_DAT,0, 2, 0, FALSE, 0, complain_overflow_bitfield, 0, "GLOB_DAT", FALSE, 0, 0x00000000, FALSE), HOWTO (RELOC_JMP_SLOT,0, 2, 0, FALSE, 0, complain_overflow_bitfield, 0, "JMP_SLOT", FALSE, 0, 0x00000000, FALSE), HOWTO (RELOC_RELATIVE,0, 2, 0, FALSE, 0, complain_overflow_bitfield, 0, "RELATIVE", FALSE, 0, 0x00000000, FALSE), - HOWTO (0, 0, 3, 0, FALSE, 0, complain_overflow_dont, 0, "R_SPARC_NONE",FALSE, 0, 0x00000000, TRUE), - HOWTO (0, 0, 3, 0, FALSE, 0, complain_overflow_dont, 0, "R_SPARC_NONE",FALSE, 0, 0x00000000, TRUE), + HOWTO (0, 0, 3, 0, FALSE, 0, complain_overflow_dont, 0, "R_SPARC_NONE",FALSE, 0, 0x00000000, TRUE), + HOWTO (0, 0, 3, 0, FALSE, 0, complain_overflow_dont, 0, "R_SPARC_NONE",FALSE, 0, 0x00000000, TRUE), #define RELOC_SPARC_REV32 RELOC_WDISP19 - HOWTO (RELOC_SPARC_REV32, 0, 2, 32, FALSE, 0, complain_overflow_dont, 0,"R_SPARC_REV32",FALSE, 0, 0xffffffff, FALSE), + HOWTO (RELOC_SPARC_REV32, 0, 2, 32, FALSE, 0, complain_overflow_dont, 0,"R_SPARC_REV32",FALSE, 0, 0xffffffff, FALSE), }; /* Convert standard reloc records to "arelent" format (incl byte swap). */ reloc_howto_type howto_table_std[] = { - /* type rs size bsz pcrel bitpos ovrf sf name part_inpl readmask setmask pcdone. */ -HOWTO ( 0, 0, 0, 8, FALSE, 0, complain_overflow_bitfield,0,"8", TRUE, 0x000000ff,0x000000ff, FALSE), -HOWTO ( 1, 0, 1, 16, FALSE, 0, complain_overflow_bitfield,0,"16", TRUE, 0x0000ffff,0x0000ffff, FALSE), -HOWTO ( 2, 0, 2, 32, FALSE, 0, complain_overflow_bitfield,0,"32", TRUE, 0xffffffff,0xffffffff, FALSE), -HOWTO ( 3, 0, 4, 64, FALSE, 0, complain_overflow_bitfield,0,"64", TRUE, 0xdeaddead,0xdeaddead, FALSE), -HOWTO ( 4, 0, 0, 8, TRUE, 0, complain_overflow_signed, 0,"DISP8", TRUE, 0x000000ff,0x000000ff, FALSE), -HOWTO ( 5, 0, 1, 16, TRUE, 0, complain_overflow_signed, 0,"DISP16", TRUE, 0x0000ffff,0x0000ffff, FALSE), -HOWTO ( 6, 0, 2, 32, TRUE, 0, complain_overflow_signed, 0,"DISP32", TRUE, 0xffffffff,0xffffffff, FALSE), -HOWTO ( 7, 0, 4, 64, TRUE, 0, complain_overflow_signed, 0,"DISP64", TRUE, 0xfeedface,0xfeedface, FALSE), -HOWTO ( 8, 0, 2, 0, FALSE, 0, complain_overflow_bitfield,0,"GOT_REL", FALSE, 0,0x00000000, FALSE), -HOWTO ( 9, 0, 1, 16, FALSE, 0, complain_overflow_bitfield,0,"BASE16", FALSE,0xffffffff,0xffffffff, FALSE), -HOWTO (10, 0, 2, 32, FALSE, 0, complain_overflow_bitfield,0,"BASE32", FALSE,0xffffffff,0xffffffff, FALSE), + /* type rs size bsz pcrel bitpos ovrf sf name part_inpl readmask setmask pcdone. */ +HOWTO ( 0, 0, 0, 8, FALSE, 0, complain_overflow_bitfield,0,"8", TRUE, 0x000000ff,0x000000ff, FALSE), +HOWTO ( 1, 0, 1, 16, FALSE, 0, complain_overflow_bitfield,0,"16", TRUE, 0x0000ffff,0x0000ffff, FALSE), +HOWTO ( 2, 0, 2, 32, FALSE, 0, complain_overflow_bitfield,0,"32", TRUE, 0xffffffff,0xffffffff, FALSE), +HOWTO ( 3, 0, 4, 64, FALSE, 0, complain_overflow_bitfield,0,"64", TRUE, 0xdeaddead,0xdeaddead, FALSE), +HOWTO ( 4, 0, 0, 8, TRUE, 0, complain_overflow_signed, 0,"DISP8", TRUE, 0x000000ff,0x000000ff, FALSE), +HOWTO ( 5, 0, 1, 16, TRUE, 0, complain_overflow_signed, 0,"DISP16", TRUE, 0x0000ffff,0x0000ffff, FALSE), +HOWTO ( 6, 0, 2, 32, TRUE, 0, complain_overflow_signed, 0,"DISP32", TRUE, 0xffffffff,0xffffffff, FALSE), +HOWTO ( 7, 0, 4, 64, TRUE, 0, complain_overflow_signed, 0,"DISP64", TRUE, 0xfeedface,0xfeedface, FALSE), +HOWTO ( 8, 0, 2, 0, FALSE, 0, complain_overflow_bitfield,0,"GOT_REL", FALSE, 0,0x00000000, FALSE), +HOWTO ( 9, 0, 1, 16, FALSE, 0, complain_overflow_bitfield,0,"BASE16", FALSE,0xffffffff,0xffffffff, FALSE), +HOWTO (10, 0, 2, 32, FALSE, 0, complain_overflow_bitfield,0,"BASE32", FALSE,0xffffffff,0xffffffff, FALSE), EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), - HOWTO (16, 0, 2, 0, FALSE, 0, complain_overflow_bitfield,0,"JMP_TABLE", FALSE, 0,0x00000000, FALSE), + HOWTO (16, 0, 2, 0, FALSE, 0, complain_overflow_bitfield,0,"JMP_TABLE", FALSE, 0,0x00000000, FALSE), EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), @@ -246,7 +246,7 @@ EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), - HOWTO (32, 0, 2, 0, FALSE, 0, complain_overflow_bitfield,0,"RELATIVE", FALSE, 0,0x00000000, FALSE), + HOWTO (32, 0, 2, 0, FALSE, 0, complain_overflow_bitfield,0,"RELATIVE", FALSE, 0,0x00000000, FALSE), EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), @@ -254,7 +254,7 @@ EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), EMPTY_HOWTO (-1), - HOWTO (40, 0, 2, 0, FALSE, 0, complain_overflow_bitfield,0,"BASEREL", FALSE, 0,0x00000000, FALSE), + HOWTO (40, 0, 2, 0, FALSE, 0, complain_overflow_bitfield,0,"BASEREL", FALSE, 0,0x00000000, FALSE), }; #define TABLE_SIZE(TABLE) (sizeof (TABLE) / sizeof (TABLE[0])) @@ -357,9 +357,9 @@ FUNCTION SYNOPSIS void aout_@var{size}_swap_exec_header_in, - (bfd *abfd, - struct external_exec *bytes, - struct internal_exec *execp); + (bfd *abfd, + struct external_exec *bytes, + struct internal_exec *execp); DESCRIPTION Swap the information in an executable header @var{raw_bytes} taken @@ -442,7 +442,7 @@ FUNCTION SYNOPSIS const bfd_target *aout_@var{size}_some_aout_object_p (bfd *abfd, - struct internal_exec *execp, + struct internal_exec *execp, const bfd_target *(*callback_to_real_object_p) (bfd *)); DESCRIPTION @@ -637,12 +637,12 @@ NAME (aout, some_aout_object_p) (bfd *abfd, struct stat stat_buf; /* The original heuristic doesn't work in some important cases. - The a.out file has no information about the text start - address. For files (like kernels) linked to non-standard - addresses (ld -Ttext nnn) the entry point may not be between - the default text start (obj_textsec(abfd)->vma) and - (obj_textsec(abfd)->vma) + text size. This is not just a mach - issue. Many kernels are loaded at non standard addresses. */ + The a.out file has no information about the text start + address. For files (like kernels) linked to non-standard + addresses (ld -Ttext nnn) the entry point may not be between + the default text start (obj_textsec(abfd)->vma) and + (obj_textsec(abfd)->vma) + text size. This is not just a mach + issue. Many kernels are loaded at non standard addresses. */ if (abfd->iostream != NULL && (abfd->flags & BFD_IN_MEMORY) == 0 && (fstat (fileno ((FILE *) (abfd->iostream)), &stat_buf) == 0) @@ -701,7 +701,7 @@ SYNOPSIS enum machine_type aout_@var{size}_machine_type (enum bfd_architecture arch, unsigned long machine, - bfd_boolean *unknown); + bfd_boolean *unknown); DESCRIPTION Keep track of machine architecture and machine type for @@ -733,21 +733,21 @@ NAME (aout, machine_type) (enum bfd_architecture arch, || machine == bfd_mach_sparc_v8plus || machine == bfd_mach_sparc_v8plusa || machine == bfd_mach_sparc_v8plusb - || machine == bfd_mach_sparc_v8plusc - || machine == bfd_mach_sparc_v8plusd - || machine == bfd_mach_sparc_v8pluse - || machine == bfd_mach_sparc_v8plusv - || machine == bfd_mach_sparc_v8plusm - || machine == bfd_mach_sparc_v8plusm8 + || machine == bfd_mach_sparc_v8plusc + || machine == bfd_mach_sparc_v8plusd + || machine == bfd_mach_sparc_v8pluse + || machine == bfd_mach_sparc_v8plusv + || machine == bfd_mach_sparc_v8plusm + || machine == bfd_mach_sparc_v8plusm8 || machine == bfd_mach_sparc_v9 || machine == bfd_mach_sparc_v9a || machine == bfd_mach_sparc_v9b - || machine == bfd_mach_sparc_v9c - || machine == bfd_mach_sparc_v9d - || machine == bfd_mach_sparc_v9e - || machine == bfd_mach_sparc_v9v + || machine == bfd_mach_sparc_v9c + || machine == bfd_mach_sparc_v9d + || machine == bfd_mach_sparc_v9e + || machine == bfd_mach_sparc_v9v || machine == bfd_mach_sparc_v9m - || machine == bfd_mach_sparc_v9m8) + || machine == bfd_mach_sparc_v9m8) arch_flags = M_SPARC; else if (machine == bfd_mach_sparc_sparclet) arch_flags = M_SPARCLET; @@ -826,7 +826,7 @@ NAME (aout, machine_type) (enum bfd_architecture arch, case bfd_arch_ns32k: switch (machine) { - case 0: arch_flags = M_NS32532; break; + case 0: arch_flags = M_NS32532; break; case 32032: arch_flags = M_NS32032; break; case 32532: arch_flags = M_NS32532; break; default: arch_flags = M_UNKNOWN; break; @@ -946,8 +946,8 @@ adjust_o_magic (bfd *abfd, struct internal_exec *execp) else { /* The VMA of the .bss section is set by the VMA of the - .data section plus the size of the .data section. We may - need to add padding bytes to make this true. */ + .data section plus the size of the .data section. We may + need to add padding bytes to make this true. */ pad = obj_bsssec (abfd)->vma - vma; if (pad > 0) { @@ -996,8 +996,8 @@ adjust_z_magic (bfd *abfd, struct internal_exec *execp) else { /* The .text section is being loaded at an unusual address. We - may need to pad it such that the .data section starts at a page - boundary. */ + may need to pad it such that the .data section starts at a page + boundary. */ if (ztih) text_pad = ((obj_textsec (abfd)->filepos - obj_textsec (abfd)->vma) & (adata (abfd).page_size - 1)); @@ -1175,11 +1175,11 @@ NAME (aout, adjust_sizes_and_vmas) (bfd *abfd) str; }), obj_textsec (abfd)->vma, obj_textsec (abfd)->size, - obj_textsec (abfd)->alignment_power, + obj_textsec (abfd)->alignment_power, obj_datasec (abfd)->vma, obj_datasec (abfd)->size, - obj_datasec (abfd)->alignment_power, + obj_datasec (abfd)->alignment_power, obj_bsssec (abfd)->vma, obj_bsssec (abfd)->size, - obj_bsssec (abfd)->alignment_power); + obj_bsssec (abfd)->alignment_power); #endif #endif @@ -1201,9 +1201,9 @@ NAME (aout, adjust_sizes_and_vmas) (bfd *abfd) #ifdef BFD_AOUT_DEBUG fprintf (stderr, " text=<%x,%x,%x> data=<%x,%x,%x> bss=<%x,%x>\n", obj_textsec (abfd)->vma, obj_textsec (abfd)->size, - obj_textsec (abfd)->filepos, + obj_textsec (abfd)->filepos, obj_datasec (abfd)->vma, obj_datasec (abfd)->size, - obj_datasec (abfd)->filepos, + obj_datasec (abfd)->filepos, obj_bsssec (abfd)->vma, obj_bsssec (abfd)->size); #endif @@ -1215,7 +1215,7 @@ FUNCTION aout_@var{size}_new_section_hook SYNOPSIS - bfd_boolean aout_@var{size}_new_section_hook, + bfd_boolean aout_@var{size}_new_section_hook, (bfd *abfd, asection *newsect); @@ -1283,8 +1283,8 @@ NAME (aout, set_section_contents) (bfd *abfd, /* xgettext:c-format */ (_("%B: can not represent section `%A' in a.out object file format"), abfd, section); - bfd_set_error (bfd_error_nonrepresentable_section); - return FALSE; + bfd_set_error (bfd_error_nonrepresentable_section); + return FALSE; } } @@ -1502,8 +1502,8 @@ translate_from_native_sym_flags (bfd *abfd, aout_symbol_type *cache_ptr) case N_SETB: case N_SETB | N_EXT: { /* This code is no longer needed. It used to be used to make - the linker handle set symbols, but they are now handled in - the add_symbols routine instead. */ + the linker handle set symbols, but they are now handled in + the add_symbols routine instead. */ switch (cache_ptr->type & N_TYPE) { case N_SETA: @@ -1635,8 +1635,8 @@ translate_to_native_sym_flags (bfd *abfd, /* xgettext:c-format */ (_("%B: can not represent section `%A' in a.out object file format"), abfd, sec); - bfd_set_error (bfd_error_nonrepresentable_section); - return FALSE; + bfd_set_error (bfd_error_nonrepresentable_section); + return FALSE; } } @@ -2213,7 +2213,7 @@ NAME (aout, swap_ext_reloc_in) (bfd *abfd, if (r_extern && r_index > symcount) { /* We could arrange to return an error, but it might be useful - to see the file even if it is bad. */ + to see the file even if it is bad. */ r_extern = 0; r_index = N_ABS; } @@ -2286,7 +2286,7 @@ NAME (aout, swap_std_reloc_in) (bfd *abfd, if (r_extern && r_index > symcount) { /* We could arrange to return an error, but it might be useful - to see the file even if it is bad. */ + to see the file even if it is bad. */ r_extern = 0; r_index = N_ABS; } @@ -2949,7 +2949,7 @@ NAME (aout, link_hash_newfunc) (struct bfd_hash_entry *entry, subclass. */ if (ret == NULL) ret = (struct aout_link_hash_entry *) bfd_hash_allocate (table, - sizeof (* ret)); + sizeof (* ret)); if (ret == NULL) return NULL; @@ -3347,13 +3347,13 @@ aout_link_check_ar_symbols (bfd *abfd, in. This is true regardless of whether the current definition of the symbol is undefined or common. - If the current definition is common, we have a case in + If the current definition is common, we have a case in which we have already seen an object file including: - int a; + int a; and this object file from the archive includes: - int a = 5; + int a = 5; In such a case, whether to include this object is target - dependant for backward compatibility. + dependant for backward compatibility. FIXME: The SunOS 4.1.3 linker will pull in the archive element if the symbol is defined in the .data section, @@ -3610,7 +3610,7 @@ aout_link_includes_newfunc (struct bfd_hash_entry *entry, subclass. */ if (ret == NULL) ret = (struct aout_link_includes_entry *) - bfd_hash_allocate (table, sizeof (* ret)); + bfd_hash_allocate (table, sizeof (* ret)); if (ret == NULL) return NULL; @@ -3682,7 +3682,7 @@ aout_link_write_other_symbol (struct bfd_hash_entry *bh, void *data) return TRUE; case bfd_link_hash_new: /* This can happen for set symbols when sets are not being - built. */ + built. */ return TRUE; case bfd_link_hash_undefined: type = N_UNDF | N_EXT; @@ -4144,10 +4144,10 @@ aout_link_input_section_std (struct aout_final_link_info *flaginfo, if (h != NULL) { /* We decided to strip this symbol, but it - turns out that we can't. Note that we - lose the other and desc information here. - I don't think that will ever matter for a - global symbol. */ + turns out that we can't. Note that we + lose the other and desc information here. + I don't think that will ever matter for a + global symbol. */ if (h->indx < 0) { h->indx = -2; @@ -4278,8 +4278,8 @@ aout_link_input_section_std (struct aout_final_link_info *flaginfo, } /* Now warn if a global symbol is undefined. We could not - do this earlier, because check_dynamic_reloc might want - to skip this reloc. */ + do this earlier, because check_dynamic_reloc might want + to skip this reloc. */ if (hundef && ! bfd_link_pic (flaginfo->info) && ! r_baserel) { const char *name; @@ -4481,10 +4481,10 @@ aout_link_input_section_ext (struct aout_final_link_info *flaginfo, if (h != NULL) { /* We decided to strip this symbol, but it - turns out that we can't. Note that we - lose the other and desc information here. - I don't think that will ever matter for a - global symbol. */ + turns out that we can't. Note that we + lose the other and desc information here. + I don't think that will ever matter for a + global symbol. */ if (h->indx < 0) { h->indx = -2; @@ -4604,7 +4604,7 @@ aout_link_input_section_ext (struct aout_final_link_info *flaginfo, int type; /* For base relative relocs, r_index is always an index - into the symbol table, even if r_extern is 0. */ + into the symbol table, even if r_extern is 0. */ sym = syms + r_index; type = H_GET_8 (input_bfd, sym->e_type); if ((type & N_TYPE) == N_TEXT @@ -4676,8 +4676,8 @@ aout_link_input_section_ext (struct aout_final_link_info *flaginfo, } /* Now warn if a global symbol is undefined. We could not - do this earlier, because check_dynamic_reloc might want - to skip this reloc. */ + do this earlier, because check_dynamic_reloc might want + to skip this reloc. */ if (hundef && ! bfd_link_pic (flaginfo->info) && r_type != (unsigned int) RELOC_BASE10 @@ -4899,15 +4899,15 @@ aout_link_write_symbols (struct aout_final_link_info *flaginfo, bfd *input_bfd) bfd_boolean copy; /* We set *symbol_map to 0 above for all symbols. If it has - already been set to -1 for this symbol, it means that we are - discarding it because it appears in a duplicate header file. - See the N_BINCL code below. */ + already been set to -1 for this symbol, it means that we are + discarding it because it appears in a duplicate header file. + See the N_BINCL code below. */ if (*symbol_map == -1) continue; /* Initialize *symbol_map to -1, which means that the symbol was - not copied into the output file. We will change it later if - we do copy the symbol over. */ + not copied into the output file. We will change it later if + we do copy the symbol over. */ *symbol_map = -1; type = H_GET_8 (input_bfd, sym->e_type); @@ -4941,7 +4941,7 @@ aout_link_write_symbols (struct aout_final_link_info *flaginfo, bfd *input_bfd) h = *sym_hash; /* Use the name from the hash table, in case the symbol was - wrapped. */ + wrapped. */ if (h != NULL && h->root.type != bfd_link_hash_warning) name = h->root.root.string; @@ -5211,8 +5211,8 @@ aout_link_write_symbols (struct aout_final_link_info *flaginfo, bfd *input_bfd) } /* If we have already included a header file with the - same value, then replace this one with an N_EXCL - symbol. */ + same value, then replace this one with an N_EXCL + symbol. */ copy = (bfd_boolean) (! flaginfo->info->keep_memory); incl_entry = aout_link_includes_lookup (&flaginfo->includes, name, TRUE, copy); @@ -5224,9 +5224,9 @@ aout_link_write_symbols (struct aout_final_link_info *flaginfo, bfd *input_bfd) if (t == NULL) { /* This is the first time we have seen this header - file with this set of stabs strings. */ + file with this set of stabs strings. */ t = (struct aout_link_includes_totals *) - bfd_hash_allocate (&flaginfo->includes.root, + bfd_hash_allocate (&flaginfo->includes.root, sizeof *t); if (t == NULL) return FALSE; @@ -5239,8 +5239,8 @@ aout_link_write_symbols (struct aout_final_link_info *flaginfo, bfd *input_bfd) int *incl_map; /* This is a duplicate header file. We must change - it to be an N_EXCL entry, and mark all the - included symbols to prevent outputting them. */ + it to be an N_EXCL entry, and mark all the + included symbols to prevent outputting them. */ type = (int) N_EXCL; nest = 0; |