* readelf.c (struct unw_aux_info): Remove const from the info member.
authorMichael Sokolov <msokolov@ivan.harhan.org>
Sun, 11 Feb 2001 23:11:39 +0000 (23:11 +0000)
committerMichael Sokolov <msokolov@ivan.harhan.org>
Sun, 11 Feb 2001 23:11:39 +0000 (23:11 +0000)
(process_unwind): Don't type-cast the third argument to the
GET_DATA_ALLOC macro.

binutils/ChangeLog
binutils/readelf.c

index 045e11a5efed28910b9edff507bf26e24e1a28c1..bbb61301ef1797ffc5529cdaa989c13d5b1eb02b 100644 (file)
@@ -1,3 +1,9 @@
+2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * readelf.c (struct unw_aux_info): Remove const from the info member.
+       (process_unwind): Don't type-cast the third argument to the
+       GET_DATA_ALLOC macro.
+
 2001-02-11  Nick Clifton  <nickc@redhat.com>
 
        * readelf.c (dump_relocations): Free corrected allocated
@@ -177,7 +183,7 @@ Mon Dec 11 14:30:21 MET 2000  Jan Hubicka  <jh@suse.cz>
 
 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
 
-       * MAINTAINERS: Add Jรถrn Rennecke and self as SH maintainers.
+       * MAINTAINERS: Add Jvrn Rennecke and self as SH maintainers.
        Change sourceware.cygnus.com to sources.redhat.com.
        Fix typo for "amongst".
 
index 923403a73429c7ae82a435a0e9181bb03c115d73..b0fdcc39ee34b61fd43b99a0919fb9b1f3031dff 100644 (file)
@@ -3099,7 +3099,7 @@ struct unw_aux_info
       }
     *table;                            /* Unwind table.  */
     unsigned long         table_len;   /* Length of unwind table.  */
-    const unsigned char * info;                /* Unwind info.  */
+    unsigned char *       info;                /* Unwind info.  */
     unsigned long         info_size;   /* Size of unwind info.  */
     bfd_vma               info_addr;   /* starting address of unwind info.  */
     bfd_vma               seg_base;    /* Starting address of segment.  */
@@ -3400,7 +3400,7 @@ process_unwind (file)
        {
          aux.info_size = sec->sh_size;
          aux.info_addr = sec->sh_addr;
-         GET_DATA_ALLOC (sec->sh_offset, aux.info_size, (char *) aux.info,
+         GET_DATA_ALLOC (sec->sh_offset, aux.info_size, aux.info,
                          char *, "unwind info");
        }
     }