repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git]
/
arch
/
x86
/
um
/
vdso
/
checkundef.sh
blob
8e3ea6bb956fc8fead5e280bf82a52287d1328a4
1
#!/bin/sh
2
# SPDX-License-Identifier: GPL-2.0
3
nm
=
"
$1
"
4
file
=
"
$2
"
5
$nm
"
$file
"
|
grep
'^ *U'
> /
dev
/
null
2
>&
1
6
if
[
$?
-eq
1
];
then
7
exit
0
8
else
9
echo
"
$file
: undefined symbols found"
>&
2
10
exit
1
11
fi