diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2000-11-10 20:55:44 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2000-11-10 20:55:44 +0000 |
commit | 5fcfd273c3f5dbc63b64a5eef0893cd38d4f49e8 (patch) | |
tree | 54453c9b5c9494f5267974ab3cdd46e08df16c99 /bfd/coff-i960.c | |
parent | 5fbbeb2988b75ffc72f8bf77dc0c4461ba65cefd (diff) | |
download | gdb-5fcfd273c3f5dbc63b64a5eef0893cd38d4f49e8.zip gdb-5fcfd273c3f5dbc63b64a5eef0893cd38d4f49e8.tar.gz gdb-5fcfd273c3f5dbc63b64a5eef0893cd38d4f49e8.tar.bz2 |
2000-11-10 Kazu Hirata <kazu@hxi.com>
* coff-h8300.c: Fix formatting.
* coff-h8500.c: Likewise.
* coff-i386.c: Likewise.
* coff-i860.c: Likewise.
* coff-i960.c: Likewise.
* coff-ia64.c: Likewise.
Diffstat (limited to 'bfd/coff-i960.c')
-rw-r--r-- | bfd/coff-i960.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bfd/coff-i960.c b/bfd/coff-i960.c index 4c37fab..6192247 100644 --- a/bfd/coff-i960.c +++ b/bfd/coff-i960.c @@ -99,7 +99,7 @@ coff_i960_is_local_label_name (abfd, name) #define BAL 0x0b000000 /* Template for 'bal' instruction */ #define BAL_MASK 0x00ffffff -static bfd_reloc_status_type +static bfd_reloc_status_type optcall_callback (abfd, reloc_entry, symbol_in, data, input_section, ignore_bfd, error_message) bfd *abfd; @@ -117,13 +117,13 @@ optcall_callback (abfd, reloc_entry, symbol_in, data, coff_symbol_type *cs = coffsymbol(symbol_in); /* Don't do anything with symbols which aren't tied up yet, - except move the reloc. */ + except move the reloc. */ if (bfd_is_und_section (cs->symbol.section)) { reloc_entry->address += input_section->output_offset; return bfd_reloc_ok; } - - /* So the target symbol has to be of coff type, and the symbol + + /* So the target symbol has to be of coff type, and the symbol has to have the correct native information within it */ if ((bfd_asymbol_flavour(&cs->symbol) != bfd_target_coff_flavour) || (cs->native == (combined_entry_type *)NULL)) @@ -138,7 +138,7 @@ optcall_callback (abfd, reloc_entry, symbol_in, data, } else { - switch (cs->native->u.syment.n_sclass) + switch (cs->native->u.syment.n_sclass) { case C_LEAFSTAT: case C_LEAFEXT: @@ -188,7 +188,7 @@ optcall_callback (abfd, reloc_entry, symbol_in, data, useful. It was used before this target was converted to use the COFF specific backend linker. */ -static bfd_reloc_status_type +static bfd_reloc_status_type coff_i960_relocate (abfd, reloc_entry, symbol, data, input_section, output_bfd, error_message) bfd *abfd; @@ -402,7 +402,7 @@ coff_i960_relocate_section (output_bfd, info, input_bfd, input_section, sym = NULL; } else - { + { h = obj_coff_sym_hashes (input_bfd)[symndx]; sym = syms + symndx; } @@ -661,6 +661,6 @@ bfd_getb64, bfd_getb_signed_64, bfd_putb64, BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), & icoff_little_vec, - + COFF_SWAP_TABLE }; |