Lines Matching refs:sect

1206   asection *sect;  in bfd_get_debug_link_info_1()  local
1216 sect = bfd_get_section_by_name (abfd, GNU_DEBUGLINK); in bfd_get_debug_link_info_1()
1218 if (sect == NULL) in bfd_get_debug_link_info_1()
1221 size = bfd_section_size (sect); in bfd_get_debug_link_info_1()
1227 if (!bfd_malloc_and_get_section (abfd, sect, &contents)) in bfd_get_debug_link_info_1()
1296 asection *sect; in bfd_get_alt_debug_link_info() local
1306 sect = bfd_get_section_by_name (abfd, GNU_DEBUGALTLINK); in bfd_get_alt_debug_link_info()
1308 if (sect == NULL) in bfd_get_alt_debug_link_info()
1311 size = bfd_section_size (sect); in bfd_get_alt_debug_link_info()
1315 if (!bfd_malloc_and_get_section (abfd, sect, & contents)) in bfd_get_alt_debug_link_info()
1325 if (buildid_offset >= bfd_section_size (sect)) in bfd_get_alt_debug_link_info()
1697 asection *sect; in bfd_create_gnu_debuglink_section() local
1710 sect = bfd_get_section_by_name (abfd, GNU_DEBUGLINK); in bfd_create_gnu_debuglink_section()
1711 if (sect) in bfd_create_gnu_debuglink_section()
1719 sect = bfd_make_section_with_flags (abfd, GNU_DEBUGLINK, flags); in bfd_create_gnu_debuglink_section()
1720 if (sect == NULL) in bfd_create_gnu_debuglink_section()
1730 if (!bfd_set_section_size (sect, debuglink_size)) in bfd_create_gnu_debuglink_section()
1737 bfd_set_section_alignment (sect, 2); in bfd_create_gnu_debuglink_section()
1739 return sect; in bfd_create_gnu_debuglink_section()
1764 struct bfd_section *sect, in bfd_fill_in_gnu_debuglink_section() argument
1776 if (abfd == NULL || sect == NULL || filename == NULL) in bfd_fill_in_gnu_debuglink_section()
1823 if (! bfd_set_section_contents (abfd, sect, contents, 0, debuglink_size)) in bfd_fill_in_gnu_debuglink_section()
1859 asection *sect; in get_build_id() local
1868 sect = bfd_get_section_by_name (abfd, ".note.gnu.build-id"); in get_build_id()
1869 if (sect == NULL) in get_build_id()
1875 size = bfd_section_size (sect); in get_build_id()
1883 if (!bfd_malloc_and_get_section (abfd, sect, & contents)) in get_build_id()
1893 size = bfd_section_size (sect); in get_build_id()