summaryrefslogtreecommitdiff
path: root/src/unexelf.c
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-07-10 02:37:07 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-07-10 02:37:07 +0000
commitd2b5bbda451e8e10576e3145938c27c6171f6ae3 (patch)
treec4ec158d08db873a42226da58a0e05288c3be21e /src/unexelf.c
parent40dde9d187458709cffb6029d09f8acdc7a7394e (diff)
downloademacs-d2b5bbda451e8e10576e3145938c27c6171f6ae3.tar.gz
* unexmips.c:
* unexelf.c: Remove references to desupported systems.
Diffstat (limited to 'src/unexelf.c')
-rw-r--r--src/unexelf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unexelf.c b/src/unexelf.c
index 199352d4e6e..8dcce2ee956 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -426,10 +426,10 @@ extern void fatal (const char *msgid, ...);
#include <elf.h>
#endif
#include <sys/mman.h>
-#if defined (__sony_news) && defined (_SYSTYPE_SYSV)
+#if defined (_SYSTYPE_SYSV)
#include <sys/elf_mips.h>
#include <sym.h>
-#endif /* __sony_news && _SYSTYPE_SYSV */
+#endif /* _SYSTYPE_SYSV */
#if __sgi
#include <syms.h> /* for HDRR declaration */
#endif /* __sgi */
@@ -1081,7 +1081,7 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
}
#endif /* __alpha__ */
-#if defined (__sony_news) && defined (_SYSTYPE_SYSV)
+#if defined (_SYSTYPE_SYSV)
if (NEW_SECTION_H (nn).sh_type == SHT_MIPS_DEBUG
&& old_mdebug_index != -1)
{
@@ -1104,7 +1104,7 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
phdr->cbExtOffset += diff;
}
}
-#endif /* __sony_news && _SYSTYPE_SYSV */
+#endif /* _SYSTYPE_SYSV */
#if __sgi
/* Adjust the HDRR offsets in .mdebug and copy the