|
From: John R. <jr...@bi...> - 2011-11-22 16:25:48
|
> I'm currently recompiling a linux distribution for an embedded device
> with a Geode LX processor which can't handle all i686 instructions.
> Now, everything seems to work ok, but there's this nagging feeling
> there could still be binaries with i686 instructions in the result,
> making my fine product go "Illegal instruction" and crash.
Why isn't it enough to do:
objdump --disassemble-all ./my_app | grep -e <<patterns>>
[Hint: all SSE instructions start with 'p' (except a couple MOV*.)]
If the app does Just-In-Time compilation, then of course you must
tell the JIT compiler, too.
--
|