2017-08-02 Nick Clifton <nickc@redhat.com>
+ PR 21702
+ * arsup.c (ar_addmod): Add plugin support for the MRI ADDMOD
+ command.
+
+2017-08-02 Nick Clifton <nickc@redhat.com>
+
* testsuite/binutils-all/objdump.exp (cpus_expected): Add am33-2.
2017-08-02 Alan Modra <amodra@gmail.com>
{
while (list)
{
- bfd *abfd = bfd_openr (list->name, NULL);
+ bfd *abfd;
+#if BFD_SUPPORTS_PLUGINS
+ abfd = bfd_openr (list->name, "plugin");
+#else
+ abfd = bfd_openr (list->name, NULL);
+#endif
if (!abfd)
{
fprintf (stderr, _("%s: can't open file %s\n"),
if (FILENAME_CMP (member->filename, list->name) == 0)
{
/* Found the one to replace. */
- bfd *abfd = bfd_openr (list->name, 0);
+ bfd *abfd = bfd_openr (list->name, NULL);
if (!abfd)
{
if (!found)
{
- bfd *abfd = bfd_openr (list->name, 0);
+ bfd *abfd = bfd_openr (list->name, NULL);
fprintf (stderr,_("%s: can't find module file %s\n"),
program_name, list->name);
if (!found)
{
- bfd_openr (list->name, 0);
+ bfd_openr (list->name, NULL);
fprintf (stderr, _("%s: can't find module file %s\n"),
program_name, list->name);
}