* Makefile.in (diststuff): Don't make headers.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 864a86c4c2349f03711f89c7f02f6eb5e41f714c..61cb983b4549cd2f1ce02223de787849c52ab0f4 100644 (file)
@@ -1,3 +1,246 @@
+Wed Oct 25 14:59:22 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * Makefile.in (diststuff):  Don't make headers.
+
+Wed Oct 25 11:32:54 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in: Rebuild dependencies.
+
+       * sunos.c (bfd_sunos_record_link_assignment): Don't do anything if
+       output_bfd is not SunOS.
+       (bfd_sunos_size_dynamic_sections): Likewise.  Don't scan relocs of
+       non-SunOS input files.
+
+       * xcofflink.c: Extensive changes to support linking shared objects
+       and generating a .loader section.
+       * libcoff-in.h (struct xcoff_tdata): Add import_file_id field.
+       (struct xcoff_section_tdata): Add lineno_count, first_symndx,
+       last_symndx, and ldrel_count fields.
+       * libcoff.h: Rebuild.
+       * coff-rs6000.c (xcoff_howto_table): Correct reloc names.
+       * coffcode.h (styp_to_sec_flags): Don't set any flags if STYP_PAD
+       is set.
+       * bfd-in.h (bfd_xcoff_import_symbol): Declare.
+       (bfd_xcoff_export_symbol): Declare.
+       (bfd_xcoff_size_dynamic_sections): Declare.
+       * bfd-in2.h: Rebuild.
+
+Tue Oct 24 17:44:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * configure.in: Add xcofflink.o to pmac_xcoff_vec.
+       * configure: Rebuild.
+       * mpw-config.in: Add xcofflink.c.o to powerpc-apple-macos.
+       * coff-pmac.c: Include coff-rs6000.c instead of duplicating its
+       contents.
+       (pmac_xcoff_vec): Update to use new xcoff support.
+       * coff-rs6000.c (xcoff_generic_stat_arch_elt): Make static.
+       (xcoff_write_armap): Declare buf as unsigned char.
+       * xcofflink.c (xcoff_link_add_symbols): Declare a local as PTR.
+
+       * mpw-make.sed: Generalize subdir_do edit.
+       
+Tue Oct 24 10:25:01 1995  Jeffrey A Law  (law@cygnus.com)
+
+       * hppabsd-core.c (make_bfd_asection): Initialize asect->filepos
+       correctly.  Don't initialize asect->vma.
+
+Fri Oct 20 13:23:48 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * opncls.c (_bfd_new_bfd): If _bfd_chunksize wasn't preset, use
+       something a little less than the page size.
+
+Thu Oct 19 13:06:09 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coff-i960.c (coff_i960_adjust_symndx): Clear *adjustedp.
+
+Wed Oct 18 16:20:08 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * coff-i386.c (coff_i386_reloc_type_lookup): New.
+       * coffcode.h (coff_write_object_contents): If .bss is before
+       .data us that as data_start.
+       * cofflink.c (_bfd_coff_generic_relocate_section): Get reloc
+       calc correct.
+       * peicode.h (add_data_entry): Use _cooked_size of data directory.
+       (coff_swap_outhdr_out): Hardwire in version number.
+       
+Wed Oct 18 16:50:54 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * sunos.c (sunos_add_dynamic_symbols): Rename local variables
+       major and minor to *_vno, since the former are also macros in
+       SunOS header files.  Cast result of bfd_alloc to appropriate
+       type.
+
+       * coffgen.c (coff_find_nearest_line): Cast used_by_bfd value
+       before assigning to sec_data.
+
+Wed Oct 18 13:25:17 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ecoff.c (_bfd_ecoff_find_nearest_line): The offset argument is
+       now relative to the section, not absolute.
+       * ecofflink.c (_bfd_ecoff_locate_line): Use the right symbol to
+       get the file name when there is a N_SO directory name.  When
+       handling stabs, remember that section->vma was added to the
+       offset.
+
+Tue Oct 17 18:24:54 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * sunos.c (struct sunos_link_hash_table): Add needed field.
+       (sunos_link_hash_table_create): Call bfd_release, not free.
+       (sunos_link_hash_table_create): Initialize needed field.
+       (sunos_add_dynamic_symbols): Record needed objects.
+       (bfd_sunos_get_needed_list): New function.
+       * bfd-in.h (bfd_sunos_get_needed_list): Declare.
+       * bfd-in2.h: Rebuild.
+
+Mon Oct 16 14:43:59 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * libcoff-in.h (pe_data_type.in_reloc_p): New.
+
+Mon Oct 16 10:52:50 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * bfd-in.h (struct bfd_link_needed_list): Rename from
+       bfd_elf_link_needed_list.
+       * bfd-in2.h: Rebuild.
+       * elf.c, elflink.h, libelf.h: Corresponding changes.
+
+       Add start at AIX linker support; no shared libraries yet.
+       * xcofflink.c: New file.
+       * configure.in (rs600coff_vec): Use xcofflink.o.
+       * configure: Rebuild.
+       * libcoff-in.h (struct xcoff_tdata): Add csects and debug_indices
+       fields.
+       (struct xcoff_section_tdata): Define.
+       (xcoff_section_data): Define macro.
+       (_bfd_xcoff_bfd_link_hash_table_create): Declare.
+       (_bfd_xcoff_bfd_link_add_symbols): Declare.
+       (_bfd_xcoff_bfd_final_link): Declare.
+       (_bfd_ppc_xcoff_relocate_section): Declare.
+       * libcoff.h: Rebuild.
+       * coff-rs6000.c: Clean up a bit.
+       (xcoff_mkobject): Default modtype to 1L, not RE.  Initialize
+       cputype, csects, and debug_indices.
+       (xcoff_copy_private_bfd_data): Copy cputype.
+       (xcoff_howto_table): Rename from rs6000coff_howto_table.
+       (xcoff_rtype2howto): Rename from rs6000coff_rtype2howto.
+       (xcoff_reloc_type_lookup): Rename from
+       rs6000coff_reloc_type_lookup.
+       (coff_relocate_section): Define.
+       (_bfd_xcoff_sizeof_headers): Define.
+       (_bfd_xcoff_bfd_get_relocated_section_contents): Define.
+       (_bfd_xcoff_bfd_relax_section): Define.
+       (_bfd_xcoff_bfd_link_split_section): Define.
+       (rs6000coff_vec): For BFD_JUMP_TABLE_LINK, use _bfd_xcoff, not
+       coff.
+       * coffcode.h (coff_compute_section_file_positions): If AIX,
+       increment sofar by SMALL_AOUTSZ if not executable.
+       (coff_write_object_contents): If AIX, always output an a.out
+       header; if not executable, header size of SMALL_AOUTSZ.
+       * hash.c (struct bfd_strtab_hash): Add xcoff field.
+       (_bfd_stringtab_init): Initialize xcoff field.
+       (_bfd_xcoff_stringtab_init): New function.
+       (_bfd_stringtab_add): In XCOFF mode, leave two bytes for length.
+       (_bfd_stringtab_emit): In XCOFF mode, write out length.
+       * libbfd-in.h (_bfd_xcoff_stringtab_init): Declare.
+       * libbfd.h: Rebuild.
+       * Makefile.in: Rebuild dependencies.
+       (BFD32_BACKENDS): Add xcofflink.o.
+       (CFILES): Add xcofflink.c.
+
+       * elf32-mips.c (mips_elf_symbol_processing): Set SEC_ALLOC, not
+       SEC_NO_FLAGS, for .acommon section.  From Peter Schauer
+       <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>.
+
+Sat Oct 14 21:36:02 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * coff-ppc.c (in_reloc_p): Add, clone from coff-i386.c.
+
+Fri Oct 13 17:48:43 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * acconfig.h (HAVE_SYS_PROCFS_H): Undef, with comment.
+       * config.in: Regenerated.
+
+       * opncls.c (getpagesize) [!HAVE_GETPAGESIZE]: Define as 2048.
+       (_bfd_chunksize): New variable.
+       (_bfd_new_bfd): Set it to getpagesize() if negative, and use it
+       for obstack chunk size.
+       * configure.in: Check for getpagesize.
+       * configure: Regenerated.
+
+       Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * trad-core.c (rawptr): Make it a local variable of
+       ptrace_unix_core_file_p.
+
+Fri Oct 13 11:22:01 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * coff-arm.c (in_reloc_p): New.
+       * coff-i386.c (in_reloc_p): New.
+       * coffcode.h: Allways include peicode.h if COFF_WITH_PE.
+       (coff_write_object_contents): Only set has_reloc_section
+       if PE_IMAGE.
+       * cofflink.c (_bfd_coff_generic_relocate_section): Call
+       in_reloc_p to decide if reloc should be emitted.
+       * libcoff.h (pe_data_type.in_reloc_p): New.
+       * peicode.h (pe_mkobject): Initialize in_reloc_p.
+
+Wed Oct 11 00:49:29 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * cofflink.c (_bfd_coff_internal_syment_name): Move to coffgen.c.
+       (_bfd_coff_read_internal_relocs): Likewise.
+       * coffgen.c (_bfd_coff_internal_syment_name): Copy from coffgen.c.
+       (_bfd_coff_read_internal_relocs): Likewise.
+
+       * elflink.h (elf_link_add_object_symbols): Correct conditions
+       under which type and size change warnings are issued.
+
+Tue Oct 10 18:32:46 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coffgen.c (coff_count_linenumbers): Don't count line numbers for
+       a symbol which is not in a real section.
+       (coff_write_native_symbol): Corresponding change.
+
+       * cofflink.c (_bfd_coff_link_hash_newfunc): Rename from
+       coff_link_hash_newfunc and make non-static.
+       (_bfd_coff_link_hash_table_init): New function, broken out of
+       _bfd_coff_link_hash_table_create.
+       (_bfd_coff_link_hash_table_create): Use it.
+       (process_embedded_commands): Make static.
+       * libcoff-in.h ((_bfd_coff_link_hash_newfunc): Declare.
+       (_bfd_coff_link_hash_table_init): Declare.
+       * libcoff.h: Rebuild.
+
+       * coffcode.h (coff_mkobject_hook): If RS6000COFF_C, set cputype
+       field in XCOFF tdata.
+       (coff_set_arch_mach_hook): Check ifdef RS6000COFF_C, not ifdef
+       U802ROMAGIC, for clarity.  Try to set arch and machine correctly
+       based on cputype stored in a.out header, or in n_type of initial
+       .file symbol.
+       (coff_write_object_contents): Set cputype correctly in a.out
+       header.
+       (coff_slurp_symbol_table): Add casts to file_ptr to avoid
+       warnings.
+       * coffswap.h (coff_swap_aouthdr_in): Swap in cputype field.
+       (coff_swap_aouthdr_out): Swap out cputype field.  Don't clear
+       old resv1 field.
+       * libcoff-in.h (struct xcoff_tdata): Add cputype field.
+       * libcoff.h: Rebuild.
+
+       * cpu-rs6000.c (rs6000_compatible): New static function.
+       (bfd_rs6000_arch): Use it.
+       * cpu-powerpc.c (powerpc_compatible): New static function.
+       (arch_info_struct): Define various flavours of PowerPC.
+       (bfd_powerpc_arch): Use powerpc_compatible.  Point at
+       arch_info_struct.
+
+Tue Oct 10 10:50:46 1995  Fred Fish  <fnf@cygnus.com>
+
+       * Makefile.in (FLAGS_TO_PASS):  Remove BISON.
+
+Tue Oct 10 01:28:29 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elflink.h (elf_link_add_object_symbols): Don't warn about
+       changing the size or type if the old definition was weak.
+
 Mon Oct  9 11:24:08 1995  Ian Lance Taylor  <ian@cygnus.com>
 
        * coffcode.h (combined_entry_type): Add fix_line field.
@@ -62,7 +305,6 @@ Fri Oct  6 16:18:35 1995  Ken Raeburn  <raeburn@cygnus.com>
 
        * ptrace-core.c (rawptr): Make it a local variable of
        ptrace_unix_core_file_p.
-       * trad-core.c (rawptr): Likewise, for trad_unix_core_file_p.
 
 Fri Oct  6 12:24:47 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
 
This page took 0.024831 seconds and 4 git commands to generate.