[Nasm-bugs] [Bug 3392494] New: nasm 2.14(rc) produces invalid relocations
noreply-nasm at gorcunov.org
noreply-nasm at gorcunov.org
Fri Jun 29 06:33:07 PDT 2018
https://bugzilla.nasm.us/show_bug.cgi?id=3392494
Bug ID: 3392494
Summary: nasm 2.14(rc) produces invalid relocations
Product: NASM
Version: 2.14 (development)
Hardware: All
OS: All
Status: OPEN
Severity: blocker
Priority: Medium
Component: Assembler
Assignee: nobody at nasm.us
Reporter: henrik at gramner.com
CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
Obtained from: Built from git using configure
Minimal test case:
extern foo
mov eax, [REL foo]
objdump -r gives the following:
RELOCATION RECORDS FOR [.text]:objdump: <filename>(.text): relocation 0 has
invalid symbol index 4
OFFSET TYPE VALUE
0000000000000002 R_X86_64_PC32 *ABS*-0x0000000000000004
compared to the output from 2.13:
RELOCATION RECORDS FOR [.text]:
OFFSET TYPE VALUE
0000000000000002 R_X86_64_PC32 foo-0x0000000000000004
Only tested with rc14 on 64-bit Linux (elf64). Earlier rc versions also
produces broken object files but I haven't verified if the cause is the same.
--
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