Lines Matching refs:name

59   char *name;  member
71 is_sysrooted_pathname (const char *name) in is_sysrooted_pathname() argument
80 realname = lrealpath (name); in is_sysrooted_pathname()
98 ldfile_add_library_path (const char *name, bfd_boolean cmdline) in ldfile_add_library_path() argument
113 if (name[0] == '=') in ldfile_add_library_path()
114 new_dirs->name = concat (ld_sysroot, name + 1, (const char *) NULL); in ldfile_add_library_path()
116 new_dirs->name = xstrdup (name); in ldfile_add_library_path()
119 && (!strncmp (name, "/lib", 4) in ldfile_add_library_path()
127 || !strncmp (name, "/usr/local/lib", 14) in ldfile_add_library_path()
128 || !strncmp (name, "/usr/X11R6/lib", 14))) in ldfile_add_library_path()
132 "cross-compilation\n"), name); in ldfile_add_library_path()
135 "cross-compilation\n"), name); in ldfile_add_library_path()
214 arg1 = yylval.name; in ldfile_try_open_bfd()
225 arg2 = yylval.name; in ldfile_try_open_bfd()
233 arg3 = yylval.name; in ldfile_try_open_bfd()
259 free (yylval.name); in ldfile_try_open_bfd()
333 file.name = attempt; in ldfile_try_open_bfd()
364 char *name = concat (ld_sysroot, entry->filename, in ldfile_open_file_search() local
366 if (ldfile_try_open_bfd (name, entry)) in ldfile_open_file_search()
368 entry->filename = name; in ldfile_open_file_search()
371 free (name); in ldfile_open_file_search()
391 string = concat (search->name, slash, lib, entry->filename, in ldfile_open_file_search()
394 string = concat (search->name, slash, entry->filename, in ldfile_open_file_search()
442 found = ldfile_open_file_search (arch->name, entry, "lib", ".a"); in ldfile_open_file()
446 found = ldfile_open_file_search (arch->name, entry, ":lib", ".a"); in ldfile_open_file()
450 found = ldemul_find_potential_libraries (arch->name, entry); in ldfile_open_file()
477 try_open (const char *name, bfd_boolean *sysrooted) in try_open() argument
481 result = fopen (name, "r"); in try_open()
484 *sysrooted = is_sysrooted_pathname (name); in try_open()
489 info_msg (_("cannot find script file %s\n"), name); in try_open()
491 info_msg (_("opened script file %s\n"), name); in try_open()
558 ldfile_find_command_file (const char *name, in ldfile_find_command_file() argument
570 result = try_open (name, sysrooted); in ldfile_find_command_file()
596 path = concat (search->name, slash, name, (const char *) NULL); in ldfile_find_command_file()
612 ldfile_open_command_file_1 (const char *name, bfd_boolean default_only) in ldfile_open_command_file_1() argument
617 ldlex_input_stack = ldfile_find_command_file (name, default_only, &sysrooted); in ldfile_open_command_file_1()
622 einfo (_("%P%F: cannot open linker script file %s: %E\n"), name); in ldfile_open_command_file_1()
626 lex_push_file (ldlex_input_stack, name, sysrooted); in ldfile_open_command_file_1()
637 ldfile_open_command_file (const char *name) in ldfile_open_command_file() argument
639 ldfile_open_command_file_1 (name, FALSE); in ldfile_open_command_file()
645 ldfile_open_default_command_file (const char *name) in ldfile_open_default_command_file() argument
647 ldfile_open_command_file_1 (name, TRUE); in ldfile_open_default_command_file()
653 char *name = xstrdup (in_name); in ldfile_add_arch() local
659 new_arch->name = name; in ldfile_add_arch()
661 while (*name) in ldfile_add_arch()
663 *name = TOLOWER (*name); in ldfile_add_arch()
664 name++; in ldfile_add_arch()