aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-12-02 15:09:16 +1030
committerAlan Modra <amodra@gmail.com>2014-12-02 23:13:30 +1030
commit51aecdc5320d1707e1f034f05a378e60aae71d18 (patch)
tree4a509148ce044dbe5103aff8bf5c0e0fe5bcf9e7 /bfd/ChangeLog
parentd5552aabd6c68147421819577108b51ff25ea064 (diff)
downloadgdb-51aecdc5320d1707e1f034f05a378e60aae71d18.zip
gdb-51aecdc5320d1707e1f034f05a378e60aae71d18.tar.gz
gdb-51aecdc5320d1707e1f034f05a378e60aae71d18.tar.bz2
ppc64_elf_edit_opd revamp
This patch sorts .opd relocs (see pr17666) and allows .opd sections with a mix of 16 and 24 byte entries to be edited. * elf64-ppc.c (OPD_NDX): Define. Use throughout for sizing/indexing _opd_sec_data array, halving required memory. (sort_r_offset): New function. (ppc64_elf_edit_opd): Sort incoming relocs. Accept .opd sections with a mix of 16 and 24 byte OPD entries. Don't attempt to honour --non-overlapping-opd for .opd sections with unexpected relocs. Simplify opd entry size calculations by first finding the reloc for the next entry. Make edit loop handle one opd entry per iteration, with an inner loop handling relocs per entry.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0489b79..67b0070 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,16 @@
+2014-12-02 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (OPD_NDX): Define. Use throughout for sizing/indexing
+ _opd_sec_data array, halving required memory.
+ (sort_r_offset): New function.
+ (ppc64_elf_edit_opd): Sort incoming relocs. Accept .opd
+ sections with a mix of 16 and 24 byte OPD entries. Don't
+ attempt to honour --non-overlapping-opd for .opd sections with
+ unexpected relocs. Simplify opd entry size calculations by
+ first finding the reloc for the next entry. Make edit loop
+ handle one opd entry per iteration, with an inner loop
+ handling relocs per entry.
+
2014-12-01 Nick Clifton <nickc@redhat.com>
PR binutils/17512