collect2.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* Header file for collect/tlink routines.
  2. Copyright (C) 1998-2015 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify it under
  5. the terms of the GNU General Public License as published by the Free
  6. Software Foundation; either version 3, or (at your option) any later
  7. version.
  8. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  9. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  11. for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. #ifndef GCC_COLLECT2_H
  16. #define GCC_COLLECT2_H
  17. extern void do_tlink (char **, char **);
  18. extern struct pex_obj *collect_execute (const char *, char **, const char *,
  19. const char *, int flags);
  20. extern int collect_wait (const char *, struct pex_obj *);
  21. extern void dump_ld_file (const char *, FILE *);
  22. extern int file_exists (const char *);
  23. extern const char *ldout;
  24. extern const char *lderrout;
  25. extern const char *c_file_name;
  26. extern struct obstack temporary_obstack;
  27. extern char *temporary_firstobj;
  28. extern bool may_unlink_output_file;
  29. extern void notice_translated (const char *, ...) ATTRIBUTE_PRINTF_1;
  30. extern void notice (const char *, ...) ATTRIBUTE_PRINTF_1;
  31. extern bool at_file_supplied;
  32. #endif /* ! GCC_COLLECT2_H */