X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=bfd%2Farchures.c;h=aaab2eac5d99ea3d0b467366d6c6d274f44bbb77;hb=54a01e885b23df89e7e1e1585e896e0b7c53cf1d;hp=232103817c1043eaa8aea7614ac28b5d0d493b5d;hpb=6655dba246bd164d953fe220a0e3d4eed85bb268;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/archures.c b/bfd/archures.c index 232103817c..aaab2eac5d 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -1,5 +1,6 @@ /* BFD library support routines for architectures. Copyright (C) 1990-2020 Free Software Foundation, Inc. + Copyright (C) 2019-2020 Advanced Micro Devices, Inc. All rights reserved. Hacked by John Gilmore and Steve Chamberlain of Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -546,6 +547,18 @@ DESCRIPTION .#define bfd_mach_ck803 5 .#define bfd_mach_ck807 6 .#define bfd_mach_ck810 7 +. bfd_arch_amdgcn, {* AMD GPU Architecture. Must match EF_AMDGPU_MACH_* *} +.#define bfd_mach_amdgcn_unknown 0x000 +.#define bfd_mach_amdgcn_gfx801 0x028 +.#define bfd_mach_amdgcn_gfx802 0x029 +.#define bfd_mach_amdgcn_gfx803 0x02a +.#define bfd_mach_amdgcn_gfx810 0x02b +.#define bfd_mach_amdgcn_gfx900 0x02c +.#define bfd_mach_amdgcn_gfx902 0x02d +.#define bfd_mach_amdgcn_gfx904 0x02e +.#define bfd_mach_amdgcn_gfx906 0x02f +.#define bfd_mach_amdgcn_gfx908 0x030 +.#define bfd_mach_amdgcn_gfx909 0x031 . bfd_arch_last . }; */ @@ -602,6 +615,7 @@ DESCRIPTION extern const bfd_arch_info_type bfd_aarch64_arch; extern const bfd_arch_info_type bfd_alpha_arch; +extern const bfd_arch_info_type bfd_amdgcn_arch; extern const bfd_arch_info_type bfd_arc_arch; extern const bfd_arch_info_type bfd_arm_arch; extern const bfd_arch_info_type bfd_avr_arch; @@ -692,6 +706,7 @@ static const bfd_arch_info_type * const bfd_archures_list[] = #else &bfd_aarch64_arch, &bfd_alpha_arch, + &bfd_amdgcn_arch, &bfd_arc_arch, &bfd_arm_arch, &bfd_avr_arch,