check-static-inits: check for static finalizers
This commit is contained in:
parent
250398b1e4
commit
b695a3dc23
|
@ -22,8 +22,8 @@ fi
|
|||
|
||||
echo "Checking that no object file has static initializers"
|
||||
for obj in $OBJS; do
|
||||
if objdump -t "$obj" | grep '[.]ctors'; then
|
||||
echo "Ouch, $obj has static initializers"
|
||||
if objdump -t "$obj" | grep '[.][cd]tors'; then
|
||||
echo "Ouch, $obj has static initializers/finalizers"
|
||||
stat=1
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue