Lines Matching refs:cranges
135 through SHT_SH5_CR_SORTED on a sorted .cranges section. */
147 .cranges section passing through objcopy. */
264 We only recognize SHT_SH5_CR_SORTED, on the .cranges section. */
639 /* Make sure to write out the generated entries in the .cranges section
641 points to SHmedia code and write sorted .cranges entries when writing
649 asection *cranges
652 /* If no new .cranges were added, the generic ELF linker parts will
657 && cranges != NULL
660 = sh64_elf_section_data (cranges)->sh64_info->cranges_growth) != 0)
663 = cranges->size - ld_generated_cranges_size;
665 if (! bfd_set_section_contents (abfd, cranges,
666 cranges->contents
668 cranges->output_offset
674 (_("%s: could not write out added .cranges entries"),
679 /* Only set entry address bit 0 and sort .cranges when linking to an
703 /* If we have a .cranges section, sort the entries. */
704 if (cranges != NULL)
706 bfd_size_type cranges_size = cranges->size;
709 BFD_ASSERT (cranges->contents != NULL);
711 /* The .cranges may already have been sorted in the process of
714 if (elf_section_data (cranges)->this_hdr.sh_type
717 qsort (cranges->contents, cranges_size / SH64_CRANGE_SIZE,
719 bfd_big_endian (cranges->owner)
722 elf_section_data (cranges)->this_hdr.sh_type
727 if (! bfd_set_section_contents (abfd, cranges,
728 cranges->contents,
729 cranges->output_offset,
734 (_("%s: could not write out sorted .cranges entries"),
764 { STRING_COMMA_LEN (".cranges"), 0, SHT_PROGBITS, 0 },