From 8cb1c2c857aa176a410126b4dc01d6fceaf21356 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 15 Dec 2020 22:08:46 +1030 Subject: [PATCH] ppc64 constify Nothing to see here. * elf64-ppc.c (synthetic_opd): Constify. --- bfd/ChangeLog | 4 ++++ bfd/elf64-ppc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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. */ -- 2.30.2