This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Binutils + OpenSSL issue


Well, gcc and glibc also fail from the same error as I reported with procps. Not enough GOT space for local GOT entries. Most other libraries seems to be fine, though, so I'm guessing the patch Thiemo rigged was on the right track. My own, binutils-inexperienced guess has me thinking some kind of conditionals need to be added to check the GOT entry count before decrementing global and/or incrementing local. Just a guess, though.

--Kumba


Thiemo Seufer wrote:


Eric Christopher wrote:

What was the bug again?


Broken dynamic relocation table in libcrypto.so.0.9.7 because the global GOT entry count is to low. This probably happens for all -Bsymbolic --whole-archive links. The appended patch works around the special case for libcrypto, but will likely break other things. Just a hint wher to look.


Thiemo



--- src-orig/bfd/elfxx-mips.c 9 May 2003 02:27:09 -0000
+++ src/bfd/elfxx-mips.c 19 May 2003 22:23:50 -0000
@@ -7851,8 +7851,8 @@ _bfd_mips_elf_hide_symbol (info, entry, been marked for a global got entry, give it a local entry
instead. */
BFD_ASSERT (g->global_gotno > 0);
- g->local_gotno++;
- g->global_gotno--;
+// g->local_gotno++;
+// g->global_gotno--;
}
}





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]