diff options
author | H. Peter Anvin <hpa@zytor.com> | 2013-11-26 18:22:45 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2013-11-26 18:22:45 -0800 |
commit | d35f23011334d0693b48f16757e3971069ad7328 (patch) | |
tree | ec36b0bc00841a8a7928bb9e7a5645658f323c09 | |
parent | fd52c277dd6d768545cee39b154e706904581966 (diff) | |
download | nasm-d35f23011334d0693b48f16757e3971069ad7328.tar.gz |
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>
-rw-r--r-- | listing.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |