[binutils-gdb] ppc64 constify
Alan Modra
amodra@sourceware.org
Wed Dec 16 04:48:23 GMT 2020
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8cb1c2c857aa176a410126b4dc01d6fceaf21356
commit 8cb1c2c857aa176a410126b4dc01d6fceaf21356
Author: Alan Modra <amodra@gmail.com>
Date: Tue Dec 15 22:08:46 2020 +1030
ppc64 constify
Nothing to see here.
* elf64-ppc.c (synthetic_opd): Constify.
Diff:
---
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 <amodra@gmail.com>
+
+ * elf64-ppc.c (synthetic_opd): Constify.
+
2020-12-16 Alan Modra <amodra@gmail.com>
* 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. */
More information about the Binutils-cvs
mailing list