Fix a problem running the archiver program in MRI mode on archives containing LTO compiled objects.
PR 21702 * arsup.c (ar_addmod): Enable plugin support, if available.
This commit is contained in:
parent
8d6502d2b0
commit
229597a129
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user