Lines Matching refs:entry

763 	     entry point for the archive.  For each element of the
1013 initialize the table, fill in an entry and remove the table. */
1016 output_section_statement_newfunc (struct bfd_hash_entry *entry,
1023 if (entry == NULL)
1025 entry = bfd_hash_allocate (table, sizeof (*ret));
1026 if (entry == NULL)
1027 return entry;
1030 entry = bfd_hash_newfunc (entry, table, string);
1031 if (entry == NULL)
1032 return entry;
1034 ret = (struct out_section_hash_entry *) entry;
1205 struct out_section_hash_entry *entry;
1208 entry = ((struct out_section_hash_entry *)
1211 if (entry == NULL)
1214 hash = entry->root.hash;
1217 if (entry->s.output_section_statement.constraint != -1)
1218 return &entry->s.output_section_statement;
1219 entry = (struct out_section_hash_entry *) entry->root.next;
1221 while (entry != NULL
1222 && entry->root.hash == hash
1223 && strcmp (name, entry->s.output_section_statement.name) == 0);
1231 struct out_section_hash_entry *entry;
1235 entry = ((struct out_section_hash_entry *)
1238 if (entry == NULL)
1244 if (entry->s.output_section_statement.name != NULL)
1248 hash = entry->root.hash;
1251 if (entry->s.output_section_statement.constraint != -1
1253 || (constraint == entry->s.output_section_statement.constraint
1255 return &entry->s.output_section_statement;
1256 last_ent = entry;
1257 entry = (struct out_section_hash_entry *) entry->root.next;
1259 while (entry != NULL
1260 && entry->root.hash == hash
1261 && strcmp (name, entry->s.output_section_statement.name) == 0);
1263 entry
1268 if (entry == NULL)
1273 entry->root = last_ent->root;
1274 last_ent->root.next = &entry->root;
1277 entry->s.output_section_statement.name = name;
1278 entry->s.output_section_statement.constraint = constraint;
1279 return &entry->s.output_section_statement;
1855 def->entry = hash_entry;
1969 lang_input_statement_type *entry = data;
1973 if (entry->just_syms_flag)
2355 struct excluded_lib *entry;
2359 entry = xmalloc (sizeof (*entry));
2360 entry->next = excluded_libs;
2361 entry->name = xmalloc (end - p + 1);
2362 memcpy (entry->name, p, end - p);
2363 entry->name[end - p] = '\0';
2364 excluded_libs = entry;
2403 load_symbols (lang_input_statement_type *entry,
2408 if (entry->loaded)
2411 ldfile_open_file (entry);
2413 if (! bfd_check_format (entry->the_bfd, bfd_archive)
2414 && ! bfd_check_format_matches (entry->the_bfd, bfd_object, &matching))
2425 if (ldemul_unrecognized_file (entry))
2432 einfo (_("%B: file not recognized: %E\n"), entry->the_bfd);
2433 einfo (_("%B: matching formats:"), entry->the_bfd);
2440 einfo (_("%F%B: file not recognized: %E\n"), entry->the_bfd);
2444 bfd_close (entry->the_bfd);
2445 entry->the_bfd = NULL;
2448 ldfile_open_command_file (entry->filename);
2453 ldlang_sysrooted_script = entry->sysrooted;
2455 as_needed = entry->as_needed;
2457 add_needed = entry->add_needed;
2463 config.dynamic_link = entry->dynamic;
2475 if (ldemul_recognized_file (entry))
2479 add_symbols entry point will call ldlang_add_file, via the
2482 switch (bfd_get_format (entry->the_bfd))
2488 ldlang_add_file (entry);
2490 info_msg ("%I\n", entry);
2494 check_excluded_libs (entry->the_bfd);
2496 if (entry->whole_archive)
2503 member = bfd_openr_next_archived_file (entry->the_bfd, member);
2511 entry->the_bfd, member);
2526 entry->loaded = loaded;
2532 if (bfd_link_add_symbols (entry->the_bfd, &link_info))
2533 entry->loaded = TRUE;
2535 einfo (_("%F%B: could not read symbols: %E\n"), entry->the_bfd);
2537 return entry->loaded;
2984 lang_definedness_newfunc (struct bfd_hash_entry *entry,
2989 = (struct lang_definedness_hash_entry *) entry;
3611 print_one_symbol (def->entry, sec);
5047 /* No entry has been specified. Look for the default entry, but
5074 /* We couldn't find the entry symbol. Try parsing it as a
5086 /* Can't find the entry symbol, and it's not a number. Use
5092 einfo (_("%P: warning: cannot find entry symbol %s;"
5104 einfo (_("%P: warning: cannot find entry symbol %s;"
5440 ldlang_add_file (lang_input_statement_type *entry)
5443 (lang_statement_union_type *) entry,
5444 &entry->next);
5448 ASSERT (entry->the_bfd->link_next == NULL);
5449 ASSERT (entry->the_bfd != output_bfd);
5451 *link_info.input_bfds_tail = entry->the_bfd;
5452 link_info.input_bfds_tail = &entry->the_bfd->link_next;
5453 entry->the_bfd->usrdata = entry;
5454 bfd_set_gp_size (entry->the_bfd, g_switch_value);
5466 bfd_map_over_sections (entry->the_bfd, section_already_linked, entry);
5632 and the section containing the entry symbol. */
5914 linker script nor the command line specifies an entry point. NAME
6196 /* Add a new program header. This is called for each entry in a PHDRS