diff options
Diffstat (limited to 'gdb/ppc64-tdep.c')
-rw-r--r-- | gdb/ppc64-tdep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ppc64-tdep.c b/gdb/ppc64-tdep.c index 79bc4da..a8dcf6f 100644 --- a/gdb/ppc64-tdep.c +++ b/gdb/ppc64-tdep.c @@ -1,6 +1,6 @@ /* Common target-dependent code for ppc64 GDB, the GNU debugger. - Copyright (C) 1986-2024 Free Software Foundation, Inc. + Copyright (C) 1986-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -793,11 +793,12 @@ ppc64_convert_from_func_ptr_addr (struct gdbarch *gdbarch, from that symbol. */ void -ppc64_elf_make_msymbol_special (asymbol *sym, struct minimal_symbol *msym) +ppc64_elf_make_msymbol_special (const asymbol *sym, + struct minimal_symbol *msym) { if ((sym->flags & BSF_SYNTHETIC) != 0 && sym->udata.p != NULL) { - elf_symbol_type *elf_sym = (elf_symbol_type *) sym->udata.p; + const elf_symbol_type *elf_sym = (const elf_symbol_type *) sym->udata.p; msym->set_size (elf_sym->internal_elf_sym.st_size); } } |