home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / src / binutils.2 / ld / ldemul.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-30  |  1.9 KB  |  89 lines

  1. /* ld-emul.h - Linker emulation header file
  2.  
  3.    Copyright 1991, 1992 Free Software Foundation, Inc.
  4.  
  5.    This file is part of GLD, the Gnu Linker.
  6.  
  7.    GLD is free software; you can redistribute it and/or modify
  8.    it under the terms of the GNU General Public License as published by
  9.    the Free Software Foundation; either version 1, or (at your option)
  10.    any later version.
  11.  
  12.    GLD is distributed in the hope that it will be useful,
  13.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.    GNU General Public License for more details.  */
  16.  
  17. void
  18. ldemul_hll PARAMS ((char *));
  19.  
  20. void
  21. ldemul_syslib PARAMS ((char *));
  22.  
  23. void
  24. ldemul_after_parse PARAMS ((void));
  25.  
  26. void
  27. ldemul_before_parse PARAMS ((void));
  28.  
  29. void
  30. ldemul_after_allocation PARAMS ((void));
  31.  
  32. void
  33. ldemul_before_allocation PARAMS ((void));
  34.  
  35. void
  36. ldemul_set_output_arch PARAMS ((void));
  37.  
  38. char *
  39. ldemul_choose_target PARAMS ((void));
  40.  
  41. void
  42. ldemul_choose_mode PARAMS ((char *));
  43.  
  44. char *
  45. ldemul_get_script PARAMS ((void));
  46.  
  47. char
  48. *ldemul_default_target PARAMS ((void));
  49.  
  50. void
  51. after_parse_default PARAMS ((void));
  52.  
  53. void
  54. after_allocation_default PARAMS ((void));
  55.  
  56. void
  57. before_allocation_default PARAMS ((void));
  58.  
  59. void
  60. set_output_arch_default PARAMS ((void));
  61.  
  62. void
  63. syslib_default PARAMS ((char*));
  64.  
  65. void
  66. hll_default PARAMS ((char*));
  67.  
  68. typedef struct ld_emulation_xfer_struct
  69. {
  70.   void   (*before_parse) PARAMS ((void));
  71.   void   (*syslib) PARAMS ((char *));
  72.   void   (*hll) PARAMS ((char *));
  73.   void   (*after_parse) PARAMS ((void));
  74.   void   (*after_allocation) PARAMS ( (void));
  75.   void   (*set_output_arch) PARAMS ((void));
  76.   char * (*choose_target) PARAMS ((void));
  77.   void   (*before_allocation) PARAMS ((void));
  78.   char * (*get_script) PARAMS ((void));
  79.   char *emulation_name;
  80.   char *target_name;
  81. } ld_emulation_xfer_type;
  82.  
  83. typedef enum 
  84. {
  85.   intel_ic960_ld_mode_enum,
  86.   default_mode_enum ,
  87.   intel_gld960_ld_mode_enum
  88. } lang_emulation_mode_enum_type;
  89.