|
From: | alexander.warg at kernkonzept dot com |
Subject: | [Bug ld/19357] New: ld produces invalid GOT entries for R_386_GOT32X relocations |
Date: | Fri, 11 Dec 2015 06:47:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19357 Bug ID: 19357 Summary: ld produces invalid GOT entries for R_386_GOT32X relocations Product: binutils Version: 2.26 Status: NEW Severity: critical Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: alexander.warg at kernkonzept dot com Target Milestone: --- Created attachment 8843 --> https://sourceware.org/bugzilla/attachment.cgi?id=8843&action=edit Patch that fixes the problem Since commit 02a866936de7e63ad4962ccba56c8cd05c231275 ld generates invalid GOT entries (less than 4 Byte in size) when processing a R_386_GOT32X relocation to a weak symbol during static linking. This happens for example when statically linking a C++ program without using libpthread on Linux. The attached patch make sure that there is a 4 Byte GOT entry allocated in the same spacial cases as for the R_386_GOT32 relocation. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |