on aarch64, unify data and function pointers

This commit is contained in:
Folkert 2023-09-17 21:15:48 +02:00
parent 311ae4c7a6
commit ce34d5826b
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 13 additions and 13 deletions

View file

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