Searched refs:newsect (Results 1 - 25 of 29) sorted by relevance

12

/haiku-buildtools/binutils/bfd/
H A Dsection.c812 _bfd_generic_new_section_hook (bfd *abfd, asection *newsect) argument
814 newsect->symbol = bfd_make_empty_symbol (abfd);
815 if (newsect->symbol == NULL)
818 newsect->symbol->name = newsect->name;
819 newsect->symbol->value = 0;
820 newsect->symbol->section = newsect;
821 newsect->symbol->flags = BSF_SECTION_SYM;
823 newsect
832 bfd_section_init(bfd *abfd, asection *newsect) argument
1095 asection *newsect; local
1162 asection *newsect; local
1241 asection *newsect; local
[all...]
H A Dlynx-core.c96 asection *newsect; local
150 newsect = make_bfd_asection (abfd, ".stack",
155 if (!newsect)
158 newsect = make_bfd_asection (abfd, ".data",
173 if (!newsect)
183 newsect = make_bfd_asection (abfd, ".reg",
188 if (!newsect)
196 newsect = make_bfd_asection (abfd, secname,
201 if (!newsect)
H A Doasys.c686 oasys_new_section_hook (bfd *abfd, asection *newsect) argument
688 if (!newsect->used_by_bfd)
690 newsect->used_by_bfd
692 if (!newsect->used_by_bfd)
695 oasys_per_section (newsect)->data = NULL;
696 oasys_per_section (newsect)->section = newsect;
697 oasys_per_section (newsect)->offset = 0;
698 oasys_per_section (newsect)->initialized = FALSE;
699 newsect
[all...]
H A Delf.c582 setup_group (bfd *abfd, Elf_Internal_Shdr *hdr, asection *newsect) argument
756 elf_group_name (newsect) = elf_group_name (s);
757 elf_next_in_group (newsect) = elf_next_in_group (s);
758 elf_next_in_group (s) = newsect;
767 elf_group_name (newsect) = gname;
770 elf_next_in_group (newsect) = newsect;
776 elf_next_in_group (shdr->bfd_section) = newsect;
784 if (elf_group_name (newsect) == NULL)
788 abfd, newsect);
951 asection *newsect; local
2884 asection *newsect; local
[all...]
H A Delf32-i370.c383 asection *newsect;
389 newsect = hdr->bfd_section;
390 flags = bfd_get_section_flags (abfd, newsect);
394 bfd_set_section_flags (abfd, newsect, flags);
381 asection *newsect; local
H A Dnlmcode.h139 asection *newsect; local
141 newsect = bfd_make_section_with_flags (abfd, name, flags);
142 if (newsect == NULL)
145 newsect->vma = 0; /* NLM's are relocatable. */
146 newsect->size = size;
147 newsect->filepos = offset;
148 newsect->alignment_power = bfd_log2 ((bfd_vma) 0); /* FIXME */
H A Dpdp11.c1097 NAME (aout, new_section_hook) (bfd *abfd, asection *newsect)
1100 newsect->alignment_power = bfd_get_arch_info(abfd)->section_align_power;
1105 && !strcmp (newsect->name, ".text"))
1107 obj_textsec(abfd)= newsect;
1108 newsect->target_index = N_TEXT;
1111 && !strcmp (newsect->name, ".data"))
1113 obj_datasec (abfd) = newsect;
1114 newsect->target_index = N_DATA;
1117 && !strcmp (newsect->name, ".bss"))
1119 obj_bsssec (abfd) = newsect;
[all...]
H A Dmmo.c2093 mmo_new_section_hook (bfd *abfd, asection *newsect) argument
2095 if (!newsect->used_by_bfd)
2099 newsect->used_by_bfd
2101 if (!newsect->used_by_bfd)
2106 newsect->alignment_power = 2;
2107 return _bfd_generic_new_section_hook (abfd, newsect);
H A Daoutx.h1218 asection *newsect);
1225 NAME (aout, new_section_hook) (bfd *abfd, asection *newsect)
1228 newsect->alignment_power = bfd_get_arch_info (abfd)->section_align_power;
1232 if (obj_textsec (abfd) == NULL && !strcmp (newsect->name, ".text"))
1234 obj_textsec (abfd)= newsect;
1235 newsect->target_index = N_TEXT;
1237 else if (obj_datasec (abfd) == NULL && !strcmp (newsect->name, ".data"))
1239 obj_datasec (abfd) = newsect;
1240 newsect->target_index = N_DATA;
1242 else if (obj_bsssec (abfd) == NULL && !strcmp (newsect
[all...]
H A Dieee.c2121 ieee_new_section_hook (bfd *abfd, asection *newsect)
2123 if (!newsect->used_by_bfd)
2125 newsect->used_by_bfd = bfd_alloc (abfd, sizeof (ieee_per_section_type));
2126 if (!newsect->used_by_bfd)
2129 ieee_per_section (newsect)->data = NULL;
2130 ieee_per_section (newsect)->section = newsect;
2131 return _bfd_generic_new_section_hook (abfd, newsect);
2118 ieee_new_section_hook(bfd *abfd, asection *newsect) argument
H A Dsom.c5362 som_new_section_hook (bfd *abfd, asection *newsect)
5364 if (!newsect->used_by_bfd)
5368 newsect->used_by_bfd = bfd_zalloc (abfd, amt);
5369 if (!newsect->used_by_bfd)
5372 newsect->alignment_power = 3;
5375 return _bfd_generic_new_section_hook (abfd, newsect);
5361 som_new_section_hook(bfd *abfd, asection *newsect) argument
H A Delf64-alpha.c1152 asection *newsect;
1171 newsect = hdr->bfd_section;
1175 if (! bfd_set_section_flags (abfd, newsect,
1176 (bfd_get_section_flags (abfd, newsect)
1147 asection *newsect; local
/haiku-buildtools/legacy/binutils/bfd/
H A Dsection.c749 bfd_section_init (bfd *abfd, asection *newsect) argument
753 newsect->id = section_id;
754 newsect->index = abfd->section_count;
755 newsect->owner = abfd;
760 newsect->symbol = bfd_make_empty_symbol (abfd);
761 if (newsect->symbol == NULL)
764 newsect->symbol->name = newsect->name;
765 newsect->symbol->value = 0;
766 newsect
968 asection *newsect; local
1027 asection *newsect; local
1106 asection *newsect; local
[all...]
H A Dlynx-core.c98 asection *newsect; local
152 newsect = make_bfd_asection (abfd, ".stack",
157 if (!newsect)
160 newsect = make_bfd_asection (abfd, ".data",
175 if (!newsect)
185 newsect = make_bfd_asection (abfd, ".reg",
190 if (!newsect)
198 newsect = make_bfd_asection (abfd, secname,
203 if (!newsect)
H A Doasys.c686 oasys_new_section_hook (bfd *abfd, asection *newsect) argument
688 newsect->used_by_bfd = bfd_alloc (abfd, (bfd_size_type) sizeof (oasys_per_section_type));
689 if (!newsect->used_by_bfd)
691 oasys_per_section (newsect)->data = NULL;
692 oasys_per_section (newsect)->section = newsect;
693 oasys_per_section (newsect)->offset = 0;
694 oasys_per_section (newsect)->initialized = FALSE;
695 newsect->alignment_power = 1;
698 sscanf (newsect
[all...]
H A Delf.c466 setup_group (bfd *abfd, Elf_Internal_Shdr *hdr, asection *newsect) argument
592 elf_group_name (newsect) = elf_group_name (s);
593 elf_next_in_group (newsect) = elf_next_in_group (s);
594 elf_next_in_group (s) = newsect;
603 elf_group_name (newsect) = gname;
606 elf_next_in_group (newsect) = newsect;
612 elf_next_in_group (shdr->bfd_section) = newsect;
620 if (elf_group_name (newsect) == NULL)
623 abfd, newsect);
732 asection *newsect; local
2500 asection *newsect; local
[all...]
H A Dnlmcode.h139 asection *newsect; local
141 newsect = bfd_make_section (abfd, name);
142 if (newsect == NULL)
145 newsect->vma = 0; /* NLM's are relocatable. */
146 newsect->size = size;
147 newsect->filepos = offset;
148 newsect->flags = flags;
149 newsect->alignment_power = bfd_log2 ((bfd_vma) 0); /* FIXME */
H A Delf32-i370.c356 asection *newsect;
362 newsect = hdr->bfd_section;
363 flags = bfd_get_section_flags (abfd, newsect);
370 bfd_set_section_flags (abfd, newsect, flags);
354 asection *newsect; local
H A Dpdp11.c1106 NAME (aout, new_section_hook) (bfd *abfd, asection *newsect)
1109 newsect->alignment_power = bfd_get_arch_info(abfd)->section_align_power;
1114 && ! strcmp (newsect->name, ".text"))
1116 obj_textsec(abfd)= newsect;
1117 newsect->target_index = N_TEXT;
1122 && ! strcmp (newsect->name, ".data"))
1124 obj_datasec (abfd) = newsect;
1125 newsect->target_index = N_DATA;
1130 && !strcmp (newsect->name, ".bss"))
1132 obj_bsssec (abfd) = newsect;
[all...]
H A Daoutx.h1178 asection *newsect);
1185 NAME (aout, new_section_hook) (bfd *abfd, asection *newsect)
1188 newsect->alignment_power = bfd_get_arch_info (abfd)->section_align_power;
1192 if (obj_textsec (abfd) == NULL && !strcmp (newsect->name, ".text"))
1194 obj_textsec (abfd)= newsect;
1195 newsect->target_index = N_TEXT;
1199 if (obj_datasec (abfd) == NULL && !strcmp (newsect->name, ".data"))
1201 obj_datasec (abfd) = newsect;
1202 newsect->target_index = N_DATA;
1206 if (obj_bsssec (abfd) == NULL && !strcmp (newsect
[all...]
H A Dmmo.c2010 mmo_new_section_hook (bfd *abfd ATTRIBUTE_UNUSED, asection *newsect) argument
2014 newsect->used_by_bfd =
2017 if (!newsect->used_by_bfd)
2021 newsect->alignment_power = 2;
H A Dieee.c2018 ieee_new_section_hook (bfd *abfd, asection *newsect)
2020 newsect->used_by_bfd = bfd_alloc (abfd, (bfd_size_type) sizeof (ieee_per_section_type));
2021 if (!newsect->used_by_bfd)
2023 ieee_per_section (newsect)->data = NULL;
2024 ieee_per_section (newsect)->section = newsect;
2015 ieee_new_section_hook(bfd *abfd, asection *newsect) argument
H A Delf64-alpha.c1098 asection *newsect;
1117 newsect = hdr->bfd_section;
1121 if (! bfd_set_section_flags (abfd, newsect,
1122 (bfd_get_section_flags (abfd, newsect)
1093 asection *newsect; local
H A Delf64-hppa.c424 asection *newsect;
444 newsect = hdr->bfd_section;
423 asection *newsect; local
H A Delf32-ppc.c1837 asection *newsect;
1843 newsect = hdr->bfd_section;
1844 flags = bfd_get_section_flags (abfd, newsect);
1851 bfd_set_section_flags (abfd, newsect, flags);
1834 asection *newsect; local

Completed in 373 milliseconds

12