aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-12-15 22:08:46 +1030
committerAlan Modra <amodra@gmail.com>2020-12-16 15:17:52 +1030
commit8cb1c2c857aa176a410126b4dc01d6fceaf21356 (patch)
treefb832648f915e1352c90d65b2e08dd5a7f6b82b8 /bfd
parent14aa7c52a3caac7de7931a7a537fe1706ce180d1 (diff)
downloadgdb-8cb1c2c857aa176a410126b4dc01d6fceaf21356.zip
gdb-8cb1c2c857aa176a410126b4dc01d6fceaf21356.tar.gz
gdb-8cb1c2c857aa176a410126b4dc01d6fceaf21356.tar.bz2
ppc64 constify
Nothing to see here. * elf64-ppc.c (synthetic_opd): Constify.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf64-ppc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7eefc92..9080c4a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
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.
* elf32-arc.c (arc_get_plt_version): Constify return pointer,
adjust uses throughout.
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 9e59217..f702a0e 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. */