mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 13:29:11 +08:00
Merge branch
'GP-5449_ryanmkurtz_PR-7868_Lehona_tricore_fix_relocation_24REL' into patch (Closes #7868)
This commit is contained in:
+1
-2
@@ -355,8 +355,7 @@ public class Tricore_ElfRelocationHandler
|
||||
*/
|
||||
private int relocate_relB(Memory memory, Address relocationAddress, long rv)
|
||||
throws MemoryAccessException {
|
||||
// TODO ff000000..00fffffe?
|
||||
long mask = 0xfffffffeL;
|
||||
long mask = 0x00000001L;
|
||||
long val = ~mask & rv;
|
||||
int iw = memory.getInt(relocationAddress) & 0xff;
|
||||
iw |= ((val & 0x1fffe) << 15);
|
||||
|
||||
Reference in New Issue
Block a user