diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2015-07-19 14:18:06 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2015-07-19 14:24:32 +0300 |
commit | bd628dedeaedb2fa55f9592222caca73deb741c0 (patch) | |
tree | df8ea121a03842ffcd2f7124810781a83f0adf2a | |
parent | 2e6297ff1b025e2a6c9878febe2574d3dea110da (diff) | |
download | nasm-bd628dedeaedb2fa55f9592222caca73deb741c0.tar.gz |
output: outmach64 -- Use back WRITELONG for OUT_REL4ADR
Because of 74a08cc3f we no longer need to write all
8 bytes here, revert it back as it were before
5b730a197
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r-- | output/outmac64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outmac64.c b/output/outmac64.c index 1492704b..785ca658 100644 --- a/output/outmac64.c +++ b/output/outmac64.c @@ -590,7 +590,7 @@ static void macho_output(int32_t secto, const void *data, case OUT_REL4ADR: p = mydata; - WRITEDLONG(p, *(int64_t *)data + 4 - size); + WRITELONG(p, *(int64_t *)data + 4 - size); if (section == secto) nasm_error(ERR_PANIC, "intra-section OUT_REL4ADR"); |