9 Commits

Author SHA1 Message Date
Kevin O'Connor
996a8a9504 checkstack: Handle conditional checks at start of functions
Recent versions of gcc will sometimes place conditional checks in the
code prior to setting up the function's stack frame.  Handle this case
correctly.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-08-10 15:01:03 -04:00
Kevin O'Connor
945313cc84 checkstack: Minor - continue if not a regular asm line
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2015-04-17 12:33:58 -04:00
Kevin O'Connor
1317617687 checkstack: Prefer passing "function" class instead of function address
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2015-03-19 13:01:56 -04:00
Kevin O'Connor
d304b59efe checkstack: Simplify yield calculations
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2015-03-19 13:01:56 -04:00
Kevin O'Connor
b5d6c1e6e6 checkstack: Replace function information tuple with class
Replace the six-tuple storing information on each parsed function with
a class.  This makes the code more readable.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2015-03-19 13:01:52 -04:00
Kevin O'Connor
c9d97d52c1 checkstack: Handle callw instruction
Minor update to the checkstack.py tool.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2015-01-19 12:41:33 -05:00
Kevin O'Connor
ffc0687128 build: Minor - fix comments referring to old tools/ directory.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2014-06-11 16:22:56 -04:00
Johannes Krampf
064fd069ef build: Make print statements in scripts python3 compatible.
Signed-off-by: Johannes Krampf <johannes.krampf@googlemail.com>
2014-01-20 12:42:43 -05:00
Kevin O'Connor
b942ce0a03 Rename tools/ directory to scripts/ directory.
It's common for other projects (eg, QEMU, Linux) to put build scripts
into a "scripts/" directory.  There's no reason for SeaBIOS to be
different, so rename the "tools/" directory to "scripts/".

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2013-08-17 10:23:46 -04:00