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>
This commit is contained in:
Cyrill Gorcunov 2015-07-19 14:18:06 +03:00
parent 2e6297ff1b
commit bd628dedea

View File

@ -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");