Last change
on this file since c59409e was 197ff76, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Validate FLOPVBL and FLOCK definitions in ram/timeint.s.
|
-
Property mode
set to
100755
|
File size:
433 bytes
|
Line | |
---|
1 | # Check, whether FLOPVBL == flopvbl and FLOCK == flock. If yes, then COUNT == 2.
|
---|
2 |
|
---|
3 | COUNT=$(m68k-none-elf-objdump --syms bios.elf |
|
---|
4 | grep -i -e flopvbl -e flock |
|
---|
5 | cut -c -8 |
|
---|
6 | sort |
|
---|
7 | uniq |
|
---|
8 | wc -l)
|
---|
9 |
|
---|
10 | if [ ${COUNT} != 2 ]; then
|
---|
11 | echo "FLOPVBL or FLOCK mismatch. See ram/timeint.s for more information."
|
---|
12 | rm bios.elf
|
---|
13 | exit 1
|
---|
14 | fi
|
---|
15 |
|
---|
16 | echo "symbols match"
|
---|
17 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.