aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/tic6xdsbt.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/tic6xdsbt.em')
-rw-r--r--ld/emultempl/tic6xdsbt.em10
1 files changed, 9 insertions, 1 deletions
diff --git a/ld/emultempl/tic6xdsbt.em b/ld/emultempl/tic6xdsbt.em
index d0e345d..e287005 100644
--- a/ld/emultempl/tic6xdsbt.em
+++ b/ld/emultempl/tic6xdsbt.em
@@ -38,9 +38,17 @@ is_tic6x_target (void)
{
extern const bfd_target bfd_elf32_tic6x_le_vec;
extern const bfd_target bfd_elf32_tic6x_be_vec;
+ extern const bfd_target bfd_elf32_tic6x_linux_le_vec;
+ extern const bfd_target bfd_elf32_tic6x_linux_be_vec;
+ extern const bfd_target bfd_elf32_tic6x_elf_le_vec;
+ extern const bfd_target bfd_elf32_tic6x_elf_be_vec;
return (link_info.output_bfd->xvec == &bfd_elf32_tic6x_le_vec
- || link_info.output_bfd->xvec == &bfd_elf32_tic6x_be_vec);
+ || link_info.output_bfd->xvec == &bfd_elf32_tic6x_be_vec
+ || link_info.output_bfd->xvec == &bfd_elf32_tic6x_linux_le_vec
+ || link_info.output_bfd->xvec == &bfd_elf32_tic6x_linux_be_vec
+ || link_info.output_bfd->xvec == &bfd_elf32_tic6x_elf_le_vec
+ || link_info.output_bfd->xvec == &bfd_elf32_tic6x_elf_be_vec);
}
/* Pass params to backend. */