[Crash-utility] Cannot load extensions for ARM64
Dave Anderson
anderson at redhat.com
Thu Jun 5 13:22:48 UTC 2014
Good catch Jan -- queued for crash-7.0.7:
https://github.com/crash-utility/crash/commit/843ac0e0a605f8acf0dc9aaa0d3ab34a29e8129e
Thanks,
Dave
----- Original Message -----
>
>
> Hi Dave
>
>
>
> I found a problem that crash built for ARM64 and running on an X86_64 cannot
> load extensions as the type for the shared object is not accepted. There is
> a fix for this for ARM running on X86 that has to be introduced in case as
> well.
>
> Function is_shared_object in file symbol.c
>
>
>
> case EM_X86_64:
>
> if (machine_type("X86_64"))
>
> return TRUE;
>
> break;
>
>
>
> should be changed to
>
>
>
> case EM_X86_64:
>
> if (machine_type("X86_64") || machine_type("ARM64"))
>
> return TRUE;
>
> break;
>
>
>
> Jan
>
>
>
> Jan Karlsson
>
> Senior Software Engineer
>
> System Assurance
>
>
>
> Sony Mobile Communications
>
> Tel: +46 703 062 174
>
> jan.karlsson at sonymobile.com
>
>
>
> sonymobile.com
>
>
>
>
>
>
>
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
More information about the Crash-utility
mailing list