emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/unexec.c


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/unexec.c
Date: Fri, 04 Apr 2003 01:24:08 -0500

Index: emacs/src/unexec.c
diff -c emacs/src/unexec.c:1.34 emacs/src/unexec.c:1.35
*** emacs/src/unexec.c:1.34     Tue Dec 11 17:18:57 2001
--- emacs/src/unexec.c  Tue Feb  4 09:03:13 2003
***************
*** 134,140 ****
  program text).  HDR's standard fields are already correct, except that
  this adjustment to the `a_text' field has not yet been made;
  thus, the amount of offset can depend on the data in the file.
!   
  * A_TEXT_SEEK(HDR)
  
  If defined, this macro specifies the number of bytes to seek into the
--- 134,140 ----
  program text).  HDR's standard fields are already correct, except that
  this adjustment to the `a_text' field has not yet been made;
  thus, the amount of offset can depend on the data in the file.
! 
  * A_TEXT_SEEK(HDR)
  
  If defined, this macro specifies the number of bytes to seek into the
***************
*** 399,405 ****
      {
        close (new);
        /* unlink (new_name);           /* Failed, unlink new a.out */
!       return -1;      
      }
  
    close (new);
--- 399,405 ----
      {
        close (new);
        /* unlink (new_name);           /* Failed, unlink new a.out */
!       return -1;
      }
  
    close (new);
***************
*** 992,998 ****
      char c;
      int mcount_address, mcount_offset, count;
      extern char *_execname;
!    
  
      /* The use of _execname is incompatible with RISCiX 1.1 */
      sprintf (command, "nm %s | fgrep mcount", _execname);
--- 992,998 ----
      char c;
      int mcount_address, mcount_offset, count;
      extern char *_execname;
! 
  
      /* The use of _execname is incompatible with RISCiX 1.1 */
      sprintf (command, "nm %s | fgrep mcount", _execname);
***************
*** 1012,1018 ****
      {
        sprintf (errbuf, "Failed to execute the command '%s'\n", command);
        PERROR (errbuf);
!     }  
  
      sscanf(address_text, "%x", &mcount_address);
      ptr = (char *) unexec_text_start;
--- 1012,1018 ----
      {
        sprintf (errbuf, "Failed to execute the command '%s'\n", command);
        PERROR (errbuf);
!     }
  
      sscanf(address_text, "%x", &mcount_address);
      ptr = (char *) unexec_text_start;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]