forked from Imagelibrary/binutils-gdb
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user