From fe8a5a216e3e86a00019dd15405701c75fa94e5e Mon Sep 17 00:00:00 2001 From: rozlette Date: Sun, 29 Dec 2019 21:30:42 -0600 Subject: [PATCH] Fixed typo in progress.py that made it count .rodata as decompilable code --- tools/progress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/progress.py b/tools/progress.py index 8364bb5b3a..f8ba5c61e9 100644 --- a/tools/progress.py +++ b/tools/progress.py @@ -38,7 +38,7 @@ if __name__ == "__main__": size = int(line_split[2], 16) obj_file = line_split[3] - if (section == ".text" and not current_section + '_data' in obj_file and not current_section + '_todata' in obj_file): + if (section == ".text" and not current_section + '_data' in obj_file and not current_section + '_rodata' in obj_file): if (obj_file.startswith("build/src")): src_amounts[current_section] += size formatted_name = obj_file[len('build/'):] # remove build/ prefix