diff options
author | Rabin Vincent <rabin@rab.in> | 2010-01-05 15:57:58 +0100 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-02-02 14:33:54 +0100 |
commit | 5358db0b0e16470337c6ec08177deb3f68ed7673 (patch) | |
tree | 02eb5cb3a1d93b80b5db7ab2338822b272f84a84 /block/blk-sysfs.c | |
parent | kconfig CROSS_COMPILE option (diff) | |
download | linux-5358db0b0e16470337c6ec08177deb3f68ed7673.tar.xz linux-5358db0b0e16470337c6ec08177deb3f68ed7673.zip |
scripts: add ARM support to decodecode
This patch adds support for decoding ARM oopses to scripts/decodecode.
The following things are handled:
- ARCH and CROSS_COMPILE environment variables are respected.
- The Code: in x86 oopses is in bytes, while it is in either words (4
bytes) or halfwords for ARM.
- Some versions of ARM objdump refuse to disassemble instructions
generated by literal constants (".word 0x..."). The workaround is to
strip the object file first.
- The faulting instruction is marked (liked so) in ARM, but <like so>
in x86.
- ARM mnemonics may include characters such as [] which need to be
escaped before being passed to sed for the "<- trapping instruction"
substitution.
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions