* hosts/std-host.h: Removed declarations of printf, fprintf,
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index b32f400e86c8e06b8b168bbd4c221765a2d22322..120a9d932b41a939ab59b7c8e5ef93d8f4254990 100644 (file)
@@ -1,3 +1,314 @@
+Fri Jul  2 09:25:20 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * hosts/std-host.h: Removed declarations of printf, fprintf,
+       fcntl, fread and fwrite.  They are all error prone for one reason
+       or another.  Changed declaration of memchr from char * to PTR.
+
+       * configure.in (mips-*-riscos*): New target; use riscos.
+       * configure.host (mips-*-riscos*): New host; use riscos.
+       * config/riscos.mh (HDEFINES): Add -G 4.
+
+       * libaout.h (GET_SWORD): Use the bfd_h_get_signed entry points
+       rather than casting the result of bfd_h_get.
+
+Fri Jul  2 10:13:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * configure.in, hosts/delta68.h, config/delta68.mh: Add stuff for
+       Motorola Delta 68.
+
+Wed Jun 30 06:02:43 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * targets.c (bfd_elf64_{big,little}_generic_vec): Declare, and
+       include in search list if BFD64 is defined.
+
+       * libelf.h (CAT4): Added a version for Saber-C, ANSI mode.
+       (bfd_elf64_*): Declarations for 64-bit versions of many routines.
+
+Tue Jun 29 22:50:59 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * elf64-target.h, elf64-generic.c: New files.
+       * Makefile.in (BFD64_BACKENDS): Include elf64-generic.o.
+       (elf64-generic.o): List dependencies.
+
+       * Makefile.in: List target `all' explicitly before host/target
+       makefile fragments are included, in case they define any new
+       targets.
+
+       * elfcode.h (ELF_R_INFO, ELF_R_SYM): Define as 32- or 64-bit
+       versions as appropriate.  Uses updated.
+       (elf_debug_section): Declare before use.
+       (elf_debug_file): New function.
+       (bfd_section_from_shdr, bfd_shdr_from_section, elf_fake_sections):
+       Alignment value in section header is n_bytes, not log2.
+       (new_section_hook): Do nothing for now.
+       (bfd_section_from_shdr): Use Elf_External_Rel[a], not 32-bit
+       version explicitly.
+       (elf_core_file_p): Simplify check for correct class (word size).
+       (elf_make_sections, elf_fake_sections, elf_write_object_contents):
+       Initialize all fields when creating data structures.
+       (elf_locate_sh): Renamed from bfd_elfXX_locate_sh, made static.
+       (elf_compute_section_file_positions): Set correct class in output
+       file.
+       (elf_write_object_contents): Section symbols have empty names in
+       output file.
+
+       * libbfd.c (bfd_xmalloc, zalloc): Be sure to cast malloc, memset
+       args to size_t before call.
+       (bfd_add_to_string_table): Cast zalloc arg to bfd_size_type.
+
+Tue Jun 29 10:49:42 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (ecoff_find_nearest_line): If procedure has no line
+       number information, return 0 for line number.
+
+Mon Jun 28 10:45:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * aoutx.h (some_aout_object_p): If *oldrawptr is non-NULL, copy it
+       into *rawptr.
+
+Sun Jun 27 09:05:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * hosts/riscos.h: Define NBPG and UPAGES.
+
+Sun Jun 27 16:28:26 1993  Ken Raeburn  (raeburn@cygnus.com)
+
+       * elfcode.h (elf_slurp_symbol_table): Don't use obj_raw_syms as
+       lvalue; it contains a cast.
+
+Fri Jun 25 17:09:55 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * aoutx.h (hash, compare, struct stringtab_entry, add_to_stringtab):
+       Use unsigned hash values for better hashing.
+       (hash): Hash in the string length for long strings.
+
+Thu Jun 24 15:47:51 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * aoutx.h (compare): Replace 3 if's with a subtraction.
+       (translate_to_native_sym_flags, add_to_stringtab): Reorder tests
+       in decreasing order of success, as an optimization.
+       (hash): Take a length arg; ignore chars after #25, for speed.
+       (add_to_stringtab): Pass length to hash.
+
+Thu Jun 24 17:25:51 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
+
+       * elf32-sparc.c (sparc_reloc_map): Add SPARC_WDISP22 reloc.
+
+       * elfcode.h (elf_new_section_hook): Do nothing for now.
+       (elf_write_object_contents): Output common symbols the way ELF
+       wants them.
+
+Wed Jun 23 16:20:07 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
+
+       * libelf.h (struct elf_obj_tdata and associated macros): Moved
+       here from elfcode.h.  A couple of size-specific structure pointers
+       were changed to PTR; uses fixed appropriately.
+       (elf32_symbol_type, elf64_symbol_type): Separated definitions.
+       (bfd_elf_mkobject): Renamed from bfd_elf32_mkobject.
+       (bfd_elf32_mkobject, bfd_elf64_mkobject, elf_mkobject): New
+       temporary macros to ease name change.
+       * elf.c (elf_read, elf_mkobject, elf_get_str_section,
+       elf_string_from_elf_section, bfd_elf_find_section): Moved here
+       from elfcode.h.
+       * doc/Makefile.in (libbfd.h): Process elf.c too.
+       * Makefile.in (elf.o): Note new dependencies.
+
+       * elfcode.h: Lots of stuff moved elsewhere.  Deleted some unused
+       code, tweaked some debug hooks.
+       (elf_slurp_reloca_table): Translate ELF section symbols into BFD
+       section symbols.
+
+Wed Jun 23 11:34:21 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * hosts/riscos.h: New file.
+
+Tue Jun 22 14:35:20 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
+
+       * elfcode.h (bfd_section_from_shdr, case SHT_PROGBITS): Even if
+       section already exists, use its pointer to fill in rawdata slot.
+
+Tue Jun 22 16:36:51 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * hosts/std-host.h: Return value of puts and fputs is int not void.
+
+Tue Jun 22 14:25:58 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * aoutx.h (howto_table_ext): Comment the field names.
+       * reloc.c (bfd_perform_relocation): Fix max and min values.
+
+Mon Jun 21 18:19:14 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
+
+       * elf32-target.h, elf32-hppa.c, elfcode.h: Use new
+       size-independent elf internal data structures.
+       * elfcode.h (put_word, get_word): Define as appropriate for
+       architecture word size.  Structure swapping functions changed to
+       use them as appropriate.
+
+       * configure.in: If compiling 64-bit back ends, do them before
+       32-bit ones.
+
+       * libelf.h: Use new size-independent versions of elf internal data
+       structures.
+       (symbol_type): Reordered to put any fields dependent on target
+       size at the end.
+       (elf_backend_data): Renamed from elf##_backend_data and made
+       size-independent.
+       (elf_sect_thunk): Now size-independent.
+
+       * libbfd.c (bfd_log2): Now returns unsigned int.
+
+Mon Jun 21 12:30:47 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * Rename config/m88k-aout.mt to config/noop.mt.
+       configure.in: Use it for mips-*-bsd*.
+
+Sun Jun 20 20:32:19 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
+
+       * cpu-m68k.c (arch_info_struct): Eliminate "partially bracketed
+       initializer" warning from gcc.
+       * cpu-h8500.c (arch_info_struct): Likewise.
+       * cpu-sh.c (arch_info_struct): Likewise.
+
+       * cpu-h8300.c (local_bfd_reloc_type_lookup, howto*_callback,
+       howto_*): Unused functions and variables commented out.
+       * cpu-z8k.c (local_bfd_reloc_type_lookup, howto*_callback,
+       howto_*): Likewise.
+       * cpu-h8500.c (compatible): Likewise.
+       * cpu-sh.c (compatible): Likewise.
+
+       * hp300hpux.c (swap_std_reloc_in): Delete unused variables.
+       Always set a valid length value, even for invalid input.
+
+       * srec.c (srec_write_symbols): Use sprintf_vma.
+
+       * bfd-in.h (uint64_typeLOW, uint64_typeHIGH, int64_type,
+       uint64_type): Provide default definitions.
+       * hosts/std-host.h (int64 stuff): Remove them from here.
+
+       * bfd-in.h (sprintf_vma): Define parallel to fprintf_vma.
+
+       * elf32-i386.c (elf_i386_reloc_type_lookup): Delete unused
+       variable.  Added default case to switch.
+
+       * aoutx.h (translate_from_native_sym_flags): Before casting
+       pointers to integers, make sure the integer type is wide enough.
+       * coff-mips.c (ecoff_set_symbol_info): Ditto.
+
+       * section.c (bfd_get_section_contents): Since `count' is unsigned,
+       don't bother comparing for less-than-zero.
+       (bfd_set_section_contents): Ditto.
+
+       * elfcode.h (bfd_add_to_strtab): Now static.
+       (sym_is_global): New function.
+       (elf_map_symbols): Call it.  Now returns void.  Removed unused
+       local variable.
+       (bfd_section_from_shdr): Mark string tables other than for section
+       and symbol names as normal sections having contents.
+       (fix_up_strtabs): New function; fixes up ELF header fields for
+       stab sections with string tables associated.
+       (elf_write_object_contents): Map fix_up_strtabs over all BFD
+       sections.  Reordered condition tests for symbol flags; default to
+       local-object value instead of global-object.
+       (elf_symbol_from_bfd_symbol): Hid conditionally-used variable
+       inside condition test.
+       (elf_print_symbol): Use fprintf_vma.
+       (elf_idx_of_sym, bfd_shdr_from_section): Unused functions
+       commented out.
+
+       * bfd-in.h (int64_type, uint64_type): Define these if we fall
+       back to "long long" for HOST_64_BIT.
+
+       * libelf.h (elfNAME, ElfNAME): New versions to get desired results
+       without using invalid ANSI C preprocessing tokens.
+
+       * elf32-target.h (bfd_elf32_new_section_hook): Delete macro.
+       * libelf.h (bfd_elf32_new_section_hook): Declare.
+       * elfcode.h (new_section_hook): Define here.
+
+       * hosts/sparc.h, hosts/std-host.h, hosts/i386bsd.h: Protect
+       against multiple inclusions.
+
+       * hosts/news.h: Include hosts/std-host.h, not plain std-host.h.
+
+       * Makefile.in (bfd.h): Generate into current directory by grabbing
+       64-bit definition (if any) from sysdep.h.
+       * bfd-in.h: Put in marker for sysdep.h inclusion.
+
+Fri Jun 18 19:57:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * reloc.c (bfd_perform_relocation): Check for overflow on
+       pc-relative relocations if the howto asked for it.
+
+Fri Jun 18 16:00:20 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * Makefile.in (stmp-bfd.h): Ignore nonzero exit status from grep.
+
+Fri Jun 18 16:54:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * config/riscos.m{h,t}: New files.
+       * configure.{host,in}: Use them.
+
+Fri Jun 18 12:55:10 1993  K. Richard Pixley  (rich@cygnus.com)
+
+       * elf32-mips.c: comment change.  This is a mips file, not 88k.
+
+Mon Jun 14 14:02:41 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * cache.c (bfd_cache_init): Increment open_files and call close_one
+       if necessary.
+       (bfd_open_file): Don't increment open_files here.
+
+Fri Jun 18 10:00:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * config/delta88.mh: Don't set CC.
+
+       * Makefile.in: Add elf32-{mips,m88k,generic}.
+       elf32-{mips,m88k,generic}.c: New files.
+       targets.c (target_vector): Include bfd_elf32_{mips,m88k,generic}_vec.
+       elfcode.h (elf_object_p): Match elf32-generic for all machines which
+       don't match a different target.
+
+Fri Jun 18 03:12:12 1993  John Gilmore  (gnu@cygnus.com)
+
+       Eliminate "int8_type", "int16_type", "int32_type", and their
+       variants from the BFD universe.  Leave the 64-bit types for now,
+       since they are in flux.
+
+       * aoutx.h, hp300hpux.c:  Eliminate needless (int32_type) casts.
+       * libaout.h (GET_SWORD):  Convert (int32_type) to (int).
+       * ieee.c:  Convert uint8e_type => unsigned char.
+       * oasys.c:  Extensive changes to eliminate obsolete types.
+       These depend on changes in ../include/oasys.h as well.
+       * hosts/*.h:  Remove declarations of all these types.
+
+Mon Jun 14 14:02:41 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * hosts/delta88.h: #if 0 out some declarations which conflict with
+       system headers.
+
+Mon Jun 14 17:08:18 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
+
+       * Makefile.in (install): remove parentdir cruft
+
+Mon Jun 14 19:04:09 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * hppa.c (hppa_get_symbol_info):  Remove redundant copy.
+       * Expurgate random DEFUNs that have crept in.
+
+Mon Jun 14 10:23:53 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (ecoff_set_symbol_info): Constructor sections should
+       only be aligned to a 4 byte boundary.
+
+Sat Jun 12 16:13:17 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * hosts/std-host.h (struct int64e_struct): Remove needless typedef
+       keyword.
+
+Fri Jun 11 14:25:34 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * aoutf1.h (sunos4_write_object_contents): set flags to 1, breaking
+       1927 but fixing some other important things.
+
 Thu Jun 10 20:36:22 1993  Doug Evans  (dje@canuck.cygnus.com)
 
        * hosts/std-host.h (int64e_type): Fix definition.
@@ -4494,3 +4805,10 @@ Wed Jan 16 01:55:53 1991  John Gilmore  (gnu at rtl)
        obsolete definitions.
        (_write_symbol_table):  Initialize <idx> counter.
        (foop):  Eliminate debugging code.
+\f
+Local Variables:
+mode: indented-text
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
This page took 0.026699 seconds and 4 git commands to generate.