Bug 1573872
Summary: | ld should allow "lea foo@GOT, %ecx" | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Deepu K S <dkochuka> | |
Component: | binutils | Assignee: | Nick Clifton <nickc> | |
Status: | CLOSED ERRATA | QA Contact: | Miloš Prchlík <mprchlik> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 7.6 | CC: | alanm, dkochuka, fweimer, jcastran, jwright, law, mcermak, mprchlik, ohudlick, rmullett | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | binutils-2.27-31.base.el7 | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
The BFD based linker was being needlessly restrictive
in its handling of a special form of the x86 LEA
instruction when building a shared library.
Consequence:
The linker would reject valid code with an error
message about an unsupported address mode.
Fix:
Patch the linker so that it can handle the addressing
mode.
Result:
The linker no longers complains, but instead accepts
and links the input file.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1582602 (view as bug list) | Environment: | ||
Last Closed: | 2018-10-30 07:50:06 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1582602 |
Description
Deepu K S
2018-05-02 12:18:45 UTC
This is PR 21168: https://sourceware.org/bugzilla/show_bug.cgi?id=21168 Patch on its way.... Fixed in binutils-2.27-31.base.el7. *** Bug 1593421 has been marked as a duplicate of this bug. *** Verified for build binutils-2.27-34.base.el7 by manually running /tools/binutils/Regression/bz1573872-ld-should-allow-lea-foo-GOT-ecx test using the provided reproducer. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:3032 |