Ignone SHF_INFO_LINK.
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 3 Dec 2016 15:26:18 +0000 (15:26 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 3 Dec 2016 15:26:18 +0000 (15:26 +0000)
commit27004d336f1faa5e1433e08c6efb6b35833424a0
treed54cc259526ed275a2b35a8640c7443e715e987e
parentb7f8cb698c3d34a1503400eea8ea68740c495dac
Ignone SHF_INFO_LINK.

Some elf producers (dtrace) put this flag in relocation sections and
some (MC) don't. If we don't ignore the flag we end up with multiple
relocation sections poiting to the same section, which we don't
support.

llvm-svn: 288585
lld/ELF/InputSection.cpp
lld/test/ELF/Inputs/shf-info-link.test [new file with mode: 0644]
lld/test/ELF/shf-info-link.test [new file with mode: 0644]