mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-05 16:51:27 +08:00
listing: handle negative (signed) address size values
The listing module also needs to know about this new convention. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
fd52c277dd
commit
d35f230113
@ -216,7 +216,7 @@ static void list_output(int32_t offset, const void *data,
|
||||
break;
|
||||
}
|
||||
case OUT_ADDRESS:
|
||||
list_address(offset, "[]", *(int64_t *)data, size);
|
||||
list_address(offset, "[]", *(int64_t *)data, abs(size));
|
||||
break;
|
||||
case OUT_REL1ADR:
|
||||
list_address(offset, "()", *(int64_t *)data, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user