* gen-aout.c (main): Set DEFAULT_ARCH based on preprocessor macros
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index e13519c22fb1a61fcd99d27dd722a18db3f2bdf8..f27e20673570f4ae98b68e569088b068ecc1f895 100644 (file)
@@ -1,3 +1,257 @@
+Sun Jan 30 15:14:36 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * gen-aout.c (main): Set DEFAULT_ARCH based on preprocessor macros
+       (only testing for m68k and vax at the moment); do verify that the
+       preprocessor didn't trash the arch name inside the string version.
+       Don't print out "pagesize =" line that prevents output from
+       compiling.  Derive BYTES_IN_WORD and ARCH values from sizeof
+       results.
+       * Makefile.in (aout-params.h): Pass gen-aout a dummy target name.
+
+Sun Jan 30 13:25:28 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * aoutx.h (aout_link_write_symbols): Write out correct value for
+       object file symbol.
+
+Fri Jan 28 18:34:05 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * hosts/vaxbsd.h (HOST_STACK_END_ADDR): Vax BSD doesn't define
+       KERNBASE, so hard-code 0x80000000 instead.
+
+Thu Jan 27 13:54:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * linker.c (generic_link_add_symbol_list): If symbol is common,
+       set the BSF_OLD_COMMON flag.
+
+Wed Jan 26 13:47:15 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * format.c (bfd_check_format_matches): Put the new entry in the
+       correct element of matching_vector.
+
+Tue Jan 25 11:43:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * som.c, som.h (bfd_som_set_section_attributes,
+       bfd_som_set_subsection_attributes): Change parameters from char
+       to int.  Following a prototype with an old-style function definition
+       in the presence of widened parameters is a GCC-ism not supported
+       by the HP compiler in ANSI mode.
+
+Tue Jan 25 11:46:46 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * reloc.c (bfd_get_reloc_size): Size of type -2 is 4 bytes, not 2.
+
+       * hp300hpux.c (MY(write_object_contents)): Write out the symbols
+       before writing out the relocs, so that the right symbol indices
+       are used.
+
+       * archive.c (do_slurp_bsd_armap, bfd_slurp_bsd_armap_f2): Do not
+       try to overlay the internal carsyms on the external symdefs.  That
+       can not work if the size of a host pointer is larger than 4 bytes.
+
+       * format.c (bfd_check_format_matches): Cast result of
+       bfd_xmalloc_by_size_t.
+       * opncls.c (_bfd_new_bfd): Avoid ANSI C prototype.
+
+       * archive.c: Reindented to GNU standards.
+
+Mon Jan 24 14:41:23 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * opncls.c (_bfd_new_bfd, _bfd_new_bfd_contained_in): Add
+       "_bfd_" to function names.
+       * archive.c (_bfd_create_empty_archive_element_shell),
+       libbfd-in.h: Change callers.
+
+       * libbfd.c (bfd_zmalloc): Renamed from zalloc.
+       * libbfd.c (bfd_add_to_string_table),
+       trad-core.c (trad_unix_core_file_p),
+       targets.c (bfd_target_list),
+       ptrace-core.c (ptrace_unix_core_file_p),
+       opncls.c (new_bfd), libbfd-in.h,
+       ieee.c (ieee_make_empty_symbol),
+       elf32-hppa.c (hppa_elf_stub_branch_reloc),
+       (hppa_elf_stub_reloc): Change callers.
+       * libbfd.h: Regenerated.
+
+       * archive.c (_bfd_look_for_bfd_in_cache): Add "_bfd_" to name.
+       (_bfd_get_elt_at_filepos), 
+       coff-rs6000.c (rs6000coff_get_elt_at_filepos), libbfd-in.h:
+       Change callers.
+
+       * format.c (bfd_check_format_matches), libbfd-in.h, targets.c,
+       elfcode.h (elf_object_p): Rename target_vector to bfd_target_vector
+       and default_vector to bfd_default_vector.
+       * libbfd.h: Regenerated.
+
+       * format.c (bfd_check_format_matches): New function.
+       (bfd_check_format): Call it.
+       (bfd_matching_formats): Function removed.
+       * targets.c: Replace the vector added on Jan 21 with a count of
+       entries in default_vector.
+       * bfd-in2.h: Regenerated.
+
+Mon Jan 24 12:38:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * coff-alpha.c (alpha_ecoff_object_p): New function.  Set size of
+       .pdata section based on lnnoptr field, not section header.
+       (alpha_relocate_section): Don't bother to check if r_symndx >= 0,
+       since it is unsigned.
+       (ecoffalpha_little_vec): Use alpha_ecoff_object_p rather than
+       coff_object_p.
+       * ecoff.c (ecoff_new_section_hook): Set alignment_power field of
+       .pdata section to 3.
+       (ecoff_compute_section_file_positions): Save the size of the
+       .pdata section in the line_filepos field, and actually align the
+       .pdata section to an alignment power of 4.
+       (ecoff_compute_reloc_file_positions): Set output_has_begun after
+       calling ecoff_compute_section_file_positions.
+       (ecoff_write_object_contents): Set s_lnnoptr for the .pdata
+       section from the line_filepos field.  Set vstamp for the optional
+       header from the vstamp of the symbolic header.
+       (ecoff_bfd_final_link): Set vstamp of the symbolic header to the
+       vstamp used by the first object file in the link.
+
+       * ecofflink.c (ecoff_align_debug): Align RFDs to debug_align.
+
+       * linker.c (generic_link_check_achive_element): Set SEC_ALLOC flag
+       for a created common section.
+       (_bfd_generic_link_add_one_symbol): Likewise.
+
+       * elfcode.h (swap_out_syms): Use elf_section_from_bfd_section to
+       get the index of a common section, rather than always using
+       SHN_COMMON (MIPS has multiple common sections).
+
+       * elf32-hppa.c (hppa_elf_gen_reloc_type): Typo (== for =).
+
+       * bfd/aoutx.h (aout_link_input_section_std,
+       aout_link_input_section_ext): Pass additional arguments to
+       reloc_overflow callback.
+       * coff-alpha.c (alpha_ecoff_get_relocated_section_contents,
+       alpha_relocat_section): Likewise.
+       * coff-h8300.c (h8300_reloc16_extra_cases): Likewise.
+       * coff-h8500.c (extra_case): Likewise.
+       * coff-mips.c (mips_relocate_section): Likewise.
+       * coff-z8k.c (extra_case): Likewise.
+       * elf32-hppa.c (hppa_elf_stub_finish): Likewise.
+       * reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
+
+       * bout.c (calljx_callback, callj_callback): Use get_value to get
+       the symbol value and check for undefined symbols.
+       (get_value): If the symbol is undefined, look it up in the linker
+       hash table.
+       (b_out_get_relocated_section_contents): For PCREL24 and PCREL13
+       use get_value to get the symbol value and check for undefined
+       symbols.
+       * reloc16.c (bfd_coff_reloc16_get_value): If the symbol is
+       undefined, look it up in the linker hash table.
+
+       * aoutx.h (translate_symbol_table): The string index 0 has a
+       special meaning for normal symbols, but not for dynamic symbols.
+
+Sat Jan 22 12:26:01 1994  Stu Grossman  (grossman at cygnus.com)
+
+       * sparclynx.c:  Setup appropriate macros to enable core file
+       support.
+
+Fri Jan 21 16:25:35 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * targets.c: Add a vector of matching format names.
+       * format.c (bfd_matching_formats): New function to return it.
+       (bfd_check_format): Set it.
+       * bfd-in2.h: Regenerated.
+
+       * bfd-in.h: Remove decls of bfd_ec type and error printing functions.
+       Remove decl of type symclass; wasn't used.
+       * bfd.c: Document error handling, including code fragments
+       containing the error decls that were in bfd-in.h.
+       Remove DEFUNs.
+       * bfd-in2.h: Regenerated.
+
+Fri Jan 21 14:11:16 1994  Sean Fagan  (sef@cygnus.com)
+
+       * nlmcode.h, liblnm.h, nlm32-alpha.c nlm32-i386.c nlm32-sparc.c:
+       The sparc (and possibly other?) NLM format requires a different
+       way to write exports, so add a write_export field to the backend
+       data (and set it to NULL for everything but the sparc).
+
+Fri Jan 21 14:11:16 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * sunos.c (MY(read_dynamic_relocs)): Compare info->dynrel with NULL,
+       not (struct external_nlist *) NULL.  info->dynrel is a PTR, not
+       a struct external_nlist *.
+
+Fri Jan 21 09:29:01 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * bfd.c: Remove error strings for errors removed below.
+       * aoutx.h (translate_to_native_sym_flags), bfd-in.h (bfd_ec),
+       oasys.c (oasys_write_sections): Rename
+       bfd_error_nonrepresentable_section to nonrepresentable_section.
+       None of the other bfd error names start with "bfd_error".
+       Remove errors symbol_not_found and no_relocation_info, which seem
+       to be unused.
+       * bfd-in2.h: Regenerated.
+
+Fri Jan 21 01:11:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * bfd.c (bfd_get_gp_size): Added support for ELF.
+
+       * syms.c (BSF_DYNAMIC): New symbol flag.
+       (bfd_print_symbol_vandf): Print it.
+       * bfd-in2.h: Rebuilt.
+       * libaout.h (struct aout_backend_data): New read_dynamic_symbols
+       and read_dynamic_relocs fields.
+       (struct aoutdata): New dynamic_info field.
+       (obj_aout_dynamic_info): New accessor macro.
+       * sunos.c (struct sunos_dynamic_info): New structure.
+       (sunos_read_dynamic_info, MY(read_dynamic_symbols),
+       MY(read_dynamic_relocs)): New functions to read dynamic symbols
+       and relocs.
+       * aoutx.h (NAME(aout,some_aout_object_p)): If the object is
+       dynamically linked, set SEC_RELOC for both the .text and .data
+       sections.
+       (translate_from_native_sym_flags): Don't set BSF_LOCAL for an
+       undefined symbol.
+       (translate_symbol_table): New function, split out of
+       slurp_symbol_table; set the BSF_DYNAMIC flag appropriately.
+       (NAME(aout,slurp_symbol_table)): Read dynamic symbols, if any.
+       (NAME(aout,slurp_reloc_table)): Read dynamic relocs, if any.
+       (NAME(aout,get_reloc_upper_bound)): Include dynamic reloc count in
+       return value.
+       * aoutf1.h (NAME(aout,sunos4_write_object_contents)): Don't write
+       out dynamic symbols or relocs against reloc symbols, since they
+       are already in the .text section and we wouldn't know where to
+       write them anyhow.
+       (sunos4_aout_backend): Initialize read_dynamic_symbols and
+       read_dynamic_relocs fields.
+       * aout-target.h (MY(backend_data)): Initialize
+       read_dynamic_symbols and read_dynamic_relocs fields.
+
+Thu Jan 20 20:57:27 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * hosts/alphaosf.h (uint64e_type, uint64_type, int64_type): Delete
+       typedefs, since HOST_64_BIT will take care of defining them in
+       bfd.h.
+
+Wed Jan 19 17:28:59 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * config/alphaosf.mh (HDEFINES): Don't define HOST_64_BIT here;
+       that's dealt with elsewhere.
+       * hosts/alphaosf.h (sprintf_vma, fprintf_vma): New macros.
+       (uint64_typeHIGH, uint64_typeLOW): Comment with HOST_64_BIT so
+       they get copied to bfd.h.
+
+       * reloc.c (enum bfd_reloc_code_real): Add some Alpha relocation
+       types.  Reorganized some of the existing ones.
+       * coff-alpha.c (alpha_howto_table): Construct 64-bit negative one
+       values in case of compilation on a 32-bit machine.  Fix pcrel
+       fields of some reloc types.
+       (alpha_bfd_reloc_type_lookup): Handle more relocation types.
+
+       * bfd-in.h (uint64_typeHIGH, uint64_typeLOW): Supply default
+       definitions when not defined, regardless of whether uint64_type is
+       a defined macro or not.
+       (fprintf_vma, sprintf_vma): Define only if fprintf_vma is not
+       already defined.
+
 Wed Jan 19 00:02:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * aoutx.h (translate_to_native_sym_flags): Set the type of a
This page took 0.025877 seconds and 4 git commands to generate.