|
|
@@ -3872,7 +3872,7 @@ load_relocation_section(const uint8 *buf, const uint8 *buf_end,
|
|
|
read_uint32(buf, buf_end, offset32);
|
|
|
relocation->relocation_offset = (uint64)offset32;
|
|
|
read_uint32(buf, buf_end, addend32);
|
|
|
- relocation->relocation_addend = (uint64)addend32;
|
|
|
+ relocation->relocation_addend = (int64)(int32)addend32;
|
|
|
}
|
|
|
read_uint32(buf, buf_end, relocation->relocation_type);
|
|
|
read_uint32(buf, buf_end, symbol_index);
|