Set bfd_error in _bfd_elf_adjust_dynamic_copy
PR 15228 * elflink.c (_bfd_elf_adjust_dynamic_copy): Call bfd_set_error.
This commit is contained in:
parent
e5a9158d09
commit
de287215ce
|
@ -1,3 +1,8 @@
|
|||
2014-12-12 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 15228
|
||||
* elflink.c (_bfd_elf_adjust_dynamic_copy): Call bfd_set_error.
|
||||
|
||||
2014-12-12 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 15228
|
||||
|
|
|
@ -2684,6 +2684,7 @@ _bfd_elf_adjust_dynamic_copy (struct bfd_link_info *info,
|
|||
info->callbacks->einfo
|
||||
(_("%P: copy reloc against protected `%T' is invalid\n"),
|
||||
h->root.root.string);
|
||||
bfd_set_error (bfd_error_bad_value);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue