Restore GET_SAVED_REGISTERS
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 9836baf77631093761080b10e5cd7b1661e72ed9..5f3534cc2ed9d1222ace17a5ddeaf8644b09e0f7 100644 (file)
@@ -1,3 +1,248 @@
+2000-08-11  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.
+
+2000-08-10  Jason Eckhardt  <jle@cygnus.com>
+
+        * elf32-i860.c (elf32_i860_relocate_section): New function.
+        (i860_final_link_relocate): New function.
+        (elf32_i860_relocate_splitn): New function.
+        (elf32_i860_relocate_pc16): New function. 
+        (elf32_i860_relocate_highadj): New function.
+        (elf32_i860_howto): Minor adjustments to some relocations.
+        (elf_info_to_howto_rel): Define.
+        (elf_backend_relocate_section): Define.
+
+2000-08-10  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-arm.h: Fix formatting.
+
+2000-08-10  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * elf32-sh.c (sh_elf_reloc_loop): Make LAST_SYMBOL_SECTION static.
+
+2000-08-08  Jason Eckhardt  <jle@cygnus.com>
+
+       * elf32-i860.c (elf32_i860_howto_table): Updated some fields.
+
+2000-08-07  Kazu Hirata  <kazu@hxi.com>
+
+       * ieee.c (ieee_write_debug_part): Rewrite a comment.
+       * elf64-ia64.c: Fix a typo.
+
+2000-08-05  Jason Eckhardt  <jle@cygnus.com>
+
+       * elf32-i860 (elf32_i860_howto_table): New structure.
+       (lookup_howto): New function.
+       (elf32_i860_reloc_type_lookup): New function.
+       (elf32_i860_info_to_howto_rela): New function.
+       (elf_code_to_howto_index): New structure.
+       (elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela.
+       (bfd_elf32_bfd_reloc_type_lookup): Re-define as
+       elf32_i860_reloc_type_lookup.
+
+2000-08-04  Rodney Brown  <RodneyBrown@pmsc.com>
+
+       * som.c (struct fixup_format): Constify `format'.
+       (som_hppa_howto_table): Use SOM_HOWTO macro.
+       (try_prev_fixup, hppa_som_reloc): Decorate unused parameter.
+       (som_bfd_reloc_type_lookup): Likewise.
+       (compare_subspaces): Remove unused `count1', `count2'.
+       (som_begin_writing): Remove unused `total_reloc_size'.
+       (som_bfd_derive_misc_symbol_info): Decorate unused parameter.
+       (som_print_symbol, som_bfd_is_local_label_name): Likewise.
+       (som_set_reloc_info): Constify `cp'. Remove unused `addend'.
+       (som_find_nearest_line): Decorate unused parameter(s).
+       (som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise.
+       (som_bfd_link_split_section): Likewise. 
+
+2000-08-03  Nick Clifton  <nickc@cygnus.com>
+
+       * section.c: Restore backed out code.
+       * elf.c: Restore backed out code.
+       (copy_private_bfd_data): Fix bug preventing stipped dynamic
+       binaries from working.
+       * bfd-in2.h: Regenerate.
+
+2000-08-03  H.J. Lu  <hjl@gnu.org>
+
+       * section.c: Back out the change made by Nick Clifton
+       <nickc@cygnus.com> on 2000-07-31. It breaks stripping dynamic
+       binaries.
+       * bfd-in2.h: Likewise.
+       * elf.c: Likewise.
+
+2000-08-03  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-sh.c (sh_elf_reloc_loop): Warning removal.
+
+2000-07-31  Jason Eckhardt  <jle@cygnus.com>
+
+        * reloc.c (BFD_RELOC_860_*): New bfd relocs for i860.
+        * bfd-in2.h, libbfd.h: Regenerate.
+
+2000-07-31  Nick Clifton  <nickc@cygnus.com>
+
+       * section.c (struct sec): Add new boolean field 'segment_mark'.
+       (STD_SECTION): Initialise new field to zero.
+
+       * bfd-in2.h: Regenerate.
+
+       * elf.c (copy_private_bfd_data): Reorganise section to segment 
+       mapping to cope with moved sections requiring new segments,
+       and overlapping segments.
+       (SEGMENT_END): New macro: Return the end address of a segment.
+       (IS_CONTAINED_BY_VMA): New macro: Determine if a segment
+       contains a section by comparing their VMA addresses.
+       (IS_CONTAINED_BY_LMA): New macro: Determine if a segment
+       contains a section by comparing their LMA addresses.
+       (INCLUDE_SECTION_IN_SEGMENT): New macro: Determine if a
+       section should be included in a segment.
+       (SEGMENT_AFTER_SEGMENT): New macro: Determine if one segment
+       follows another in memory.
+       (SEGMENT_OVERLAPS_SEGMENT): New macro: Determine if two
+       segments overlap.
+
+200007-22  Jason Eckhardt  <jle@cygnus.com>
+
+       * cpu-i860.c: Added comments.
+
+       * elf32-i860.c (TARGET_LITTLE_SYM): Defined to
+       bfd_elf32_i860_little_vec.
+       (TARGET_LITTLE_NAME): Defined to "elf32-i860-little".
+       (ELF_MAXPAGESIZE): Changed to 4096.
+
+       * targets.c (bfd_elf32_i860_little_vec): Declaration of
+       new target.
+       (bfd_target_vector): Added bfd_elf32_i860_little_vec.
+
+       * config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added
+       config for little endian elf32 i860.
+       (targ_defvec): Define for the new config above
+       as "bfd_elf32_i860_little_vec". 
+       (targ_selvecs): Define for the new config above
+       as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec"
+
+       * configure.in (bfd_elf32_i860_little_vec): Added recognition
+       of new target vec.
+
+       * configure: Regenerated.
+
+2000-07-27  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.h (elf_merge_symbol): Take one more argument,
+       dt_needed, to indicate if the symbol comes from a DT_NEEDED
+       entry. Don't overide the existing weak definition if dt_needed
+       is true.
+       (elf_link_add_object_symbols): Pass dt_needed to
+       elf_merge_symbol ().
+
+2000-07-27  Nick Clifton  <nickc@cygnus.com>
+
+       * elflink.h (elf_link_size_reloc_section): Zeroes the section's
+       allocated contents.
+
+2000-07-25  Geoffrey Keating  <geoffk@cygnus.com>
+
+       * configure.host (*-*-aix*): AIX has 'long long' always.
+
+       * coff-rs6000.c (xcoff_write_one_armap_big): New procedure.
+       (xcoff_write_armap_big): Write both 32-bit and 64-bit armaps.
+       (xcoff_write_archive_contents_big): Don't update the offset
+       of the symbol table, xcoff_write_armap will do it.
+
+2000-07-23  Ulf Carlsson  <ulfc@engr.sgi.com>
+
+       * elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead
+       of dynobj for SGI_COMPAT checks.
+
+2000-07-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+        * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): New function.
+        * bfd-in.h (bfd_m68k_coff_create_embedded_relocs): Add declaration.
+        * bfd-in2.h: Regenerate.
+
+2000-07-21  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-mips.c (_bfd_mips_elf_check_relocs): Detect out of
+       range symbol indices in relocs and issue an error message.
+
+2000-07-20  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check
+       info->new_dtags when setting DT_FLAGS_1. It will only be set
+       by the new linker options. It shouldn't break anything.
+
+2000-07-20  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1
+       only if info->new_dtags is true.
+
+2000-07-20  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set
+       DT_RUNPATH and DT_FLAGS only if info->new_dtags is true.
+
+2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       * Makefile.am (ALL_MACHINES): Add cpu-cris.lo.
+       (ALL_MACHINES_CFILES): Add cpu-cris.c.
+       (BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo.
+       (BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c.
+       (cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules.
+       * Makefile.in: Rebuild.
+       * aclocal.m4: Rebuild.
+       * aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris.
+       * archures.c (enum bfd_architecture): Add bfd_arch_cris.
+       (bfd_cris_arch): Declare.
+       (bfd_archures_list): Add bfd_cris_arch.
+       * bfd-in2.h: Rebuild.
+       * config.bfd: (cris-*-*): New target.
+       * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors.
+       * configure: Rebuild.
+       * elf.c (prep_headers): Add bfd_arch_cris.
+       * libbfd.h: Rebuild.
+       * libaout.h (enum machine_type): Add M_CRIS.
+       * reloc.c: Add CRIS relocations.
+       * targets.c (bfd_elf32_cris_vec, cris_aout_vec): Declare.
+       (bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec.
+       * cpu-cris.c, aout-cris.c, elf32-cris.c: New files.
+       * po/POTFILES.in, po/bfd.pot: Regenerate.
+
+2000-07-19  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-arm.h (elf32_arm_size_dynamic_sections): Also set
+       DF_TEXTREL if DT_TEXTREL is set.
+       * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
+       * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
+       * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
+       * elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise.
+       * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
+       * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
+       * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
+       * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
+       * elf64-ia64.c (elf64_ia64_size_dynamic_sections): Likewise.
+       * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise.
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also
+       set DF_SYMBOLIC for symbolic link. Also set DT_RUNPATH if
+       DT_RPATH is set.
+       Set the DT_FLAGS and DT_FLAGS_1 entries if necessary.
+
+2000-07-19  H.J. Lu  <hjl@gnu.org>
+
+       * bfd-in.h (bfd_elf_set_dt_needed_soname): New.
+       * bfd-in2.h: Rebuild.
+
+       * elf-bfd.h (elf_obj_tdata): Add dt_soname.
+       (elf_dt_soname): New.
+
+       * elf.c (bfd_elf_set_dt_needed_soname): New.
+
+       * elflink.h (elf_link_add_object_symbols): Add the DT_NEEDED
+       entry if the shared object loaded by DT_NEEDED is used to
+       resolve the reference in a regular object.
+
 2000-07-19  H.J. Lu  <hjl@gnu.org>
 
        * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG,
@@ -35,7 +280,7 @@ Tue Jul 18 13:11:54 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 2000-07-18  Ulf Carlsson  <ulfc@engr.sgi.com>
 
        * elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add
-       paranthesis in if statement.
+       parenthesis in if statement.
 
 2000-07-17  Koundinya K  <kk@ddeorg.soft.net>
 
This page took 0.034995 seconds and 4 git commands to generate.