* bfd/elf32-tic6x.c (elf32_tic6x_set_osabi): Also set it if link_info is NULL. Index: bfd/elf32-tic6x.c =================================================================== RCS file: /cvs/src/src/bfd/elf32-tic6x.c,v retrieving revision 1.26 diff -c -p -r1.26 elf32-tic6x.c *** bfd/elf32-tic6x.c 14 Jun 2011 02:45:12 -0000 1.26 --- bfd/elf32-tic6x.c 27 Jun 2011 14:36:07 -0000 *************** elf32_tic6x_write_section (bfd *output_b *** 4473,4479 **** static void elf32_tic6x_set_osabi (bfd *abfd, struct bfd_link_info *link_info) { ! if (link_info == NULL || link_info->relocatable) return; _bfd_elf_set_osabi (abfd, link_info); } --- 4473,4479 ---- static void elf32_tic6x_set_osabi (bfd *abfd, struct bfd_link_info *link_info) { ! if (link_info != NULL && link_info->relocatable) return; _bfd_elf_set_osabi (abfd, link_info); }