Use new size-independent elf internal data structures.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 0d9977b538b6521a239131ad14ee6bee9decb2fd..6d141d7090dee6b6cd2f792b149eb1f04d9ad4f7 100644 (file)
@@ -1,3 +1,620 @@
+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)
+
+       * elfcode.h (bfd_add_to_strtab): Now static.
+       (sym_is_global): New function.
+       (elf_map_symbols): Call it.
+       (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.
+
+       * 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.
+
+Thu Jun 10 11:48:28 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (ecoff_sec_to_styp_flags): Use STYP_MIPS_INIT for
+       section named _INIT.  Don't set STYP_TEXT unless SEC_CODE is set.
+       (ecoff_styp_to_sec_flags): Treat a STYP_MIPS_INIT section like
+       a STYP_TEXT section.
+
+Wed Jun  9 16:48:13 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
+
+       * Makefile.in (install, headers): don't put comments after a tab
+       in the actions section of a rule
+
+Wed Jun  9 15:00:01 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (ecoff_mkobject_hook): Mark ZMAGIC files as D_PAGED.
+       (ecoff_write_object_contents): If not D_PAGED, don't add the
+       section headers to text_size.  If not D_PAGED, set the magic
+       number to OMAGIC rather than ZMAGIC.  If creating a D_PAGED
+       executable, the executable must fully occupy an even number of
+       pages.
+       (ecoff_set_symbol_info, make_bfd_asection, ecoff_little_vec,
+       ecoff_big_vec): Consistently set section alignment power to 4,
+       since ECOFF sections should be multiples of 16 bytes.
+       (ecoff_little_vec, ecoff_big_vec): Added D_PAGED to object_flags.
+       Made ar_pad_char and ar_max_namelen agree for both.
+
+Tue Jun  8 20:28:02 1993  Mark Eichin  (eichin at tweedledumber)
+
+       * elfcode.h (elf_slurp_symbol_table): subtract section vma from
+       symbol value, since bfd symbols are section relative, but ELF
+       symbols aren't. 
+
+Tue Jun  8 12:08:27 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * cpu-i960.c, cpu-h8300.c (compatible): Make static.
+
+Tue Jun  8 14:27:56 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
+
+       * hosts/news.h, config/news.mh: New files.
+
+Tue Jun  8 12:08:27 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * bfd-in2.h, archures.c (bfd_mach_h8300[h]): new defines.
+       * coff-h8300.c: More addressing modes.
+       * coffcode.h (coff_set_arch_mach_hook): Cope with H8300 magic
+       number.
+       * cpu-h8300.c: Removed disassemble stuff. (h8300_scan): Recognise
+       H8/300H name. (compatible): New function. 
+       * reloc16.c (bfd_coff_reloc16_get_relocated_sec): Cope with more
+       addressing modes.       
+
+Tue Jun  8 10:30:13 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (ecoff_compute_section_file_positions,
+       ecoff_write_object_contents): Only round to page boundaries if
+       D_PAGED flag is set for the output BFD.
+
+Fri Jun  4 15:47:52 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * coffcode.h (get_index, coff_slurp_symbol_table): Fix pointer
+       casts to work on machine where sizeof(long) != sizeof(int) !=
+       sizeof(char *).
+        * coffgen.c (coff_get_normalized_symtab): Ditto.
+       * cpu-h8300.c coff-h8300.c: Support for H8/300-H.
+
+Fri Jun  4 15:24:27 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * coffgen.c (coff_write_symbols): For empty string table, write
+       out 4 in correct byte order.  (from minyard@bnr.ca)
+
+       * elf32-hppa.c: Don't include libhppa.h for now; define
+       BYTES_IN_WORD instead, until Utah sends a better fix.
+       (hppa_elf_build_arg_reloc_stub): Use xmalloc and xrealloc instead
+       of malloc and realloc.
+
+Fri Jun  4 07:49:01 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * configure.in (mips-*-ecoffl*): New target; use decstation.
+       (mips-*-ecoff*): Added trailing '*'.
+
+       * coff-mips.c (ecoff_get_debug): Get the offset from the first PDR
+       for the FDR, not from the first PDR in the file.
+
+Thu Jun  3 16:41:10 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * hppa.c (hppa_get_symbol_info):  New func needed for JUMP_TABLE.
+
+Thu Jun  3 15:33:57 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
+
+       * hppa.c (hppa_get_symbol_info): New function.
+
+Thu Jun  3 13:07:42 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * elfcode.h (elf_map_symbols): Don't crash if no symbols have been
+       allocated yet.
+
+       From Peter Hoogenboom (hoogen@schafer.cs.utah.edu):
+       * libhppa.h (MAXCOMLEN): Define unconditionally.
+       (_PA_RISC_ID): Only define if not already defined.
+       * elf32-hppa.c: Include libhppa.h.
+
+       From Ralph Campbell:
+       * hosts/mipsbsd.h (HOST_DATA_START_ADDR): Delete definition.
+
+       * elf32-hppa.h (symext_rootP, symext_lastP): Delete decls.
+
+Thu Jun  3 00:23:53 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
+
+       * config/go32.mh: define EXTRALIBES to -lm (for binutils), also
+       remove defines of __MSDOS__ and __GO32__ (these are in the
+       compiler now).
+
+Wed Jun  2 17:57:13 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       From Utah:
+       * hosts/hppabsd.h: Eliminate use of obsolete EXFUN.
+       * config/hppabsd.mh: Don't use ranlib.
+
+Tue Jun  1 04:15:57 1993  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
+
+       * elf.c: New file, for word-size independent code.
+       * elfcode.h (elf_hash): Moved to there, renamed bfd_elf_hash.
+       * Makefile.in: Include elf.o in standard objects.
+
+       * bfd-in.h (CAT3): Define here.
+       * libaout.h, libelf.h: Not here.
+
+       * libelf.h (struct strtab): Define here.
+       (bfd_elf_locate_sh): Declare here.
+       * elfcode.h (struct strtab): Definition deleted.
+
+       * reloc.c (enum bfd_reloc_code_real): Added HPPA_PCREL_CALL_12.
+
+       * Makefile.in: Make "all", not "bfd.h", be the default target.
+       (stmp-bfd.h): New target; prevents rebuilding world if bfd.h
+       hasn't really changed.
+
+       Tue May 25 12:15:15 1993  Michael Meissner  (meissner@osf.org)
+
+       * elfcode.h (elf_hash): Provide elf standard hash function.
+       (various): Key off of the machines use_rela_p field to determine
+       whether to use REL or RELA relocations.
+       (elf_swap_reloc_out, elf_swap_reloc_in): New functions.
+       (elf_make_sections): Allocate a pointer to hold all data for a
+       given section, and copy each fragment into the data region.
+       Update the section's pointer with the REL implicit addends if the
+       machine uses REL relocation.
+
+       * elf32-i386.c (elf_bfd_reloc_type_lookup): Rename to
+       elf_i386_bfd_reloc_type_lookup, and use cpp to map the name back
+       into was elf32-target.h expects.
+       (elf_info_to_howto): Rename to elf_i386_info_to_howto.
+       (elf_i386_bfd_reloc_type_lookup): Add relocation support.
+       (elf_i386_info_to_howto): Add minimal relocation support.
+
+       * libelf.h (elf_backend_data): Add use_rela_p, elf_64_p,
+       elf_info_to_howto_rel fields.
+
+       * elf32-target.h (elf_bed): Add support for new fields in
+       elf_backend_data.
+
+       Sun May 30 16:38:24 1993  Peter Hoogenboom  (hoogen@fast.cs.utah.edu)
+
+       * elf32-hppa.c: Add symbol extension section support, fix
+       relocation howto table, add stub generation support.
+
+       * elf32-hppa.h: Add symbol extension section support, fix
+       relocation howto table, add stub generation support.
+
+       * elfcode.h (bfd_elf_locate_sh): New function to locate ELF
+       section header.
+
+       * elfcode.h (bfd_add_to_strtab): Made non-static due to a call
+       from elf32-hppa.c.
+
+       * elfcode.h (elf_idx_of_sym): Return STN_UNDEF instead of 0 when
+       the symbol is not found.
+
+       * elfcode.h (elf_compute_section_file_positions): Not all section
+       file positions were computed.
+
+       * elfcode.h (elf_get_sect_thunk): New function.
+
+       * hppa.c (sign_ext): Reimplement.
+
+       * hppa.c (round_down,round,round_up,L,R,LS,RS,LD,RD,LR,RR): Make
+       these functions static.
+
+Tue Jun  1 14:40:41 1993  Per Bothner  (bothner@rtl.cygnus.com)
+
+       * Makefile.in (bfd.h):  Move closer to headers - and after 'all'!
+
+       * aoutx.h (translate_from_native_sym_flags):  Don't set
+       BSF_DEBUGGING for constructor symbols, only BSF_CONSTRUCTOR.
+       * aoutx.h (translate_to_native_sym_flags):  Translate
+       constructor symbols properly.
+
+Thu May 27 16:09:04 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * archures.c (bfd_default_arch_struct): use 4 byte alignment as a
+       minimum.
+       * aout-target.h (minimum_alignment): 8 byte alignment is right.
+       (fix ld/2680)
+
+Thu May 27 13:38:47 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * configure.in, Makefile.in: Build bfd-in2.h in source directory,
+       from bfd-in.h and .c files.  Build bfd.h in build directory,
+       substituting in requested target word size.  Insert word size into
+       makefile, and maybe enable 64-bit targets.
+
+       * bfd-in.h, libbfd.c, demo64.c, targets.c: Define BFD64 if 64 bits
+       are available.  Conditionalize on this.  Assume HOST_64_BIT
+       will be defined if needed, so 64-bit targets are conditionalized
+       only in the Makefile.
+
+Tue May 25 14:03:56 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * libbfd.c (COERCE64): Rewrite to avoid out-of-range values.
+
+       * coff-sh.c (rtype2howto): Put error message on stderr.
+       (extra_case): Delete unused variable.
+
+       * coff-mips.c (ecoff_print_symbol): Cast bfd_vma values to long
+       before calling printf.
+
+       * elfcode.h: New file, almost completely derived from old elf32.c.
+       * elf32.c: Now just define ARCH_SIZE and include elfcode.h.
+       * Makefile.in (elf64.o): List dependencies, don't build by
+       default.
+       (elf64.c): Add to list of sources.
+       (elf32.o): Update dependencies.
+       * elf32-*.c: Updated type/macro/structure names.  Cleaned up
+       namespace pollution; rename vectors.
+       * targets.c, config/*-elf.mt: Updated.
+       * All uses of 32-bit versions of structures, routines, and macros
+       renamed.
+
+       * Makefile.in (archures.o, targets.o): Depend on Makefile.
+
+Mon May 24 15:53:13 1993  Ken Raeburn  (raeburn@cygnus.com)
+
+       * elf32-i386.c (enum reloc_type): No comma after last enumerator.
+
+       * elf32.c (elf_string_from_elf_section): Handle index of zero
+       specially.
+       (bfd_section_from_shdr, elf_slurp_symbol_table): Don't need to do
+       so here.
+       (elf_write_object_contents): Deleted one unused variable and
+       initialized another to avoid gcc warnings.
+       (elf_set_section_contents): Delete unused variable.
+
+Fri May 21 19:04:21 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * i386lynx.c:  New module for Lynx variant of a.out.
+       * Makefile.in (BFD_BACKENDS CFILES depends):  Add i386lynx.c.
+       * gen-aout.c:  Get rid of defunct endian stuff, print out true
+       pagesize.
+       * targets.c (target_vector):  Add i386lynx_vec.
+
+Fri May 21 17:02:22 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * configure.in: Use i386-sco.mt for i[36]86-*-isc*.
+
+Fri May 21 13:44:18 1993  David J. Mackenzie  (djm@rtl.cygnus.com)
+
+       * aix386-core.c, aout-target.h, aoutx.h, coff-alpha.c,
+       coff-mips.c, coffgen.c, elf32.c, ieee.c, libaout.h, libcoff-in.h,
+       libelf.h, mipsbsd.c, oasys.c, sco-core.c, srec.c, tekhex.c,
+       trad-core.c: Define a TARGET_get_symbol_info function or macro.
+       Remove the bfd_print_symbol_nm case from TARGET_print_symbol.
+
+       * bfd-in.h: Don't define bfd_print_symbol_nm.
+       Define symbol_info type.
+       (JUMP_TABLE): Set _get_symbol_info element.
+
+       * syms.c (coff_section_type, bfd_symbol_info): New functions.
+       (bfd_decode_symclass): Use coff_section_type.
+
+       * targets.c: Add bfd_get_symbol_info call.
+
+Wed May 19 15:30:52 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * coff-i386.c (coff_i386_reloc):  Use unsigned char to avoid
+       complaints from ancient gcc's.
+
+Wed May 19 15:51:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * trad-core.c:  Check macro TRAD_CORE_EXTRA_SIZE_ALLOWED.
+       hosts/i386linux.h:  Define it.
+
+Mon May 17 15:00:33 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
+
+       * VERSION, bfd-in.h: Bump version number to 2.2.
+
+       * hppa.c (assemble_3, dis_assemble_3, assemble_12,
+       dis_assemble_12, assemble_17, dis_assemble_17, assemble_21,
+       dis_assemble_21, sign_ext, ones, sign_unext, low_sign_ext,
+       low_sign_unext, round_down, round, round_up, L, R, LS, RS, LD, RD,
+       LR, RR, hppa_field_adjust): New functions.
+
+Mon May 17 10:04:16 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (ecoff_set_symbol_info): Added support for indirect
+       stabs symbols, including new indirect_ptr_ptr argument.
+       (ecoff_slurp_symbol_table): Pass new argument in calls to
+       ecoff_set_symbol_info.
+
+Fri May 14 00:05:06 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * configure.in: For m68k sysv systems, use m68k-coff.
+
+       * config/hppa-elf.mt (TDEFINES): Don't define DEFAULT_VECTOR here.
+       (TDEFAULTS): Define it here.  Use the new name.
+
+       * elf32-hppa.c (elf_hppa_backend_data): Delete; rely on default
+       values instead.
+
+       * reloc.c (bfd_reloc_code_real_type): Add some HPPA reloc types.
+
+       * aix386-core.c (NO_GETS): Fix PROTO invocation to have correct
+       number of arguments.
+       (aix386_core_file_p): Initialize core_size to correct value.
+
+Wed May 12 14:39:59 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * Makefile.in (CC_FOR_BUILD): New variable, set to $(CC).
+       (FLAGS_TO_PASS): Pass down CC_FOR_BUILD.
+
+       * bout.c (aout32_slurp_extended_name_table): Define to be
+       _bfd_slurp_extended_name_table rather than bfd_true.
+
+       * coff-mips.c: Include libaout.h and aout/aout64.h to get
+       definitions for N_SET[ATDB].
+       (ecoff_howto_table): Moved near top of file.
+       (ecoff_set_symbol_info): If a STABS symbol of type N_SET[ATDB] is
+       seen, cook up a constructor section of the same name and put in a
+       reloc pointing to the symbol.  This lets the GNU linker build
+       global constructors and destructors without using collect.
+
+Tue May 11 00:33:31 1993  John Gilmore  (gnu@cygnus.com)
+
+       * coff-m88k.c (m88kbcs_vec):  Symbols have underbars.
+
+Mon May 10 05:55:45 1993  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
+
+       * hosts/miniframe.h: New file.
+       * configure.host: Use it.
+
+Sun May  9 16:36:59 1993  Fred Fish  (fnf@cygnus.com)
+
+       * configure.in (hppa*-*-bsd):  Change to hppa*-*-bsd*
+       * configure.in (hppa*-*-hpux):  Change to hppa*-*-hpux*
+       * configure.in (m68*-hp-bsd):  Change to m68*-hp-bsd*
+       * configure.in (m68*-*-hpux):  Change to m68*-*-hpux*
+       * configure.in (*-*-bsd):  Change to *-*-bsd*
+
+Wed May  5 16:08:32 1993  Per Bothner  (bothner@cygnus.com)
+
+       * elf32-hppa.c (elf_hppa_reloc_type_lookup):  Cast enums to
+       int, for the sake of the old Portable C Compiler.
+
+Mon May  3 14:37:01 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * Makefile.in (CFILES):  Add cpu-sh.c and coff-sh.c.
+
+Mon May  3 14:03:21 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
+
+       * configure.in: Get target name right for m68*-*-hpux.
+
+Sun May  2 11:39:44 1993  Fred Fish  (fnf@cygnus.com)
+
+       * trad-core.c (NO_SIGNED_GET):  New macro.
+       * trad-core.c (trad_core_vec):  Use new NO_SIGNED_GET instead of
+       signed NO_GET, where appropriate.
+
+       * configure.in (i[34]86-*-linux*):  Add; bfd_target = i386-linux.
+       * configure.in (*-*-linux*):  Remove until linux port for a
+       non-i386/i486 system is actually available.
+
+Fri Apr 30 20:04:10 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * libhppa.h:  #undef e_* symbols which come from <machine/som.h>
+       when compiling under HPUX.
+
+Fri Apr 30 17:25:23 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * The following patches are from Jeffrey Law <law@cs.utah.edu>.
+       * hppa.c (hppa_core_file_p): Provide a temporary dummy routine
+       for HOST_HPPABSD.
+       * bfd/hosts/hppabsd.h: Fix declarations of malloc and free.
+       * bfd/libhppa.h: Include sysdep here.  Conditionalize
+       includes based on HOST_HPPAHPUX or HOST_HPPABSD.
+       Provide definitions for MAXCOMLEN and _PA_RISC_ID suitable
+       for BSD.
+
+Fri Apr 30 17:34:11 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * elf32-hppa.c: Don't include a.out.h.  Apparently not even the
+       GNU version is needed.
+
+Fri Apr 30 09:38:59 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * coffcode.h: use dummy_reloc16_extra_cases rather than casting abort.
+
+Thu Apr 29 11:30:32 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
+
+       * Makefile.in: Build elf32-hppa.o.
+
+       * syms.c (BSF_FUNCTION): New symbol flag.
+
+       * elf32-hppa.c: Fixed to work with elf32-target.h.
+
+       * hp300hpux.c (NAME, NAME_swap_exec_header_in): Fix for
+       traditional C.
+       * libaout.h (NAME): Don't define if already defined.
+
+       * libelf.h: Protect against multiple inclusions.
+       (elf_symbol_type): Moved here, added new fields.
+       (struct elf_backend_data): New field `global_sym'; I suspect this
+       may be misplaced.
+       * elf32.c (elf_symbol_type): Deleted from here.
+       (struct elf_obj_tdata): New fields raw_syms and internal_syms, to
+       point to backend versions of symbols.
+       (obj_symbols, obj_raw_syms, obj_internal_syms): New macros.
+       (elf_swap_phdr_out, elf_build_phdrs, elf_write_phdrs): New
+       functions.
+       (elf_write_object_contents): Write program headers if appropriate.
+       (bfd_section_from_shdr): Unnamed sections get empty string for
+       name, not "unnamed".  Handle SHT_NOBITS separately from
+       SHT_PROGBITS, and set some different flags.
+       (elf_file_p): New routine.
+       (elf_object_p, elf_core_file_p): Call it.
+       (elf_object_p): Handle EM_HPPA.
+       (elf_symbol_from, elf_idx_of_sym): New functions.
+       (elf_make_sections): Get symbol number right for relocations.  Set
+       SHF_ALLOC, SHF_WRITE, SHF_EXECINSTR when appropriate.
+       (elf_fake_sections): BSS section should be SHT_NOBITS, not
+       SHT_PROGBITS.  Always generate symtab and strtab, not only if
+       relocations are needed.  Set SHF_* flags as appropriate.
+       (elf_compute_section_file_positions): Handle bfd_arch_hppa.
+       (elf_write_object_contents): Fix off-by-one error in symbol count.
+       Store a correct value for the symbol; write the size field
+       properly; make some guesses about the type field.  Set section
+       type correctly for string tables.
+       (section_from_elf_index): Check for absolute and common sections
+       first.
+       (elf_section_from_bfd_section): Ditto.
+       (elf_slurp_symbol_table): Use elf_symbol_type instead of asymbol.
+       Use empty string instead of "unnamed" for nameless symbols.
+       Handle STTY_FUNC type, and weirdness with "$global$" symbol for
+       HPPA (only?).  Don't free raw symbols; keep the pointer around for
+       later.
+       (elf_set_arch_mach): Handle bfd_arch_hppa.
+       (elf_find_nearest_line): Just return false.
+       (elf_write_object_contents, elf_set_section_contents): Set
+       output_has_begun field after computing file positions.
+       (elf_set_section_contents): Write section contents immediately,
+       rather than caching the whole file and writing it at close time.
+
+       * libhppa.h (enum hppa_reloc_field_selector_type, enum
+       hppa_reloc_field_selector_typ_alt, enum hppa_reloc_expr_type, enum
+       hppa_reloc_expr_type_alt): New enumerator types.
+
+       * config/hppa-elf.mt,. config/hppaosf.mh: HP PA/OSF support.
+       * configure.in, configure.host: Use them.
+
+Wed Apr 28 23:21:01 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * elf32-target.h: Allow overrides of armap defaults.
+
+       * elf32-hppa.c, elf32-hppa.h: New files.
+
+       * config/hp300hpux.mt: New file.
+
+Tue Apr 27 05:39:40 1993  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
+
+       * aix386-core.c (NO_GETS): New macro; NO_GET for signed values.
+       (aix386_core_vec): Update for new fields.
+
+       * archive.c (bfd_generic_archive_p): Call target-specific
+       slurp_armap code, instead of bfd_slurp_armap.
+       (bfd_slurp_bsd_armap_f2): New function.
+       * libbfd-in.h (bfd_slurp_bsd_armap_f2): Declare it.
+       * aout-target.h (AR_PAD_CHAR): Define it if not already defined.
+       (vec): Use it.
+       * libaout.h (struct aoutdata): New field for subformat, for
+       differentiating between highly similar a.out formats.
+       * aoutx.h (NAME_swap_exec_header_in): New macro, defaults to local
+       version of function.
+       (swap_exec_header_in): Don't define if NAME_swap_exec_header_in is
+       already defined.
+       * hp300hpux.c: New file.
+       * Makefile.in: Include it.
+
+Mon Apr 26 13:24:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * Makefile.in, archures.c, coffcode.h, targets.c: Support for
+       Hitachi SH.
+
 Mon Apr 26 13:55:42 1993  Jim Kingdon  (kingdon@cygnus.com)
 
        * trad-core.c (trad_unix_core_file_p): Check the file size.
@@ -3990,3 +4607,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.029408 seconds and 4 git commands to generate.