mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
on aarch64, unify data and function pointers
This commit is contained in:
parent
311ae4c7a6
commit
ce34d5826b
2 changed files with 13 additions and 13 deletions
|
@ -945,6 +945,8 @@ fn build_proc<'a, B: Backend<'a>>(
|
|||
symbol: sym_id,
|
||||
addend: 0,
|
||||
}
|
||||
} else if cfg!(all(target_arch = "aarch64", target_os = "macos")) {
|
||||
todo!()
|
||||
} else {
|
||||
write::Relocation {
|
||||
offset: offset + proc_offset,
|
||||
|
@ -955,8 +957,6 @@ fn build_proc<'a, B: Backend<'a>>(
|
|||
addend: -4,
|
||||
}
|
||||
}
|
||||
} else if cfg!(all(target_arch = "aarch64", target_os = "macos")) {
|
||||
todo!()
|
||||
} else {
|
||||
internal_error!("failed to find data symbol for {:?}", name);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue