    def binary_compile_cmd(self):
        """
        There is no ld by default in the prod env. Instead, we use ld from the gvfs path.
        """
        ld = self.hipcc_options_json["ld"]
        objcopy = self.hipcc_options_json["objcopy"]
        cmd = " ".join([ld, "-r -b binary -o {target} {src}"])
        # Support models with >2GB constants on Linux only
        if is_linux():
            cmd += (
                f" && {objcopy} --rename-section"
                " .data=.lrodata,alloc,load,readonly,data,contents"
                " {target} {target}"
            )
        return cmd
There is no ld by default in the prod env. Instead, we use ld from the gvfs path.
python/aitemplate/backend/rocm/target_def.py