mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
BR3392232: Fix relocations in MachO64
Signed-off-by: Keith Kanios <keith@kanios.net> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
5fa17e8398
commit
0863bc386b
@ -580,7 +580,7 @@ static void macho_output(int32_t secto, const void *data,
|
||||
|
||||
case OUT_REL4ADR:
|
||||
p = mydata;
|
||||
WRITELONG(p, *(int64_t *)data);
|
||||
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