This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Assemble ELF segments into a single mbn file. | |
Usage: pil-squasher.py <mbn output> <mdt header> | |
This script reads an ELF header and program headers from the specified mdt | |
file and combines the corresponding segments from .bXX files or the mdt file | |
itself into a single mbn file. |