summaryrefslogtreecommitdiff
path: root/bfd/elf32-m68hc12.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-07-05 06:23:37 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-07-05 06:23:37 +0000
commit498f21d13f742024ba0b058bba0964360741e3a6 (patch)
treec352314ebdb358a4e7ad467c0c49cc874d6f9c4e /bfd/elf32-m68hc12.c
parentb9cce076ef32643ebda916fd2e96a9afe0881199 (diff)
downloadbinutils-redhat-498f21d13f742024ba0b058bba0964360741e3a6.tar.gz
* 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-m68hc12.c')
-rw-r--r--bfd/elf32-m68hc12.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-m68hc12.c b/bfd/elf32-m68hc12.c
index 6a3a86edfa..34461b3d4d 100644
--- a/bfd/elf32-m68hc12.c
+++ b/bfd/elf32-m68hc12.c
@@ -535,7 +535,7 @@ m68hc12_elf_set_mach_from_flags (bfd *abfd)
Page0 accesses are faster on the M68HC12.
- The .vectors is the section that represents the interrupt
vectors. */
-static struct bfd_elf_special_section const elf32_m68hc12_special_sections[] =
+static const struct bfd_elf_special_section elf32_m68hc12_special_sections[] =
{
{ ".eeprom", 7, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
{ ".page0", 6, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
@@ -547,7 +547,7 @@ static struct bfd_elf_special_section const elf32_m68hc12_special_sections[] =
static const struct bfd_elf_special_section *
elf32_m68hc12_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)