PERFORCE change 55127 for review
Juli Mallett
jmallett at FreeBSD.org
Thu Jun 17 02:58:06 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=55127
Change 55127 by jmallett at jmallett_oingo on 2004/06/17 02:57:06
Shuffle. Now I only am having problems with gas.
Affected files ...
.. //depot/projects/mips/gnu/usr.bin/binutils/as/mips-freebsd/config.h#4 edit
.. //depot/projects/mips/gnu/usr.bin/binutils/libbfd/Makefile.mips#10 edit
Differences ...
==== //depot/projects/mips/gnu/usr.bin/binutils/as/mips-freebsd/config.h#4 (text+ko) ====
@@ -222,10 +222,10 @@
/* #undef USE_EMULATIONS */
/* Supported emulations. */
-#define EMULATIONS
+/* #define EMULATIONS */
/* Default emulation. */
-#define DEFAULT_EMULATION ""
+/* #define DEFAULT_EMULATION "" */
/* old COFF support? */
/* #undef MANY_SEGMENTS */
==== //depot/projects/mips/gnu/usr.bin/binutils/libbfd/Makefile.mips#10 (text+ko) ====
@@ -1,11 +1,8 @@
-# $FreeBSD: src/gnu/usr.bin/binutils/libbfd/Makefile.sparc64,v 1.5 2001/10/14 00:58:59 obrien Exp $
+# $FreeBSD$
+
+DEFAULT_VECTOR?= bfd_elf32_tradbigmips_vec
-# XXXMIPS We want COFF at some point, to produce stuff for machines
-# such as some early SGI ones which need COFF images to boot...
-SRCS+= aout32.c \
- coff-mips.c \
- cpu-mips.c \
- ecoff.c \
+SRCS+= cpu-mips.c \
ecofflink.c \
elf32-mips.c \
elf32-target.h \
@@ -18,11 +15,8 @@
elfxx-target.h
VECS+= bfd_elf32_tradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec
-# XXXMIPS Conditionalie on the MACHINE/MACHINE_ARCH targetry to decide
-# whether elf{32,64}_{big,little}mips vectors, but default to the likely
-# least-common-denominator for machines we'll support - 32-bit ELF.
.if ${TARGET_ARCH} == "mips"
-CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_tradbigmips_vec
+CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
.endif
CLEANFILES+= elf32-target.h elf64-target.h
More information about the p4-projects
mailing list