This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] tic4x config files


Hi,

Here are the configuration files for a new target, tic4x

Svein


bfd/ChangeLog:
2002-08-27  Svein E. Seldal  <Svein.Seldal@solidas.com>

	* Makefile.am: Added tic4x target
	* config.bfd: Added tic4x-*-*coff* and c4x-*-*coff* target
	* configure.in: Added tic4x_coff vector files

gas/ChangeLog:
2002-08-27  Svein E. Seldal  <Svein.Seldal@solidas.com>

	* configure.in: Added tic4x-*-* and c4x-*-* targets

ld/ChangeLog:
2002-08-27  Svein E. Seldal  <Svein.Seldal@solidas.com>

	* Makefile.am: Added etic4xcoff.o in ALL_EMULATIONS list and
	  added makefile targets for this file
	* configure.tgt: Added tic4x-*-* and c4x-*-* emulations

opcodes/ChangeLog:
2002-08-27  Svein E. Seldal  <Svein.Seldal@solidas.com>

	* Makefile.am: Added tic4x-dis.o target
	* configure.in: Added bfd_tic4x_arch


Index: bfd/Makefile.am
===================================================================
RCS file: /cvs/src/src/bfd/Makefile.am,v
retrieving revision 1.98
diff -c -3 -p -r1.98 Makefile.am
*** bfd/Makefile.am	22 Aug 2002 17:27:19 -0000	1.98
--- bfd/Makefile.am	27 Aug 2002 07:33:29 -0000
*************** ALL_MACHINES = \
*** 89,94 ****
--- 89,95 ----
  	cpu-sh.lo \
  	cpu-sparc.lo \
  	cpu-tic30.lo \
+ 	cpu-tic4x.lo \
  	cpu-tic54x.lo \
  	cpu-tic80.lo \
  	cpu-v850.lo \
*************** ALL_MACHINES_CFILES = \
*** 140,145 ****
--- 141,147 ----
  	cpu-sh.c \
  	cpu-sparc.c \
  	cpu-tic30.c \
+ 	cpu-tic4x.c \
  	cpu-tic54x.c \
  	cpu-tic80.c \
  	cpu-v850.c \
*************** BFD32_BACKENDS = \
*** 185,190 ****
--- 187,193 ----
  	coff-stgo32.lo \
  	coff-svm68k.lo \
  	coff-tic30.lo \
+ 	coff-tic4x.lo \
  	coff-tic54x.lo \
  	coff-tic80.lo \
  	coff-u68k.lo \
*************** BFD32_BACKENDS_CFILES = \
*** 346,351 ****
--- 349,355 ----
  	coff-stgo32.c \
  	coff-svm68k.c \
  	coff-tic30.c \
+ 	coff-tic4x.c \
  	coff-tic54x.c \
  	coff-tic80.c \
  	coff-u68k.c \
*************** cpu-s390.lo: cpu-s390.c $(INCDIR)/filena
*** 935,940 ****
--- 939,945 ----
  cpu-sh.lo: cpu-sh.c $(INCDIR)/filenames.h
  cpu-sparc.lo: cpu-sparc.c $(INCDIR)/filenames.h
  cpu-tic30.lo: cpu-tic30.c $(INCDIR)/filenames.h
+ cpu-tic4x.lo: cpu-tic4x.c $(INCDIR)/filenames.h
  cpu-tic54x.lo: cpu-tic54x.c $(INCDIR)/filenames.h
  cpu-tic80.lo: cpu-tic80.c $(INCDIR)/filenames.h
  cpu-v850.lo: cpu-v850.c $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h
*************** coff-svm68k.lo: coff-svm68k.c coff-m68k.
*** 1053,1058 ****
--- 1058,1066 ----
  coff-tic30.lo: coff-tic30.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
    $(INCDIR)/coff/tic30.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
    libcoff.h coffcode.h coffswap.h
+ coff-tic4x.lo: coff-tic4x.c $(INCDIR)/filenames.h \
+   $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic4x.h $(INCDIR)/coff/ti.h \
+   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  coff-tic54x.lo: coff-tic54x.c $(INCDIR)/filenames.h \
    $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic54x.h $(INCDIR)/coff/ti.h \
    $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
Index: bfd/configure.in
===================================================================
RCS file: /cvs/src/src/bfd/configure.in,v
retrieving revision 1.111
diff -c -3 -p -r1.111 configure.in
*** bfd/configure.in	22 Aug 2002 17:27:19 -0000	1.111
--- bfd/configure.in	27 Aug 2002 07:33:30 -0000
*************** do
*** 741,746 ****
--- 741,752 ----
      sunos_big_vec)		tb="$tb sunos.lo aout32.lo" ;;
      tic30_aout_vec)		tb="$tb aout-tic30.lo" ;;
      tic30_coff_vec)		tb="$tb coff-tic30.lo" ;;
+     tic4x_coff0_vec)            tb="$tb coff-tic4x.lo" ;;
+     tic4x_coff0_beh_vec)        tb="$tb coff-tic4x.lo" ;;
+     tic4x_coff1_vec)            tb="$tb coff-tic4x.lo" ;;
+     tic4x_coff1_beh_vec)        tb="$tb coff-tic4x.lo" ;;
+     tic4x_coff2_vec)            tb="$tb coff-tic4x.lo" ;;
+     tic4x_coff2_beh_vec)        tb="$tb coff-tic4x.lo" ;;
      tic54x_coff0_beh_vec)	tb="$tb coff-tic54x.lo" ;;
      tic54x_coff0_vec)		tb="$tb coff-tic54x.lo" ;;
      tic54x_coff1_beh_vec)	tb="$tb coff-tic54x.lo" ;;
Index: bfd/config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.115
diff -c -3 -p -r1.115 config.bfd
*** bfd/config.bfd	22 Aug 2002 17:45:36 -0000	1.115
--- bfd/config.bfd	27 Aug 2002 07:33:30 -0000
*************** case "${targ_cpu}" in
*** 34,39 ****
--- 34,40 ----
  alpha*)          targ_archs=bfd_alpha_arch ;;
  arm*)	         targ_archs=bfd_arm_arch ;;
  c30*)	         targ_archs=bfd_tic30_arch ;;
+ c4x*)            targ_archs=bfd_tic4x_arch ;;
  c54x*)	         targ_archs=bfd_tic54x_arch ;;
  dlx*)		 targ_archs=bfd_dlx_arch ;;
  hppa*)	         targ_archs=bfd_hppa_arch ;;
*************** case "${targ}" in
*** 254,259 ****
--- 255,266 ----
      ;;
    c30-*-*coff* | tic30-*-*coff*)
      targ_defvec=tic30_coff_vec
+     ;;
+ 
+   c4x-*-*coff* | tic4x-*-*coff*)
+     targ_defvec=tic4x_coff1_vec
+     targ_selvecs="tic4x_coff1_beh_vec tic4x_coff2_vec tic4x_coff2_beh_vec tic4x_coff0_vec tic4x_coff0_beh_vec"
+     targ_underscore=yes
      ;;
  
    c54x*-*-*coff* | tic54x-*-*coff*)
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.116
diff -c -3 -p -r1.116 configure.in
*** gas/configure.in	22 Aug 2002 17:27:20 -0000	1.116
--- gas/configure.in	27 Aug 2002 07:33:30 -0000
*************** changequote([,])dnl
*** 461,466 ****
--- 461,467 ----
  
        tic30-*-*aout*)			fmt=aout bfd_gas=yes ;;
        tic30-*-*coff*)			fmt=coff bfd_gas=yes ;;
+       tic4x-*-* | c4x-*-*)              fmt=coff bfd_gas=yes ;;
        tic54x-*-* | c54x*-*-*)		fmt=coff bfd_gas=yes need_libm=yes;;
        tic80-*-*)			fmt=coff ;;
  
Index: ld/Makefile.am
===================================================================
RCS file: /cvs/src/src/ld/Makefile.am,v
retrieving revision 1.111
diff -c -3 -p -r1.111 Makefile.am
*** ld/Makefile.am	23 Aug 2002 08:03:32 -0000	1.111
--- ld/Makefile.am	27 Aug 2002 07:33:30 -0000
*************** ALL_EMULATIONS = \
*** 282,287 ****
--- 282,288 ----
  	esun4.o \
  	etic30aout.o \
  	etic30coff.o \
+ 	etic4xcoff.o \
  	etic54xcoff.o \
  	etic80coff.o \
  	evanilla.o \
*************** etic30aout.c: $(srcdir)/emulparams/tic30
*** 1078,1083 ****
--- 1079,1087 ----
  etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
    $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
  	${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
+ etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
+   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
+ 	${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)"
  etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
    $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
  	${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.107
diff -c -3 -p -r1.107 configure.tgt
*** ld/configure.tgt	22 Aug 2002 17:27:19 -0000	1.107
--- ld/configure.tgt	27 Aug 2002 07:33:31 -0000
*************** rs6000-*-aix5*)		targ_emul=aix5rs6 ;;
*** 498,503 ****
--- 498,504 ----
  rs6000-*-aix*)		targ_emul=aixrs6 ;;
  tic30-*-*aout*)		targ_emul=tic30aout ;;
  tic30-*-*coff*)		targ_emul=tic30coff ;;
+ tic4x-*-* | c4x-*-*)    targ_emul=tic4xcoff ;;
  tic54x-*-* | c54x*-*-*)	targ_emul=tic54xcoff ;;
  tic80-*-*)		targ_emul=tic80coff ;;
  v850-*-*)		targ_emul=v850 ;;
Index: opcodes/Makefile.am
===================================================================
RCS file: /cvs/src/src/opcodes/Makefile.am,v
retrieving revision 1.56
diff -c -3 -p -r1.56 Makefile.am
*** opcodes/Makefile.am	23 Jul 2002 12:42:31 -0000	1.56
--- opcodes/Makefile.am	27 Aug 2002 07:33:31 -0000
*************** CFILES = \
*** 140,145 ****
--- 140,146 ----
  	sparc-dis.c \
  	sparc-opc.c \
  	tic30-dis.c \
+ 	tic4x-dis.c \
  	tic54x-dis.c \
  	tic54x-opc.c \
  	tic80-dis.c \
*************** ALL_MACHINES = \
*** 243,248 ****
--- 244,250 ----
  	sparc-dis.lo \
  	sparc-opc.lo \
  	tic30-dis.lo \
+ 	tic4x-dis.lo \
  	tic54x-dis.lo \
  	tic54x-opc.lo \
  	tic80-dis.lo \
*************** sparc-opc.lo: sparc-opc.c sysdep.h confi
*** 721,726 ****
--- 723,730 ----
    $(INCDIR)/opcode/sparc.h
  tic30-dis.lo: tic30-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
    $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic30.h
+ tic4x-dis.lo: tic4x-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
+   $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/tic4x.h
  tic54x-dis.lo: tic54x-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
    $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/tic54x.h \
    $(INCDIR)/coff/tic54x.h $(INCDIR)/coff/ti.h
Index: opcodes/configure.in
===================================================================
RCS file: /cvs/src/src/opcodes/configure.in,v
retrieving revision 1.41
diff -c -3 -p -r1.41 configure.in
*** opcodes/configure.in	23 Jul 2002 09:58:05 -0000	1.41
--- opcodes/configure.in	27 Aug 2002 07:33:31 -0000
*************** if test x${all_targets} = xfalse ; then
*** 229,234 ****
--- 229,235 ----
  	bfd_sparc_arch)		ta="$ta sparc-dis.lo sparc-opc.lo" ;;
  	bfd_tahoe_arch)		;;
  	bfd_tic30_arch)		ta="$ta tic30-dis.lo" ;;
+         bfd_tic4x_arch)         ta="$ta tic4x-dis.lo" ;;
  	bfd_tic54x_arch)	ta="$ta tic54x-dis.lo tic54x-opc.lo" ;;
  	bfd_tic80_arch)		ta="$ta tic80-dis.lo tic80-opc.lo" ;;
  	bfd_v850_arch)		ta="$ta v850-opc.lo v850-dis.lo" ;;



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]