#include "config.h"#include "system.h"

Go to the source code of this file.
Data Types | |
| type | dsc |
Defines | |
| #define | PATH_SEPARATOR ',' |
| #define | PATH_SEPARATOR_STR "," |
Typedefs | |
| typedef struct dsc | Descr |
Functions/Subroutines | |
| static void addarg | PARAMS ((const char *)) |
| static int is_regular_file | PARAMS ((char *)) |
| static char *locate_lib | PARAMS ((char *, char *)) |
| static void preprocess_args | PARAMS ((int *, char **)) |
| static int translate_unix | PARAMS ((char *, int)) |
| int main | PARAMS ((int, char **)) |
| static void | addarg (char *str) const |
| static char * | locate_lib (char *lib_name, char *path_val) |
| static const char * | expand_lib (char *name) |
| static int | is_regular_file (char *name) |
| static void | preprocess_args (int *p_argc, char **argv) |
| static void | process_args (int *p_argc, char **argv) |
| int | main (int argc, char **argv) |
| static int | translate_unix (char *name, type) |
| static char * | to_host_file_spec (char *filespec) |
Variables | |
| static char * | vmsdwarf2spec = 0 |
| static char * | vmsdwarf2ehspec = 0 |
| static int | verbose = 0 |
| static int | save_temps = 0 |
| static int | inhibit_exec = 1 |
| static int | debug = 0 |
| static int | staticp = 0 |
| static int | share = 0 |
| static int | ident = 0 |
| static int | link_arg_max = -1 |
| static const char ** | link_args = 0 |
| static int | link_arg_index = -1 |
| static char | optfilefullname [267] |
| static char * | sharefilename = 0 |
| static char * | exefilename = 0 |
| static char * | system_search_dirs = "" |
| static char * | search_dirs |
| static char | new_host_filespec [255] |
| static char | filename_buff [256] |
| static void addarg | ( | char * | str | ) | const [static] |
Definition at line 121 of file vms-ld.c.
References free(), i, link_arg_index, link_arg_max, link_args, and xcalloc().
| static const char* expand_lib | ( | char * | name | ) | [static] |
| static int is_regular_file | ( | char * | name | ) | [static] |
Definition at line 241 of file vms-ld.c.
References ret, S_ISREG, stat::st_mode, and stat.
Referenced by locate_lib().
| static char* locate_lib | ( | char * | lib_name, | |
| char * | path_val | |||
| ) | [static] |
Definition at line 145 of file vms-ld.c.
References alloca, buf, debug, is_regular_file(), PATH_SEPARATOR, ptr, staticp, strcat(), strchr, strcpy, strlen(), strncpy(), to_host_file_spec(), and xstrdup().
Referenced by expand_lib().
| int main | ( | int argc | , | |
| char ** | argv | |||
| ) |
Definition at line 382 of file vms-ld.c.
References addarg(), dsc::adr, alloca, cmd, cwd, debug, exefilename, exit(), expand_lib(), ext, fclose(), fdopen, fgets(), fopen, fprintf(), fputs(), getcwd, i, ident, inhibit_exec, len, dsc::len, link_arg_index, link_args, dsc::mbz, mkstemp(), NULL, optfilefullname, preprocess_args(), printf(), process_args(), ptr, putchar(), save_temps, share, sharefilename, sprintf(), stat::st_size, strcasecmp(), strcat(), strchr, strcmp(), strcpy, strlen(), strncasecmp(), strncmp(), strncpy(), system_search_dirs, to_host_file_spec(), verbose, vmsdwarf2ehspec, vmsdwarf2spec, xmalloc(), and xstrdup().
| int main PARAMS | ( | (int, char **) | ) |
| static int translate_unix PARAMS | ( | (char *, int) | ) | [static] |
| static void preprocess_args PARAMS | ( | (int *, char **) | ) | [static] |
| static char* locate_lib PARAMS | ( | (char *, char *) | ) | [static] |
| static int is_regular_file PARAMS | ( | (char *) | ) | [static] |
| static void addarg PARAMS | ( | (const char *) | ) | [static] |
Definition at line 635 of file mips-tfile.c.
| static void preprocess_args | ( | int * | p_argc, | |
| char ** | argv | |||
| ) | [static] |
| static void process_args | ( | int * | p_argc, | |
| char ** | argv | |||
| ) | [static] |
Definition at line 306 of file vms-ld.c.
References addarg(), debug, exefilename, free(), i, inhibit_exec, PATH_SEPARATOR_STR, ptr, save_temps, staticp, strcat(), strchr, strcmp(), strcpy, strlen(), strncmp(), verbose, xmalloc(), and xrealloc().
| static char* to_host_file_spec | ( | char * | filespec | ) | [static] |
| static int translate_unix | ( | char * | name, | |
| type | ||||
| ) | [static] |
char* exefilename = 0 [static] |
Definition at line 77 of file vms-ld.c.
Referenced by main(), preprocess_args(), and process_args().
char filename_buff[256] [static] |
int ident = 0 [static] |
Definition at line 67 of file vms-ld.c.
Referenced by build_class_reference_decl(), build_objc_string_decl(), build_protocol_reference(), build_selector_reference_decl(), c_common_valid_pch(), c_parser_enum_specifier(), c_parser_postfix_expression_after_primary(), c_parser_struct_or_union_specifier(), Cache_Adjust_Latency(), generate_static_references(), handle_directive(), lookup_and_install_protocols(), main(), mangled_classname(), objc_declare_class(), File_Info::process_file(), read_count_file(), read_graph_file(), validEhdr(), xlate_init_elf(), and xlate_named_init_elf().
int inhibit_exec = 1 [static] |
int link_arg_index = -1 [static] |
int link_arg_max = -1 [static] |
const char** link_args = 0 [static] |
char new_host_filespec[255] [static] |
char optfilefullname[267] [static] |
int save_temps = 0 [static] |
char* search_dirs [static] |
int share = 0 [static] |
char* sharefilename = 0 [static] |
int staticp = 0 [static] |
Definition at line 60 of file vms-ld.c.
Referenced by build_addr_func(), build_address(), build_unary_op(), cxx_staticp(), decay_conversion(), default_function_array_conversion(), ffecom_1(), ffecom_1_fn(), ffecom_sym_transform_(), grokdeclarator(), grokfndecl(), initializer_constant_valid_p(), locate_lib(), process_args(), recompute_tree_invarant_for_addr_expr(), recompute_tree_invariant_for_addr_expr(), safe_from_p(), and staticp().
char* system_search_dirs = "" [static] |
char* vmsdwarf2ehspec = 0 [static] |
char* vmsdwarf2spec = 0 [static] |
1.5.6