From mboxrd@z Thu Jan 1 00:00:00 1970 From: Don Bowman To: "'egcs@cygnus.com'" Subject: Small patch to support mips-wrs-vxworks, a MIPS ELF target using gas Date: Wed, 01 Apr 1998 22:44:00 -0000 Message-id: <3521B963898BD111AA6A006008A84516079B71@SERVER> X-SW-Source: 1998-04/msg00029.html This patch is against egcs-980401. It allows configuring gcc for the WindRiver VxWorks OS on MIPS, which uses ELF. This system uses gas & the gnu linker. The Changelog entries would be something like: gcc directory: Wed Apr 1 21:32:00 1998 Don Bowman * configure: add suport for mips-wrs-vxworks, a MIPS ELF target which uses gas & ld * configure.in: likewise The following patch was generated by running: $ cvs diff -c5 gcc/configure gcc/configure.in [from the egcs directory] ---------------Start of patch------------------------ Index: gcc/configure =================================================================== RCS file: /egcs/carton/cvsfiles/egcs/gcc/configure,v retrieving revision 1.71 diff -c -5 -r1.71 configure *** configure 1998/04/01 17:26:32 1.71 --- configure 1998/04/02 02:47:18 *************** *** 3279,3288 **** --- 3279,3295 ---- tmake_file=mips/t-iris6 if [ x$enable_threads = xyes ]; then thread_file='irix' fi ;; + mips-wrs-vxworks) + tm_file="mips/elf.h libgloss.h" + tmake_file=mips/t-ecoff + gas=yes gnu_ld=yes + extra_parts="crtbegin.o crtend.o" + #thread_file='vxworks' + ;; mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64 tm_file=mips/cross64.h xm_file=mips/xm-iris5.h fixincludes=Makefile.in xmake_file=mips/x-iris Index: gcc/configure.in =================================================================== RCS file: /egcs/carton/cvsfiles/egcs/gcc/configure.in,v retrieving revision 1.71 diff -c -5 -r1.71 configure.in *** configure.in 1998/04/01 17:26:34 1.71 --- configure.in 1998/04/02 02:47:24 *************** *** 1596,1605 **** --- 1596,1612 ---- tmake_file=mips/t-iris6 if [[ x$enable_threads = xyes ]]; then thread_file='irix' fi ;; + mips-wrs-vxworks) + tm_file="mips/elf.h libgloss.h" + tmake_file=mips/t-ecoff + gas=yes gnu_ld=yes + extra_parts="crtbegin.o crtend.o" + #thread_file='vxworks' + ;; mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64 tm_file=mips/cross64.h xm_file=mips/xm-iris5.h fixincludes=Makefile.in xmake_file=mips/x-iris -------------end of patch---------------