real makefile change - CFILES, dependencies
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index d04ff1cc6d68bd33c3fcaf71d5ec9c5b047f5f0b..e9bc7efb21520a26248ed21676214fc002daae74 100644 (file)
@@ -1,3 +1,634 @@
+Sun Nov  5 21:44:13 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * Makefile.in (CFILES): Rebuild list from BFD_LIBS, ALL_MACHINES,
+       BFD32_BACKENDS, BFD64_BACKENDS.
+       (.dep1): Put mkdep output in a separate file.
+       Rebuilt dependencies.
+
+Sat Nov  4 12:23:26 1995  Fred Fish  <fnf@cygnus.com>
+
+       * core.c: Renamed to corefile.c
+       * makefile.dos (OBJS): Change core.o to corefile.o
+       * Makefile.in (CFILES, BFD_LIBS): Use corefile.c instead of core.c
+       
+start-sanitize-gm
+Sat Nov  4 10:16:54 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * config.bfd (mips*-*-magic*):  Add bfd_elf32_bigmips_vec to
+       targ_selvecs to allow debugging under Irix-5 native.
+
+end-sanitize-gm
+Fri Nov  3 15:54:59 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * xcofflink.c (xcoff_link_add_symbols): Rename local variable sub
+       to o.  Clobber and restore the list of new csects around the call
+       to _bfd_generic_link_add_one_symbol, in case it wants to report a
+       linker error and the linker wants to read the symbol table.  Reset
+       the line number count of a real section even if it has no relocs.
+       (_bfd_xcoff_bfd_final_link): If shared, set the DYNAMIC flag.
+
+       * coffgen.c (_bfd_coff_read_string_table): Warn if the string size
+       is too small.
+
+Thu Nov  2 23:16:39 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Don't warn about
+       an undefined symbol in a shared link.
+
+       * linker.c (_bfd_generic_link_add_one_symbol): Correct type of
+       oldtype from bfd_link_order_type to bfd_link_hash_type.  From
+       phdm@info.ucl.ac.be (Philippe De Muyter).
+
+Wed Nov  1 14:26:02 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>
+
+       * coff-m88k.c (rtype2howto): New static function.
+       (RTYPE2HOWTO): Use it rather than a macro definition.
+
+       * coffcode.h (coff_write_object_contents): set internal_a.magic
+       to PAGEMAGICPEXECPAGED #if defined (M68) && !defined (LYNXOS).
+
+       * configure.in: m68*-motorola-sysv* does not use ptrace-core.o;
+       define TRAD_HEADER to new file hosts/delta68.h.
+       m88*-motorola-sysv*, however, does use ptrace-core.o.
+       * hosts/delta68.h: New file.
+
+       * ptrace-core.c (ptrace_unix_core_file_p): change bfd_zmalloc to
+       bfd_zalloc; provide proper parm abfd to calls to bfd_zalloc.
+
+Wed Nov  1 13:51:54 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * i386linux.c (MY(vec)): Declare before use.
+
+Wed Nov  1 11:45:07 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * reloc16.c (bfd_coff_reloc16_get_relocated_section_contents):
+       Pass input_bfd, not in_bfd, to bfd_coff_reloc16_extra_cases.
+
+       * elf.c (bfd_elf_set_dt_needed_name): Don't do anything if the
+       BFD is not of the right type.
+       (bfd_elf_get_needed_list): Likewise.
+       * i386linux.c (bfd_linux_size_dynamic_sections): Likewise.
+       * sunos.c (bfd_sunos_get_needed_list): Likewise.
+       * xcofflink.c (XCOFF_XVECP): Define.
+       (bfd_xcoff_link_record_set): Don't do anything if the BFD is not
+       of the right type.
+       (bfd_xcoff_import_symbol): Likewise.
+       (bfd_xcoff_export_symbol): Likewise.
+       (bfd_xcoff_link_count_reloc): Likewise.
+       (bfd_xcoff_record_link_assignment): Likewise.
+       (bfd_xcoff_size_dynamic_sections): Likewise.
+
+       * sunos.c (sunos_scan_ext_relocs): Only check the reloc symbol
+       table index against the number of symbols for a base relative
+       reloc.
+
+       * coff-rs6000.c (_bfd_xcoff_sizeof_headers): Change from macro to
+       static function.
+       * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Set
+       full_aouthdr flag here...
+       (_bfd_xcoff_bfd_final_link): ...not here.
+
+Tue Oct 31 12:52:02 1995  Fred Fish  <fnf@cygnus.com>
+
+       * libelf.h:  Rename to elf-bfd.h to avoid conflict with
+       systems that have a system <libelf.h>.
+       * Makefile.in: Globally replace libelf.h with elf-bfd.h.
+       * bfd.c, elf.c, elf32-arc.c, elf32-gen.c, elf32-hppa.c,
+       elf32-hppa.h, elf32-i386.c, elf32-i860.c, elf32-m68k.c,
+       elf32-m88k.c, elf32-mips.c, elf32-ppc.c, elf32-sparc.c,
+       elf64-gen.c, elf64-sparc.c, elfcode.h, elflink.c,
+       elfxx-target.h: Include elf-bfd.h rather than libelf.h.
+       * elfxx-target.h: Change libelf.h reference to elf-bfd.h.
+
+Tue Oct 31 15:30:07 1995  David Mosberger-Tang  <davidm@azstarnet.com>
+
+       * ecoff.c (ecoff_set_symbol_info): Add new parameter weak.  If
+       set, set BSF_WEAK in symbol.  Change all callers.
+       (ecoff_get_extr): Set weakext based on BSF_WEAK.
+       (ecoff_link_add_externals): If weakext is set, pass BSF_WEAK to
+       _bfd_generic_link_add_one_symbol.
+       (ecoff_indirect_link_order): Check that the section tdata relocs
+       are not NULL before using them.
+
+       * configure.in (alpha*-*-linux*): Set COREFILE to trad-core.o and
+       define TRAD_HEADER as hosts/alphalinux.h.
+       * configure: Rebuild.
+       * hosts/alphalinux.h: New file.
+       * trad-core.c (trad_unix_core_file_p): Cast u.u_ar0 to bfd_vma,
+       not int.
+
+Tue Oct 31 12:34:11 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coffcode.h (coff_slurp_symbol_table): Accept C_BCOMM and
+       C_ECOMM storage classes.
+
+       * xcofflink.c (xcoff_mark_symbol): New static function, broken out
+       of xcoff_mark.
+       (xcoff_mark): Call xcoff_mark_symbol.
+       (bfd_xcoff_export_symbol): Call xcoff_mark_symbol.
+       (bfd_xcoff_link_count_reloc): Call xcoff_mark_symbol rather than
+       doing it by hand.
+       (xcoff_build_ldsyms): Build a .loader symbol for an export symbol.
+
+Mon Oct 30 14:53:48 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * xcofflink.c (struct xcoff_final_link_info): Add new line_filepos
+       field.
+       (xcoff_find_reloc): New static function.
+       (xcoff_link_add_symbols): Use it.
+       (_bfd_xcoff_bfd_final_link): Set finfo.line_filepos.
+       (xcoff_link_input_bfd): Handle C_BINCL and C_EINCL.  Don't
+       relocate the value of C_DECL.
+
+       * elf.c (elf_fake_sections): Remove bogus BFD_ASSERT.
+
+Sat Oct 28 01:25:34 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * cofflink.c (_bfd_coff_generic_relocate_section): Make
+       callback decide what goes in .relocs.
+       * pe[i]-i386.c (TARGET_UNDERSCORE): Define.
+       * peicode.h (pe_mkobject_hook): Only copy aouthdr if
+       there is one.
+
+Sat Oct 28 01:51:02 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * xcofflink.c (xcoff_link_add_symbols): Handle csects in the
+       absolute section.
+
+Fri Oct 27 18:14:39 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * xcofflink.c: More improvements, mostly to fix handling of
+       constructors and a few other special cases.
+       * coff-rs6000.c (rs6000coff_vec): Set symbol_leading_char back to
+       zero, reverting yesterday's change.
+       * bfd-in.h (bfd_xcoff_link_record_set): Declare.
+       (bfd_xcoff_link_count_reloc): Declare.
+       (bfd_xcoff_record_link_assignment): Declare.
+       * bfd-in2.h: Rebuild.
+
+Fri Oct 27 14:42:15 1995  Niklas Hallqvist  <niklas@appli.se>
+
+       * PORTING, aout-arm.c, aout-encap.c, aout-rce.c, aout-target.h,
+       aoutx.h, gen-aout.c, host-aout.c, hp300bsd.c, i386aout.c
+       i386bsd.c, i386dynix.c, i386linux.c, i386lynx.c, i386mach3.c,
+       i386netbsd.c, m68klynx.c, m88kmach3.c, mipsbsd.c, newsos3.c,
+       ns32knetbsd.c, pc532-mach.c, riscix.c, sparclynx.c, sparcnetbsd.c:
+       Change PAGE_SIZE to TARGET_PAGE_SIZE.
+
+       * m68knetbsd.c: Ditto as well as add support for the m68k4k object
+       format.
+
+       * netbsd.h: Double ditto (incl. m68k4k support).  NetBSD's text
+       segments includes the a.out header.  See to that the magic number
+       *always* is big-endian.
+
+       * config.bfd: Add m68*-hp*-netbsd* case.  Cross-pollinate m68k and
+       m68k4k NetBSD configurations.
+
+       * configure.in, configure: Separate i386 & mips NetBSD
+       configurations from other BSD ones.  Don't assume DEC is the only
+       thing NetBSD/mips run on.  Add {m68k,ns32k,sparc}-*-netbsd*
+       configurations.  Add support for m68k4k NetBSD object format.
+
+       * libaout.h: Added M_68K4K_NETBSD magic.
+
+       * m68k4knetbsd.c: New file.
+       
+       * hosts/{m68k,sparc}nbsd.h: Don't define HOST_BIG_ENDIAN_P.
+
+       * hosts/nbsd.h: Define HOST_BIG_ENDIAN_P according to
+       <machine/endian.h>.
+
+       * hosts/mipsnbsd.h: New file.
+       
+start-sanitize-gm
+Fri Oct 27 09:41:51 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * config.bfd:  Add config stuff for mips*-*-magic* to set
+       targ_defvec to ecoff_big_vec.
+
+end-sanitize-gm
+Thu Oct 26 14:16:47 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * xcofflink.c: Numerous changes to get closer to a working XCOFF
+       linker.
+       * libcoff-in.h (struct xcoff_tdata): Add full_aouthdr,
+       toc_section, and entry_section fields.
+       (struct xcoff_section_tdata): Remove ldrel_count field.
+       * libcoff.h: Rebuild.
+       * coffcode.h (coff_mkobject_hook): Initialize new xcoff_data
+       fields.
+       (coff_compute_section_file_positions): If RS6000COFF_C, generate
+       full a.out header if full_aouthdr is set in xcoff_data.
+       (coff_write_object_contents): Likewise.  Set o_snentry and o_sntoc
+       based on sections stored in xcoff_data.
+       * coff-rs6000.c (xcoff_copy_private_bfd_data): Copy new xcoff_data
+       fields.
+       (xcoff_reloc_type_lookup): Handle BFD_RELOC_CTOR.
+       (rs6000coff_vec): Set symbol_leading_char to '.'.
+       * coffgen.c (coff_get_symbol_info): If fix_value is set, fix the
+       value stored in ret rather than returning a pointer value.
+       
+Wed Oct 25 23:10:39 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * config.bfd (powerpc{,le}-{elf,sysv4,eabi,solaris2}): Remove MAC
+       format for now.
+
+Wed Oct 25 16:19:27 1995  Jeffrey A Law  (law@cygnus.com)
+
+       * som.c (som_slurp_string_table): Allocate the strings with malloc
+       since they're free'd by free_cached_info.
+       (som_slurp_symbol_table): Similarly for the symbol table.
+
+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.
+       (coff_slurp_line_table): Warn if we try to set the lineno field of
+       a symbol twice.
+       (coff_slurp_symbol_table): If RS6000COFF_C, handle C_BINCL and
+       C_EINCL by setting fix_line.  Fix C_BSTAT symbol value.
+       * coffgen.c (coff_mangle_symbols): Handle fix_line.
+       (coff_write_symbol): Only use N_DEBUG if the symbol is in the
+       absolute section.
+       (coff_print_symbol): Print fix_value symbols in a useful fashion.
+       * libcoff.h: Rebuild.
+
+       * libcoff-in.h (struct xcoff_tdata): Define.
+       (xcoff_data): Define.
+       * bfd.c (struct _bfd): Add xcoff_obj_data field to tdata union.
+       * bfd-in2.h, libcoff.h: Rebuild.
+       * coff-rs6000.c (xcoff_mkobject): New static function.
+       (coff_mkobject): Define.
+       (xcoff_copy_private_bfd_data): New static function.
+       (coff_bfd_copy_private_bfd_data): Define.
+       (rs6000coff_howto_table): Change R_TOC complain_on_overflow from
+       signed to bitfield.
+       (rs6000coff_vec): Add DYNAMIC to object_flags.
+       * coffcode.h (sec_to_styp_flags): If RS6000COFF_C, handle .pad and
+       .loader sections specially.
+       (coff_new_section_hook): If RS6000COFF_C, get the .text and .data
+       section alignment from the XCOFF tdata information.
+       (coff_mkobject_hook): If RS6000COFF_C, set DYNAMIC based on
+       F_SHROBJ, and copy the extra a.out header information into the
+       XCOFF tdata structure.
+       (coff_write_object_contents): If RS6000COFF_C, set F_SHROBJ,
+       F_DYNLOAD and the extra a.out header information.
+       (coff_slurp_symbol_table): Set BSF_NOT_AT_END for a C_EXT or
+       C_HIDEXT symbol with attached csect information.
+       * coffswap.h (coff_swap_aouthdr_in): If RS6000COFF_C, swap
+       in the o_maxdata field.
+       (coff_swap_aouthdr_out): If RS6000COFF_C, swap extra XCOFF fields.
+       * coffgen.c (coff_renumber_symbols): Don't move any symbol to the
+       end if BSF_NOT_AT_END is set.
+
+       * targets.c (bfd_target): Rename _bfd_read_ar_hdr field to
+       _bfd_read_ar_hdr_fn.
+       * libbfd-in.h (_bfd_read_ar_hdr): Update accordingly.
+       * bfd-in2.h, libbfd.h: Rebuild.
+       * archive.c (_bfd_get_elt_at_filepos): Cast _bfd_read_ar_hdr
+       return value.
+       (do_slurp_bsd_armap, do_slurp_coff_armap): Likewise.
+       (bfd_slurp_bsd_armap_f2): Likewise.
+       (_bfd_slurp_extended_name_table): Likewise.
+
+Fri Oct  6 16:18:35 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * archive.c (bfd_get_next_mapent): Return BFD_NO_MORE_SYMBOLS
+       when the symbol table is empty.
+
+       * elf32-m68k.c (elf_m68k_size_dynamic_sections): Don't reserve
+       space for section symbols, since we don't output them either.
+       (elf_m68k_adjust_dynindx): Removed.
+
+       * ptrace-core.c (rawptr): Make it a local variable of
+       ptrace_unix_core_file_p.
+
+Fri Oct  6 12:24:47 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * coff-rs6000.c (xcoff_write_archive_contents): Return false, not
+       NULL.
+
+       * config.bfd (powerpc{,le}-{elf,sysv4,eabi,solaris2}): Add NT, and
+       Mac object file formats.
+
+Fri Oct  6 12:04:02 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coffgen.c (coff_fix_symbol_name): Don't try to set up file
+       auxent if there isn't one.
+       (coff_write_symbols): If there is no file auxent, use SYMNMLEN
+       rather than FILNMLEN as the maximum name length.
+
+       * coffcode.h (bfd_coff_backend_data): Add new field
+       _bfd_coff_print_aux.
+       (bfd_coff_print_aux): New static function.
+       (coff_pointerize_aux_hook (RS6000COFF_C version)): Pointerize the
+       scnlen field of an XTY_LD csect aux entry.
+       (coff_print_aux): New static function.
+       (coff_slurp_symbol_table): Don't pointerize scnlen field; now done
+       in coff_pointerize_aux_hook.
+       (bfd_coff_std_swap_table): Initialize new field.
+       * coffgen.c (coff_print_symbol): Call bfd_coff_print_aux.
+       * libcoff.h: Rebuild.
+       * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field.
+       * coff-mips.c (mips_ecoff_backend_data): Likewise.
+
+       * coffcode.h (coff_write_object_contents): On AIX, clear F_RELFLG
+       if there are symbols, for native AIX ld compatibility.
+
+       * coffcode.h (bfd_coff_backend_data): Add new field
+       _bfd_coff_pointerize_aux_hook.
+       (coff_pointerize_aux_hook): Define as a function if RS6000COFF_C
+       or I960, and as 0 otherwise.
+       (bfd_coff_std_swap_table): Initialize new field.
+       * libcoff.h: Rebuild.
+       * coffgen.c (coff_pointerize_aux): Change parameters  to take
+       symbol pointer instead of type and class, and to take aux index.
+       Call _bfd_coff_pointerize_aux_hook if it is defined.
+       (coff_get_normalized_symtab): Always call coff_pointerize_aux.
+       * coff-alpha.c (alpha_ecoff_backend_data): Initialize all fields.
+       * coff-mips.c (mips_ecoff_backend_data): Likewise.
+
+       * coff-rs6000.c: Add full support for AIX archives.  Rewrite old
+       read-only/host-only support.
+
+       * coffcode.h (coff_slurp_symbol_table): Set C_HIDEXT symbols to be
+       BSF_LOCAL.
+       (OTHER_GLOBAL_CLASS): Do not define to be C_HIDEXT if
+       RS6000COFF_C.
+
+       * targets.c (bfd_target): Add _bfd_read_ar_hdr field.  Modify
+       BFD_JUMP_TABLE_ARCHIVE accordingly.
+       * libbfd-in.h (_bfd_snarf_ar_hdr): Don't declare.
+       (_bfd_compute_and_write_armap): Declare.
+       (_bfd_generic_read_ar_hdr): Declare.
+       (_bfd_read_ar_hdr): Define.
+       (_bfd_noarchive_read_ar_hdr): Define.
+       (_bfd_archive_bsd_read_ar_hdr): Define.
+       (_bfd_archive_coff_read_ar_hdr): Define.
+       * archive.c: Change all callers of _bfd_snarf_ar_hdr to call
+       _bfd_read_ar_hdr instead.
+       (_bfd_generic_read_ar_hdr): Rename from _bfd_snarf_ar_hdr.
+       (_bfd_compute_and_write_armap): Rename from
+       compute_and_write_armap.  Make non-static.  Change all callers.
+       * ecoff.c (_bfd_ecoff_slurp_armap): Call _bfd_read_ar_hdr rather
+       than _bfd_snarf_ar_hdr.
+       * aout-target.h (MY_read_ar_hdr): Define if not defined.
+       * ieee.c (ieee_read_ar_hdr): Define.
+       * libecoff.h (_bfd_ecoff_read_ar_hdr): Define.
+       * oasys.c (oasys_read_ar_hdr): Define.
+       * som.c (som_read_ar_hdr): Define.
+       * bfd-in2.h, libbfd.h: Rebuild.
+
+Thu Oct  5 14:04:07 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * peicode.c (coff_swap_filehdr_in): If symptr is
+       zero, there aren't any symbols, even if nsyms is set.
+
 Thu Oct  5 11:45:02 1995  Ian Lance Taylor  <ian@cygnus.com>
 
        * libecoff.h (struct ecoff_backend_data): Add adjust_headers
This page took 0.029089 seconds and 4 git commands to generate.