[ARC] Corrected conditions for dynamic sections creation.
authorCupertino Miranda <cmiranda@synopsys.com>
Tue, 23 May 2017 11:36:33 +0000 (13:36 +0200)
committerCupertino Miranda <cmiranda@synopsys.com>
Thu, 8 Jun 2017 17:00:37 +0000 (19:00 +0200)
commite3d1d4088ad3b4d0fed39df62ad295ed60707807
tree19318c728c2aca61d28ec2347047affecab30b92
parent64aa8e030360ba68e32ca15fa5aa426160a2efb1
[ARC] Corrected conditions for dynamic sections creation.

Fixed conditions to create the dynamic sections.
Previously there would be times where the dynamic sections would not be created
although they were actually required for linking to work.

Issue found through OpenADK build, more precisely the ublicb testsuite package.

bfd/ChangeLog:

    Cupertino Miranda  <cmiranda@synopsys.com>

elf32-arc.c (elf_arc_check_relocs): Fixed conditions to generate
dynamic sections.
bfd/ChangeLog
bfd/elf32-arc.c