source: buchla-68k/misc/flopvbl.sh@ c93e44d

Last change on this file since c93e44d was 53a8288, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Use absolute path for objdump.

  • Property mode set to 100755
File size: 488 bytes
RevLine 
[197ff76]1# Check, whether FLOPVBL == flopvbl and FLOCK == flock. If yes, then COUNT == 2.
2
[53a8288]3OBJD=${1}
4
5if [ -z "${OBJD}" ]; then
6 OBJD=m68k-none-elf-objdump
7fi
8
9COUNT=$(${OBJD} --syms bios.elf |
[197ff76]10 grep -i -e flopvbl -e flock |
11 cut -c -8 |
12 sort |
13 uniq |
14 wc -l)
15
16if [ ${COUNT} != 2 ]; then
17 echo "FLOPVBL or FLOCK mismatch. See ram/timeint.s for more information."
18 rm bios.elf
19 exit 1
20fi
21
22echo "symbols match"
23exit 0
Note: See TracBrowser for help on using the repository browser.