| To: | "Bradley D. LaRonde" <brad@laronde.org> |
|---|---|
| Subject: | Re: uclibc mips ld.so and undefined symbols with nonzero symbol table entry st_value |
| From: | Richard Sandiford <rsandifo@redhat.com> |
| Date: | Mon, 10 May 2004 19:21:04 +0100 |
| Cc: | <uclibc@uclibc.org>, <linux-mips@linux-mips.org> |
| In-reply-to: | <00e201c436b9$5fa0f450$8d01010a@prefect> (Bradley D. LaRonde's message of "Mon, 10 May 2004 14:05:27 -0400") |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <045b01c43155$1e06cd80$8d01010a@prefect> <874qqpg2ti.fsf@redhat.com> <012701c43607$83aa65f0$8d01010a@prefect> <87pt9cwwzu.fsf@redhat.com> <00e201c436b9$5fa0f450$8d01010a@prefect> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) |
"Bradley D. LaRonde" <brad@laronde.org> writes: > Even though it is pointing libdl to the libpthread stub for malloc, should > it crash? Yeah. When you call a stub, $gp must already be set to the owning object's _gp. That's how the dynamic loader knows which GOT to change. In your case, libdl will be calling libpthread's stub with $gp set to libdl's _gp. The dynamic loader will therefore end up trying to change libdl's GOT, not libpthread's. Richard |
| Previous by Date: | Re: uclibc mips ld.so and undefined symbols with nonzero symbol table entry st_value, Bradley D. LaRonde |
|---|---|
| Next by Date: | Octane port - discoveries, Stanislaw Skowronek |
| Previous by Thread: | Re: uclibc mips ld.so and undefined symbols with nonzero symbol table entry st_value, Bradley D. LaRonde |
| Next by Thread: | Re: uclibc mips ld.so and undefined symbols with nonzero symbol table entry st_value, Bradley D. LaRonde |
| Indexes: | [Date] [Thread] [Top] [All Lists] |