From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25627 invoked by alias); 21 Dec 2003 03:36:50 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 25593 invoked from network); 21 Dec 2003 03:36:44 -0000 Received: from unknown (HELO develer.com) (151.38.19.110) by sources.redhat.com with SMTP; 21 Dec 2003 03:36:44 -0000 Received: (qmail 8389 invoked from network); 21 Dec 2003 03:36:37 -0000 Received: from beetle.trilan (HELO develer.com) (?Wd8x7bIuaW9p977OiJTTwBr/m/4JERf2?@10.3.3.220) by trinity.trilan with SMTP; 21 Dec 2003 03:36:37 -0000 Message-ID: <3FE51545.8070101@develer.com> Date: Sun, 21 Dec 2003 03:36:00 -0000 From: Bernardo Innocenti Organization: Develer S.r.l. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 MIME-Version: 1.0 To: binutils@sources.redhat.com, gdb-patches@sources.redhat.com Subject: [PATCH] add m68k-uclinux-* target Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-12/txt/msg00458.txt.bz2 Hello, these binutils/GDB patches add the required bits to enable the m68k-*-uclinux-* target. For years, the uClinux toolchain has been based on m68k-elf with rogue patches. In 3.4, uClinux support has been merged into GDB and binutils and the target triplet changed to m68k-unknown-uclinux-uclibc. So far, the only toolchain component that needs to handle uClinux differently from m68k-elf is GCC, so these bits are not strictly required except for consistency. These additions are definitely required (but not sufficient) to build the toolchain in a combined tree. I have no CVS write access to the src repository, so please commit these patches for me (the diffs don't include the regenerated configure scripts). 2003-21-12 Bernardo Innocenti * config.bfd: Add uClinux target. * configure: Regenerate. 2003-21-12 Bernardo Innocenti * configure.in: Add uClinux target. * configure: Regenerate. 2003-21-12 Bernardo Innocenti * configure.tgt: Add uClinux target. * configure: Regenerate. 2003-21-12 Bernardo Innocenti * configure.tgt: Add uClinux target. * configure: Regenerate. diff -u -p -r1.150 config.bfd --- bfd/config.bfd 19 Dec 2003 11:43:52 -0000 1.150 +++ bfd/config.bfd 21 Dec 2003 02:56:31 -0000 @@ -651,7 +651,7 @@ case "${targ}" in targ_defvec=m68kcoff_vec targ_selvecs="m68kcoff_vec versados_vec ieee_vec aout0_big_vec" ;; - m68*-*-elf* | m68*-*-sysv4*) + m68*-*-elf* | m68*-*-sysv4* | m68*-*-uclinux) targ_defvec=bfd_elf32_m68k_vec targ_selvecs="m68kcoff_vec ieee_vec" ;; diff -u -p -r1.146 configure.in --- gas/configure.in 19 Dec 2003 11:43:42 -0000 1.146 +++ gas/configure.in 21 Dec 2003 02:57:07 -0000 @@ -359,6 +359,7 @@ changequote([,])dnl m68k-*-hpux*) fmt=hp300 em=hp300 ;; m68k-*-linux*aout*) fmt=aout em=linux ;; m68k-*-linux-gnu*) fmt=elf em=linux ;; + m68k-*-uclinux*) fmt=elf ;; m68k-*-gnu*) fmt=elf ;; m68k-*-lynxos*) fmt=coff em=lynx ;; m68k-*-netbsdelf*) fmt=elf em=nbsd ;; diff -u -p -r1.142 configure.tgt --- ld/configure.tgt 19 Dec 2003 11:43:59 -0000 1.142 +++ ld/configure.tgt 21 Dec 2003 02:58:15 -0000 @@ -367,6 +367,7 @@ m68k-*-linux-gnu*) targ_emul=m68kelf targ_extra_emuls=m68klinux tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'` ;; +m68k-*-uclinux*) targ_emul=m68kelf ;; m68*-*-gnu*) targ_emul=m68kelf ;; m68*-*-lynxos*) targ_emul=m68klynx ;; m68*-*-netbsd*4k*) targ_emul=m68k4knbsd diff -u -p -r1.122 configure.tgt --- gdb/configure.tgt 1 Dec 2003 21:10:46 -0000 1.122 +++ gdb/configure.tgt 21 Dec 2003 02:57:39 -0000 @@ -120,6 +120,7 @@ m68*-tandem-*) gdb_target=st2000 ;; m68*-*-aout*) gdb_target=monitor ;; m68*-*-coff*) gdb_target=monitor ;; m68*-*-elf*) gdb_target=monitor ;; +m68*-*-uclinux*) gdb_target=monitor ;; m68*-*-linux*) gdb_target=linux build_gdbserver=yes ;; -- // Bernardo Innocenti - Develer S.r.l., R&D dept. \X/ http://www.develer.com/