-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support AArch64 in ELF32 (ILP32) #536
Comments
A sample binary would be nice, please. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ILP32 on AArch64 produces ELF32 files with alternative relocation codes as defined by: https://github.com/ARM-software/abi-aa/blob/b0f1111afbd7d0aa8f2b160dd63971e69c99955a/aaelf64/aaelf64.rst#L1028
Currently this results in
Unsupported relocation type: X
exceptionsI'm considering adding the codes to
ENUM_RELOC_TYPE_AARCH64
and_RELOCATION_RECIPES_AARCH64
as it's the simplest but this has 2 downsides:The other option is another pair of enum + dict for ILP32 and conditionals in
_do_apply_relocation()
anddescribe_reloc_type()
if I'm not missing anything.The text was updated successfully, but these errors were encountered: