3 # SPDX-License-Identifier: BSD-3-Clause
13 for i in `awk 'BEGIN {found=0}
14 /.*EXPERIMENTAL.*/ {found=1}
16 /.*;/ {if (found == 1) print $1}' $MAPFILE`
18 SYM=`echo $i | sed -e"s/;//"`
19 objdump -t $OBJFILE | grep -q "\.text.*$SYM$"
21 objdump -t $OBJFILE | grep -q "\.text\.experimental.*$SYM$"
23 if [ $IN_TEXT -eq 0 -a $IN_EXP -ne 0 ]
25 cat >&2 <<- END_OF_MESSAGE
26 $SYM is not flagged as experimental
27 but is listed in version map
28 Please add __rte_experimental to the definition of $SYM