summaryrefslogtreecommitdiff
path: root/firmware/symcheck.sh
AgeCommit message (Collapse)Author
2016-04-06contexthub: Be paranoid with bash scriptsGreg Kaiser
We add "set -u" to our bash scripts. This will make the script terminate with failure in the case of an unknown variable, instead of silently evaluating that variable as 0. These scripts are running cleanly now, but we add this to catch potential typos in future maintenance. Change-Id: Icc79cf371b620ef53148baa1b43f01858f53029d
2016-01-04Adding AOSP Copyright notice.Ashutosh Joshi
Adding copyright blurb before making project open source. Change-Id: I9bc27ead6f7f5545c92fceebf2c9129abb01ea4f
2015-12-22make: implement checks for bad functionsDmitry Grinberg
If a function is found in the binary that should never ever be used in shipping code For performance, security, or another reason, bail out with an error. The list of bad functions is assembled in the Makefiles in the BADWORDS variable. Each entry is either just a function name or in the format aaa=bbb where aaa is the function name and bbb is a descriptive message to print in case it is seen. For C-M4F we warn on slow softfloat functions. Eventualy we'll warn on long divide too, but only once we've removed the ones we have alrady. Change-Id: I9c21e1dc2c546a2dd67425f807dadd12a42fa187