* unexmips.c:
authorDan Nicolaescu <dann@ics.uci.edu>
Thu, 10 Jul 2008 02:37:07 +0000 (02:37 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Thu, 10 Jul 2008 02:37:07 +0000 (02:37 +0000)
* unexelf.c: Remove references to desupported systems.

src/ChangeLog
src/unexelf.c
src/unexmips.c

index 7767ded..6cf5b28 100644 (file)
@@ -1,5 +1,8 @@
 2008-07-10  Dan Nicolaescu  <dann@ics.uci.edu>
 
+       * unexmips.c:
+       * unexelf.c: Remove references to desupported systems.
+
        * m/powermac.h: Remove file, it is now identical to m/macppc.h.
 
        * m/powermac.h: Remove boilerplate comments.
index 199352d..8dcce2e 100644 (file)
@@ -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
index db1d3a7..fca96d6 100644 (file)
@@ -77,7 +77,7 @@ typedef struct {
 
 #endif /* not MACH */
 
-#if defined (IRIS_4D) || defined (sony)
+#if defined (IRIS_4D)
 #include "getpagesize.h"
 #include <fcntl.h>
 #endif