GCC Middle and Back End API Reference
collect2.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void do_tlink (char **, char **)
struct pex_obj * collect_execute (const char *, char **, const char *, const char *, int flags)
int collect_wait (const char *, struct pex_obj *)
void dump_ld_file (const char *, FILE *)
int file_exists (const char *)
void notice_translated (const char *,...) ATTRIBUTE_PRINTF_1
void notice (const char *,...) ATTRIBUTE_PRINTF_1

Variables

const char * ldout
const char * lderrout
const char * c_file_name
struct obstack temporary_obstack
char * temporary_firstobj
bool vflag
bool debug
bool may_unlink_output_file

Function Documentation

struct pex_obj* collect_execute ( const char *  ,
char **  ,
const char *  ,
const char *  ,
int  flags 
)
read
int collect_wait ( const char *  ,
struct pex_obj *   
)
void do_tlink ( char **  ,
char **   
)

Header file for collect/tlink routines. Copyright (C) 1998-2013 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/.

void dump_ld_file ( const char *  ,
FILE *   
)
int file_exists ( const char *  )
void notice ( const char *  ,
  ... 
)
void notice_translated ( const char *  ,
  ... 
)

Variable Documentation

const char* c_file_name
bool debug

Unified dump function for a DATA_REFERENCE structure.

Generic dump for the above.

End of lto-streamer.h copy.

Print the slot this node is in, and its code, and address.

Referenced by debug(), find_a_file(), find_file_set_debug(), and prefix_from_string().

const char* lderrout
const char* ldout
bool may_unlink_output_file

Whether we may unlink the output file, which should be set as soon as we know we have successfully produced it. This is typically useful to prevent blindly attempting to unlink a read-only output that the target linker would leave untouched.

char* temporary_firstobj
struct obstack temporary_obstack

Referenced by obstack_fgets(), and tlink_execute().

bool vflag