[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/unexmips.c,v
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] Changes to emacs/src/unexmips.c,v |
Date: |
Sun, 24 Feb 2008 18:53:11 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Dan Nicolaescu <dann> 08/02/24 18:53:07
Index: src/unexmips.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/unexmips.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- src/unexmips.c 8 Jan 2008 20:44:24 -0000 1.19
+++ src/unexmips.c 24 Feb 2008 18:53:02 -0000 1.20
@@ -149,20 +149,6 @@
if (new < 0) fatal_unexec ("creating %s", new_name);
hdr = *((struct headers *)TEXT_START);
-#ifdef MIPS2
- if (hdr.fhdr.f_magic != MIPSELMAGIC
- && hdr.fhdr.f_magic != MIPSEBMAGIC
- && hdr.fhdr.f_magic != (MIPSELMAGIC | 1)
- && hdr.fhdr.f_magic != (MIPSEBMAGIC | 1))
- {
- fprintf (stderr,
- "unexec: input file magic number is %x, not %x, %x, %x or %x.\n",
- hdr.fhdr.f_magic,
- MIPSELMAGIC, MIPSEBMAGIC,
- MIPSELMAGIC | 1, MIPSEBMAGIC | 1);
- exit(1);
- }
-#else /* not MIPS2 */
if (hdr.fhdr.f_magic != MIPSELMAGIC
&& hdr.fhdr.f_magic != MIPSEBMAGIC)
{
@@ -170,7 +156,6 @@
hdr.fhdr.f_magic, MIPSELMAGIC, MIPSEBMAGIC);
exit (1);
}
-#endif /* not MIPS2 */
if (hdr.fhdr.f_opthdr != sizeof (hdr.aout))
{
fprintf (stderr, "unexec: input a.out header is %d bytes, not %d.\n",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/unexmips.c,v,
Dan Nicolaescu <=