Skip to content
Snippets Groups Projects
Commit 540f7790 authored by jdh8d's avatar jdh8d
Browse files

Added code to add ifunc attribute

Former-commit-id: 330b6ea5dc38562c73ced8b396260301372b62a9
parent 7865dbb2
No related branches found
No related tags found
No related merge requests found
......@@ -388,6 +388,7 @@ tests/zsh/tests/test3.sh -text
tests/zsh/tests/test4.sh -text
tests/zsh/tests/test5.sh -text
tests/zsh/tests/test6.sh -text
tools/add_ifunc_attr.sh -text
tools/bed.sh -text
tools/bed_blackbox.sh -text
tools/bed_manual.sh -text
......
#!/bin/sh
infile=$1
annotfile=$2
for ifunc in `nm $infile|grep " i "|cut -f3 -d" "`
do
cat $annotfile|sed "s/ FUNC GLOBAL $ifunc / FUNC GLOBAL $ifunc IFUNC /" > $annotfile.tmp.$$
mv $annotfile.tmp.$$ $annotfile
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment