Fix seg-fault in linker when applying relocs to a corrupt binary.
authorNick Clifton <nickc@redhat.com>
Fri, 2 Dec 2016 15:03:05 +0000 (15:03 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 2 Dec 2016 15:03:05 +0000 (15:03 +0000)
commitfe6fae079099c0eeb3186086d6b150800c0e8770
treeb3c1d03b4687b6c57956b3bbe5827da8f035f7cb
parent233c8c27eb81b0a3ab5182dcb59c7306ba9bd3f3
Fix seg-fault in linker when applying relocs to a corrupt binary.

PR ld/20911
* ldctor.c (ldctor_build_sets): Produce alternative error message
if the reloc was being applied to a special section.
ld/ChangeLog
ld/ldctor.c