diff options
author | Alan Modra <amodra@gmail.com> | 2002-06-04 00:51:08 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-06-04 00:51:08 +0000 |
commit | 90937f86aae6f5741008ccb551ac7cb3aad86ba3 (patch) | |
tree | 91aca1ef84852eaf3bd66dfdbd0629b72496356a /bfd/elf64-ppc.c | |
parent | 0f154cbd1c2934ce6bdf195833941e51c4b2df4b (diff) | |
download | gdb-90937f86aae6f5741008ccb551ac7cb3aad86ba3.zip gdb-90937f86aae6f5741008ccb551ac7cb3aad86ba3.tar.gz gdb-90937f86aae6f5741008ccb551ac7cb3aad86ba3.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 6b17b2b..8e1935d 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -62,7 +62,7 @@ static boolean ppc64_elf_set_private_flags static boolean ppc64_elf_merge_private_bfd_data PARAMS ((bfd *, bfd *)); static boolean ppc64_elf_section_from_shdr - PARAMS ((bfd *, Elf64_Internal_Shdr *, char *)); + PARAMS ((bfd *, Elf64_Internal_Shdr *, const char *)); /* The name of the dynamic interpreter. This is put in the .interp @@ -1775,7 +1775,7 @@ static boolean ppc64_elf_section_from_shdr (abfd, hdr, name) bfd *abfd; Elf64_Internal_Shdr *hdr; - char *name; + const char *name; { asection *newsect; flagword flags; |