diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/arsup.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b0b7115..c7914e4 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,10 @@ 2021-04-19 Nick Clifton <nickc@redhat.com> + PR 21702 + * arsup.c (ar_addmod): Enable plugin support, if available. + +2021-04-19 Nick Clifton <nickc@redhat.com> + * rename.c: (get_stat_atime_ns): Add prototype. (get_stat_mtime_ns): Add prototype. diff --git a/binutils/arsup.c b/binutils/arsup.c index 5cf34e2..1d4d1ac 100644 --- a/binutils/arsup.c +++ b/binutils/arsup.c @@ -180,7 +180,11 @@ ar_open (char *name, int t) bfd *element; bfd *ibfd; +#if BFD_SUPPORTS_PLUGINS + ibfd = bfd_openr (name, "plugin"); +#else ibfd = bfd_openr (name, NULL); +#endif if (!ibfd) { |