    def binary_compile_cmd(self):
        """
        A command that turns a raw binary file into an object file that
        can be linked into the executable.
        """
        cmd = "ld -r -b binary -o {target} {src}"
        # Support models with >2GB constants on Linux only
        if is_linux():
            cmd += (
                " && objcopy --rename-section"
                " .data=.lrodata,alloc,load,readonly,data,contents"
                " {target} {target}"
            )
        return cmd
A command that turns a raw binary file into an object file that
can be linked into the executable.
python/aitemplate/backend/target.py