mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
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:
parent
2e6297ff1b
commit
bd628dedea
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user