From 90937f86aae6f5741008ccb551ac7cb3aad86ba3 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 4 Jun 2002 00:51:08 +0000 Subject: * elf.c (bfd_section_from_shdr): Make "name" const. * elf-bfd.h (elf_backend_section_from_shdr): Likewise. * elf32-i370.c (i370_elf_section_from_shdr): Likewise. * elf32-ppc.c (ppc_elf_section_from_shdr): Likewise. * elf32-sh64.c (sh64_backend_section_from_shdr): Likewise. * elf32-v850.c (v850_elf_section_from_shdr): Likewise. * elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise. * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise. * elf64-ppc.c (ppc64_elf_section_from_shdr): Likewise. * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise. * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise. * elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise. --- bfd/elf32-sh64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/elf32-sh64.c') diff --git a/bfd/elf32-sh64.c b/bfd/elf32-sh64.c index 1eb4f11..9e12b19 100644 --- a/bfd/elf32-sh64.c +++ b/bfd/elf32-sh64.c @@ -54,7 +54,7 @@ static boolean sh64_elf_link_output_symbol_hook PARAMS ((bfd *, struct bfd_link_info *, const char *, Elf_Internal_Sym *, asection *)); static boolean sh64_backend_section_from_shdr - PARAMS ((bfd *, Elf_Internal_Shdr *, char *)); + PARAMS ((bfd *, Elf_Internal_Shdr *, const char *)); static void sh64_elf_final_write_processing PARAMS ((bfd *, boolean)); static boolean sh64_bfd_elf_copy_private_section_data PARAMS ((bfd *, asection *, bfd *, asection *)); @@ -255,7 +255,7 @@ boolean sh64_backend_section_from_shdr (abfd, hdr, name) bfd *abfd; Elf_Internal_Shdr *hdr; - char *name; + const char *name; { flagword flags = 0; -- cgit v1.1