Changeset eb522e8 in mainline for kernel/tools/genmap.py
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/tools/genmap.py
r9e2e715 reb522e8 100 100 for addr, symbol in symbols: 101 101 value = fname + ':' + symbol 102 data = struct.pack(symtabfmt, addr + offset, value[:MAXSTRING]) 102 value_bytes = value.encode('ascii') 103 data = struct.pack(symtabfmt, addr + offset, value_bytes[:MAXSTRING]) 103 104 out.write(data) 104 105 105 out.write(struct.pack(symtabfmt, 0, ''))106 out.write(struct.pack(symtabfmt, 0, b'')) 106 107 107 108 def main():
Note:
See TracChangeset
for help on using the changeset viewer.