* aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 7f9625b864880f3b42fbf2302b70e3ba8f49decc..07288b81513f2d00eedae52235e159a8dd9fb701 100644 (file)
@@ -1,5 +1,188 @@
+2002-10-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to
+       unsigned int.  Cast RELOC_BASE10, RELOC_BASE13 and RELOC_BASE22 to
+       unsigned int.
+       (NAME(aout,final_link)): Cast enum used in assignment.
+       (aout_link_write_symbols): Cast enums in comparisons, int values to
+       boolean, enums in assignments to int.
+       (aout_link_input_section_std): Cast rel->r_index to unsigned int.
+       (aout_link_input_section_ext): Likewise.  Cast enums used in comparisons
+       with unsigned ints.
+       (aout_link_reloc_link_order): Cast enum to int in assignment.
+       * archive.c (_bfd_generic_read_ar_hdr_mag): Cast result of memchr
+       calls to char *.
+       * bfd-in.h (bfd_set_section_vma): Cast enum true to unsigned int in
+       assignment.
+       * bfd-in2.h (bfd_set_section_vma): Likewise.
+       * bfd.c (bfd_record_phdr): Cast enums in assignments.
+       * binary.c (bfd_alloc): Cast enum to long.
+       * coffgen.c (_bfd_coff_is_local_label_name): Cast return to boolean.
+       * dwarf2.c (read_abbrevs): Add casts to enum types.
+       (read_attribute_value): Likewise.
+       (arange_add): Cast result of bfd_zalloc call.
+       (comp_unit_contains_address): Return true and false.
+       (comp_unit_find_nearest_line): Cast return to boolean.
+       * format.c (bfd_check_format_matches, bfd_set_format): Likewise.
+       * gen-aout.c: define macro '_' if not defined.
+       * libbfd.c (bfd_realloc): Cast malloc and realloc to PTR.
+       (bfd_bwrite): Cast bfd_realloc to bfd_byte *.
+       (bfd_write_bigendian_4byte_int): Cast return to boolean.
+       (bfd_seek): Cast bfd_realloc to bfd_byte *.
+       (bfd_generic_is_local_label_name): Cast return to boolean.
+       * libcoff.h (_bfd_coff_adjust_symndx): Remove extraneous '\'.
+       * linker.c (_bfd_link_hash_newfunc): Cast bfd_hash_allocate result to
+       struct bfd_hash_entry *.
+       (_bfd_generic_link_hash_newfunc): likewise.
+       (_bfd_generic_final_link): Cast enum to unsigned int.
+       * merge.c (sec_merge_emit): Cast return to boolean.
+       (merge_strings): Add casts to const unsigned char *.
+       * reloc.c (bfd_get_reloc_code_name): Cast enums in comparison to int.
+       (bfd_generic_get_relocated_section_content): Cast enum to unsigned int.
+       * section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result to
+       struct bfd_hash_entry *.
+       (bfd_set_section_content): Add cast to PTR in comparison.
+       * simple.c (simple_dummy_warning, simple_dummy_undefined_symbol,
+       simple_dummy_reloc_overflow, simple_dummy_reloc_dangerous,
+       simple_dummy_unattached_reloc,
+       bfd_simple_get_relocated_section_contents): Add K&R declarations and
+       function definitions.
+       * srec.c (S3Forced): Initialize to false.
+       (srec_get_symtab): Cast return value from bfd_alloc to asymbol *.
+       * stabs.c (_bfd_link_section_stabs): Cast enum to int in comparisons.
+       (_bfd_discard_section_stabs): Likewise.  Also cast return to boolean.
+       * syms.c (bfd_is_undefined_symclass): Cast return to boolean.
+       (_bfd_stab_section_find_nearest_line): Cast enum to bfd_byte in
+       comparisons.
+
+2002-10-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic
+       relocs into shared lib non-allocated reloc sections.
+
+2002-10-23  Nathan Tallent  <eraxxon@alumni.rice.edu>
+
+       * dwarf2.c (add_line_info): Ensure that the line_info_table is
+       sorted even when given an out-of-order line sequence.
+       (lookup_address_in_line_info_table): When an exact VMA match is
+       not found, return line information with the closest VMA.
+
+2002-10-23 Ross Alexander <ross.alexander@uk.neceur.com>
+
+       * elf64-hppa.c: Force DT_FLAGS to always be set.  Required by
+       HPUX 11.00 patch PHSS_26559.
+
+2002-10-22  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move
+       the options section into a separate section unless IRIX 6
+       compatibility is enabled.
+
+2002-10-22  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elflink.h (struct elf_link_sort_rela): Turn rel and rela
+       into arrays.
+       (elf_link_sort_cmp1, elf_link_sort_cmp2): Adjust.
+       (elf_link_sort_relocs): Likewise.  Take int_rels_per_ext_rel
+       into account.
+       * elfxx-mips.c (mips_elf_create_dynamic_relocation): Compose
+       R_MIPS_REL32 with R_MIPS64 if ABI_64_P.
+
+2002-10-21  Graeme Peterson  <gp@qnx.com>
+
+       * targets.c (_bfd_target_vector): Add missing qnx vectors.
+
+2002-10-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * targets.c (bfd_target_list): Don't return the default target twice.
+
+2002-10-21  Elias Athanasopoulos  <eathan@otenet.gr>
+
+       * archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace
+       perror with bfd_perror.
+
+2002-10-19  H.J. Lu <hjl@gnu.org>
+
+       * elflink.h (elf_link_add_object_symbols): Correctly handle
+       DT_RPATH and DT_RUNPATH.
+
+2002-10-19  Mark Kettenis  <kettenis@gnu.org>
+
+       * elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.
+
+2002-10-17  Denis Chertykov  <denisc@overta.ru>
+
+       * elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
+       for ip2k port.
+
+2002-10-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elfxx-target.h (USE_REL): Don't define as 1.
+       * elf32-arm.h (USE_REL): Provide a default define of 0.
+       Use #if rather than #ifdef when testing USE_REL.
+       * elf32-m32r.c: Likewise.
+
+       * elf32-arc.c (USE_REL): Define as 1.
+       * elf32-d10v.c (USE_REL): Likewise.
+       * elf32-m32r.c (USE_REL): Likewise.
+       * elf32-m68hc11.c (USE_REL): Likewise.
+       * elf32-m68hc12.c (USE_REL): Likewise.
+       * elf32-or32.c (USE_REL): Likewise.
+       * elfarm-nabi.c (USE_REL): Likewise.
+
+2002-10-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * config.bfd (s390-*-linux*): Add targ64_selvecs.
+       (s390x-*-linux*): Add targ_selvecs.
+
+2002-10-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo,
+       elf32-i386-fbsd.lo, elf32-i386qnx.lo, elf32-ppcqnx.lo,
+       elf32-sh-lin.lo, elf32-sh64-lin.lo, elf32-sh-nbsd.lo,
+       elf32-sh64-nbsd.lo, elf32-shqnx.lo.  Add elf32-qnx.lo.
+       (BFD32_BACKENDS_CFILES): Likewise for corresponding C files.
+       (BFD64_BACKENDS): Remove elf64-sh64-lin.lo, elf64-sh64-nbsd.lo.
+       (BFD64_BACKENDS_CFILES): Likewise for corresponding C files.
+       (SOURCE_HFILES): Add elf32-qnx.h.
+       (BUILD_HFILES): Add bfdver.h.
+       Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * configure.in Update bfd vector dependencies.
+       * configure: Regenerate.
+       * elf32-i386-fbsd.c: Delete.  Move code to elf32-i386.c.
+       * elf32-i386qnx.c: Likewise.
+       * elf32-ppcqnx.c: Delete.  Move code to elf32-ppc.c.
+       * elf32-sh-nbsd.c: Delete.  Move code to elf32-sh.c.
+       * elf32-sh-lin.c: Likewise.
+       * elf32-shqnx.c: Likewise.
+       * elf32-sh64-lin.c: Delete.  Move code to elf32-sh64.c.
+       * elf32-sh64-nbsd.c: Likewise.
+       * elf64-sh64-lin.c: Delete.  Move code to elf64-sh64.c.
+       * elf64-sh64-nbsd.c: Likewise.
+       * elfarmqnx-nabi.c: Delete.  Move code to elfarm-nabi.c.
+       * elf32-arm.h (ELF_MAXPAGESIZE): Always define.
+       * elf32-i386.c: Remove ELF_ARCH and ELF32_I386_C_INCLUDED tests.
+       * elf32-ppc.c: Remove ELF32_PPC_C_INCLUDED tests.
+       * elf32-qnx.h (elf_backend_set_nonloadable_filepos): Always define.
+       (elf_backend_is_contained_by_filepos): Likewise.
+       (elf_backend_copy_private_bfd_data_p): Likewise.
+       Globalize and move functions to..
+       * elf32-qnx.c: ..here.  New file.
+       * elf32-sh.c: Remove ELF_ARCH and ELF32_SH_C_INCLUDED tests.  Don't
+       emit target vectors when INCLUDE_SHMEDIA.
+       * elf32-sh64.c: Remove ELF_ARCH test.  Move TARGET_* etc. defines to
+       end of file.
+       * elf64-sh64.c: Remove ELF_ARCH test.
+       * elfarm-nabi.c: Remove ELFARM_NABI_C_INCLUDED test.
+       * po/BLD-POTFILES.in: Regenerate.
+       * po/SRC-POTFILES.in: Regenerate.
+
 2002-10-16  Alan Modra  <amodra@bigpond.net.au>
 
+       * elflink.h (elf_link_add_object_symbols): Error out on dynamic objects
+       loaded with --just-symbols.
+
        * elf32-i386qnx.c (TARGET_LITTLE_NAME): Define.
        * elf32-ppcqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
        * elf32-shqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
        * elf32-sh64-lin.c: New file.
        * elf64-sh64-lin.c: New file.
        * targets.c: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec,
-       bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
-       
+       bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
+
 2002-10-08  H.J. Lu <hjl@gnu.org>
 
        * elf32-i386.c (elf_i386_relocate_section): Re-arrange the
This page took 0.026099 seconds and 4 git commands to generate.