Home
last modified time | relevance | path

Searched refs:newsect (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/contrib/binutils/bfd/
H A Dsection.c752 newsect->symbol->name = newsect->name; in _bfd_generic_new_section_hook()
754 newsect->symbol->section = newsect; in _bfd_generic_new_section_hook()
757 newsect->symbol_ptr_ptr = &newsect->symbol; in _bfd_generic_new_section_hook()
778 return newsect; in bfd_section_init()
968 asection *newsect; in bfd_make_section_old_way() local
996 return newsect; in bfd_make_section_old_way()
1008 return newsect; in bfd_make_section_old_way()
1035 asection *newsect; in bfd_make_section_anyway_with_flags() local
1066 newsect->name = name; in bfd_make_section_anyway_with_flags()
1114 asection *newsect; in bfd_make_section_with_flags() local
[all …]
H A Delf.c658 elf_next_in_group (newsect) = newsect; in setup_group()
675 abfd, newsect); in setup_group()
784 asection *newsect; in _bfd_elf_make_section_from_shdr() local
796 if (newsect == NULL) in _bfd_elf_make_section_from_shdr()
799 hdr->bfd_section = newsect; in _bfd_elf_make_section_from_shdr()
2605 asection *newsect; in _bfd_elf_make_section_from_phdr() local
2621 if (newsect == NULL) in _bfd_elf_make_section_from_phdr()
2623 newsect->vma = hdr->p_vaddr; in _bfd_elf_make_section_from_phdr()
2624 newsect->lma = hdr->p_paddr; in _bfd_elf_make_section_from_phdr()
2637 newsect->flags |= SEC_CODE; in _bfd_elf_make_section_from_phdr()
[all …]
H A Dieee.c2015 ieee_new_section_hook (bfd *abfd, asection *newsect) in ieee_new_section_hook() argument
2017 if (!newsect->used_by_bfd) in ieee_new_section_hook()
2019 newsect->used_by_bfd = bfd_alloc (abfd, sizeof (ieee_per_section_type)); in ieee_new_section_hook()
2020 if (!newsect->used_by_bfd) in ieee_new_section_hook()
2023 ieee_per_section (newsect)->data = NULL; in ieee_new_section_hook()
2024 ieee_per_section (newsect)->section = newsect; in ieee_new_section_hook()
2025 return _bfd_generic_new_section_hook (abfd, newsect); in ieee_new_section_hook()
H A Daoutx.h1208 NAME (aout, new_section_hook) (bfd *abfd, asection *newsect) in NAME()
1211 newsect->alignment_power = bfd_get_arch_info (abfd)->section_align_power; in NAME()
1215 if (obj_textsec (abfd) == NULL && !strcmp (newsect->name, ".text")) in NAME()
1217 obj_textsec (abfd)= newsect; in NAME()
1218 newsect->target_index = N_TEXT; in NAME()
1222 obj_datasec (abfd) = newsect; in NAME()
1223 newsect->target_index = N_DATA; in NAME()
1225 else if (obj_bsssec (abfd) == NULL && !strcmp (newsect->name, ".bss")) in NAME()
1227 obj_bsssec (abfd) = newsect; in NAME()
1228 newsect->target_index = N_BSS; in NAME()
[all …]
H A Delf64-alpha.c1117 asection *newsect; in elf64_alpha_section_from_shdr() local
1136 newsect = hdr->bfd_section; in elf64_alpha_section_from_shdr()
1140 if (! bfd_set_section_flags (abfd, newsect, in elf64_alpha_section_from_shdr()
1141 (bfd_get_section_flags (abfd, newsect) in elf64_alpha_section_from_shdr()
H A Delf32-ppc.c1945 asection *newsect; in ppc_elf_section_from_shdr() local
1951 newsect = hdr->bfd_section; in ppc_elf_section_from_shdr()
1952 flags = bfd_get_section_flags (abfd, newsect); in ppc_elf_section_from_shdr()
1959 bfd_set_section_flags (abfd, newsect, flags); in ppc_elf_section_from_shdr()
H A Delfxx-ia64.c1464 asection *newsect; in elfNN_ia64_section_from_shdr() local
1488 newsect = hdr->bfd_section; in elfNN_ia64_section_from_shdr()
H A DChangeLog-00016349 * section.c (bfd_make_section_anyway): Release newsect ptr when
6350 newsect->symbol fails to alloc. Use bfd_release instead of free.
H A DChangeLog-94957285 (bfd_prpsinfo): Remove unused local variable newsect.