asan: Buffer overflow in evax_bfd_print_dst
[binutils-gdb.git] / bfd / targets.c
index 672dc2bb1a4d5643f84577d81d4c9cebc14429d9..417743efc0edba43f2753631bd4b8e040e0c453c 100644 (file)
@@ -1,5 +1,5 @@
 /* Generic target-file-type support for the BFD library.
-   Copyright (C) 1990-2021 Free Software Foundation, Inc.
+   Copyright (C) 1990-2022 Free Software Foundation, Inc.
    Written by Cygnus Support.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -686,6 +686,7 @@ extern const bfd_target alpha_elf64_fbsd_vec;
 extern const bfd_target alpha_vms_vec;
 extern const bfd_target alpha_vms_lib_txt_vec;
 extern const bfd_target am33_elf32_linux_vec;
+extern const bfd_target amdgcn_elf64_le_vec;
 extern const bfd_target aout_vec;
 extern const bfd_target arc_elf32_be_vec;
 extern const bfd_target arc_elf32_le_vec;
@@ -997,6 +998,10 @@ static const bfd_target * const _bfd_target_vector[] =
        &aarch64_pei_vec,
 #endif
 
+#ifdef BFD64
+       &amdgcn_elf64_le_vec,
+#endif
+
 #ifdef BFD64
        &alpha_ecoff_le_vec,
        &alpha_elf64_vec,