Removed v850eq sanitization.
[binutils-gdb.git] / bfd / ChangeLog
index 6ca14c62ede922918b8a793f24dc17c5a3e64ae7..34b6fde7422973ea4b78dce489edd5a8fd995c2a 100644 (file)
@@ -1,3 +1,98 @@
+Thu Sep 18 15:04:57 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_check_relocs): Improve error message.
+
+Wed Sep 17 09:54:51 1997  Nick Clifton  <nickc@cygnus.com>
+start-sanitize-v850e
+
+       * elf32-v850.c (v850_elf_final_link_relocate, v850_elf_reloc,
+       v850_elf_check_relocs, v850_elf_reloc_map, v850_elf_howto_table):
+       Add support for the CALLT relocs.
+
+       * reloc.c (COMMENT): Add BFD_RELOC_V850_CALLT_6_7_OFFSET and
+       BFD_RELOC_V850_CALLT_16_16_OFFSET. 
+end-sanitize-v850e
+
+       * elf32-v850.c (v850_elf_final_link_relocate): Add checks to catch
+       relocations against non-existant symbols.
+
+Tue Sep 16 14:20:27 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * reloc.c: Add BFR_RELOC_V850_TDA_16_16_OFFSET.
+
+       * elf32-v850.c (v850_elf_reloc, v850_elf_final_link_relocate,
+       v850_elf_howto_table, v850_elf_reloc_map): Add support for a 16
+       bit reloc in the tiny data area.
+
+start-sanitize-d30v
+Mon Sep 15 11:27:36 1997  Ken Raeburn  <raeburn@cygnus.com>
+
+       Merged changes from Martin Hunt:
+
+       * elf32-d30v.c (bfd_elf_d30v_reloc): Change pc-relative relocs
+       over 2^32 bytes to be absolute.  Needed because D30V PC doesn't
+       necessarily wrap.
+
+       * reloc.c, elf32-d30v.c (BFD_RELOC_D30V_9_PCREL,
+       BFD_RELOC_D30V_9_PCREL_R): New relocs.
+
+       * elf32-d30v.c (bfd_elf_d30v_reloc_21): New function.
+       Do 15 and 21 bit pc-relative relocations.
+       * reloc.c (BFD_RELOC_D30V_15_PCREL_R, BFD_RELOC_D30V_21_PCREL_R):
+       New relocations.
+
+       * elf32-d30v.c (bfd_elf_d30v_reloc): Addend needs to be
+       added to the relocation, not or'd.
+
+end-sanitize-d30v
+Wed Sep 10 15:17:25 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_reloc): Remove spurious error message.
+
+Wed Sep 10 11:17:50 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * archures.c (bfd_default_scan): Use strcasecmp.
+       (bfd_default_scan): Test for match with arch_name + ":" +
+       printable_name.
+       (bfd_default_scan): Test for match with printable_name - ":".
+       (bfd_default_scan): Delete w65, h8300, h8500, z8k, i960 special
+       cases.  Each implements their own scan function.
+       (bfd_default_scan): Delete 386, 2900, 860, mips 2000, mips 4400
+       special cases.  Since info->mach == 0.  The test mach == number
+       fails.
+       (bfd_arch_list): New function, return name of all the supported
+       architectures.
+
+Tue Sep  9 10:21:56 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_print_private_bfd_data): Break after
+       decoding architecture.
+       (v850_elf_reloc): Do not complain if a R_V850_LO16 reloc has bit
+       15 set.
+
+Sun Sep  7 12:25:22 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
+
+       * bfd/elf64-alpha.c (reloc_howto_type): Fix the howto table.
+
+Thu Sep  4 09:44:10 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am: Rebuild dependencies.
+       (ALL_MACHINES_CFILES): Add cpu-v850.c.
+       (ALL_MACHINES_CFILES): Add elf32-v850.c.
+       * Makefile.in: Rebuild.
+
+       * reloc.c: Remove extraneous commas from relocation entries.
+       Remove BFD_RELOC_V850_16_PCREL.
+       * bfd-in2.h: Rebuild.
+
+       * xcofflink.c (xcoff_link_add_symbols): Put XTY_CM/XMC_TD symbols
+       in sections named .tocbss rather than .bss.
+
+Wed Sep  3 11:23:23 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * libbfd.h, bfd-in2.h, elf32-v850.c: Removed
+       BFD_RELOC_V850_16_PCREL. 
+
 Tue Sep  2 20:44:10 1997  Fred Fish  <fnf@cygnus.com>
 
        * cofflink.c (coff_link_check_ar_symbols): Handle C_SYSTEM syms
@@ -19,9 +114,7 @@ start-sanitize-v850e
 Tue Sep  2 17:43:49 1997  Nick Clifton  <nickc@cygnus.com>
 
        * elf.c (prep_headers): Remove V850E magic number.
-start-sanitize-v850eq
        * elf.c (prep_headers): Remove V850EQ magic number.
-end-sanitize-v850eq
 end-sanitize-v850e
 
 Tue Sep  2 17:35:05 1997  Doug Evans  <dje@canuck.cygnus.com>
@@ -81,7 +174,6 @@ Mon Aug 25 16:11:04 1997  Nick Clifton  <nickc@cygnus.com>
 
        * cpu-arm.c (compatible): If B is a default type, return A.
 
-start-sanitize-v850
 Mon Aug 25 15:35:46 1997  Nick Clifton  <nickc@cygnus.com>
 
        * cpu-v850.c (scan): New function.
@@ -102,9 +194,7 @@ start-sanitize-v850e
        number.
        
        * elf.c (prep_headers): Add support for v850e machine number. 
-end-sanitize-v850e
-       
-start-sanitize-v850eq
+
        * archures.c (bfd_mach_v850eq): Machine value for v850eq.
        
        * bfd-in2.h (bfd_mach_v850eq): Machine value for v850eq.
@@ -113,9 +203,8 @@ start-sanitize-v850eq
        number.
        
        * elf.c (prep_headers): Add support for v850eq machine number. 
+end-sanitize-v850e
 
-end-sanitize-v850eq
-end-sanitize-v850
 Mon Aug 25 14:07:33 1997  Ian Lance Taylor  <ian@cygnus.com>
 
        * syms.c (_bfd_stab_section_find_nearest_line): Clear the
@@ -162,7 +251,6 @@ start-sanitize-tic80
        section header for TIC80COFF files.
 end-sanitize-tic80
 
-start-sanitize-v850
 Mon Aug 18 11:36:19 1997  Nick Clifton  <nickc@cygnus.com>
 
        * elf32-v850.c (v850_elf_howto_table, v850_elf_reloc_map,
@@ -176,7 +264,6 @@ Mon Aug 18 11:36:19 1997  Nick Clifton  <nickc@cygnus.com>
        * libbfd.h: Add support for BFD_RELOC_V850_16_PCREL relocation.
 
        * bfd-in2.h: Add support for BFD_RELOC_V850_16_PCREL relocation.
-end-sanitize-v850
 
 start-sanitize-v850e
 Mon Aug 18 11:33:56 1997  Nick Clifton  <nickc@cygnus.com>
@@ -190,9 +277,7 @@ Mon Aug 18 11:33:56 1997  Nick Clifton  <nickc@cygnus.com>
        * config.bfd: Add support for v850e target.
 
        * archures.c: Add support for v850e target.
-end-sanitize-v850e
 
-start-sanitize-v850eq
 Mon Aug 18 11:33:56 1997  Nick Clifton  <nickc@cygnus.com>
 
        * cpu-v850eq: New file.
@@ -204,7 +289,7 @@ Mon Aug 18 11:33:56 1997  Nick Clifton  <nickc@cygnus.com>
        * config.bfd: Add support for v850eq target.
 
        * archures.c: Add support for v850eq target.
-end-sanitize-v850eq
+end-sanitize-v850e
 
 Fri Aug 15 12:01:28 1997  Ian Lance Taylor  <ian@cygnus.com>
 
@@ -1867,13 +1952,11 @@ Tue Feb 18 11:41:00 1996  Dawn Perchik  <dawn@cygnus.com>
 
        * sysdep.h: Don't define errno in MSVC if error.h is included.
 
-start-sanitize-v850
 Tue Feb 18 10:04:13 1997  Jeffrey A Law  (law@cygnus.com)
 
        * elf32-v850.c (v850_elf_relocate_section): Make sure r_symndx
        is initialized before it is used.
 
-end-sanitize-v850
 Mon Feb 17 11:28:40 1997  Ian Lance Taylor  <ian@cygnus.com>
 
        * hp300hpux.c (convert_sym_type): Don't convert a secondary common
@@ -2016,10 +2099,8 @@ Mon Jan 27 12:25:02 1997  Ian Lance Taylor  <ian@cygnus.com>
 
        * aout-arm.c (MY_swap_std_reloc_in): Remove unused r_length.
        * elf32-ppc.c (ppc_elf_check_relocs): Remove unused plt.
-start-sanitize-v850
        * elf32-v850.c (v850_elf_final_link_relocate): Remove used
        r_format and r_pcrel.  Always return a value.
-end-sanitize-v850
        * riscix.c (MY_final_link_callback): Define to dummy value.
 
        * elf32-i386.c (elf_i386_size_dynamic_sections): When checking for
@@ -2072,7 +2153,6 @@ Mon Jan 13 22:39:08 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
        * config.bfd (tic80-*-*): Don't require 'coff'.
 
 end-sanitize-tic80
-start-sanitize-v850
 Mon Jan 13 19:36:25 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
 
        * elf32-v850.c (v850_elf_howto_table): Set the special_function
@@ -2083,7 +2163,6 @@ Mon Jan 13 19:36:25 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
        (v850_elf_relocate_section): Fix up error message, don't just call
        abort.
 
-end-sanitize-v850
 Mon Jan  6 13:28:35 1997  Jeffrey A Law  (law@cygnus.com)
 
        * elf32-mn10200.c (elf_mn10200_howto): Don't ever set partial-inplace.
@@ -2149,7 +2228,6 @@ Fri Jan  3 16:58:31 1997  Richard Henderson  <rth@tamu.edu>
 
        * elf64-alpha.c: Rewrite everything touching relocations.
 
-start-sanitize-v850
 Fri Jan  3 11:42:53 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
 
        * elf32-v850.c (all functions and static variables): Go through
@@ -2165,7 +2243,6 @@ Tue Dec 31 15:15:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
 
        * elf32-v850.c (elf_v850_howto_table): Fix some spacing.
 
-end-sanitize-v850
 Tue Dec 31 14:44:50 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * config.bfd (mips*el-*-linux*): New target.
@@ -2509,19 +2586,16 @@ Fri Oct 25 16:56:40 1996  Ian Lance Taylor  <ian@cygnus.com>
        * ieee.c (ieee_write_external_part): Correctly record whether
        there is an external part.
 
-start-sanitize-v850
 Thu Oct 24 14:32:52 1996  Jeffrey A Law  (law@cygnus.com)
 
        * elf32-v850.c (elf32_v850_bfd_final_link_relocate): Correctly
        handle tda offsets for sld.w and sst.w instructions.
        Fix alignment check in sld.w and sst.w tda reloc handling.
 
-end-sanitize-v850
 Thu Oct 24 09:08:47 1996  Stu Grossman  (grossman@critters.cygnus.com)
 
        * aclocal.m4, configure:  Set USE_BINARY_FOPEN for *-*-windows.
 
-start-sanitize-v850
 Wed Oct 23 00:53:16 1996  Jeffrey A Law  (law@cygnus.com)
 
        * elf32-v850.c: Add comments about assumptions about
@@ -2532,7 +2606,6 @@ Wed Oct 23 00:53:16 1996  Jeffrey A Law  (law@cygnus.com)
        * elf32-v850.c (elf32_v850_howto_table): Fix typo in
        R_V850_SDA_OFFSET entry.
 
-end-sanitize-v850
 Wed Oct 23 00:20:34 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * xcofflink.c (bfd_xcoff_import_symbol): Don't allocate ldsym.
@@ -2540,7 +2613,6 @@ Wed Oct 23 00:20:34 1996  Ian Lance Taylor  <ian@cygnus.com>
        (xcoff_build_ldsyms): Assume that ldsym was not previously
        allocated.  For an imported symbol, copy ldindx into l_ifile.
 
-start-sanitize-v850
 Tue Oct 22 19:20:38 1996  Jeffrey A Law  (law@cygnus.com)
 
        * elf32-v850.c (elf_v850_howto_table): Fix ordering of
@@ -2557,7 +2629,6 @@ Tue Oct 22 19:20:38 1996  Jeffrey A Law  (law@cygnus.com)
        (v850_elf_relocation_section): Likewise.
        (elf_backend_relocate_section): Define.
 
-end-sanitize-v850
 Tue Oct 22 17:22:43 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * binary.c (binary_set_section_contents): Ignore sections which
@@ -2594,9 +2665,6 @@ Wed Oct 16 11:24:35 1996  Jeffrey A Law  (law@cygnus.com)
        all sections that will be included in the output file.
        (_bfd_generic_link_output_symbols): Discard symbols in sections
        which are being discarded.
-
-start-sanitize-v850
-
        * elf32-v850.c (enum reloc_type): Add R_V850_SDA_OFFSET,
        R_V850_TDA_OFFSET and R_V850_ZDA_OFFSET.
        (elf_v850_howto_table): Corresponding changes.
@@ -2616,7 +2684,6 @@ Tue Oct 15 16:17:28 1996  Stu Grossman  (grossman@critters.cygnus.com)
 
        * elf32-v850.c:  Define elf_symbol_leading_char to be '_'.
 
-end-sanitize-v850
 Tue Oct 15 12:40:41 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * VERSION: Bump for new relocation.
@@ -2822,13 +2889,11 @@ Tue Oct  1 12:31:39 1996  Ian Lance Taylor  <ian@cygnus.com>
        a dynamic object in the dynamic symbol table if it is referenced
        or defined by a regular object.
 
-start-sanitize-v850
 Fri Sep 27 18:41:07 1996  Stu Grossman  (grossman@critters.cygnus.com)
 
        * elf32-v850.c (bfd_elf32_v850_is_local_label):  New function to
        remove dwarf local labels.  Shrinks binaries by a factor of 3!
 
-end-sanitize-v850
 Mon Sep 23 13:33:00 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * elf32-ppc.c (ppc_elf_add_symbol_hook): Create the .sbss section
@@ -3021,14 +3086,12 @@ Mon Sep  9 12:31:22 1996  Doug Evans  <dje@canuck.cygnus.com>
        * Makefile.in,archures.c,elf.c,targets.c: Likewise.
        * config.bfd: Keep target list alphabetically sorted.
 
-start-sanitize-v850
 Mon Sep  9 11:48:41 1996  Jeffrey A Law  (law@cygnus.com)
 
        * elf32-v850.c (bfd_elf32_v850_reloc, case R_V850_HI16): Don't forget
        to add in the constant part found in the instruction itself.
        (case R_V850_HI16_S): Likewise.
 
-end-sanitize-v850
 Fri Sep  6 17:04:39 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
 
        * elf32-d10v.c (elf_d10v_howto_table): Modify the size of R_D10V_16
@@ -3051,7 +3114,6 @@ Tue Sep  3 12:16:20 1996  Doug Evans  <dje@canuck.cygnus.com>
        (bfd_target_vector): Add sparcle_aout_vec.
        * aout-sparcle.c: New file.
 
-start-sanitize-v850
 Tue Sep  3 00:57:02 1996  Jeffrey A Law  (law@cygnus.com)
 
        * elf32-v850.c (bfd_elf32_v850_reloc): Fix handling of
@@ -3063,7 +3125,6 @@ Tue Sep  3 00:57:02 1996  Jeffrey A Law  (law@cygnus.com)
        relocations.  Twiddle masks & shifts for some relocs.
        Set partial_inplace where needed.
 
-end-sanitize-v850
 Mon Sep  2 12:12:34 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * cpu-mips.c: Add an explicit mips:3000 entry, and change the
@@ -3073,7 +3134,6 @@ Mon Sep  2 12:12:34 1996  Ian Lance Taylor  <ian@cygnus.com>
        (_bfd_mips_elf_merge_private_bfd_data): If the machine number of
        the output BFD is the default, set it from the first input BFD.
 
-start-sanitize-v850
 Sun Sep  1 18:38:01 1996  Jeffrey A Law  (law@cygnus.com)
 
        * elf32-v850.c (elf_v850_howto_table): All the 16bit relocs
@@ -3084,14 +3144,12 @@ Sun Sep  1 18:38:01 1996  Jeffrey A Law  (law@cygnus.com)
        (TARGET_BIG_SYM, TARGET_BIG_NAME): Remove.  The V850 is little
        endian!
 
-end-sanitize-v850
 Sun Sep  1 15:41:08 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * rs6000-core.c (rs6000coff_core_file_matches_executable_p):
        Rewrite to use BFD file read routines and to avoid using a fixed
        length for the file name.
 
-start-sanitize-v850
 Sat Aug 31 10:22:25 1996  Jeffrey A Law  (law@cygnus.com)
 
        * elf32-v850.c (enum reloc_type): Add R_V850_{32,16,8}.
@@ -3106,7 +3164,6 @@ Fri Aug 30 18:06:04 1996  J.T. Conklin  <jtc@hippo.cygnus.com>
        (v850_reloc_map): Add HI_16_S reloc.
        * reloc.c: Define BFD_RELOC_V850_* relocs.
 
-end-sanitize-v850
 Fri Aug 30 11:49:19 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        Add SH ELF support.
@@ -3195,7 +3252,6 @@ Thu Aug 22 10:54:38 1996  Ian Lance Taylor  <ian@cygnus.com>
        undefined symbol merely because we are generating a shared
        library.
 
-start-sanitize-v850
 Tue Aug 20 15:06:05 1996  J.T. Conklin  <jtc@hippo.cygnus.com>
 
        * Makefile.in (ALL_MACHINES): Add cpu-v850.o.
@@ -3210,7 +3266,6 @@ Tue Aug 20 15:06:05 1996  J.T. Conklin  <jtc@hippo.cygnus.com>
        * elf32-v850.c: New file.
        * targets.c (bfd_elf32_v850_vec): New vector.
 
-end-sanitize-v850
 Fri Aug 16 16:25:35 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * xcofflink.c (xcoff_link_add_dynamic_symbols): Create and define