Re: [RFC V2 00/16] objtool: Add support for Arm64

From: Josh Poimboeuf
Date: Thu May 16 2019 - 10:31:21 EST


On Thu, May 16, 2019 at 11:36:39AM +0100, Raphael Gault wrote:
> Noteworthy points:
> * I still haven't figured out how to detect switch-tables on arm64. I
> have a better understanding of them but still haven't implemented checks
> as it doesn't look trivial at all.

Switch tables were tricky to get right on x86. If you share an example
(or even just a .o file) I can take a look. Hopefully they're somewhat
similar to x86 switch tables. Otherwise we may want to consider a
different approach (for example maybe a GCC plugin could help annotate
them).

--
Josh