]> Git Repo - binutils.git/blobdiff - bfd/ChangeLog
sanitize targets.c
[binutils.git] / bfd / ChangeLog
index a76ed520105a077371a7a51ca7c7f6496969b11e..c8ba00c58cb2ff04036f728df480a5d0aba658dc 100644 (file)
@@ -1,3 +1,823 @@
+Mon Aug  9 11:29:53 1993  Ian Lance Taylor  ([email protected])
+
+       * ecoff.c (ecoff_slurp_armap): Correct bug in initialization of
+       stringbase.
+
+Sun Aug  8 12:21:13 1993  David J. Mackenzie  ([email protected])
+
+       * configure.in: Remove unneeded test.
+
+Sun Aug  8 12:41:22 1993  Jim Kingdon  ([email protected])
+
+       * Makefile.in ({dist,real}clean): Use $(MAKE), not make.
+
+Sat Aug  7 09:14:21 1993  David J. Mackenzie  ([email protected])
+
+       * config/st2000.mt (TDEFINES): Don't define MRI; not used.
+
+       * PORTING, TODO, config/README: Update to reflect below changes.
+
+       * configure.in: Replace MINIMIZE and --with-minimal-bfd with
+       --with-bfd-targets="target1,target2,..." and the special target
+       "all" to get the previous default behavior.
+       Figure out which architecture and backend .o files are needed from
+       DEFAULT_VECTOR, SELECT_VECS, and SELECT_ARCHITECTURES as set in
+       the .mt files.  Define TDEFAULTS based on them, also.
+
+       * Makefile.in: Remove references to MINIMIZE.
+       * archures.c, targets.c: Ditto.
+
+       * config/*.mt: Define DEFAULT_VECTOR, SELECT_VECS, and
+       SELECT_ARCHITECTURES as variables rather than as -D arguments to
+       TDEFAULTS.
+
+       * config/a29k-coff.mt,alphaosf.mt, i386-sco.mt, i960-bout.mt,
+       i960-coff.mt (TDEFAULTS): Don't put the default vector in
+       SELECT_VECS manually; it's automatic now.
+
+       * config/i386-sco.mt (TDEFAULTS): Don't put &sco_core_vec in
+       SELECT_VECS manually; -DSCO_CORE does it automatically now.
+
+       * config/h8300-coff.mt,h8500-coff.mt,sh-coff.mt,st2000.mt,z8k-coff.mt
+       (TDEFAULTS): Don't define BFD; not used.
+
+       * config/hppaosf.mh (HDEFINES): Don't define SELECT_ARCHITECTURES;
+       this is a host, not a target.
+
+Sat Aug  7 05:28:03 1993  Fred Fish  ([email protected])
+
+       * elfcode.h (elf_object_p):  Add comment about what this function
+       does and to watch out for side effects.  Add FIXME for memory leaks.
+       Fix comment about checking for matching byte order.  Preserve
+       pointer to old tdata (if any), and restore it if we don't match
+       file with target vector.  If we are going to use goto's, use them
+       consistently and maintainably.
+       * nlmcode.h (nlm_object_p):  Expand comments about leaked memory
+       to note that the problem is even more serious than just leaked
+       memory.  Replace goto with more traditional return.
+
+Fri Aug  6 12:00:03 1993  David J. Mackenzie  ([email protected])
+
+       Fix incorrect or useless makefile variable definitions:
+       * config/news.mt, config/u68k-coff.mt (TDEFAULTS): Use this to
+       define DEFAULT_VECTOR, instead of TDEFINES.
+       * config/i386aix.mh (MINIMIZE): Don't define.
+       * config/hppaosf.mh (MINIMIZE): Don't conditionalize.
+       * config/rs6000.mh (ALLOCA),
+       * config/i386v.mh (ALLOCA),
+       * config/i386linux.mh (ALLOCA),
+       * config/i386isc.mh (ALLOCA),
+       * config/go32.mh (EXTRALIBS): Don't define; not used.
+       * config/solaris2.mh (HDEFINES): Renamed from H_DEFINES.
+       * config/alphaosf.mt (TDEFINES): Set it, not HDEFINES.
+       * config/z8k-coff.mt (CC): Don't define.  It's a target, not a host.
+
+       * config/.Sanitize (Things-to-keep): Add README.
+       * config/README: New file, explaining the variables.
+
+       * targets.c (target_vector): Add hp300_bsd_vec.
+       * Makefile.in (BFD32_BACKENDS, CFILES): Add hp300bsd.
+       (hp300bsd.o): New rule.
+
+Fri Aug  6 15:13:22 1993  Ken Raeburn  ([email protected])
+
+       * libelf.h (NAME): Provide a default definition, that's neither
+       for 32 bits nor for 64.
+
+       Tue Jun 15 14:38:32 1993  Michael Meissner  ([email protected])
+
+       * libelf.h (elf_hash): Change declaration to bfd_elf_hash, since
+       that is what is in elf.c.
+
+Fri Aug  6 12:28:38 1993  Ian Lance Taylor  ([email protected])
+
+       * ecoff.c (ecoff_set_symbol_info): Removed special handling for
+       scBss and scSBss symbols, since it was wrong.
+
+       * Makefile.in (coff-mips.o, coff-alpha.o): Don't depend on
+       coffcode.h.
+
+       * coffcode.h (sec_to_styp_flags): Inspired by [email protected] (Michael
+       Bloom): Only set STYP_BSS for SEC_ALLOC sections.
+
+       * ecoff.c (ecoff_slurp_armap): From Arne Henrik Juul
+       <[email protected]>: Handle a COFF style armap.
+
+Fri Aug  6 09:59:45 1993  Jim Kingdon  ([email protected])
+
+       * hpux-core.c: Cast return value from bfd_zalloc.
+
+Thu Aug  5 13:22:44 1993  Ken Raeburn  ([email protected])
+
+       * aoutx.h (log2): Delete i387-specific code.
+
+       * Makefile.in (BFD_LIBS): Always include elf.o.
+       (BFD32_BACKENDS): Don't include elf.o here.
+       (ofiles): Delete references to ofiles2 and ofiles3.
+       (do_clean): Delete ofiles.
+       (BFDIN_H): Changed references to $(srcdir)/bfd-in2.h.
+       (stmp-bfd.h): Use bfd.h-new as temporary name, not bfd.h2.
+       (headers): Use bfd-in2.h-new as temporary name, not bfd.h-new.
+
+       * bfd-in.h: Reworded comment to make it clear that bfd-in2.h is a
+       generated file.
+
+       * reloc.c (enum bfd_reloc_code_real): Added i386-elf reloc types
+       (from Meissner's additions to bfd-in2.h).
+
+       * elf32-i386.c (ELF_MAXPAGESIZE): Define.
+
+       Merged:
+
+       Wed Jun 23 06:05:58 1993  Michael Meissner  ([email protected])
+
+       * elfcode.h (elf_write_object_contents): Don't drop core if
+       elf_symbol_from returns a NULL pointer when processing a non-elf
+       symbol, use a 0 size instead.
+
+       Tue Jun 15 14:38:32 1993  Michael Meissner  ([email protected])
+
+       * elfcode.h (elf_hash): Delete macro mapping elf_hash to
+       bfd_elf32_hash, since the hash table is independent of the 32/64
+       bit system.
+
+       * libelf.h (elf_hash): Change declaration to bfd_elf_hash, since
+       that is what is in elf.c.
+
+       Sat Jun 19 10:12:27 1993  Michael Meissner  ([email protected])
+
+       * elf32-i386.h (reloc_type): Reformat spacing.
+       (elf_howto_table): Add the rest of the 386/ELF relocations.
+       (elf_i386_reloc_type_lookup): Ditto.
+       (elf_i386_info_to_howto): Ditto.
+       (elf_i386_info_to_howto_rel): Ditto.
+
+Thu Aug  5 10:07:43 1993  Fred Fish  ([email protected])
+
+       * nlmcode.h (nlm_get_reloc_upper_bound):  Test return value
+       of nlm_slurp_symbol_table as boolean, not pointer.
+       * nlmcode.h (nlm_canonicalize_reloc):  Test return value
+       of nlm_slurp_reloc_fixups as boolean, not pointer.
+
+Wed Aug  4 16:22:55 1993  david d `zoo' zuhn  ([email protected])
+
+       * config/go32.mh: remove HDEFINES; since __MSDOS__ and __GO32__
+       are now predefined by GCC
+
+Wed Aug  4 16:06:29 1993  David J. Mackenzie  ([email protected])
+
+       * coffgen.c (coff_print_symbol): Add the section offset to the
+       line number address, so it's printed the same way as the function
+       address.  Only showed up for line numbers that aren't in the first
+       section (.text).
+
+Wed Aug  4 08:33:55 1993  Ian Lance Taylor  ([email protected])
+
+       * libnlm.h (nlm_backend_data): Added nlm_mangle_relocs.
+       (nlm_mangle_relocs_func): New macro.
+       * nlm32-i386.c (nlm_i386_write_reloc): Rewrote correctly.
+       (nlm_i386_mangle_relocs): New function.
+       * nlmcode.h (nlm_compute_section_file_positions): Move all common
+       symbols into the .bss section.
+       (nlm_set_section_contents): Call the mangle_relocs function.
+       (nlm_write_object_contents): Treat a reloc against any defined
+       symbol as an internal reloc.  Fix bug in external reloc counting.
+       Get the offset and debugging type right for .bss symbols.  Only
+       output debugging symbols for defined symbols.
+
+       * coff-h8500.c (rtype2howto): Do an fprintf to stderr rather than
+       using printf.
+       * coff-z8k.c (rtype2howto): Likewise.
+       * coffcode.h (dummy_reloc16_extra_cases): Likewise.
+       * elf32-i386.c (TRACE): Likewise.
+       * hp300hpux.c (convert_sym_type, swap_std_reloc_in): Likewise.
+       * rs6000-core.c (rs6000coff_get_section_contents): Likewise.
+       * coffgen.c (coff_print_symbol): Do an fprintf to the file
+       argument rather than using printf.
+
+Tue Aug  3 18:17:25 1993  Ian Lance Taylor  ([email protected])
+
+       * coffswap.h: Added macros used when accessing several fields;
+       default is the same as before.
+       (coff_swap_aouthdr_{in,out}): Handle the Alpha ECOFF fields.
+       * coff-alpha.c: Defined macros to use the right sizes in
+       coffswap.h.
+       * libecoff.h: Backend information is now in target vector, not
+       BFD.  Start of backend information is COFF backend information.
+       * coff-alpha.c, coff-mips.c: Changed accordingly.
+       * ecoff.c (ecoff_mkobject): New function.
+       (ARMAP_START): Changed into backend information, since Alpha uses
+       a different name.
+       (ecoff_slurp_armap): Don't overlay archive header.
+       * bfd.c: Include libcoff.h.
+
+Tue Aug  3 16:33:11 1993  David J. Mackenzie  ([email protected])
+
+       * Makefile.in (install): Fix sh syntax error.
+
+       * aoutf1.h: Make bfd_error_trap extern; it's defined in bfd.c.
+
+Tue Aug  3 15:19:09 1993  Fred Fish  ([email protected])
+
+       * nlm_slurp_symbol_table: Don't use '&' on arrays.
+
+Tue Aug  3 11:06:28 1993  Ian Lance Taylor  ([email protected])
+
+       * ecoff.c: New file for generic ECOFF functions.
+       * ecoffswap.h: New file for ECOFF swapping functions which differ
+       only slightly for different targets.
+       * libecoff.h: Added prototypes for ecoff.c functions.
+       (ecoff_backend_data): New structure.
+       (ecoff_tdata): Added backend_data field.  Changed external data
+       pointers to be PTR rather than to a particular struct.
+       (ecoff_symbol_struct): Moved in from coff-mips.c.
+       * coff-alpha.c, coff-mips.c: Moved common functions into ecoff.c.
+       Added ECOFF backend structures.  Include ecoffswap.h.
+       * coff-msym.c: Removed; superseded by ecoffswap.h.
+       * bfd.c: Include coff/internal.h.
+       * Makefile.in (BFD_LIBS): Removed coff-mips.o and coff-msym.o.
+       Added ecoff.o.
+       (BFD64_BACKENDS): Added coff-alpha.o.
+       (CFILES): Removed coff-msym.c.  Added ecoff.c.
+       (bfd.o): Added dependency on $(INCDIR)/coff/sym.h.
+       (coff-mips.o): Added dependency on ecoffswap.h and coff/ecoff.h.
+       (ecoff.o, coff-alpha.o): New targets.
+       (coff-msym.o): Removed target.
+
+Mon Aug  2 23:33:38 1993  John Gilmore  ([email protected])
+
+       * elf32-hppa.h, hosts/*:  Remove (one more time) all occurrances
+       of EXFUN in the BFD sources.  Heave ho!
+
+Mon Aug  2 16:45:57 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * coffcode.h (coff_set_arch_mach_hook):  Add check for I386LYNXMAGIC.
+
+Mon Aug  2 12:18:03 1993  david d `zoo' zuhn  ([email protected])
+
+       * hosts/sun3.h: remove some more conflicting decls
+
+Mon Aug  2 11:48:23 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * i386lynx.c:  Remove unnecessary def of N_HEADER_IN_TEXT,
+       redefine TEXT_START_ADDR to be 0.
+
+Sun Aug  1 22:54:08 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * configure.host, configure.in, hosts/i386lynx.h:  Lynx/386
+       host and target info.
+
+Fri Jul 30 18:08:27 1993  Ian Lance Taylor  ([email protected])
+
+       * nlm32-i386.c: New file.  First cut at i386 NLM code.
+       * libnlm.h: Added some more prototypes.
+       (struct nlm_relent): New structure.
+       (nlmNAME(symbol_type)): Added rcnt and relocs fields.
+       (struct nlm_obj_tdata): Added new fields: nlm_symbols,
+       nlm_text_low, nlm_data_low, nlm_reloc_fixups,
+       nlm_reloc_fixup_secs.
+       (struct nlm_backend_data): New structure, with accessor macros.
+       * nlmcode.h: Use NLM_HIBIT rather than MSB.
+       (nlm_object_p): Set SEC_RELOC for .text and .data.  Don't set
+       SEC_DATA for .bss.  Set HAS_RELOC and HAS_SYMS for abfd.  Set the
+       architecture.
+       (nlm_swap_fixed_header_out, nlm_swap_variable_header_out,
+       find_nonzero, nlm_swap_auxiliary_headers_out): New outbound
+       swapping functions.
+       (nlm_get_symtab_upper_bound, nlm_slurp_symbol_table): Include
+       external references in symbol table as undefined symbols.
+       (nlm_get_symtab, nlm_slurp_symbol_table): Fill in alocation
+       argument in get_symtab rather than in slurp_symbol_table.
+       (nlm_slurp_symbol_table): Save symbol information in tdata.
+       (nlm_print_symbol): New function.
+       (nlm_slurp_reloc_fixups, nlm_get_reloc_upper_bound,
+       nlm_canonicalize_reloc): New functions to read relocs.
+       (nlm_compute_section_file_positions, nlm_set_section_contents,
+       nlm_external_reloc_compare, nlm_write_object_contents): New
+       functions to create NLM files.
+       * nlm-target.h: Define all the nlm functions here either as
+       default values or in terms of nlmNAME.  Use JUMP_TABLE(nlm).  Set
+       the backend_data field to TARGET_BACKEND_DATA.
+       * nlm32-gen.c, nlm64-gen.c: Don't define function macros here;
+       they are now in nlm-target.h.
+       (TARGET_BACKEND_DATA): Define as NULL.
+       * nlm.c (nlm_mkobject): Do allocate the tdata field.
+       (nlm_set_arch_mach): New function.
+       * targets.c: Added nlm32_i386_vec.
+       * Makefile.in (BFD32_BACKENDS): Added nlm32-i386.o.
+       (CFILES): Added nlm32-i386.c.
+       (nlm32-gen.o, nlm64-gen.o): Depend on nlm-target.h.
+       (nlm32-i386.o): New target.
+
+Thu Jul 29 20:20:39 1993  david d `zoo' zuhn  ([email protected])
+
+       * hosts/sun3.h: remove some function decls that conflict w/ ANSI
+       C, and aren't needed anyway (return int)
+
+Wed Jul 28 15:46:38 1993  Ken Raeburn  ([email protected])
+
+       * elfcode.h: Use casts with bfd_alloc and alloca.
+
+Tue Jul 27 12:51:43 1993  Fred Fish  ([email protected])
+
+       * nlm{32,64}-gen.c (JUMP_TABLE_PREFIX):  Delete.
+       * nlm{32,64}-gen.c (JUMP_TABLE_INIT):  New macro that works with
+       older cpp's, that don't do additional replacement on the JUMP_TABLE
+       macro's argument.
+       * nlm-target.h (JUMP_TABLE_INIT):  Use new macro in place of
+       JUMP_TABLE macro.
+
+Mon Jul 26 17:39:01 1993  Jim Kingdon  ([email protected])
+
+       Yet another trad-core variant:
+       * config/esix.mh, hosts/esix.h: New files.
+       * configure.hosts: Use them.
+
+Mon Jul 26 13:22:15 1993  Ian Lance Taylor  ([email protected])
+
+       * reloc.c (bfd_perform_relocation): Handle the case of
+       complain_overflow_bitfield, rightshift > bitpos, and a negative
+       number.
+
+Mon Jul 26 14:40:10 1993  Ken Raeburn  ([email protected])
+
+       * elfcode.h: Reimplement segment writing.
+       (elf_write_phdrs): Use precomputed e_phoff rather than making
+       assumptions.
+       (elf_build_phdrs): Disabled, for now.
+       (assign_file_position_for_section): Don't change file offset for
+       SHT_NOBITS.
+       (assign_file_positions_for_symtab_and_strtabs): New function.
+       (struct seg_info): New type.
+       (map_program_segments): New function.
+       (assign_file_positions_except_relocs): For executables, leave
+       section headers &c for last, and properly align all sections with
+       flag SHF_ALLOC set.
+       (prep_headers): No longer abort when EXEC_P is set.
+       (write_shdrs_and_ehdr): Deleted all code relating to program
+       segments.
+
+       * elfcode.h (various): Deleted some unused code, and debugging
+       "malloc(0)" calls.
+       (write_relocs): Cache value of last symbol looked up, to save
+       time if the symbol is referred to repeatedly.
+       (elf_fake_sections): Check only SEC_RELOC flag, not number of
+       relocs.
+       (assign_section_numbers): Likewise.
+
+       * Makefile.in (ofiles): Stars in wildcards belong outside quotes.
+
+       * libelf.h (struct elf_backend_data): New field, maxpagesize.
+       (struct elf_obj_tdata): New field, phdr.
+       * elf32-target.h (elf32_bed): Initialize maxpagesize from
+       ELF_MAXPAGESIZE.
+       (ELF_MAXPAGESIZE): Default to 1.
+       * elf64-target.h (elf64_bed, ELF_MAXPAGESIZE): Likewise.
+       * elf32-sparc.c (ELF_MAXPAGESIZE): Define.
+       (elf_sparc_howto_table): All relocs should have pcrel_offset=true.
+       Most should have length field of `2'.
+
+       * reloc.c (bfd_perform_relocation): Handle 64-bit relocs.
+
+       * config/sparc-aout.mt (TARGET_BACKENDS): Define.
+
+Mon Jul 26 08:56:16 1993  Ian Lance Taylor  ([email protected])
+
+       * configure.in: Don't look in ${srcdir} for ${target_makefile_frag};
+       the top level script has already adjusted for it.
+
+Mon Jul 26 08:09:19 1993  Steve Chamberlain  ([email protected])
+
+       * srec.c (srec_write_symbols):  Get CR LF in the right order.
+
+Mon Jul 26 02:08:41 1993  Jim Kingdon  ([email protected])
+
+       * hosts/vaxbsd.h: Include std-host.h.  Don't include <machine/param.h>.
+
+Sat Jul 24 16:13:01 1993  Ian Lance Taylor  ([email protected])
+
+       * reloc.c (bfd_perform_relocation): Handle case of rightshift !=
+       bitpos when overflow checking.
+
+Fri Jul 23 10:20:27 1993  Doug Evans  ([email protected])
+
+       * bfd.c (bfd_nonrepresentable_section, bfd_undefined_symbol,
+       bfd_reloc_value_truncated, bfd_reloc_is_dangerous, bfd_assert):
+       Send error messages to stderr.
+
+Thu Jul 22 15:57:29 1993  Fred Fish  ([email protected])
+
+       * nlm{32,64}-target.h:  Remove.
+       * nlm-target.h:  New file, merged from nlm{32,64}-target.h
+       * libnlm.h (NLM_ARCH_SIZE):  Define to ARCH_SIZE.
+       * nlm.c (ARCH_SIZE):  Remove define to zero.
+       * nlm32-gen.c (ARCH_SIZE):  Define to 32.
+       * nlm32-gen.c (JUMP_TABLE_PREFIX):  Define to nlm32.
+       * nlm{32,64}-gen.c (nlm-target.h):  Include.
+       * targets.c, libnlm.h, nlm.c, nlm{32,64}-gen.c, nlm{32,64}.c,
+       nlmcode.h:  Convert prefixes from bfd_nlm<size> to just
+       nlm<size>, and use macros select size.
+
+Thu Jul 22 15:40:14 1993  K. Richard Pixley  ([email protected])
+
+       * Makefile.in (Makefile): add configure.in, drop redundant
+         $(srcdir), drop redundant ./
+
+Thu Jul 22 13:34:57 1993  Ian Lance Taylor  ([email protected])
+
+       * hpux-core.c: New file; backend for HP/UX style core files.
+       * bfd.c (struct _bfd): Renamed hppa_core_data field to
+       hpux_core_data.
+       * bfd-in2.h: Updated.
+       * hppa.c (make_bfd_asection, hppa_core_file_p,
+       hppa_core_file_failing_command, hppa_core_file_failing_signal,
+       hppa_core_file_matches_executable_p): Moved into hpux-core.c.
+       Removed from target vector.
+       * libhppa.h (struct hppa_core_struct and accessor macros): Moved
+       into hpux-core.c.
+       * targets.c: If HPUX_CORE is defined, add hpux_core_vec to
+       target list.
+       * config/hp300.mh (HDEFINES): Set to -DHPUX_CORE.
+       (HDEPFILES): Set to hpux-core.o.
+       * config/hppabsd.mh, config/hppahpux.mh: Likewise.
+       * hosts/hp300.h (HOST_HP300HPUX): Define.
+       * Makefile.in (OPTIONAL_BACKENDS): Added sco-core.o,
+       aix386-core.o, hpux-core.o.
+       (sco-core.o, aix386-core.o, hpux-core.o): New dependencies.
+
+       * reloc.c (enum complain_overflow): New enumeration with the
+       various flavours of overflow checking.
+       (srtuct reloc_howto_struct): Changed complain_on_overflow field
+       from boolean to emum complain_overflow.  Removed obsolete absolute
+       field.
+       (HOWTO): Removed absolute argument.
+       (bfd_perform_relocation): Do overflow checking on all types of
+       fields.
+       * bfd-in2.h: Updated accordingly.
+       * all targets: Updated initialization of reloc howto tables.
+
+Wed Jul 21 20:34:34 1993  Ken Raeburn  ([email protected])
+
+       * opncls.c (bfd_create): Don't use C++ keyword "template" as a C
+       variable name.
+
+Tue Jul 20 15:02:23 1993  Fred Fish  ([email protected])
+
+       * coff-m68k.c (m68k_howto2rtype):  Make arg CONST to match callers.
+
+       * elfcode.h:  Fix several illegal pointer combination warnings for
+       usages of bfd_alloc and alloca.
+
+       * libnlm.h (nlm_obj_tdata):  Rename hidden struct members to avoid
+       apparent Sun C preprocessor recursion.  Fix access macros.
+       * nlmcode.h:  Remove spurious '&' before several array references.
+
+Tue Jul 20 14:36:27 1993  Jim Kingdon  ([email protected])
+
+       * Rename for DOS uniqueness: coff-m68k-un.c -> coff-u68k.c
+       config/m68k-coffun.mt -> u68k-coff.mt.
+       * Makefile.in, configure.in: Corresponding changes.
+
+Tue Jul 20 16:21:52 1993  Ken Raeburn  ([email protected])
+
+       * elf32-sparc.c (elf_sparc_howto_table): Don't use "&" before
+       function name; it's valid without, and some compilers give
+       warnings with it there.
+
+Tue Jul 20 08:21:15 1993  Fred Fish  ([email protected])
+
+       * bfd-in.h:  Apply some of the changes that were made to bfd-in2.h.
+       * bfd.c (union tdata):  Add nlm_obj_data;
+       * targets.c (enum target_flavour):  Add bfd_target_nlm_flavour.
+
+Mon Jul 19 20:46:18 1993  Fred Fish  ([email protected])
+
+       * configure.in (*-*-netware, i[34]86-*-netware):  New configs.
+       * Makefile.in (BFD32_BACKENDS):  Add nlm.o, nlm32.o, nlm32-gen.o.
+       * Makefile.in (BFD64_BACKENDS):  Add nlm64.o, nlm64-gen.o.
+       * Makefile.in (CFILES):  Add nlm{32,64}.c, nlm{32,64}-gen.c.
+       * Makefile.in (nlm.o, nlm{32,64}.o, nlm{32,64}-gen.o:  New targets.
+       * bfd-in2.h (INLINE):  Defines moved here.
+       * {aoutx.h, elf.c, elfcode.h}:  Move INLINE defines to bfd-in2.h.
+       * libelf.h (CAT4):  Move define to bfd-in2.h.
+       * bfd-in2.h (CAT4):  Merge CAT4 macro with other CAT macros.
+       * bfd-in2.h (union tdata):  Add nlm_obj_data.
+       * bfd-in2.h (enum target_flavour):  Add bfd_target_nlm_flavour.
+       * targets.c (bfd_nlm{32,64}_{big,little}_vec):  Add prototypes.
+       * targets.c (target_vector):  Add bfd_nlm{32,64}_{big,little}_vec.
+       * (libnlm.h, nlm.c, nlmcode.h, nlm{32,64}-gen.c,
+       nlm{32,64}-target.h, nlm{32,64}.c, config/i386-nlm.mt):  New files
+       for NLM support.
+
+Mon Jul 19 15:09:01 1993  david d `zoo' zuhn  ([email protected])
+
+       * configure.{hosts,in}: add i[34]86-*-lynxos* support
+
+Mon Jul 19 14:53:30 1993  Ken Raeburn  ([email protected])
+
+       * elf.c, elfcode.h, libelf.h: Serious reorganization.
+       Deleted `thunk' structure, merged into tdata, duplicate data
+       eliminated.
+       Rearranged functions, grouping by functionality.
+       Broke up many functions in elfcode.h, re-ordered many parts of
+       file writing to handle unpredictable state of section relocation
+       table as provided by various applications.
+       Still needs cleanup: Merge functions back together, split out
+       data structure with only data that is used only when writing out
+       object file.
+
+       * elf.c (bfd_elf_generic_reloc): New function, taken from
+       coff-mips.c.
+       * elf32-sparc.c (elf_sparc_howto_table): Use it, to work around
+       bfd_perform_relocation lossage.
+
+       * Makefile.in (BFD_LIBS): Include coff-mips.o and coff-msym.o, so
+       that gdb will link.
+       (ofiles): Don't use sort or uniq; do it with sh constructs.
+
+Sun Jul 18 19:42:14 1993  Jim Kingdon  ([email protected])
+
+       * coffcode.h: Recognize I386PTXMAGIC.
+       * aoutf1.h, libaout.h: Add M_386_DYNIX.
+       * trad-core.c (TRAD_CORE_USER_OFFSET, TRAD_CORE_STACK_FILEPOS):
+       New macros; use it if defined.
+       * config/symmetry.mh, hosts/symmetry.h: New files.
+
+Fri Jul 16 14:56:31 1993  Jim Kingdon  ([email protected])
+
+       * Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.
+       * Makefile.in: Change accordingly.
+       (CFILES): Add elf64-gen.c.
+
+Fri Jul 16 09:53:23 1993  Ian Lance Taylor  ([email protected])
+
+       * coff-mips.c: Use MIPS_AOUT_{OZ}MAGIC rather than {OZ}MAGIC.
+
+Thu Jul 15 16:02:07 1993  Ian Lance Taylor  ([email protected])
+
+       * coff-m88k.c (howto_table): Corrected bitsize for R_PCR26L from
+       16 to 26.
+
+Wed Jul 14 15:29:56 1993  Jim Kingdon  ([email protected])
+
+       * hppa.c [HOST_HPPABSD]: Use hpux-style core files.
+       * libhppa.h [HOST_HPPABSD]: Include hpux version of core.h
+
+Wed Jul 14 09:30:48 1993  Doug Evans  ([email protected])
+
+       * configure.in: Recognize h8300h-*-*.
+
+Tue Jul 13 12:03:00 1993  Steve Chamberlain  ([email protected])
+
+       * coff-h8500.c (reloc_processing, rtype2howto): New relocation
+       type R_H8500_HIGH_16.
+       * coff-sh.c (r_imm32): Get the width of the reloc right.
+
+Tue Jul 13 16:48:56 1993  Frederic Pierresteguy ([email protected])
+
+       * configure.in: Add new target m68k-coffun to the dpx/2.
+       * config/m68k-coffun.mt: New file, renamed from config/dpx2.mt.
+
+Mon Jul 12 10:42:49 1993  Ken Raeburn  ([email protected])
+
+       * reloc.c (enum bfd_reloc_code_real): Move SPARC_BASE13 reloc into
+       sparc-aout-specific list.
+
+       * libelf.h (struct elf_obj_tdata): Add field `thunk'.
+
+       * config/sparc-elf.mt (TARGET_BACKENDS): New make variable.
+
+Thu Jul  1 14:52:47 1993  Frederic Pierresteguy ([email protected])
+                         and Jim Kingdon ([email protected])
+
+       * elfcode.h: Use memset not bzero.
+       * trad-core.c: Don't include <sys/file.h>.
+       * i386linux.h: Include <sys/file.h>.
+       * coff-m68k-un.c: new file to handle names with underscores on
+       svr3 machines.
+       * coff-m68k.c (m68k_rtype2howto): added #ifdef ONLY_DECLARE_RELOCS 
+       to not duplicate the function in the executable.
+       (TARGET_SYM, TARGET_NAME, NAMES_HAVE_UNDERSCORE): new macros needed
+       by coff-m68k-un.c.
+       * coffcode.h (MC68KBCSMAGIC): case added.
+       * targets.c: Add m68kcoffun_vec.
+       * configure.host: added support for Bull dpx/2.
+       * config/dpx2.mh, hosts/dpx2.h: new files.
+       * Makefile.in: added target coff-m68k-un.
+
+Fri Jul  9 00:43:06 1993  Jim Kingdon  ([email protected])
+
+       * aoutf1.h: Add definition of MACHTYPE_OK.
+
+Thu Jul  8 14:37:44 1993  David J. Mackenzie  ([email protected])
+
+       * reloc.c (bfd_perform_relocation): Don't subtract the addend
+       again for coff.
+
+       * syms.c, bfd-in2.h: Doc fix.
+
+       * coffcode.h (CALC_ADDEND): Check for common section using the
+       section flag as well as the symbol flag.
+
+Thu Jul  8 13:43:52 1993  Jim Kingdon  ([email protected])
+
+       * hosts/i386bsd.h: Conditionalize HOST_STACK_END_ADDR on __bsdi__.
+       i386bsd.c: Remove defines of N_TXT*; the versions in aout64.h should
+       be sufficient.  Define TEXT_START_ADDR.
+
+Wed Jul  7 10:56:21 1993  Ian Lance Taylor  ([email protected])
+
+       * aoutx.h (translate_from_native_sym_flags): Removed statep
+       argument.  Just let an indirect symbol point to the next symbol
+       without forcing the next symbol to be undefined.  Changed all
+       callers.
+       * hp300hpux.c (slurp_symbol_table): Changed call to
+       translate_from_native_sym_flags.
+       * targets.c: Added hp300hpux_vec.
+       * Makefile.in (hp300hpux.o): Added dependencies.
+
+Tue Jul  6 13:24:55 1993  Ken Raeburn  ([email protected])
+
+       * reloc.c (enum bfd_reloc_code_real): Put simple power-of-two
+       relocs together, and add 64-bit versions.
+       (bfd_generic_get_relocated_section_contents): Argument to alloca
+       is size_t.
+
+       * libbfd.c (bfd_xmalloc_by_size_t): New function.
+       * opncls.c (bfd_cache_init, bfd_open_file): Add prototypes to
+       declarations.
+       (obstack_chunk_alloc): Use bfd_xmalloc_by_size_t.
+       (new_bfd): Prototype-style definition, using DEFUN.
+       (bfd_alloc_grow, bfd_alloc, bfd_zalloc, bfd_realloc): Size
+       argument is type size_t, not bfd_size_type.
+       * ieee.c (obstack_chunk_alloc): Use bfd_xmalloc_by_size_t.
+       * bfd.c (bfd_default_error_trap, bfd_error_trap,
+       bfd_error_nonrepresentabltrap): Prototypes.
+       * libbfd-in.h (bfd_alloc, bfd_zalloc, bfd_realloc,
+       bfd_alloc_grow): Adjusted prototypes for arg type change.
+       * archive.c (get_elt_at_filepos, do_slurp_bsd_armap, normalize,
+       do_slurp_coff_armap, bfd_construct_extended_name_table):
+       Prototypes.
+       * elfcode.h (elf_string_from_elf_strtab): Prototypes.
+       * libelf.h (elf_string_from_elf_section, elf_get_str_section):
+       Prototypes.
+
+       * Makefile.in (ALL_MACHINES): Renamed from BFD_MACHINES.
+       (ofiles): New target.  Build a list of unique file names, in case
+       any got duplicated.
+       (TARGETLIB): Use list of files from ofiles.
+       * configure.in: Set BFD_MACHINES and BFD_BACKENDS depending on
+       minimal-bfd flag and target makefile frag contents.
+
+       * elfcode.h (elf_read): Delete static declaration, since function
+       has moved.
+       (elf_map_symbols): Write out section symbols for all sections, for
+       now.
+       (elf_symbol_from_bfd_symbol): Allow match if both symbols are
+       section symbols for the same section.
+       (elf_find_nearest_line): Don't print message, just return false.
+
+       * libelf.h (bfd_elf_locate_sh): Declaration deleted.
+
+Mon Jul  5 16:48:11 1993  Doug Evans  ([email protected])
+
+       * cpu-h8300.c (h8300_scan): Fix parsing of architecture string.
+
+Fri Jul  2 18:27:00 1993  Jim Kingdon  ([email protected])
+
+       * Makefile.in (clean): Remove bfd.h and stmp-bfd.h.
+       (realclean): Remove generated headers.
+
+Fri Jul  2 14:51:51 1993  Peter Schauer  ([email protected])
+
+       * section.c (bfd_set_section_content):  Deny if file is not opened with
+       the proper mode, set output_has_begun if file is openened for update.
+       * aoutx.h (aout_*_set_section_content):  Remove checks that are now
+       done in bfd_set_section_content.
+
+Fri Jul  2 09:25:20 1993  Ian Lance Taylor  ([email protected])
+
+       * 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  ([email protected])
+
+       * configure.in, hosts/delta68.h, config/delta68.mh: Add stuff for
+       Motorola Delta 68.
+
+Wed Jun 30 06:02:43 1993  Ken Raeburn  ([email protected])
+
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * aoutx.h (some_aout_object_p): If *oldrawptr is non-NULL, copy it
+       into *rawptr.
+
+Sun Jun 27 09:05:19 1993  Jim Kingdon  ([email protected])
+
+       * hosts/riscos.h: Define NBPG and UPAGES.
+
+Sun Jun 27 16:28:26 1993  Ken Raeburn  ([email protected])
+
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * 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  ([email protected])
+
+       * hosts/riscos.h: New file.
+
 Tue Jun 22 14:35:20 1993  Ken Raeburn  ([email protected])
 
        * elfcode.h (bfd_section_from_shdr, case SHT_PROGBITS): Even if
@@ -7,6 +827,11 @@ Tue Jun 22 16:36:51 1993  Jim Kingdon  ([email protected])
 
        * hosts/std-host.h: Return value of puts and fputs is int not void.
 
+Tue Jun 22 14:25:58 1993  David J. Mackenzie  ([email protected])
+
+       * 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  ([email protected])
 
        * elf32-target.h, elf32-hppa.c, elfcode.h: Use new
This page took 0.055502 seconds and 4 git commands to generate.