mirror of
https://github.com/zeldaret/mm.git
synced 2024-11-23 04:49:45 +00:00
10 lines
311 B
Bash
10 lines
311 B
Bash
#!/bin/bash
|
|
|
|
OBJDUMP="${MIPS_BINUTILS_PREFIX}objdump -D -z -mmips -EB -j .text -j .data -j .rodata"
|
|
|
|
FORMATTER="sed '/^0/!s/.*://'"
|
|
|
|
$OBJDUMP build/src/test.o | sed '1,6d; /^0/!s/.*://' > test.dump
|
|
$OBJDUMP $1 | sed '1,6d; /^0/!s/.*://' > comp.dump
|
|
diff -y test.dump comp.dump > diff.dump
|
|
rm test.dump comp.dump |