+2017-11-07 Alan Modra <amodra@gmail.com>
+
+ * sysdep.h: Formatting, comment fixes.
+ (gettext, ngettext): Redefine when ENABLE_NLS.
+ (ngettext, dngettext, dcngettext): Define when !ENABLE_NLS.
+ (_): Define using gettext.
+ (textdomain, bindtextdomain): Use safer "do nothing".
+ * hosts/alphavms.h (textdomain, bindtextdomain): Likewise.
+ (ngettext, dngettext, dcngettext): Define when !ENABLE_NLS.
+
+2017-11-05 Alan Modra <amodra@gmail.com>
+
+ PR 22397
+ * bfd.c (_bfd_doprnt_scan): Check args index before storing, not
+ after.
+
+2017-11-05 Alan Modra <amodra@gmail.com>
+
+ PR 22397
+ * bfd.c (union _bfd_doprnt_args): New.
+ (PRINT_TYPE): Add FIELD arg. Take value from args.
+ (_bfd_doprnt): Replace ap parameter with args. Adjust all
+ PRINT_TYPE invocations and reading of format args to suit.
+ Move "%%" handling out of switch handling args. Support
+ positional parameters.
+ (_bfd_doprnt_scan): New function.
+ (error_handler_internal): Call _bfd_doprnt_scan and read args.
+
+2017-11-04 Alan Modra <amodra@gmail.com>
+
+ * elf32-ppc.c (got_entries_needed, got_relocs_needed): New functions.
+ (allocate_dynrelocs, ppc_elf_size_dynamic_sections): Use them here.
+ (ppc_elf_relocate_section): Don't output a dynamic relocation
+ for IE GOT entries in an executable.
+ * elf64-ppc.c (allocate_got): Trim unnecessary TPREL relocs.
+ (ppc64_elf_size_dynamic_sections): Likewise.
+ (ppc64_elf_relocate_section): Likewise.
+
+2017-11-04 Alan Modra <amodra@gmail.com>
+
+ * elf32-ppc.c (readonly_dynrelocs): Delete info param. Update all
+ callers. Don't bother with SEC_ALLOC test. Return section pointer.
+ Move minfo call to..
+ (maybe_set_textrel): ..here.
+ * elf64-ppc.c (readonly_dynrelocs): Return section pointer.
+ (maybe_set_textrel): Call minfo to print textrel warning to map file.
+
2017-11-04 Alan Modra <amodra@gmail.com>
* elf32-hppa.c (enum _tls_type): Move.