PERFORCE change 30907 for review
Juli Mallett
jmallett at FreeBSD.org
Fri May 9 21:57:12 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=30907
Change 30907 by jmallett at jmallett_dalek on 2003/05/09 21:56:33
Use 64-bit ELF definitions for MIPS, related to how things
are done on Alpha, but as we don't want the 32-bit variant
we cannot share the include- need to get elf64.h not elf.h.
Affected files ...
.. //depot/projects/mips/gnu/usr.bin/cc/cc_tools/Makefile#5 edit
Differences ...
==== //depot/projects/mips/gnu/usr.bin/cc/cc_tools/Makefile#5 (text+ko) ====
@@ -147,14 +147,13 @@
echo '#define TARGET_CPU_DEFAULT (MASK_GNU_AS|MASK_GNU_LD)' >>${.TARGET}
.endif
echo '#include "ansidecl.h"' >> ${.TARGET}
+.if ${TARGET_ARCH} != "mips"
echo '#include "${GCC_CPU}/${GCC_CPU}.h"' >> ${.TARGET}
+.endif
.if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
echo '#include "${GCC_CPU}/att.h"' >> ${.TARGET}
.endif
-.if ${TARGET_ARCH} == "mips"
- echo '#include "${GCC_CPU}/abi64.h"' >> ${.TARGET}
-.endif
-.if ${TARGET_ARCH} != "alpha"
+.if ${TARGET_ARCH} != "alpha" && ${TARGET_ARCH} != "mips"
echo '#include "dbxelf.h"' >> ${.TARGET}
echo '#include "elfos.h"' >> ${.TARGET}
.endif
@@ -164,6 +163,9 @@
.if ${TARGET_ARCH} == "alpha"
echo '#include "${GCC_CPU}/elf.h"' >> ${.TARGET}
.endif
+.if ${TARGET_ARCH} == "mips"
+ echo '#include "${GCC_CPU}/elf64.h"' >> ${.TARGET}
+.endif
.if ${TARGET_ARCH} != "i386" && ${TARGET_ARCH} != "amd64"
.if exists(${GCCDIR}/config/${GCC_CPU}/sysv4.h)
echo '#include "${GCC_CPU}/sysv4.h"' >> ${.TARGET}
More information about the p4-projects
mailing list