Home
last modified time | relevance | path

Searched refs:asec (Results 1 – 11 of 11) sorted by relevance

/dragonfly/contrib/binutils-2.34/ld/
H A Dldelf.c1323 asection *asec; in write_build_id() local
1331 asec = t->o->build_id.sec; in write_build_id()
1332 if (bfd_is_abs_section (asec->output_section)) in write_build_id()
1338 i_shdr = &elf_section_data (asec->output_section)->this_hdr; in write_build_id()
1342 if (asec->contents == NULL) in write_build_id()
1343 asec->contents = (unsigned char *) xmalloc (asec->size); in write_build_id()
1344 contents = asec->contents; in write_build_id()
1347 contents = i_shdr->contents + asec->output_offset; in write_build_id()
1353 size = asec->size - size; in write_build_id()
1362 position = i_shdr->sh_offset + asec->output_offset; in write_build_id()
[all …]
H A Dldlang.c464 compare_section (sort_type sort, asection *asec, asection *bsec) in compare_section() argument
475 a_priority = get_init_priority (asec); in compare_section()
486 ret = bfd_section_alignment (bsec) - bfd_section_alignment (asec); in compare_section()
493 ret = strcmp (bfd_section_name (asec), bfd_section_name (bsec)); in compare_section()
497 ret = strcmp (bfd_section_name (asec), bfd_section_name (bsec)); in compare_section()
503 ret = bfd_section_alignment (bsec) - bfd_section_alignment (asec); in compare_section()
/dragonfly/contrib/gdb-7/gdb/
H A Dgcore.c418 asection *asec = objsec->the_bfd_section; in gcore_create_callback() local
420 asec); in gcore_create_callback()
H A Dsymfile.c1943 add_section_size_callback (bfd *abfd, asection *asec, void *data) in add_section_size_callback() argument
1947 *sum += bfd_get_section_size (asec); in add_section_size_callback()
2044 load_section_callback (bfd *abfd, asection *asec, void *data) in load_section_callback() argument
2049 bfd_size_type size = bfd_get_section_size (asec); in load_section_callback()
2051 const char *sect_name = bfd_get_section_name (abfd, asec); in load_section_callback()
2053 if ((bfd_get_section_flags (abfd, asec) & SEC_LOAD) == 0) in load_section_callback()
2063 new_request->begin = bfd_section_lma (abfd, asec) + args->load_offset; in load_section_callback()
2077 bfd_get_section_contents (abfd, asec, buffer, 0, size); in load_section_callback()
/dragonfly/contrib/binutils-2.27/ld/emultempl/
H A Delf32.em936 asection *asec;
944 asec = t->o->build_id.sec;
945 if (bfd_is_abs_section (asec->output_section))
951 i_shdr = &elf_section_data (asec->output_section)->this_hdr;
955 if (asec->contents == NULL)
956 asec->contents = (unsigned char *) xmalloc (asec->size);
957 contents = asec->contents;
960 contents = i_shdr->contents + asec->output_offset;
966 size = asec->size - size;
975 position = i_shdr->sh_offset + asec->output_offset;
[all …]
/dragonfly/contrib/binutils-2.34/bfd/
H A Dcofflink.c1306 asection *asec; in process_embedded_commands() local
1333 asec = bfd_get_section_by_name (abfd, name); in process_embedded_commands()
1334 if (asec) in process_embedded_commands()
1337 asec->flags |= SEC_CODE; in process_embedded_commands()
1339 asec->flags |= SEC_READONLY; in process_embedded_commands()
H A Delflink.c8226 _bfd_elf_match_sections_by_type (bfd *abfd, const asection *asec, in _bfd_elf_match_sections_by_type() argument
8229 if (asec == NULL in _bfd_elf_match_sections_by_type()
8235 return elf_section_type (asec) == elf_section_type (bsec); in _bfd_elf_match_sections_by_type()
11523 asection *asec = elf_linked_to_section (alo->u.indirect.section); in compare_link_order() local
11525 bfd_vma apos = asec->output_section->lma + asec->output_offset; in compare_link_order()
11535 if (asec->size < bsec->size) in compare_link_order()
11537 if (asec->size > bsec->size) in compare_link_order()
11544 apos = asec->output_section->vma + asec->output_offset; in compare_link_order()
11551 return asec->id - bsec->id; in compare_link_order()
/dragonfly/contrib/binutils-2.27/bfd/
H A Dcofflink.c1296 asection *asec; in process_embedded_commands() local
1323 asec = bfd_get_section_by_name (abfd, name); in process_embedded_commands()
1324 if (asec) in process_embedded_commands()
1327 asec->flags |= SEC_CODE; in process_embedded_commands()
1329 asec->flags |= SEC_READONLY; in process_embedded_commands()
H A Delflink.c7648 _bfd_elf_match_sections_by_type (bfd *abfd, const asection *asec, in _bfd_elf_match_sections_by_type() argument
7651 if (asec == NULL in _bfd_elf_match_sections_by_type()
7657 return elf_section_type (asec) == elf_section_type (bsec); in _bfd_elf_match_sections_by_type()
/dragonfly/contrib/binutils-2.27/ld/
H A Dldlang.c417 compare_section (sort_type sort, asection *asec, asection *bsec) in compare_section() argument
429 = get_init_priority (bfd_get_section_name (asec->owner, asec)); in compare_section()
442 - bfd_section_alignment (asec->owner, asec)); in compare_section()
449 ret = strcmp (bfd_get_section_name (asec->owner, asec), in compare_section()
454 ret = strcmp (bfd_get_section_name (asec->owner, asec), in compare_section()
462 - bfd_section_alignment (asec->owner, asec)); in compare_section()
/dragonfly/contrib/gdb-7/bfd/
H A Delflink.c7464 _bfd_elf_match_sections_by_type (bfd *abfd, const asection *asec, in _bfd_elf_match_sections_by_type() argument
7467 if (asec == NULL in _bfd_elf_match_sections_by_type()
7473 return elf_section_type (asec) == elf_section_type (bsec); in _bfd_elf_match_sections_by_type()