[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/27119] ld improperly relocates function address, creating an inv
From: |
amonakov at gmail dot com |
Subject: |
[Bug ld/27119] ld improperly relocates function address, creating an invalid pointer |
Date: |
Tue, 29 Dec 2020 08:59:23 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27119
Alexander Monakov <amonakov at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amonakov at gmail dot com
--- Comment #4 from Alexander Monakov <amonakov at gmail dot com> ---
(In reply to H.J. Lu from comment #3)
> Don't use
>
> OUTPUT_FORMAT("binary")
>
> with backend specific relocations, like R_X86_64_GOTPCRELX, since the
> generic binary linker can't process them properly.
If some part of the linker cannot process a particular relocation, why is it
emitting random nonsense instead of issuing a diagnostic message and stopping
with an error?
How is this "Not a bug"? This is a valid quality-of-implementation issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/27119] New: ld improperly relocates function address, creating an invalid pointer, me at rhysre dot net, 2020/12/28
- [Bug ld/27119] ld improperly relocates function address, creating an invalid pointer, me at rhysre dot net, 2020/12/28
- [Bug ld/27119] ld improperly relocates function address, creating an invalid pointer, hjl.tools at gmail dot com, 2020/12/28
- [Bug ld/27119] ld improperly relocates function address, creating an invalid pointer, me at rhysre dot net, 2020/12/28
- [Bug ld/27119] ld improperly relocates function address, creating an invalid pointer, hjl.tools at gmail dot com, 2020/12/28
- [Bug ld/27119] ld improperly relocates function address, creating an invalid pointer,
amonakov at gmail dot com <=
- [Bug ld/27119] ld improperly relocates function address, creating an invalid pointer, hjl.tools at gmail dot com, 2020/12/29