From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12167 invoked by alias); 11 May 2002 18:56:05 -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 12153 invoked from network); 11 May 2002 18:56:04 -0000 Received: from unknown (HELO dr-evil.shagadelic.org) (208.176.2.162) by sources.redhat.com with SMTP; 11 May 2002 18:56:04 -0000 Received: by dr-evil.shagadelic.org (Postfix, from userid 7518) id DC72B9869; Sat, 11 May 2002 11:56:03 -0700 (PDT) Date: Sat, 11 May 2002 11:56:00 -0000 From: Jason R Thorpe To: binutils@sources.redhat.com Cc: gdb-patches@sources.redhat.com Subject: [PATCH/RFA] Include sh64 support for shle-*-netbsdelf* Message-ID: <20020511115603.W3435@dr-evil.shagadelic.org> Reply-To: thorpej@wasabisystems.com Mail-Followup-To: Jason R Thorpe , binutils@sources.redhat.com, gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="hHiQ9nAwW5IGN2dL" Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: Wasabi Systems, Inc. X-SW-Source: 2002-05/txt/msg00394.txt.bz2 --hHiQ9nAwW5IGN2dL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 480 sh64 support is already present for sh-*-netbsdelf*, but shle-*-netbsdelf* was apparently missed when this was added. This patch is necessary in order to build GDB for shle-*-netbsdelf*, now that sh64 support has been added to GDB. OK to commit? bfd: * config.bfd (shle-*-netbsdelf*): Add target which includes sh64 support. opcodes: * configure.in (shle-*-*elf*): Include sh64 support. * configure: Regenerate. -- -- Jason R. Thorpe --hHiQ9nAwW5IGN2dL Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=bfd-patch Content-length: 1473 Index: bfd/config.bfd =================================================================== RCS file: /cvs/src/src/bfd/config.bfd,v retrieving revision 1.89 diff -u -r1.89 config.bfd --- bfd/config.bfd 11 May 2002 09:10:14 -0000 1.89 +++ bfd/config.bfd 11 May 2002 18:42:46 -0000 @@ -879,6 +879,13 @@ targ_defvec=bfd_elf32_shlin_vec ;; + shle-*-netbsdelf*) + targ_defvec=bfd_elf32_shlnbsd_vec + targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec" +#ifdef BFD64 + targ_selvecs="${targ_selvecs} bfd_elf32_sh64_vec bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec" +#endif + ;; sh*le-*-netbsdelf*) targ_defvec=bfd_elf32_shlnbsd_vec targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec" Index: opcodes/configure.in =================================================================== RCS file: /cvs/src/src/opcodes/configure.in,v retrieving revision 1.34 diff -u -r1.34 configure.in --- opcodes/configure.in 24 Apr 2002 09:01:46 -0000 1.34 +++ opcodes/configure.in 11 May 2002 18:42:46 -0000 @@ -215,7 +215,8 @@ # Include it just for ELF targets, since the SH5 bfd:s are ELF only. for t in $target $canon_targets; do case $t in - all | sh64-* | sh-*-*elf* | shl-*-*elf* | sh-*-linux* | shl-*-linux*) + all | sh64-* | sh-*-*elf* | shl-*-*elf* | shle-*-*elf* | \ + sh-*-linux* | shl-*-linux*) ta="$ta sh64-dis.lo sh64-opc.lo" archdefs="$archdefs -DINCLUDE_SHMEDIA" break;; --hHiQ9nAwW5IGN2dL--