This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: c4x - TMS320C30-40
Ralf Corsepius wrote:
My proposal: Keep tic4x and c4x separate in config.sub.
This is the required fix to be able to use a split the c4x and tic4x
configurations. I can apply these (after approval) if the community
wishes to split them.
(But this does not fix Joel's issues)
Regards,
Svein
? .new.configure
? build.all
? build.c4x
? build.tic4x
? build.tic54x
Index: config.sub
===================================================================
RCS file: /cvs/src/src/config.sub,v
retrieving revision 1.41
diff -c -3 -p -r1.41 config.sub
*** config.sub 13 May 2003 12:09:10 -0000 1.41
--- config.sub 5 Jun 2003 00:20:03 -0000
*************** case $basic_machine in
*** 922,928 ****
basic_machine=t90-cray
os=-unicos
;;
! tic4x | c4x*)
basic_machine=tic4x-unknown
os=-coff
;;
--- 922,932 ----
basic_machine=t90-cray
os=-unicos
;;
! c4x )
! basic_machine=c4x-unknown
! os=-coff
! ;;
! tic4x )
basic_machine=tic4x-unknown
os=-coff
;;
Index: gas/configure
===================================================================
RCS file: /cvs/src/src/gas/configure,v
retrieving revision 1.146
diff -c -3 -p -r1.146 configure
*** gas/configure 29 May 2003 18:17:55 -0000 1.146
--- gas/configure 5 Jun 2003 00:20:03 -0000
*************** for this_target in $target $canon_target
*** 2316,2321 ****
--- 2316,2322 ----
alpha*) cpu_type=alpha ;;
arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;;
arm*|xscale*|strongarm*) cpu_type=arm endian=little ;;
+ c4x*) cpu_type=tic4x ;;
hppa*) cpu_type=hppa ;;
i[3-7]86) cpu_type=i386 arch=i386;;
x86_64) cpu_type=i386 arch=x86_64;;
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.132
diff -c -3 -p -r1.132 configure.in
*** gas/configure.in 29 May 2003 18:17:55 -0000 1.132
--- gas/configure.in 5 Jun 2003 00:20:04 -0000
*************** changequote([,])dnl
*** 117,122 ****
--- 117,123 ----
alpha*) cpu_type=alpha ;;
arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;;
arm*|xscale*|strongarm*) cpu_type=arm endian=little ;;
+ c4x*) cpu_type=tic4x ;;
hppa*) cpu_type=hppa ;;
changequote(,)dnl
i[3-7]86) cpu_type=i386 arch=i386;;