diff options
author | Alan Modra <amodra@gmail.com> | 2005-07-05 06:23:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-07-05 06:23:37 +0000 |
commit | b35d266b300fb3acd9e4a6190da4c3c5368ad734 (patch) | |
tree | ac4d0148e0a865a5aed3fa61b3480cc11b57e56e /bfd/elf32-xtensa.c | |
parent | 91d76c3bfa0151b4dfdf140351d8258bb63c4e1d (diff) | |
download | gdb-b35d266b300fb3acd9e4a6190da4c3c5368ad734.zip gdb-b35d266b300fb3acd9e4a6190da4c3c5368ad734.tar.gz gdb-b35d266b300fb3acd9e4a6190da4c3c5368ad734.tar.bz2 |
* elf.c (special_sections): Move const qualifier.
(special_sections_b..special_sections_t): Likewise.
* elf32-arm.c (elf32_arm_symbian_get_sec_type_attr): Remove duplicate
const.
(elf32_arm_symbian_special_sections): Move const qualifier.
* elf32-m32r.c: Similarly.
* elf32-m68hc11.c: Similarly.
* elf32-m68hc12.c: Similarly.
* elf32-mcore.c: Similarly.
* elf32-ppc.c: Similarly.
* elf32-sh64.c: Similarly.
* elf32-v850.c: Similarly.
* elf32-xtensa.c: Similarly.
* elf64-alpha.c: Similarly.
* elf64-hppa.c: Similarly.
* elf64-ppc.c: Similarly.
* elf64-sh64.c: Similarly.
* elfxx-ia64.c: Similarly.
* elfxx-mips.c: Similarly.
Diffstat (limited to 'bfd/elf32-xtensa.c')
-rw-r--r-- | bfd/elf32-xtensa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index 69cc6ba..b18003c 100644 --- a/bfd/elf32-xtensa.c +++ b/bfd/elf32-xtensa.c @@ -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) |