* elf.c (special_sections): Move const qualifier.
[deliverable/binutils-gdb.git] / bfd / elf32-xtensa.c
index 69cc6baa52a89fffbc46b1adf0b548083a559f99..b18003c2fddf4a51289df8858f27bac381662609 100644 (file)
@@ -9482,7 +9482,7 @@ xtensa_callback_required_dependence (bfd *abfd,
 /* The default literal sections should always be marked as "code" (i.e.,
    SHF_EXECINSTR).  This is particularly important for the Linux kernel
    module loader so that the literals are not placed after the text.  */
-static struct bfd_elf_special_section const elf_xtensa_special_sections[] =
+static const struct bfd_elf_special_section elf_xtensa_special_sections[] =
 {
   { ".fini.literal", 13, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR },
   { ".init.literal", 13, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR },
@@ -9493,7 +9493,7 @@ static struct bfd_elf_special_section const elf_xtensa_special_sections[] =
 static const struct bfd_elf_special_section *
 elf_xtensa_get_sec_type_attr (bfd *abfd, asection *sec)
 {
-  const struct bfd_elf_special_section const *ssect;
+  const struct bfd_elf_special_section *ssect;
 
   /* See if this is one of the special sections.  */
   if (sec->name == NULL)
This page took 0.025334 seconds and 4 git commands to generate.