1.优化export。

This commit is contained in:
MacRsh
2024-01-19 21:10:15 +08:00
parent 0355536d1d
commit 3d6344a090
4 changed files with 6 additions and 5 deletions

View File

@@ -246,8 +246,9 @@ class Eclipse:
link_config = """
/* mr-library */
. = ALIGN(4);
KEEP(*(SORT(.mr_auto_init*)))
KEEP(*(SORT(.mr_msh_cmd.*)))
KEEP(*(SORT(mr_auto_init.*)))
KEEP(*(SORT(mr_msh_cmd.*)))
. = ALIGN(4);
"""
back = content[pos:]
fw.write(front + link_config + back)