PERFORCE change 30817 for review

Juli Mallett jmallett at FreeBSD.org
Thu May 8 14:59:09 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=30817

Change 30817 by jmallett at jmallett_dalek on 2003/05/08 14:59:04

	Hack in MIPS_REGINFO support if BUILDING_mips.

Affected files ...

.. //depot/projects/mips/usr.bin/elf2ecoff/elf2ecoff.c#3 edit

Differences ...

==== //depot/projects/mips/usr.bin/elf2ecoff/elf2ecoff.c#3 (text+ko) ====

@@ -54,6 +54,10 @@
 
 #include "exec_ecoff.h"
 
+#if BUILDING_mips && !defined(PT_MIPS_REGINFO)
+#define	PT_MIPS_REGINFO	0x70000000
+#endif
+
 #define	ISLAST(p)	(p->n_un.n_name == 0 || p->n_un.n_name[0] == 0)
 
 struct sect {
@@ -254,6 +258,9 @@
 		 * the check in question.
 		 */
 		switch (ph[i].p_type) {
+#if BUILDING_mips
+		case PT_MIPS_REGINFO:
+#endif
 		case PT_NULL:
 		case PT_NOTE:
 		case PT_PHDR:


More information about the p4-projects mailing list