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:
97ffa48
)
* elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit if
author
Alan Modra
<amodra@gmail.com>
Fri, 19 Aug 2011 08:12:08 +0000
(08:12 +0000)
committer
Alan Modra
<amodra@gmail.com>
Fri, 19 Aug 2011 08:12:08 +0000
(08:12 +0000)
we haven't seen expected -mcmodel=medium/large code relocs.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf64-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index f883765bc6f478ea54490f69684d4a2d5919f9e6..0f367b925252bc944f91a2f9cb2ba21a199b133f 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2011-08-19 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit if
+ we haven't seen expected -mcmodel=medium/large code relocs.
+
2011-08-18 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_read_segment): Initialize list.
diff --git
a/bfd/elf64-ppc.c
b/bfd/elf64-ppc.c
index 677de04f3b305e45cf0843c09d2e701e4edf0ed9..b71a11b231abbda02928026250e27204bdb7005c 100644
(file)
--- a/
bfd/elf64-ppc.c
+++ b/
bfd/elf64-ppc.c
@@
-8267,7
+8267,7
@@
ppc64_elf_edit_toc (struct bfd_link_info *info)
some_unused = 1;
last = 0;
}
- else if (*drop)
+ else if (*drop
& ref_from_discarded
)
{
some_unused = 1;
last = ref_from_discarded;