add patch to fix binutils pr 19091 affecting sh/fdpic shared libs
this may not be the correct fix but works for now. patch will be updated as needed. for details see: https://sourceware.org/bugzilla/show_bug.cgi?id=19091
This commit is contained in:
parent
de06440f7e
commit
8137f50ef9
|
@ -0,0 +1,11 @@
|
|||
--- binutils-2.25.1/bfd/elf32-sh.c.orig 2015-10-08 16:33:04.413334344 +0000
|
||||
+++ binutils-2.25.1/bfd/elf32-sh.c 2015-10-08 16:23:05.709980166 +0000
|
||||
@@ -3604,7 +3604,7 @@ sh_elf_size_dynamic_sections (bfd *outpu
|
||||
return FALSE;
|
||||
}
|
||||
else if ((elf_elfheader (output_bfd)->e_flags & EF_SH_FDPIC)
|
||||
- && htab->sgot->size != 0)
|
||||
+ /* && htab->sgot->size != 0 */)
|
||||
{
|
||||
if (! add_dynamic_entry (DT_PLTGOT, 0))
|
||||
return FALSE;
|
Loading…
Reference in New Issue