arc: Don't generate dynamic relocation for non SEC_ALLOC sections
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 3 Jun 2020 16:09:40 +0000 (09:09 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 3 Jun 2020 16:10:03 +0000 (09:10 -0700)
commit50d036364fb2a71b3ac9a0b0cdbe58296832a1b2
tree008dbc8ed76a17d29def72740a3b5044f474e529
parent913e0fd47321873e1bfecedd73d5882b765fc8e6
arc: Don't generate dynamic relocation for non SEC_ALLOC sections

Don't generate dynamic relocations for non SEC_ALLOC sections because
run-time loader won't process them.

* elf32-arc.c (elf_arc_relocate_section): Don't generate dynamic
relocations for non SEC_ALLOC sections.
bfd/ChangeLog
bfd/elf32-arc.c