Date: Fri, 9 May 2003 21:57:10 -0700 (PDT) From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 30907 for review Message-ID: <200305100457.h4A4vARk030044@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=30907 Change 30907 by jmallett@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}help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305100457.h4A4vARk030044>
