projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* elf64-ppc.c (ppc64_elf_relocate_section): Add special case for crt1.o
[deliverable/binutils-gdb.git]
/
bfd
/
elf64-ppc.c
diff --git
a/bfd/elf64-ppc.c
b/bfd/elf64-ppc.c
index 391633378d032234b7f4a092a17180e939bc8d00..966dc431cdeababb5c5ef96d103e497affdf3310 100644
(file)
--- a/
bfd/elf64-ppc.c
+++ b/
bfd/elf64-ppc.c
@@
-7788,6
+7788,13
@@
ppc64_elf_relocate_section (bfd *output_bfd,
if ((insn & 1) == 0)
can_plt_call = 1;
}
if ((insn & 1) == 0)
can_plt_call = 1;
}
+ else if (h != NULL
+ && strcmp (h->root.root.string,
+ ".__libc_start_main") == 0)
+ {
+ /* Allow crt1 branch to go via a toc adjusting stub. */
+ can_plt_call = 1;
+ }
else
{
if (strcmp (input_section->output_section->name,
else
{
if (strcmp (input_section->output_section->name,
This page took
0.026438 seconds
and
4
git commands to generate.