[Nasm-bugs] [Bug 3392355] New: nasm 2.12.02rc4 generates bad pc-relative relocations to external symbols for macho32 target
no-reply at bugzilla-nasm.gorcunov.org
no-reply at bugzilla-nasm.gorcunov.org
Tue May 10 13:38:18 PDT 2016
http://bugzilla.nasm.us/show_bug.cgi?id=3392355
Bug ID: 3392355
Summary: nasm 2.12.02rc4 generates bad pc-relative relocations
to external symbols for macho32 target
Product: NASM
Version: 2.12.xx
Hardware: Macintosh
OS: Mac OS
Status: OPEN
Severity: normal
Priority: Medium
Component: Assembler
Assignee: nobody at nasm.us
Reporter: zenith432 at users.sourceforge.net
CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
This is a refiling of bug 3392348. The problem persists, and there is no way
for the bug's filer to reopen it.
- The code change in commit 84f6860ed53492976c9d79e9a8a0bdc60da78bc6 listing me
as the author is not the patch I attached in bug 3392348.
- The if condition "reltype == GENERIC_RELOC_VANILLA" cannot be satisfied as
even a cursory examination of the switch statment in add_reloc() and values of
the constants shows. That modification does nothing.
- The only change left is the one in macho_write_section() which does not, by
itself, resolve the problem. In fact, most pc-relative relocations are placed
in the .text section whose s->addr is zero.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
More information about the Nasm-bugs
mailing list