view src/unexfx2800.c @ 10374:d6de68b87cbd

Removed several more gratuitous autoload cookies. rlogin-initially-track-cwd: Variable deleted. rlogin-directory-tracking-mode: New variable and function. Default to 'local. rlogin-host, rlogin-remote-user: New variables. rlogin: Set them appropriately. rlogin-mode-map: Copy shell-mode-map fully if not a list (in lucid emacs, keymaps are opaque objects). rlogin-tab-or-complete: New function. Bind C-i to it. rlogin-carriage-filter: New function. rlogin: Add it to comint-output-filter-functions. rlogin-parse-words: New function. rlogin: Make buffer name "*rlogin-USER@HOST* if remote user differs from local. Simplify initialization of local variables, using rlogin-parse-words. Do not call comint-mode directly. Doc fixes.
author Noah Friedman <friedman@splode.com>
date Tue, 10 Jan 1995 03:14:24 +0000
parents 79ea818b6aed
children
line wrap: on
line source

/* Unexec for the Alliant FX/2800.  */

#include <stdio.h>

unexec (new_name, a_name, data_start, bss_start, entry_address)
     char *new_name, *a_name;
     unsigned data_start, bss_start, entry_address;
{
  int stat;
    
  stat = elf_write_modified_data (a_name, new_name);
  if (stat < 0)
    perror ("emacs: elf_write_modified_data");
  else if (stat > 0)
    fprintf (stderr, "Unspecified error from elf_write_modified_data.\n");
}