+2016-07-27  Alan Modra  <amodra@gmail.com>
+
+       * amd64-darwin-tdep.c: Don't include libbfd.h.
+       * i386-darwin-tdep.c: Likewise.
+       * rs6000-nat.c: Likewise.
+       * rs6000-tdep.c: Likewise.
+
 2016-07-26  Tom Tromey  <tom@tromey.com>
 
        * symtab.c (register_symbol_computed_impl): Update.
 
 #include "floatformat.h"
 #include "symtab.h"
 #include "regcache.h"
-#include "libbfd.h"
 #include "objfiles.h"
 
 #include "i387-tdep.h"
 
 #include "floatformat.h"
 #include "symtab.h"
 #include "regcache.h"
-#include "libbfd.h"
 #include "objfiles.h"
 
 #include "i387-tdep.h"
 
 #include "gdbcore.h"
 #include "symfile.h"
 #include "objfiles.h"
-#include "libbfd.h"            /* For bfd_default_set_arch_mach (FIXME) */
 #include "bfd.h"
 #include "gdb-stabs.h"
 #include "regcache.h"
 
 #include "record-full.h"
 #include "auxv.h"
 
-#include "libbfd.h"            /* for bfd_default_set_arch_mach */
 #include "coff/internal.h"     /* for libcoff.h */
 #include "libcoff.h"           /* for xcoff_data */
 #include "coff/xcoff.h"
 
+2016-07-27  Alan Modra  <amodra@gmail.com>
+
+       * memory.c: Don't include libbfd.h.
+
 2016-07-21  Nick Clifton  <nickc@redhat.com>
 
        * simulator.c (fsqrts): Use sqrtf rather than sqrt.
 
 #include <string.h>
 
 #include "bfd.h"
-#include "libbfd.h"
 #include "libiberty.h"
 #include "elf/internal.h"
 #include "elf/common.h"
 
+2016-07-27  Alan Modra  <amodra@gmail.com>
+
+       * load.c: Don't include libbfd.h.
+       (rl78_load): Don't use private iovec seek or read.
+
 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
 
        * config.in, configure: Regenerate.
 
 #include "bfd.h"
 #include "elf-bfd.h"
 #include "elf/rl78.h"
-#include "libbfd.h"
 #include "cpu.h"
 #include "mem.h"
 #include "load.h"
       buf = xmalloc (size);
 
       offset = p->p_offset;
-      if (prog->iovec->bseek (prog, offset, SEEK_SET) != 0)
+      if (bfd_seek (prog, offset, SEEK_SET) != 0)
        {
          fprintf (stderr, "%s, Failed to seek to offset %lx\n", simname, (long) offset);
          continue;
        }
 
-      if (prog->iovec->bread (prog, buf, size) != size)
+      if (bfd_bread (buf, size, prog) != size)
        {
          fprintf (stderr, "%s: Failed to read %lx bytes\n", simname, size);
          continue;
 
+2016-07-27  Alan Modra  <amodra@gmail.com>
+
+       * load.c: Don't include libbfd.h.
+       (rx_load): Don't use private iovec seek or read.
+
 2016-04-27  Nick Clifton  <nickc@redhat.com>
 
        PR target/20000
 
 #include <string.h>
 
 #include "bfd.h"
-#include "libbfd.h"
 #include "cpu.h"
 #include "mem.h"
 #include "load.h"
        }
       
       offset = p->p_offset;
-      if (prog->iovec->bseek (prog, offset, SEEK_SET) != 0)
+      if (bfd_seek (prog, offset, SEEK_SET) != 0)
        {
          fprintf (stderr, "Failed to seek to offset %lx\n", (long) offset);
          continue;
        }
-      if (prog->iovec->bread (prog, buf, size) != size)
+      if (bfd_bread (buf, size, prog) != size)
        {
          fprintf (stderr, "Failed to read %lx bytes\n", size);
          continue;