def METHOD_NAME(path):
    """
    Execute the elfhack command on the given path.
    """
    from buildconfig import topobjdir
    cmd = [os.path.join(topobjdir, "build/unix/elfhack/elfhack"), path]
    if subprocess.call(cmd) != 0:
        errors.fatal("Error executing " + " ".join(cmd))