Switched over to using new reloc types.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 86d136ec5e3b6e80c84973bce9cf318863cb3a5e..d3b9936b9099140ac2b17b0a5710b6aff60cfb9e 100644 (file)
@@ -1,5 +1,445 @@
+Tue Sep  2 15:45:45 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * cpu-v850.c: Use a macro to construct bfd_arch_info_type
+       entries. 
+
+       * reloc.c, libbfd.h, bfd-in2.h, elf32-v850.c: Replace
+       BFD_RELOC_V850_{SDA/TDA/ZDA}_OFFSET relocs with new bit pattern
+       specific versions: BFD_RELOC_V850_{area}_{bits}_OFFSET. 
+
+Thu Aug 28 17:01:09 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * cpu-v850.c: Remove "plain" from v850 printable name.
+       (scan): Use strcasecmp.
+
+       * archures.c (bfd_mach_v850): Define.
+       
+       * cpu-sh.c (scan_mach): Compare with table instead of hardwired to
+       just sh/SH, use strcasecmp.
+       (arch_info_struct): Add entries for sh3 et.al.
+
+       * archures.c (bfd_mach_sh, ...): Define.
+
+Wed Aug 27 17:33:07 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * archures.c (bfd_archures_list): Always NULL terminate the list.
+
+Tue Aug 26 17:26:51 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am: Rebuild dependencies.
+       (ALL_MACHINES_CFILES): Add cpu-arc.c.
+       (ALL_MACHINES_CFILES): Add elf32-arc.c.
+       (elf32-arc.lo): Remove explicit dependency.
+       * Makefile.in: Rebuild.
+
+       * acinclude.m4 (BFD_CC_FOR_BUILD): Set EXEEXT_FOR_BUILD.
+       * doc/Makefile.am (MKDOC): Use EXEEXT_FOR_BUILD, not EXEEXT.
+       * aclocal.m4, configure, Makefile.in, doc/Makefile.in: Rebuild.
+
+Mon Aug 25 16:14:34 1997  Christopher Provenzano  <proven@cygnus.com>
+
+       * configure: Rebuild with latest devo autoconf for NT support
+
+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.
+       (arch_info_struct): New structure.
+       (bfd_v850_arch): Add link into arch_info_structure.
+
+       * config.bfd (targ_cpu): All v850 variants use the bfd_arch_v850
+       architecture. 
+
+       * elf32-v850.c (v850_elf_object_p): New function.
+
+start-sanitize-v850e
+       * archures.c (bfd_mach_v850e): Machine value for v850e.
+       
+       * bfd-in2.h (bfd_mach_v850e): Machine value for v850e.
+       
+       * elf32-v850.c (ELF_MACHINE_CODE): Default to v850e machine     
+       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.
+       
+       * elf32-v850.c (ELF_MACHINE_CODE): Default to v850eq machine
+       number.
+       
+       * elf.c (prep_headers): Add support for v850eq machine number. 
+
+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
+       cached_stab field if the offset prevents us from using the cache.
+
+Mon Aug 25 12:08:13 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * aout-target.h (MY(vec)): Add SEC_CODE and SEC_DATA to section
+       flags.
+       * aout-arm.c (aout_arm_little_vec): Likewise.
+       (aout_arm_big_vec): Likewise.
+       * bout.c (b_out_vec_big_host): Likewise.
+       (b_out_vec_little_host): Likewise.
+       * mipsbsd.c (aout_mips_little_vec): Likewise.
+       (aout_mips_big_vec): Likewise.
+
+start-sanitize-tic80
+Tue Aug 19 10:09:10 1997  Fred Fish  <fnf@cygnus.com>
+
+       * coff-tic80.c (COFF_ALIGN_IN_SFLAGS): Define to 1.
+       * coffcode.h (styp_to_sec_flags): Ignore incoming STYP_INFO
+       bit in s_flags if COFF_ALIGN_IN_S_FLAGS is defined.
+
+end-sanitize-tic80
+Tue Aug 19 08:47:17 1997  Fred Fish  <fnf@cygnus.com>
+
+       * coff-i960.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1.
+       (GET_SCNHDR_ALIGN, PUT_SCNHDR_ALIGN): Define.
+       * coff-m88k.c (GET_SCNHDR_NRELOC, GET_SCNHDR_NLNNO): Define.
+       * coffcode.h (coff_set_alignment_hook): Conditionally compile in if
+       COFF_ALIGN_IN_SECTION_HEADER is defined.  Convert alignment to power
+       of two for I960 only.
+       * coffswap.h (GET_SCNHDR_NRELOC, PUT_SCNHDR_NRELOC, GET_SCNDHR_NLNNO,
+       PUT_SCNHDR_NLNNO, GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Provide
+       default definitions.
+       (coff_swap_scnhdr_in): Use GET_SCNHDR_FLAGS, GET_SCNHDR_NRELOC,
+       GET_SCNHDR_NLNNO, and GET_SCNHDR_ALIGN.
+       (coff_swap_scnhdr_out): Use PUT_SCNHDR_FLAGS, PUT_SCNHDR_ALIGN.
+start-sanitize-tic80
+       * Makefile.in (coff-tic80.o): Depends upon coffswap.h.
+       * coff-tic80.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1.
+       (GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Define
+       *coffcode.h (coff_write_object_contents): Set alignment field in
+       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,
+       v850_elf_check_relocs, v850_elf_reloc,
+       v850_elf_final_link_relocate):  Add support for
+       BFD_RELOC_V850_16_PCREL relocation. 
+       
+       * reloc.c (COMMENT): Add suuport for BFD_RELOC_V850_16_PCREL
+       relocation.
+       
+       * 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>
+
+       * cpu-v850e: New file.
+       
+       * elf.c (prep_headers): Add support for v850e target.
+       
+       * bfd-in2.h (bfd_architecture): Add support for v850e target. 
+       
+       * 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.
+       
+       * elf.c (prep_headers): Add support for v850eq target.
+       
+       * bfd-in2.h (bfd_architecture): Add support for v850eq target. 
+       
+       * config.bfd: Add support for v850eq target.
+
+       * archures.c: Add support for v850eq target.
+end-sanitize-v850eq
+
+Fri Aug 15 12:01:28 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coffgen.c (coff_find_nearest_line): Correctly handle the offset
+       argument as section relative, rather than an absolute address.
+       From Jan Hoogenraad <hoogenrd@natlab.research.philips.com>.
+
+Fri Aug 15 04:58:02 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * config.bfd (arc-*-elf*): Add.
+       * configure.in (bfd_elf32_{little,big}arc_vec): Add.
+       * configure: Rebuild.
+       * Makefile.am (ALL_MACHINES): Add cpu-arc.lo.
+       (BFD32_BACKENDS): Add elf32-arc.lo.
+       (cpu-arc.lo,elf32-arc.lo): Add rules for.
+       * Makefile.in: Rebuild.
+       * archures.c (architecture list): Add bfd_arch_arc.
+       (bfd_archures_list): Add bfd_arc_arch.
+       (bfd_mach_arc_base): Define.
+       * reloc.c (BFD_RELOC_ARC_B22_PCREL,BFD_RELOC_ARC_B26): Add.
+       * targets.c (bfd_elf32_{little,big}arc_vec): Declare.
+       (bfd_target_vect): Add them.
+       * bfd-in2.h, libbfd.h: Rebuild.
+       * cpu-arc.c, elf32-arc.c: New files.
+       * elf.c (pre_headers): Recognize bfd_arch_arc.
+
+Tue Aug 12 11:45:18 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * aoutx.h (NAME(aout,final_link)): If no symbols, make sure the
+       data section is correctly rounded to a page in the file.
+
+Mon Aug 11 12:45:43 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * aoutx.h (NAME(aout,final_link)): Don't emit the string table if
+       there are no symbols.
+
+Sun Aug 10 14:45:56 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coff-stgo32.c: Rename from coff-stubgo32.c to avoid old System V
+       file system 14 character limit.
+       * Makefile.am, configure.in: Corresponding changes.
+       * Makefile.in, configure: Rebuild.
+
+Fri Aug  8 18:34:36 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am: (ALL_MACHINES_CFILES): Add elf32-d10v.c.
+       Rebuild dependencies.
+       * Makefile.in: Rebuild.
+
+Wed Aug  6 18:56:51 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (docdir): Define.
+       * Makefile.in: Rebuild.
+
+Tue Aug  5 23:05:03 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure: Rebuild with autoconf 2.12.1.
+
+Mon Aug  4 12:00:35 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * aclocal.m4, configure: Rebuild with new automake patches.
+
+Sun Aug  3 08:15:12 1997  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * rs6000-core.c (make_bfd_asection):  New function to add a section
+       to the core file bfd.
+       (rs6000coff_core_p):  Use make_bfd_asection to add the core file
+       sections.
+       Use BFD routines to seek, read and stat the core file.
+       Handle .data sections from loaded objects and anonymously mmapped
+       regions, these are available in AIX 4 core files.
+
+Fri Aug  1 12:58:32 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Set enable_shared before AM_PROG_LIBTOOL.
+       * acinclude.m4: Move acmacros.m4 in here.  Remove AM_PROG_LIBTOOL
+       copy; use a patches libtool instead.
+       * acmacros.m4: Remove.
+       * Makefile.in, aclocal.m4, configure: Rebuild.
+
+Thu Jul 31 19:55:36 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am: New file, based on old Makefile.in.
+       * acmacros.m4: New file, copied from old aclocal.m4.
+       * acinclude.m4: New file.
+       * configure.in: Call AM_PROG_LIBTOOL.  Remove shared library
+       handling; now handled by libtool.  Replace AC_CONFIG_HEADER with
+       AM_CONFIG_HEADER.  Replace AC_PROG_INSTALL with AM_PROG_INSTALL.
+       Call AM_MAINTAINER_MODE, AM_CYGWIN32, and AM_EXEEXT.  Change all
+       .o files to .lo.  Remove stamp-h handling in AC_OUTPUT.
+       * acconfig.h: Mention PACKAGE and VERSION.
+       * stamp-h.in: New file.
+       * dep-in.sed: Change .o to .lo.
+       * Makefile.in: Now built with automake.
+       * aclocal.m4: Now built with aclocal.
+       * config.in, configure: Rebuild.
+       * VERSION: Remove.
+
+Thu Jul 31 12:09:20 1997  Geoff Keating  <geoffk@ozemail.com.au>
+
+       * elf32-ppc.c (ppc_elf_size_dynamic_sections): Don't set TEXTREL
+       if there is only a relocation to a read-only but not allocatable
+       section (like .stab).
+       * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
+       * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
+       * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
+       * elf32-mips.c (mips_elf_size_dynamic_sections): Likewise.
+       * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
+
+       * elf32-ppc.c (ppc_elf_howto_raw): Correct various comments.
+       (ppc_elf_create_linker_section): These sections are not 
+       created by the linker (that is, they are created by the user
+       putting data in them). In particular, they can be the source
+       and target of relocations.
+       (ppc_elf_adjust_dynamic_symbol): Check postcondition of
+       bfd_elf32_link_record_dynamic_symbol.  Align 16-byte common
+       objects (for instance, 'long double') to 16-byte boundaries.
+       (ppc_elf_size_dynamic_sections): Make the code that generates
+       section symbols exactly the same as for sparc, reducing the
+       number of section symbols output.
+       (ppc_elf_check_relocs): Check postcondition of
+       bfd_elf32_link_record_dynamic_symbol.  Make default case the
+       same as corresponding code for sparc, fixing bug involving
+       .rela.stabs.
+       (ppc_elf_finish_dynamic_symbol): Fix case involving GOT symbols
+       forced to be local because of versioning (by replicating
+       corresponding change in sparc).  Treat R_PPC_RELATIVE RELA relocs
+       as usual in ELF, not as pseudo-REL relocs (as the sparc linker
+       does).
+       (ppc_elf_relocate_section): Add handy debugging code for when
+       assertion fails.  Add some more 'symbol made local because of
+       versioning' cases.
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Cope with addend when
+       processing a GOT relocation as required by ABI.
+
+Wed Jul 30 21:30:35 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * elflink.h (NAME(bfd_elf,record_link_assignment)): Remove any
+       version info if this symbol came from a dynamic object.
+       (elf_link_add_object_symbols): Set the version info of a symbol
+       only if the object actually contains version definitions and
+       defines this symbol.
+
+Mon Jul 28 18:07:43 1997  Rob Savoye  <rob@chinadoll.cygnus.com>
+
+       * aclocal.m4: Add CYGWIN and EXEEXT autoconf macros.
+        * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
+        win32 dependencies.
+        * configure: Regenerated with autoconf 2.12.
+        * doc/Makefile.in: Add $(EXEEXT) to chew executable.
+
+Mon Jul 28 02:50:29 1997  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * rs6000-core.c (rs6000coff_core_p):  If CORE_TRUNC is set, print
+       a warning rather than returning an error.
+
+Sun Jul 27 19:54:14 1997  Felix Lee  <flee@cygnus.com>
+
+       * coffswap.h (coff_swap_aux_in): add semicolon to make MSVC happy.
+
+Fri Jul 25 14:50:08 1997  Felix Lee  <flee@cygnus.com>
+
+       * cisco-core.c: define signals for wingdb.
+
+Fri Jul 25 16:27:07 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ecofflink.c (bfd_ecoff_debug_accumulate): Only merge files with
+       the same number of aux entries.
+
+Fri Jul 25 08:22:15 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * som.c (hppa_som_gen_reloc_type): Use R_DATA_EXPR for the
+       difference of two symbols if the relocation size is 32 bits.
+       (som_write_fixups): Handle R_DATA_EXPR.
+
+Wed Jul 23 16:08:02 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coff-i386.c (coff_i386_reloc): Don't offset a common symbol by
+       its value if COFF_WITH_PE is defined.
+
+Tue Jul 22 17:19:45 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
+
+       * coff-stubgo32.c: New file.
+       * go32stub.h: New file.
+       * coff-i386.c: If COFF_GO32_EXE, include coff/go32exe.h.
+       * coffswap.h (coff_swap_filehdr_in): Invoke
+       COFF_ADJUST_FILEHDR_IN_PRE and COFF_ADJUST_FILEHDR_IN_POST if they
+       are defined.
+       (coff_swap_filehdr_out): Invoke COFF_ADJUST_FILEHDR_OUT_PRE and
+       COFF_ADJUST_FILEHDR_OUT_POST if they are defined.
+       (coff_swap_aux_in): Invoke COFF_ADJUST_AUX_IN_PRE and
+       COFF_ADJUST_AUX_IN_POST if they are defined.
+       (coff_swap_aux_out): Invoke COFF_ADJUST_AUX_OUT_PRE and
+       COFF_ADJUST_AUX_OUT_POST if they are defined.
+       (coff_swap_scnhdr_in): Invoke COFF_ADJUST_SCNHDR_IN_PRE and
+       COFF_ADJUST_SCNHDR_IN_POST if they are defined.
+       (coff_swap_scnhdr_out): Invoke COFF_ADJUST_SCNHDR_OUT_PRE and
+       COFF_ADJUST_SCNHDR_OUT_POST if they are defined.
+       * targets.c (go32stubbedcoff_vec): Declare.
+       (bfd_target_vector): Add go32stubbedcoff_vec.
+       * configure.in (go32coff_vec): New target vector.
+       (go32stubbedcoff_vec): Likewise.
+       * config.bfd (i[3456]86-*-msdosdjgpp*): New target.
+       (i[3456]86-*-go32*): Change to be like new msdosdjgpp*.
+       * Makefile.in: Rebuild dependencies.
+       (BFD32_BACKENDS): Add coff-stubgo32.o.
+       (BFD32_BACKENDS_CFILES): Add coff-stubgo32.c.
+       (HFILES): Add go32stub.h.
+
+Tue Jul 22 15:09:12 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Check for fdopen.
+       * configure, config.in: Rebuild.
+       * opncls.c (bfd_fdopenr): Check HAVE_FDOPEN rather than VMS or
+       __GO32__.  Reindent a bit.
+
+Sun Jul 20 20:05:20 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * sunos.c (sunos_create_dynamic_sections): Set SEC_LINKER_CREATED
+       flag for newly created sections.
+       (sunos_add_dynamic_symbols): Don't discard newly created sections
+       if shared library is dynobj.
+
+Mon Jul 14 15:33:55 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf.c (map_sections_to_segments): When checking whether
+       including a section in a segment would force us to skip a page,
+       align the address of the next segment to avoid wraparound
+       problems.
+
+start-sanitize-tic80
+Tue Jul  8 12:11:29 1997  Fred Fish  <fnf@cygnus.com>
+
+       * coffcode.h (coff_write_object_contents): Initialize
+       target id field to TIC80_TARGET_ID.
+       * coffswap.h (coff_swap_filehdr_out): Swap out target id field
+       if used.
+       (coff_swap_filehdr_in): Swap in target id field if used.
+
+end-sanitize-tic80
+Mon Jul  7 16:41:20 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coff-i386.c (coff_i386_is_local_label_name): New static function
+       if TARGET_UNDERSCORE.
+       (coff_bfd_is_local_label_name): Define if TARGET_UNDERSCORE.
+       (i386coff_vec): Add SEC_CODE and SEC_DATA to section_flags.
+
+Mon Jun 30 14:29:26 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-m68k.c (howto_table): Use complain_overflow_bitfield, not
+       complain_overflow_signed, for 32 bit PC relative relocations.
+
+Thu Jun 26 01:26:31 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elflink.h (elf_link_add_object_symbols): When a version
+       indirection symbol is overridden, make the original symbol point
+       at the real overriding symbol.
+
+       * elf.c (bfd_elf_string_from_elf_section): Check for an invalid
+       string index.
+
+       * elflink.h (elf_link_output_extsym): Use the right section for a
+       common symbol.
+       * elf32-mips.c (mips_elf_link_output_symbol_hook): If a common
+       symbol was in .scommon, mark it as SHN_MIPS_SCOMMON.
+
 Wed Jun 25 12:43:10 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
 
+       * elflink.h (elf_merge_symbols): Resolve indirect and warning
+       symbols before checking for new symbols.
+
        * elfcore.h (elf_corefile_note): Move out of HAVE_SYS_PROCFS_H.
 
 Tue Jun 24 11:20:43 1997  Ian Lance Taylor  <ian@cygnus.com>
This page took 0.029407 seconds and 4 git commands to generate.