Skip to content

Commit e9d0fbd

Browse files
authored
Merge pull request #2604 from tung7970/fix-tools
Tools - Fix fill section size variation
2 parents c3737b4 + c50b5c6 commit e9d0fbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/toolchains/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,7 @@ def link_program(self, r, tmp_path, name):
954954
bin = join(tmp_path, filename)
955955
map = join(tmp_path, name + '.map')
956956

957+
r.objects = sorted(set(r.objects))
957958
if self.need_update(elf, r.objects + r.libraries + [r.linker_script]):
958959
needed_update = True
959960
self.progress("link", name)

0 commit comments

Comments
 (0)