Last change
on this file since f806726 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
|
Line | |
---|
1 | # Check, whether FLOPVBL == flopvbl and FLOCK == flock. If yes, then COUNT == 2.
|
---|
2 |
|
---|
3 | OBJD=${1}
|
---|
4 |
|
---|
5 | if [ -z "${OBJD}" ]; then
|
---|
6 | OBJD=m68k-none-elf-objdump
|
---|
7 | fi
|
---|
8 |
|
---|
9 | COUNT=$(${OBJD} --syms bios.elf |
|
---|
10 | grep -i -e flopvbl -e flock |
|
---|
11 | cut -c -8 |
|
---|
12 | sort |
|
---|
13 | uniq |
|
---|
14 | wc -l)
|
---|
15 |
|
---|
16 | if [ ${COUNT} != 2 ]; then
|
---|
17 | echo "FLOPVBL or FLOCK mismatch. See ram/timeint.s for more information."
|
---|
18 | rm bios.elf
|
---|
19 | exit 1
|
---|
20 | fi
|
---|
21 |
|
---|
22 | echo "symbols match"
|
---|
23 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.