|
From: | luismarques at lowrisc dot org |
Subject: | [Bug binutils/25213] [RISCV] SUB6 applied without 6-bit mask |
Date: | Wed, 27 Nov 2019 15:24:46 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25213 --- Comment #1 from Luís Marques <luismarques at lowrisc dot org> --- Oops, apparently I mistyped some numbers in my previous description. Corrected: - Expected value: keep the upper 2 bits and write the computed relocation value to the lower 6 bits: 0x7E - (0x42 & 0xC0) | (((0x42 & 0x3F) - 4) & 0x3F) = 0x40 | ((2 - 4) & 0x3F) = 0x40 | (-1 & 0x3F) = 0x40 | 0x3E = 0x7E -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |