summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f89a0d3)
Handle case where there are no rodata sections.
# Write regular sections
for section in restsections:
name = section[2]
# Write regular sections
for section in restsections:
name = section[2]
- if name == rodatasections[0][2]:
+ if rodatasections and name == rodatasections[0][2]:
output.write("code16_rodata = . ;\n")
output.write("*(%s)\n" % (name,))
output.write("code16_rodata = . ;\n")
output.write("*(%s)\n" % (name,))