[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/unexec.c
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/src/unexec.c |
Date: |
Tue, 04 Feb 2003 09:03:47 -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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/unexec.c,
Juanma Barranquero <=