2000-05-02 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index cf9c8eb9197700d7328b36c8a04f059869446281..10112b2db165a90a75926715055067774daf24ba 100644 (file)
@@ -1,3 +1,119 @@
+2000-05-02  H.J. Lu  <hjl@gnu.org>
+
+       * elf.c (prep_headers): USe ELFOSABI_NONE instead of
+       ELFOSABI_SYSV.
+
+2000-05-02  Alan Modra  <alan@linuxcare.com.au>
+
+       * targets.c (bfd_target_vector): Restore bfd_elf32_hppa_vec.
+       * Makefile.am (BFD32_BACKENDS): Restore elf32-hppa.lo.  Regenerate
+       dependencies.
+       * Makefile.in: Regenerate.
+
+Mon May  1 16:56:47 2000  Jim Wilson  <wilson@cygnus.com>
+
+       * Makefile.am (BFD32_BACKENDS): Add efi-app-ia32.lo.
+       (BFD32_BACKENDS_CFILES): Add efi-app-ia32.c.
+       (BFD64_BACKENDS): Delete coff-ia64.lo.  Add efi-app-ia64.lo.
+       (BFD64_BACKENDS_CFILES): Delete coff-ia64.c.  Add efi-app-ia64.c.
+       * Makefile.in: Rebuild.
+
+2000-05-02  Alan Modra  <alan@linuxcare.com.au>
+
+       * config.bfd: Re-enable elf32-hppa.  It now compiles, even if it
+       doesn't work very well.
+
+       * elf-hppa.h (elf_hppa_internal_shdr): Define.
+       (elf_hppa_fake_sections): hdr is elf_hppa_internal_shdr.
+       Set hdr->s_type to 1 if ARCH_SIZE == 32.
+       (_bfd_elf_hppa_gen_reloc_type): Add prototype.
+       (elf_hppa_info_to_howto): Likewise.
+       (elf_hppa_info_to_howto_rel): Likewise.
+       (elf_hppa_reloc_type_lookup): Likewise.
+       (elf_hppa_is_local_label_name): Likewise.
+       (elf_hppa_fake_sections): Likewise.
+       (elf_hppa_final_write_processing): Likewise.
+       (elf_hppa_howto_table): Fully initialise all entries.
+       (_bfd_elf_hppa_gen_reloc_type): Add ATTRIBUTE_UNUSED to args.
+       (elf_hppa_info_to_howto): Likewise.
+       (elf_hppa_info_to_howto_rel): Likewise.
+       (elf_hppa_reloc_type_lookup): Likewise.
+       (elf_hppa_final_write_processing, elf_hppa_add_symbol_hook,
+       elf_hppa_unmark_useless_dynamic_symbols,
+       elf_hppa_remark_useless_dynamic_symbols,
+       elf_hppa_record_segment_addrs, elf_hppa_final_link,
+       elf_hppa_relocate_section, elf_hppa_final_link_relocate,
+       elf_hppa_relocate_insn): Compile only if ARCH_SIZE == 64 until
+       elf32-hppa.c mess is cleaned up.
+       (elf_hppa_final_link_relocate): Make insn and r_type unsigned
+       int.  Delete r_field.  In case R_PARISC_PCREL21L, don't set
+       r_field then call hppa_field_adjust inline func with variable
+       r_field arg, instead call hppa_field_adjust with fixed arg.
+       In case R_PARISC_PCREL22F, don't set r_field.
+       (elf_hppa_relocate_insn): Change args and return type to unsigned
+       int.  Call re_assemble_* funcs to do the work.
+
+       * elf32-hppa.c (hppa_elf_relocate_insn): Don't assume 32 bit when
+       sign extending.
+
+       * libhppa.h (HPPA_R_CONSTANT): Don't assume 32 bit when sign
+       extending.
+       (sign_extend): Mask first before sign extending.
+       (low_sign_extend): Rewrite without condition expression.
+       (ones, dis_assemble_3, dis_assemble_12, dis_assemble_16,
+       dis_assemble_17, dis_assemble_21, dis_assemble_22): Delete.
+       (assemble_3, assemble_6, assemble_12, assemble_16, assemble_16a,
+       assemble_17, assemble_21, sign_unext, low_sign_unext): Return
+       result as function return value rather than through pointer arg.
+       Accept unsigned int args, and return unsigned int.
+       (re_assemble_3): New.  Combines function of dis_assemble_3 with
+       re-assembly of opcode and immediate.
+       (re_assemble_12): Likewise.
+       (re_assemble_16): Likewise.
+       (re_assemble_17): Likewise.
+       (re_assemble_21): Likewise.
+       (re_assemble_22): Likewise.
+       (hppa_field_adjust): Rewrite and document, paying attention to
+       size of types and signed/unsigned issues.
+       (get_opcode): Shift before masking.
+       (FDLW): Rename to FLDW.
+       (bfd_hppa_insn2fmt): Change arg to unsigned int.  Delete fmt.
+       (hppa_rebuild_insn): Change args and return value to unsigned
+       int.  Make use of re_assemble_*.  Correct case 11.
+       
+       * dep-in.sed: Handle ../opcodes/.
+       * Makefile.am (SOURCE_HFILES): Add elf-hppa.h, elf32-hppa.h,
+       elf64-hppa.h, hppa_stubs.h, xcoff.h.
+       (BFD32_BACKENDS_CFILES): Restore elf32-hppa.c.
+       Remove elf64-hppa.lo, cpu-ia64.lo, elf64-ia64.lo, elfarm-oabi.lo,
+       elfarm-nabi.lo dependencies outside of auto-dependency area.
+       Regenerate dependencies.
+       * Makefile.in: Regenerate.
+
+       * configure.in (TRAD_HEADER): Test non-null before
+       AC_DEFINE_UNQUOTED.
+       * configure: Regenerate.
+
+       * reloc.c: Fix mis-spelling in comment.
+
+2000-05-01  Alan Modra  <alan@linuxcare.com.au>
+
+       * coff-sh.c (bfd_coff_small_swap_table): Fix Fri Apr 28 change.
+       * vms.c (vms_openr_next_archived_file): Return NULL.
+
+Fri Apr 28 21:34:44 2000  Clinton Popetz  <cpopetz@cygnus.com>
+
+       * coffcode.h Copy changes mistakenly done to libcoff.h in
+       4/24/2000 patch.        
+
+2000-04-29  Andreas Jaeger  <aj@suse.de>
+
+       * libbfd-in.h: Correctly check GCC version.
+       * bfd-in.h: Likewise.
+       * libhppa.h: Likewise.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
 Fri Apr 28 14:58:37 2000  Clinton Popetz  <cpopetz@cygnus.com>
 
        * Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): Add
This page took 0.122241 seconds and 4 git commands to generate.