start-sanitize-powerpc-netware
[binutils-gdb.git] / bfd / ChangeLog
index f6f6b26228eca485b453fd0d8c75aeb5ec2d3fd7..2602e18b79791ea5721d998a3c38b65f4d3ff0a3 100644 (file)
@@ -1,3 +1,127 @@
+Wed Apr 20 14:15:21 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+start-sanitize-powerpc-netware
+
+       * nlm32-ppc.c: Complete rewrite for new version of PowerPC
+       NetWare.  Old code still present, but ifdeffed out.
+end-sanitize-powerpc-netware
+
+       * nlmcode.h (nlm_swap_auxiliary_headers_in): Don't assume a
+       particular format for the customer header.  Allocate a block of
+       memory and read it into that.
+       (nlm_swap_auxiliary_headers_out): Write out the block of memory.
+       (nlm_compute_section_file_positions): Include length of customer
+       header when computing its size.
+
+Mon Apr 18 14:27:17 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * som.c (som_prep_headers): Get the space's number from the
+       backend private section data rather than target_index.
+       (bfd_som_set_section_attributes): Store the space's number
+       in the backend private section data rather than target_index.
+
+       * som.h (som_copyable_section_data_struct): Add space_number.
+
+Fri Apr 15 12:22:07 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * coff-a29k.c (reloc_processing): Always set the address of a
+       R_IHCONST reloc to that of the immediately preceding R_IHIHALF.
+       gas does this anyhow, but some other assemblers seem to leave
+       garbage in the R_IHCONST address field.
+
+       * bfd/archive.c: Consistently use ARFMAG; from
+       schwab@issan.informatik.uni-dortmund.de (Andreas Schwab).
+       (_bfd_write_archive_contents): Use ARFMAG rather than '`' and
+       '\012'.
+       (bsd_write_armap): Likewise.
+       (coff_write_armap): Likewise.
+
+       * coff-mips.c (mips_relocate_section): When relaxing, adjust local
+       relocs against the .text section as required.
+       * ecofflink.c (bfd_ecoff_debug_accumulate): When relaxing, adjust
+       PDR addresses as required.
+
+       * ecoff.c (ecoff_emit_aggregate): Take fdr argument.  Map fdr
+       index through rfd map if it exists.  Check for a couple of cases
+       which gdb handles specially.  Change all callers.
+       (ecoff_type_to_string): Take fdr argument rather than aux_ptr and
+       bigendian argument.  Change all callers.
+       (ecoff_print_symbol): Handle stStruct, stUnion and stEnum.
+
+Thu Apr 14 13:05:10 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * coff-mips.c (mips_howto_table): Add dummy entries to account for
+       numbering changes in include/coff/mips.h.  Add entries for
+       MIPS_R_RELHI and MIPS_R_RELLO.
+       (mips_ecoff_swap_reloc_in): Handle an extra bit for the reloc type
+       when little endian.  Treat internal MIPS_R_RELLO or MIPS_R_RELHI
+       relocs like MIPS_R_SWITCH, and convert r_offset from 24 to 32
+       bits.
+       (mips_ecoff_swap_reloc_out): Likewise.
+       (mips_adjust_reloc_in): Handle internal MIPS_R_RELLO or
+       MIPS_R_RELHI relocs like MIPS_R_SWITCH.
+       (mips_adjust_reloc_out): Likewise.
+       (mips_relhi_addr, mips_relhi_addend): New static variables.
+       (mips_relhi_reloc, mips_rello_reloc): New functions.
+       (mips_bfd_reloc_type_lookup): Turn BFD_RELOC_PCREL_HI16_S into
+       MIPS_R_RELHI and turn BFD_RELOC_PCREL_LO16 into MIPS_R_RELLO.
+       (mips_relocate_hi): Rename from mips_relocate_refhi, and add pcrel
+       argument.  Changed all callers.
+       (mips_relocate_section): Rename got_reflo to got_lo and
+       reflo_int_rel to lo_int_rel.  Handle MIPS_R_RELLO and MIPS_R_RELHI
+       relocs.
+       (mips_relax_section): Adjust MIPS_R_RELHI/MIPS_R_RELLO pairs when
+       expanding a PC relative call.
+
+       * reloc.c (bfd_reloc_code_real_type): Add BFD_RELOC_PCREL_HI16_S
+       and BFD_RELOC_PCREL_LO16.
+       * bfd-in2.h: Rebuilt.
+
+Wed Apr 13 11:50:07 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * coff-sparc.c (sparccoff_vec): Set minimum alignment power to 3.
+
+Tue Apr 12 13:36:20 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * som.c (som_write_fixups): Always emit at least
+        one relocation for any non-bss section.
+
+Mon Apr 11 14:41:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * elfcode.h (assign_file_positions_except_relocs): Don't require
+       the file alignment to correspond to the page size when linking
+       with -N.
+
+Sun Apr 10 01:02:24 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * elfcode.h (write_relocs): For rela relocations, adjust the
+       addend for relocations involving section symbols to account
+       for the lossage of 1:1 mapping from input section symbols to
+       output section symbols.
+
+Fri Apr  8 12:22:02 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * aoutx.h (NAME(aout,make_sections)): New function.
+       (NAME(aout,some_aout_object_p)): Call NAME(aout,make_sections)
+       rather than making sections inline.
+       (NAME(aout,mkobject)): Don't make any sections.
+       (NAME(aout,adjust_sizes_and_vmas)): Call NAME(aout,make_sections).
+       (NAME(aout,final_link)): Don't dereference obj_textsec (abfd) or
+       obj_datasec (abfd) if they are NULL.
+       * libaout.h (NAME(aout,make_sections)): Declare.
+       * bout.c (b_out_mkobject): Don't make any sections.
+       (b_out_write_object_contents): Call aout_32_make_sections.
+       (b_out_set_section_contents): Likewise.
+       * i386os9k.c (os9k_mkobject): Don't make any sections.
+       (os9k_write_object_contents): Call aout_32_make_sections.
+       (os9k_set_section_contents): Likewise.
+
+       * aoutx.h (NAME(aout,new_section_hook)): Don't set N_EXT in target
+       index.
+
+Wed Apr  6 20:44:56 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * config.bfd, configure.host:  Add mips-*-sysv4* support.
+
 Thu Apr  7 14:23:05 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * coff-mips.c (mips_howto_table): Add entry for MIPS_R_SWITCH.