diff options
| author | Ian McIntyre <me@mciantyre.dev> | 2025-06-14 11:23:18 -0400 |
|---|---|---|
| committer | Ian McIntyre <me@mciantyre.dev> | 2025-09-16 07:48:07 -0400 |
| commit | aed7296b291c6430e24e6bd4c787cd724830d956 (patch) | |
| tree | 54fb0b6786ae695f625226481490825d6731d331 /tests/inspect_elf.rs | |
| parent | b91a6a6f11e014f96c91e5a67bef805349de7b43 (diff) | |
Use a macro for assembly copy loops
Make it easier to write loops for other sections. Since the macro
expands to the same instructions that we previously had, we can show
that a binary is equivalent before and after this change. Let's use the
binaries generated in this test suite.
Before this change, run the bash script below. Re-run this script with
this change, and show that the hashes for the binaries are the same.
cargo clean
cargo test inspect_elf -- --include-ignored --exact imxrt1010evk imxrt1170evk_cm7 imxrt1170evk_cm7_nonboot teensy4 teensy4_fake_dcd 2> /dev/null 1>/dev/null
for test_binary in imxrt1010evk imxrt1170evk-cm7 imxrt1170evk-cm7-nonboot teensy4 __dcd;
do
cat target/${test_binary}/thumbv7em-none-eabihf/debug/examples/blink-rtic | sha256sum -;
done
Diffstat (limited to 'tests/inspect_elf.rs')
0 files changed, 0 insertions, 0 deletions
