We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3353722 commit cd20c37Copy full SHA for cd20c37
tools/toolchains/__init__.py
@@ -633,7 +633,6 @@ def _do_region_merge(self, name, binary, ext):
633
return res, None
634
635
def link_program(self, r, tmp_path, name):
636
- needed_update = False
637
ext = getattr(self.target, "OUTPUT_EXT", "bin")
638
639
if hasattr(self.target, 'OUTPUT_NAMING'):
@@ -675,7 +674,6 @@ def link_program(self, r, tmp_path, name):
675
674
if exists(old_mapfile):
676
remove(old_mapfile)
677
rename(mapfile, old_mapfile)
678
- needed_update = True
679
self.progress("link", name)
680
self.link(elf, objects, libraries, lib_dirs, linker_script)
681
@@ -686,7 +684,6 @@ def link_program(self, r, tmp_path, name):
686
684
filename = "{}.{}".format(name, ext)
687
685
full_path = join(tmp_path, filename)
688
if full_path and self.need_update(full_path, [elf]):
689
690
self.progress("elf2bin", name)
691
self.binary(r, elf, full_path)
692
if self.config.has_regions:
0 commit comments