2007-03-07 Kai Tietz <kai.tietz@onevision.com>
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 7 Mar 2007 14:40:33 +0000 (14:40 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 7 Mar 2007 14:40:33 +0000 (14:40 +0000)
* reloc.c (bfd_generic_get_relocated_section_contents): Remove
const for type reloc_howto_type.

bfd/ChangeLog
bfd/reloc.c

index b2b9d557dbfefa43dc1b1529dd93b562a2bf5d04..920e91ceb38318758f6d9d39c13733882b006117 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-07  Kai Tietz   <kai.tietz@onevision.com>
+
+       * reloc.c (bfd_generic_get_relocated_section_contents): Remove
+       const for type reloc_howto_type.
+
 2007-03-07  Alan Modra  <amodra@bigpond.net.au>
 
        PR 3958
index 3595f00a8d70798b5762594182849a81d0471a12..a31ebe0aaee07af90b02f6394b35f8f969caf49b 100644 (file)
@@ -5155,7 +5155,7 @@ bfd_generic_get_relocated_section_contents (bfd *abfd,
          if (symbol->section && elf_discarded_section (symbol->section))
            {
              bfd_byte *p;
-             static const reloc_howto_type none_howto
+             static reloc_howto_type none_howto
                = HOWTO (0, 0, 0, 0, FALSE, 0, complain_overflow_dont, NULL,
                         "unused", FALSE, 0, 0, FALSE);