projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5a9158
)
Set bfd_error in _bfd_elf_adjust_dynamic_copy
author
Alan Modra
<amodra@gmail.com>
Fri, 12 Dec 2014 13:09:14 +0000
(23:39 +1030)
committer
Alan Modra
<amodra@gmail.com>
Fri, 12 Dec 2014 13:15:49 +0000
(23:45 +1030)
PR 15228
* elflink.c (_bfd_elf_adjust_dynamic_copy): Call bfd_set_error.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elflink.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 0db2820ed7b9cfdc25325834f3ca89e861162441..d783e3ebae869c76edeebb956a9838c2426b1836 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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
diff --git
a/bfd/elflink.c
b/bfd/elflink.c
index a01daf2fdff9f4953e71978025ba39243dd62967..2da6d1b8ce7bed5c565ab9e87612b8f1b6349007 100644
(file)
--- a/
bfd/elflink.c
+++ b/
bfd/elflink.c
@@
-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;
}