Lines Matching refs:name
803 newsect->symbol->name = newsect->name; in _bfd_generic_new_section_hook()
878 bfd_get_section_by_name (bfd *abfd, const char *name) in bfd_get_section_by_name() argument
882 sh = section_hash_lookup (&abfd->section_htab, name, FALSE, FALSE); in bfd_get_section_by_name()
906 const char *name; in bfd_get_next_section_by_name() local
913 name = sec->name; in bfd_get_next_section_by_name()
918 && strcmp (sh->root.string, name) == 0) in bfd_get_next_section_by_name()
937 bfd_get_linker_section (bfd *abfd, const char *name) in bfd_get_linker_section() argument
939 asection *sec = bfd_get_section_by_name (abfd, name); in bfd_get_linker_section()
971 bfd_get_section_by_name_if (bfd *abfd, const char *name, in bfd_get_section_by_name_if() argument
980 sh = section_hash_lookup (&abfd->section_htab, name, FALSE, FALSE); in bfd_get_section_by_name_if()
992 && strcmp (sh->root.string, name) == 0); in bfd_get_section_by_name_if()
1069 bfd_make_section_old_way (bfd *abfd, const char *name) in bfd_make_section_old_way() argument
1079 if (strcmp (name, BFD_ABS_SECTION_NAME) == 0) in bfd_make_section_old_way()
1081 else if (strcmp (name, BFD_COM_SECTION_NAME) == 0) in bfd_make_section_old_way()
1083 else if (strcmp (name, BFD_UND_SECTION_NAME) == 0) in bfd_make_section_old_way()
1085 else if (strcmp (name, BFD_IND_SECTION_NAME) == 0) in bfd_make_section_old_way()
1091 sh = section_hash_lookup (&abfd->section_htab, name, TRUE, FALSE); in bfd_make_section_old_way()
1096 if (newsect->name != NULL) in bfd_make_section_old_way()
1102 newsect->name = name; in bfd_make_section_old_way()
1134 bfd_make_section_anyway_with_flags (bfd *abfd, const char *name, in bfd_make_section_anyway_with_flags() argument
1146 sh = section_hash_lookup (&abfd->section_htab, name, TRUE, FALSE); in bfd_make_section_anyway_with_flags()
1151 if (newsect->name != NULL) in bfd_make_section_anyway_with_flags()
1159 bfd_section_hash_newfunc (NULL, &abfd->section_htab, name); in bfd_make_section_anyway_with_flags()
1169 newsect->name = name; in bfd_make_section_anyway_with_flags()
1191 bfd_make_section_anyway (bfd *abfd, const char *name) in bfd_make_section_anyway() argument
1193 return bfd_make_section_anyway_with_flags (abfd, name, 0); in bfd_make_section_anyway()
1213 bfd_make_section_with_flags (bfd *abfd, const char *name, in bfd_make_section_with_flags() argument
1225 if (strcmp (name, BFD_ABS_SECTION_NAME) == 0 in bfd_make_section_with_flags()
1226 || strcmp (name, BFD_COM_SECTION_NAME) == 0 in bfd_make_section_with_flags()
1227 || strcmp (name, BFD_UND_SECTION_NAME) == 0 in bfd_make_section_with_flags()
1228 || strcmp (name, BFD_IND_SECTION_NAME) == 0) in bfd_make_section_with_flags()
1231 sh = section_hash_lookup (&abfd->section_htab, name, TRUE, FALSE); in bfd_make_section_with_flags()
1236 if (newsect->name != NULL) in bfd_make_section_with_flags()
1242 newsect->name = name; in bfd_make_section_with_flags()
1262 bfd_make_section (bfd *abfd, const char *name) in bfd_make_section() argument
1264 return bfd_make_section_with_flags (abfd, name, 0); in bfd_make_section()
1315 sh->section.name = newname; in bfd_rename_section()