Don't check relocations in excluded sections
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 21 Apr 2016 00:10:55 +0000 (17:10 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 21 Apr 2016 00:11:04 +0000 (17:11 -0700)
commit5ce03cea78d4d8bf00e29e4dfa4952d53f3b1064
tree0bdfc4dd8ffda9077c60ddc5a176c46936da0147
parentfbf05aa70d7a6ad3dd92ca718faa4bb383b975ee
Don't check relocations in excluded sections

When checking relocations after gc-sections has run, the unused sections
have been removed.  Don't check relocations in excluded sections.

* elflink.c (_bfd_elf_link_check_relocs): Don't check relocations
in excluded sections
bfd/ChangeLog
bfd/elflink.c