]> Git Repo - binutils.git/blobdiff - bfd/ChangeLog
* z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
[binutils.git] / bfd / ChangeLog
index 061ef749167a9c8640d3f2f50795b25db4f51938..32cd72249b0d63f6e67a8f7a48a3439fe4ccebe5 100644 (file)
@@ -1,3 +1,407 @@
+Wed May 19 15:51:19 1993  Jim Kingdon  ([email protected])
+
+       * trad-core.c:  Check macro TRAD_CORE_EXTRA_SIZE_ALLOWED.
+       hosts/i386linux.h:  Define it.
+
+Mon May 17 15:00:33 1993  Ken Raeburn  ([email protected])
+
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * coff-m88k.c (m88kbcs_vec):  Symbols have underbars.
+
+Mon May 10 05:55:45 1993  Ken Raeburn  ([email protected])
+
+       * hosts/miniframe.h: New file.
+       * configure.host: Use it.
+
+Sun May  9 16:36:59 1993  Fred Fish  ([email protected])
+
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * Makefile.in (CFILES):  Add cpu-sh.c and coff-sh.c.
+
+Mon May  3 14:03:21 1993  Ken Raeburn  ([email protected])
+
+       * configure.in: Get target name right for m68*-*-hpux.
+
+Sun May  2 11:39:44 1993  Fred Fish  ([email protected])
+
+       * 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  ([email protected])
+
+       * libhppa.h:  #undef e_* symbols which come from <machine/som.h>
+       when compiling under HPUX.
+
+Fri Apr 30 17:25:23 1993  Stu Grossman  ([email protected])
+
+       * The following patches are from Jeffrey Law <[email protected]>.
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * coffcode.h: use dummy_reloc16_extra_cases rather than casting abort.
+
+Thu Apr 29 11:30:32 1993  Ken Raeburn  ([email protected])
+
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * Makefile.in, archures.c, coffcode.h, targets.c: Support for
+       Hitachi SH.
+
+Mon Apr 26 13:55:42 1993  Jim Kingdon  ([email protected])
+
+       * trad-core.c (trad_unix_core_file_p): Check the file size.
+
+Mon Apr 26 13:24:43 1993  Steve Chamberlain  ([email protected])
+
+       * coff-alpha.c: Remove duplicate function and add warnings.
+
+Mon Apr 26 11:25:58 1993  Ian Lance Taylor  ([email protected])
+
+       * sco-core.c (sco_core_vec): Add initializers for new target
+       fields.
+
+Sat Apr 24 21:33:45 1993  Jim Kingdon  ([email protected])
+
+       * coffcode.h [_LIT]: Recognize .lit section.
+
+Fri Apr 23 19:00:36 1993  Steve Chamberlain  ([email protected])
+
+       * coff-alpha.c, cpu-alpha.c, config/alphaosf.mt,
+       config/alphaosf.mt, hosts/alphaosf.h:  New files.
+
+Fri Apr 23 16:48:46 1993  Stu Grossman  ([email protected])
+
+       * Merge in HPPA/BSD changes from Utah.
+       * hppa.c:  Use this for both HPUX & BSD.
+       * targets.c:  Enable hppa_vec for both HPUX & BSD.
+       * config/hppabsd.mt:  TDEFINES => TDEFAULTS.
+       * hosts/hppabsd.h:  #define HOST_HPPABSD.
+
+Wed Apr 21 01:50:10 1993  John Gilmore  ([email protected])
+
+       * libbfd.c:  Whitespace changes around byteswap macros.
+       * libbfd-in.h:  Whitespace changes around byteswap declarations.
+
+Tue Apr 20 15:59:07 1993  Stu Grossman  ([email protected])
+
+       * aoutf1.h (sunos4_core_file_p):  Don't default bfd_error to
+       system_error anymore.  It confuses bfd_check_format().
+
+Mon Apr 19 23:03:08 1993  Stu Grossman  ([email protected])
+
+       * bfd.c:  Add sgi_core_data to tdata union.
+       * coff-mips.c:  Add Irix 4.x core file support.
+       * hosts/irix4.h:  #define HOST_IRIX4.
+
+Mon Apr 19 18:52:52 1993  Ken Raeburn  ([email protected])
+
+       * aoutx.h (translate_from_native_sym_flags): Check that the
+       symbol's section does get set.
+       (slurp_symbol_table): Zero index means null-string name.
+
+       * aoutx.h (struct stringtab_entry, struct stringtab_data): New
+       data structures.
+       (hash, stringtab_init, add_to_stringtab, emit_strtab, compare):
+       New functions.
+       (write_syms): Use them, to reduce string table size.
+
+Mon Apr 19 16:45:12 1993  Fred Fish  ([email protected])
+
+       * trad-core.c (trad_core_vec):  Add 6 new initializers to match
+         new signed get/put fields.  Minor reformatting to label
+         some fields.
+
+Mon Apr 19 06:09:41 1993  Jim Kingdon  ([email protected])
+
+       * bfd-in.h: Insert comment about SVR3 compiler warnings.
+
+       * hosts/{hp300,i386isc,i386v}.h: Remove unused #defines of {r,}index
+       (bfd uses strchr and the broken SVR3.2 cpp loses with the defines).
+
+       * libbfd.c: bfd_put*: Remove casts to bfd_vma.
+
+Fri Apr 16 17:49:27 1993  Jim Kingdon  ([email protected])
+
+       * aoutf1.h (internal_sunos_core): Make c_stacktop a bfd_vma.
+       (swapcore_sparc): Make sp a bfd_vma.
+
+Thu Apr 15 09:09:18 1993  Jim Kingdon  ([email protected])
+
+       * libbfd.c: Add signed versions of bfd_{h_,}{get,put}_signed_<size>.
+       libbfd.c, libbfd-in.h: Add _do*signed*.
+       targets.c, all targets: Add bfd*signed*.
+       bfd-in.h: Add bfd_signed_vma.  Add comments.
+
+       * bfd-in.h (bfd_error), bfd.c (bfd_errmsgs): Add file_truncated.
+
+       * format.c (bfd_check_error): Check error return from
+       _bfd_check_format routines.
+
+Wed Apr 14 23:48:25 1993  Jim Kingdon  ([email protected])
+
+       * rs6000-core.c (rs6000coff_core_p): Improve error checking and
+       recognize .data section if present. 
+
+Thu Apr 15 01:00:29 1993  John Gilmore  ([email protected])
+
+       * aoutx.h (aout_*_adjust_sizes_and_vmas):  Avoid `sanity'
+       check for the case where the user sets the address of the BSS
+       section (and the file header can't specify this).  Let the user
+       set it wherever they want, regardless of what goes in the header.
+
+       * ieee.c (ieee_slurp_sections):  Pass all ieee section names
+       straight through into BFD sections.  Add comments.
+
+Wed Apr 14 20:34:54 1993  John Gilmore  ([email protected])
+
+       Cleanup in preparation for better 64-bit host support.
+
+       * bfd-in.h (bfd_64_type):  Remove.
+       * libbfd.c (_do_getb64, _do_putb64):  Use bfd_vma, not bfd_64_type.
+
+       * bfd-in.h (bfd_size):  Remove.
+
+       * bfd-in.h (bfd_offset):  Remove, after fixing ld/ldlang.[ch].
+
+       * bfd-in.h (bfd_word):  Remove.
+       * reloc.c (reloc_howto_type):  Replace bfd_word with bfd_vma.
+
+       * bfd-in.h (rawdata_offset):  Remove.
+       * reloc.c (arelent):  Replace rawdata_offset with bfd_size_type.
+       (bfd_perform_relocation):  Lint.
+       (enum bfd_reloc_status):  Comment cleanup.
+
+       * aout-adobe.c, cpu-h8300.c, mipsbsd.c, srec.c: lint -Wall.
+
+Tue Apr 13 11:19:52 1993  Jim Kingdon  ([email protected])
+
+       * aoutf1.h (swapcore_sparc): Guess the right value of USRSTACK.
+
+Mon Apr 12 14:18:00 1993  John Gilmore  ([email protected])
+
+       * elf32.c:  Clean up old comments.
+
+Fri Apr  9 10:43:20 1993  Ian Lance Taylor  ([email protected])
+
+       * config/sun3.h: String argument to fprintf is const.
+
+       * coff-mips.c: Renamed PAGE_SIZE to ROUND_SIZE, to avoid confusion
+       on systems which define PAGE_SIZE in <limits.h>.
+
+Thu Apr  8 10:28:00 1993  Peter Schauer  ([email protected])
+
+       * trad-core.c (trad_unix_core_file_failing_signal): Use new macro
+       TRAD_UNIX_CORE_FILE_FAILING_SIGNAL to allow host files to specify
+       the core file failing signal.
+       * hosts/decstation.h (TRAD_UNIX_CORE_FILE_FAILING_SIGNAL): Define
+       to supply the core file failing signal.
+
+Thu Apr  8 09:17:35 1993  Ian Lance Taylor  ([email protected])
+
+       * coffcode.h (styp_to_sec_flags): Only set SEC_SHARED_LIBRARY for
+       a STYP_NOLOAD | STYP_BSS section if BSS_NOLOAD_IS_SHARED_LIBRARY
+       is defined.  On many COFF targets STYP_BSS is always STYP_NOLOAD.
+       * coff-i386.h (BSS_NOLOAD_IS_SHARED_LIBRARY): Define.
+
+Wed Apr  7 11:33:06 1993  Ian Lance Taylor  ([email protected])
+
+       * coff-mips.c (PAGESIZE): Correct value.
+
+Tue Apr  6 12:05:44 1993  Ian Lance Taylor  ([email protected])
+
+       * coff-mips.c (ecoff_find_nearest_line): Address of first PDR is
+       an offset (patch from Jean-Daniel Fekete <[email protected]>).
+
+Mon Apr  5 12:07:12 1993  Ian Lance Taylor  ([email protected])
+
+       * coffcode.h (styp_to_sec_flags): Set SEC_SHARED_LIBRARY for a
+       STYP_NOLOAD | STYP_BSS section.  Don't set SEC_NEVER_LOAD for a
+       STYP_INFO section.
+       (coff_compute_section_file_positions): Force vma and lma of _LIB
+       section to be zero.
+       (coff_set_section_contents): Count number of entries in new lma
+       field, not in vma.
+       * coffgen.c (make_a_section_from_file): Force lineno_count of
+       SEC_SHARED_LIBRARY section to be zero, since it is non-zero on the
+       SCO 3.2v4 shared library.
+       * seclet.c (rel): Copy over any section with contents, not just
+       loadable sections.
+
+       * coff-mips.c (ecoff_make_empty_symbol): Zero out newly allocated
+       symbol.
+
+       * coff-i386.c (coff_i386_reloc): New function, to generate
+       relocateable output correctly.
+       (howto_table): Use coff_i386_reloc for all reloc types.
+       (CALC_ADDEND): Use a more efficient hack to get the correct addend
+       for a common symbol.
+       (i386comm_value): Removed; no longer needed.
+
 Sun Apr  4 15:08:48 1993  Steve Chamberlain  ([email protected])
 
        * coffcode.h (coff_set_section_contents): Don't write out
@@ -3315,7 +3719,6 @@ Mon May 20 17:12:17 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
        from which it was split out. Now 64 bit version is built with a
        -DHOST_64_BIT="long long" on the compile line.
 
-
 Fri May 17 19:35:26 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
 
        Changed all the [get|put][name] routines to use  [get|put]_[size
@@ -3342,10 +3745,6 @@ Fri May 17 19:35:26 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
        be called b.out.c * coffcode.h: used to be called coff-code.h, now
        64bit ized. * demo64.c: 64 bit a.out back end
 
-
-       
-
-
 Thu May 16 16:02:07 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
        from bothner
        * libieee.h: Make ieee_data and ieee_ar_data macros usable
@@ -3356,7 +3755,6 @@ Thu May 16 16:02:07 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
        * opncls.c: Define S_IXUSR, S_IXGRP, S_IXOTH if undefined.
        * targets.c: Add declaration of newsos3_vec.
 
-
 Mon May 13 10:03:29 1991  Steve Chamberlain  (steve at cygint.cygnus.com)
 
        * aout.c: fixxed some of the problems with filepos calculation.
This page took 0.034294 seconds and 4 git commands to generate.