[ARC] Avoid creating dynamic relocs when static linked is requested.
authorCupertino Miranda <cmiranda@synopsys.com>
Wed, 7 Dec 2016 13:22:54 +0000 (14:22 +0100)
committerCupertino Miranda <cmiranda@synopsys.com>
Thu, 8 Jun 2017 16:38:50 +0000 (18:38 +0200)
commitbe9e3704f91190c1e1c5d253494423b13c982d93
tree6bf7e21f6f8560f203c9622d60bc667aeff664ba
parentb8b6e72f3db1f798680742c02f3dc220175d0757
[ARC] Avoid creating dynamic relocs when static linked is requested.

bfd/Changelog:

    Cupertino Miranda  <cmiranda@synopsys.com>

* elf32-arc.c (ADD_RELA): Changed to only work when dynamic object is
created.
bfd/ChangeLog
bfd/elf32-arc.c