diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2011-06-30 21:36:09 +0000 |
---|---|---|
committer | Bernd Schmidt <bernd.schmidt@analog.com> | 2011-06-30 21:36:09 +0000 |
commit | 0b483a971d88ca2886de9759b51053abdecbd2e8 (patch) | |
tree | 87271947faf724f612f36e14af4a062737873c18 /bfd/elf32-tic6x.c | |
parent | e02a07e1d6f16f6459f6ab33a0f48e006c3612c2 (diff) | |
download | binutils-redhat-0b483a971d88ca2886de9759b51053abdecbd2e8.tar.gz |
* bfd/elf32-tic6x.c (elf32_tic6x_set_osabi): Also set it if
link_info is NULL.
Diffstat (limited to 'bfd/elf32-tic6x.c')
-rw-r--r-- | bfd/elf32-tic6x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c index 4e9d202138..19287fec18 100644 --- a/bfd/elf32-tic6x.c +++ b/bfd/elf32-tic6x.c @@ -4473,7 +4473,7 @@ elf32_tic6x_write_section (bfd *output_bfd, static void elf32_tic6x_set_osabi (bfd *abfd, struct bfd_link_info *link_info) { - if (link_info == NULL || link_info->relocatable) + if (link_info != NULL && link_info->relocatable) return; _bfd_elf_set_osabi (abfd, link_info); } |