Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/binutils/bfd/
Dsection.c743 _bfd_generic_new_section_hook (bfd *abfd, asection *newsect) in _bfd_generic_new_section_hook() argument
745 newsect->symbol = bfd_make_empty_symbol (abfd); in _bfd_generic_new_section_hook()
746 if (newsect->symbol == NULL) in _bfd_generic_new_section_hook()
749 newsect->symbol->name = newsect->name; in _bfd_generic_new_section_hook()
750 newsect->symbol->value = 0; in _bfd_generic_new_section_hook()
751 newsect->symbol->section = newsect; in _bfd_generic_new_section_hook()
752 newsect->symbol->flags = BSF_SECTION_SYM; in _bfd_generic_new_section_hook()
754 newsect->symbol_ptr_ptr = &newsect->symbol; in _bfd_generic_new_section_hook()
761 bfd_section_init (bfd *abfd, asection *newsect) in bfd_section_init() argument
765 newsect->id = section_id; in bfd_section_init()
[all …]
Delf.c499 setup_group (bfd *abfd, Elf_Internal_Shdr *hdr, asection *newsect) in setup_group() argument
644 elf_group_name (newsect) = elf_group_name (s); in setup_group()
645 elf_next_in_group (newsect) = elf_next_in_group (s); in setup_group()
646 elf_next_in_group (s) = newsect; in setup_group()
655 elf_group_name (newsect) = gname; in setup_group()
658 elf_next_in_group (newsect) = newsect; in setup_group()
664 elf_next_in_group (shdr->bfd_section) = newsect; in setup_group()
672 if (elf_group_name (newsect) == NULL) in setup_group()
675 abfd, newsect); in setup_group()
784 asection *newsect; in _bfd_elf_make_section_from_shdr() local
[all …]
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()
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()
1220 else if (obj_datasec (abfd) == NULL && !strcmp (newsect->name, ".data")) 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()
[all …]
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()
Delf32-ppc.c1915 asection *newsect; in ppc_elf_section_from_shdr() local
1921 newsect = hdr->bfd_section; in ppc_elf_section_from_shdr()
1922 flags = bfd_get_section_flags (abfd, newsect); in ppc_elf_section_from_shdr()
1929 bfd_set_section_flags (abfd, newsect, flags); in ppc_elf_section_from_shdr()
Delfxx-ia64.c1464 asection *newsect; in elfNN_ia64_section_from_shdr() local
1488 newsect = hdr->bfd_section; in elfNN_ia64_section_from_shdr()
DChangeLog-00016349 * section.c (bfd_make_section_anyway): Release newsect ptr when
6350 newsect->symbol fails to alloc. Use bfd_release instead of free.
DChangeLog-94957285 (bfd_prpsinfo): Remove unused local variable newsect.