OSDN Git Service

Most of these changes are really only cosmetic. The readelf.c patch
authorAlan Modra <amodra@bigpond.net.au>
Wed, 26 Jan 2000 23:11:47 +0000 (23:11 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Wed, 26 Jan 2000 23:11:47 +0000 (23:11 +0000)
fixes a thinko in get_dynamic_flags.  I found at least one message
string that included a `%' being passed to printf in the format
argument.

bfd/ChangeLog
bfd/coff-i386.c
bfd/elflink.c
bfd/trad-core.c

index 97b8542..6a08870 100644 (file)
@@ -1,3 +1,14 @@
+2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * coff-i386.c (i3coff_object_p): Remove prototype.
+       Update copyright.
+
+       * elflink.c (_bfd_elf_link_record_dynamic_symbol): Add const
+       to name.  Update copyright.
+
+       * trad-core.c (trad_unix_core_file_p): Cast core_regsec
+       assignment to avoid warning.  Update copyright.
+
 2000-01-24  Robert Lipe  (robertl@sco.com)
 
         * coffcode.h (coff_write_object_contents): Get buff via bfd_malloc
index c5afe65..84d4d14 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD back-end for Intel 386 COFF files.
-   Copyright 1990, 91, 92, 93, 94, 95, 96, 97, 98, 1999
+   Copyright 1990, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
    Free Software Foundation, Inc.
    Written by Cygnus Support.
 
@@ -45,7 +45,6 @@ static reloc_howto_type *coff_i386_rtype_to_howto
           bfd_vma *));
 static reloc_howto_type *coff_i386_reloc_type_lookup
   PARAMS ((bfd *, bfd_reloc_code_real_type));
-static const bfd_target *i3coff_object_p PARAMS ((bfd *));
 
 #define COFF_DEFAULT_SECTION_ALIGNMENT_POWER (2)
 /* The page size is a guess based on ELF.  */
index ce78b59..91a00e7 100644 (file)
@@ -1,5 +1,5 @@
 /* ELF linking support for BFD.
-   Copyright 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+   Copyright 1995, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
 
 This file is part of BFD, the Binary File Descriptor library.
 
@@ -231,7 +231,7 @@ _bfd_elf_link_record_dynamic_symbol (info, h)
          if (h->root.type == bfd_link_hash_undefined)
            {
              bfd * abfd = h->root.u.undef.abfd;
-             char * name = h->root.root.string;
+             const char * name = h->root.root.string;
              
              (*info->callbacks->undefined_symbol)
                (info, name, abfd, bfd_und_section_ptr, 0);
index 2a6f69b..92c5b63 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD back end for traditional Unix core files (U-area and raw sections)
-   Copyright 1988, 89, 91, 92, 93, 94, 95, 96, 98, 1999
+   Copyright 1988, 89, 91, 92, 93, 94, 95, 96, 98, 99, 2000
    Free Software Foundation, Inc.
    Written by John Gilmore of Cygnus Support.
 
@@ -202,7 +202,7 @@ trad_unix_core_file_p (abfd)
      0 is at the place pointed to by u_ar0 (by setting the vma of the start
      of the section to -u_ar0).  GDB uses this info to locate the regs,
      using minor trickery to get around the offset-or-absolute-addr problem. */
-  core_regsec (abfd)->vma = 0 - (bfd_vma) u.u_ar0;
+  core_regsec (abfd)->vma = (asection *) (0 - (bfd_vma) u.u_ar0);
 
   core_datasec (abfd)->filepos = NBPG * UPAGES;
   core_stacksec (abfd)->filepos = (NBPG * UPAGES) + NBPG * u.u_dsize