mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 19:12:24 +08:00
* 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.
This commit is contained in:
@ -319,7 +319,7 @@ static boolean i370_elf_create_dynamic_sections PARAMS ((bfd *,
|
||||
|
||||
static boolean i370_elf_section_from_shdr PARAMS ((bfd *,
|
||||
Elf32_Internal_Shdr *,
|
||||
char *));
|
||||
const char *));
|
||||
static boolean i370_elf_fake_sections PARAMS ((bfd *,
|
||||
Elf32_Internal_Shdr *,
|
||||
asection *));
|
||||
@ -429,7 +429,7 @@ static boolean
|
||||
i370_elf_section_from_shdr (abfd, hdr, name)
|
||||
bfd *abfd;
|
||||
Elf32_Internal_Shdr *hdr;
|
||||
char *name;
|
||||
const char *name;
|
||||
{
|
||||
asection *newsect;
|
||||
flagword flags;
|
||||
|
Reference in New Issue
Block a user