summaryrefslogtreecommitdiff
path: root/bfd/elf32-tic6x.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-03-21 14:55:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-03-21 14:55:45 +0000
commitb781d74fe101630e7d5dac103916b17fbe4de7cd (patch)
treee3220d4dcf3ddf9f721a10b80b9cc58e4959cb34 /bfd/elf32-tic6x.c
parenta5362b9aa469c18afd99a035c8556ee065bc6e93 (diff)
downloadbinutils-gdb-b781d74fe101630e7d5dac103916b17fbe4de7cd.tar.gz
2012-03-21 Eliot Dresselhaus <eliot@sonic.net>
* elf32-tic6x.c (elf32_tic6x_merge_private_bfd_data): Return TRUE for non-C6X objects.
Diffstat (limited to 'bfd/elf32-tic6x.c')
-rw-r--r--bfd/elf32-tic6x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c
index 6d6b59baac3..8abfdd0271b 100644
--- a/bfd/elf32-tic6x.c
+++ b/bfd/elf32-tic6x.c
@@ -4011,6 +4011,9 @@ elf32_tic6x_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
if (!_bfd_generic_verify_endian_match (ibfd, obfd))
return FALSE;
+ if (! is_tic6x_elf (ibfd) || ! is_tic6x_elf (obfd))
+ return TRUE;
+
if (!elf32_tic6x_merge_attributes (ibfd, obfd))
return FALSE;