Add missing mkdir in programs compilation flow. Add check for executables in script.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#!/bin/bash
|
||||
for obj_file in "$@"
|
||||
do
|
||||
ADDR=$(readelf -WS $obj_file | grep .text | awk '{ print "0x"$5 }')
|
||||
echo "add-symbol-file $obj_file ${ADDR}"
|
||||
if [[ -x "$obj_file" ]]
|
||||
then
|
||||
ADDR=$(readelf -WS $obj_file | grep .text | awk '{ print "0x"$5 }')
|
||||
echo "add-symbol-file $obj_file ${ADDR}"
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user