* elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove
authorAndreas Schwab <schwab@linux-m68k.org>
Thu, 21 Apr 2005 12:19:55 +0000 (12:19 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Thu, 21 Apr 2005 12:19:55 +0000 (12:19 +0000)
unsigned from type of dynamic_interpreter.
* elfxx-sparc.c (_bfd_sparc_elf_link_hash_table_create): Remove
casts again.

bfd/ChangeLog
bfd/elfxx-sparc.c
bfd/elfxx-sparc.h

index 3217b8418f5287fa02e485ab76952161cc69d04b..c14161efb841e08c8b53beb5815953a1f8efef4f 100644 (file)
@@ -1,5 +1,10 @@
 2005-04-21  Andreas Schwab  <schwab@suse.de>
 
+       * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove
+       unsigned from type of dynamic_interpreter.
+       * elfxx-sparc.c (_bfd_sparc_elf_link_hash_table_create): Remove
+       casts again.
+
        * elf.c (assign_section_numbers): Fix comment.
 
 2005-04-21  Jerome Guitton  <guitton@gnat.com>
index 0dacd4fc6de5926cfe303a087829db451ebc7090..e224d961622b56d0330381a2dee7d8ee4c3c2d17 100644 (file)
@@ -778,8 +778,7 @@ _bfd_sparc_elf_link_hash_table_create (bfd *abfd)
       ret->align_power_max = 4;
       ret->bytes_per_word = 8;
       ret->bytes_per_rela = sizeof (Elf64_External_Rela);
-      ret->dynamic_interpreter =
-       (const unsigned char *) ELF64_DYNAMIC_INTERPRETER;
+      ret->dynamic_interpreter = ELF64_DYNAMIC_INTERPRETER;
       ret->dynamic_interpreter_size = sizeof ELF64_DYNAMIC_INTERPRETER;
     }
   else
@@ -796,8 +795,7 @@ _bfd_sparc_elf_link_hash_table_create (bfd *abfd)
       ret->align_power_max = 3;
       ret->bytes_per_word = 4;
       ret->bytes_per_rela = sizeof (Elf32_External_Rela);
-      ret->dynamic_interpreter =
-       (const unsigned char *) ELF32_DYNAMIC_INTERPRETER;
+      ret->dynamic_interpreter = ELF32_DYNAMIC_INTERPRETER;
       ret->dynamic_interpreter_size = sizeof ELF32_DYNAMIC_INTERPRETER;
     }
 
index 5223ae7e7b0b016615c98b0a1b66d0013b645c96..2ec8f808bc9171fd2a953b9dc84eba6555f91e8b 100644 (file)
@@ -66,7 +66,7 @@ struct _bfd_sparc_elf_link_hash_table
   bfd_vma (*r_info) (Elf_Internal_Rela *, bfd_vma, bfd_vma);
   bfd_vma (*r_symndx) (bfd_vma);
   int (*build_plt_entry) (bfd *, asection *, bfd_vma, bfd_vma, bfd_vma *);
-  const unsigned char *dynamic_interpreter;
+  const char *dynamic_interpreter;
   int dynamic_interpreter_size;
   unsigned int word_align_power;
   unsigned int align_power_max;