From: Alan Modra Date: Tue, 15 Dec 2020 11:38:46 +0000 (+1030) Subject: ppc64 constify X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8cb1c2c857aa176a410126b4dc01d6fceaf21356;p=binutils-gdb.git ppc64 constify Nothing to see here. * elf64-ppc.c (synthetic_opd): Constify. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7eefc92598b..9080c4acfb9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2020-12-16 Alan Modra + + * elf64-ppc.c (synthetic_opd): Constify. + 2020-12-16 Alan Modra * arc-plt.h (plt_versions): Constify. diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 9e592174340..f702a0e43a7 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -2056,7 +2056,7 @@ get_opd_info (asection * sec) /* Parameters for the qsort hook. */ static bfd_boolean synthetic_relocatable; -static asection *synthetic_opd; +static const asection *synthetic_opd; /* qsort comparison function for ppc64_elf_get_synthetic_symtab. */