projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14aa7c5
)
ppc64 constify
author
Alan Modra
<amodra@gmail.com>
Tue, 15 Dec 2020 11:38:46 +0000
(22:08 +1030)
committer
Alan 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
patch
|
blob
|
history
bfd/elf64-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 7eefc92598bf1ab321d3cbcbe91d03ed95d4b650..9080c4acfb957ed71b25fc05bba7748977bd7a34 100644
(file)
--- 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 9e5921743408c3513727d8e2576bbd096b63a243..f702a0e43a7d2cac71a50c1a64f541985cd37ce5 100644
(file)
--- a/
bfd/elf64-ppc.c
+++ b/
bfd/elf64-ppc.c
@@
-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. */