summaryrefslogtreecommitdiff
path: root/src/unexmips.c
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-02-24 18:53:07 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-02-24 18:53:07 +0000
commit9d2818d67690523a462696ccef3e1376a57dbf43 (patch)
treeb94f1aa78265a5ef22ed37d365dda1b36d653748 /src/unexmips.c
parent5cd53af59e1e907956a751a62c72abce85d4ab5a (diff)
downloademacs-9d2818d67690523a462696ccef3e1376a57dbf43.tar.gz
* configure.in: Remove references to obsolete variables and
systems. * configure: Regenerate. * Makefile.in (NO_SHORTNAMES): * emacsclient.c (NO_SHORTNAMES): * fakemail.c (NO_SHORTNAMES): * make-docfile.c (NO_SHORTNAMES): * movemail.c (NO_SHORTNAMES): * pop.c (NO_SHORTNAMES): Remove references to obsolete variable. * config.nt (SHORTNAMES): Remove reference to obsolete variable. * s/vms4-0.h: * s/vms4-2.h: * s/vms4-4.h: * s/vms5-5.h: Remove, unused. * s/irix5-2.h: * s/irix6-0.h: * s/riscos5.h: * s/mach-bsd4-3.h: * m/mips4.h: Remove files for obsolete systems * Makefile.in: * filelock.c: * unexmips.c: * m/hp9000s300.h: * m/iris4d.h: * s/aix3-1.h: * s/hpux.h: * s/msdos.h: * s/usg5-0.h: * s/usg5-2-2.h: * s/usg5-2.h: * s/usg5-3.h: Remove references to obsolete variables. * s/irix5-0.h: Remove, move all the contents ... * s/irix6-5.h: ... here. Simplify. * config.in: Regenerate.
Diffstat (limited to 'src/unexmips.c')
-rw-r--r--src/unexmips.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/unexmips.c b/src/unexmips.c
index 7c52e9aa7e4..ef8754fdd6d 100644
--- a/src/unexmips.c
+++ b/src/unexmips.c
@@ -149,20 +149,6 @@ unexec (new_name, a_name, data_start, bss_start, entry_address)
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 @@ unexec (new_name, a_name, data_start, bss_start, entry_address)
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",