-
-
Save iddoeldor/682dbd1c82f812258501b394bb6cbb35 to your computer and use it in GitHub Desktop.
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
import sark | |
for segname in ['.bss', '.data']: | |
for line in sark.Segment(name=segname).lines: | |
if not line.name: | |
continue | |
if line.name.startswith('g_'): | |
continue | |
line.name = 'g_' + line.name | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment