[binutils-gdb] opcodes: handle bfd_amdgcn_arch in configure script

Simon Marchi simark@sourceware.org
Wed Mar 16 13:02:39 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e3161106097bfa596f203e8b5a8d98c1102a9871

commit e3161106097bfa596f203e8b5a8d98c1102a9871
Author: Simon Marchi <simon.marchi@efficios.com>
Date:   Wed Mar 16 09:00:51 2022 -0400

    opcodes: handle bfd_amdgcn_arch in configure script
    
    There isn't an actual opcodes implementation for the AMDGCN arch (yet),
    this is just the bare minimum to get
    
      $ ./configure --target=amdgcn-hsa-amdhsa --disable-gas
      $ make all-binutils
    
    working later in this series.
    
    opcodes/ChangeLog:
    
            * configure.ac: Handle bfd_amdgcn_arch.
            * configure: Re-generate.
    
    Change-Id: Ib7d7c5533a803ed8b2a293e9275f667ed781ce79

Diff:
---
 opcodes/ChangeLog    | 5 +++++
 opcodes/configure    | 1 +
 opcodes/configure.ac | 1 +
 3 files changed, 7 insertions(+)

diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 98ad3084e43..a16a93749d7 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2022-03-16  Simon Marchi  <simon.marchi@efficios.com>
+
+	* configure.ac: Handle bfd_amdgcn_arch.
+	* configure: Re-generate.
+
 2022-03-06  Sagar Patel  <sagarmp@cs.unc.edu>
 	    Maciej W. Rozycki  <macro@orcam.me.uk>
 
diff --git a/opcodes/configure b/opcodes/configure
index 7036e708478..c98c5bcd0d1 100755
--- a/opcodes/configure
+++ b/opcodes/configure
@@ -12491,6 +12491,7 @@ if test x${all_targets} = xfalse ; then
 	case "$arch" in
 	bfd_aarch64_arch)	ta="$ta aarch64-asm.lo aarch64-dis.lo aarch64-opc.lo aarch64-asm-2.lo aarch64-dis-2.lo aarch64-opc-2.lo" ;;
 	bfd_alpha_arch)		ta="$ta alpha-dis.lo alpha-opc.lo" ;;
+	bfd_amdgcn_arch)	;;
 	bfd_arc_arch)		ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
 	bfd_arm_arch)		ta="$ta arm-dis.lo" ;;
 	bfd_avr_arch)		ta="$ta avr-dis.lo" ;;
diff --git a/opcodes/configure.ac b/opcodes/configure.ac
index e1dc8de2792..dc340c4d110 100644
--- a/opcodes/configure.ac
+++ b/opcodes/configure.ac
@@ -263,6 +263,7 @@ if test x${all_targets} = xfalse ; then
 	case "$arch" in
 	bfd_aarch64_arch)	ta="$ta aarch64-asm.lo aarch64-dis.lo aarch64-opc.lo aarch64-asm-2.lo aarch64-dis-2.lo aarch64-opc-2.lo" ;;
 	bfd_alpha_arch)		ta="$ta alpha-dis.lo alpha-opc.lo" ;;
+	bfd_amdgcn_arch)	;;
 	bfd_arc_arch)		ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
 	bfd_arm_arch)		ta="$ta arm-dis.lo" ;;
 	bfd_avr_arch)		ta="$ta avr-dis.lo" ;;


More information about the Binutils-cvs mailing list