diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-01-27 19:10:42 -0600 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-01-27 19:10:42 -0600 |
commit | eb6cb9812da6a75dc86f64be27d9ef419963790c (patch) | |
tree | 13a0b384109657f81e8962140e0bc67590887951 /extras/dump_sections | |
parent | 9a29def2503b00a971c7384e2071877aacf64eea (diff) |
dump_sections - tool to dump a skeleton asm file
Diffstat (limited to 'extras/dump_sections')
-rwxr-xr-x | extras/dump_sections | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extras/dump_sections b/extras/dump_sections new file mode 100755 index 000000000..362318f30 --- /dev/null +++ b/extras/dump_sections @@ -0,0 +1,14 @@ +#!/bin/bash +# This wraps dump_sections.py so that other python scripts can import the +# functions. If dump_sections.py was instead called dump_sections, then other +# python source code would be unable to use the functions via import +# statements. + +# figure out the path to this script +cwd="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +# construct the path to dump_sections.py +secpath=$cwd/dump_sections.py + +# run dump_sections.py +$secpath $1 |