ppc64 constify
authorAlan Modra <amodra@gmail.com>
Tue, 15 Dec 2020 11:38:46 +0000 (22:08 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 16 Dec 2020 04:47:52 +0000 (15:17 +1030)
Nothing to see here.

* elf64-ppc.c (synthetic_opd): Constify.

bfd/ChangeLog
bfd/elf64-ppc.c

index 7eefc92598bf1ab321d3cbcbe91d03ed95d4b650..9080c4acfb957ed71b25fc05bba7748977bd7a34 100644 (file)
@@ -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.
index 9e5921743408c3513727d8e2576bbd096b63a243..f702a0e43a7d2cac71a50c1a64f541985cd37ce5 100644 (file)
@@ -2056,7 +2056,7 @@ get_opd_info (asection * sec)
 \f
 /* 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.  */