diff options
author | 2020-08-26 01:23:49 +0200 | |
---|---|---|
committer | 2020-08-26 01:34:02 +0200 | |
commit | 73a9d29b298100b4454e6ca17ca057a4dda0a91a (patch) | |
tree | dff0955ec61e1507fe19303ff20d34e65036b053 /check-blobs.sh | |
parent | 13e04bd4c4750c27772dcdb7154e38b9b7776826 (diff) | |
download | cortex-m-73a9d29b298100b4454e6ca17ca057a4dda0a91a.tar.gz cortex-m-73a9d29b298100b4454e6ca17ca057a4dda0a91a.tar.zst cortex-m-73a9d29b298100b4454e6ca17ca057a4dda0a91a.zip |
Rust assembly stubs
Diffstat (limited to 'check-blobs.sh')
-rwxr-xr-x | check-blobs.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/check-blobs.sh b/check-blobs.sh deleted file mode 100755 index 166b4a4..0000000 --- a/check-blobs.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash - -# Checks that the blobs are up to date with the committed assembly files - -set -euxo pipefail - -for lib in bin/*.a; do - filename=$(basename "$lib") - arm-none-eabi-objdump -Cd "$lib" > "bin/${filename%.a}.before" -done - -./assemble.sh - -for lib in bin/*.a; do - filename=$(basename "$lib") - arm-none-eabi-objdump -Cd "$lib" > "bin/${filename%.a}.after" -done - -for cksum in bin/*.after; do - diff -u "$cksum" "${cksum%.after}.before" -done |