/[gcl]/gcl/unixport/rsym_elf.c
ViewVC logotype

Diff of /gcl/unixport/rsym_elf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by camm, Thu Jun 6 20:49:16 2002 UTC revision 1.9 by camm, Thu Jul 25 19:08:24 2002 UTC
# Line 10  This information will be used for reloca Line 10  This information will be used for reloca
10  to compile use cc rsym.c -o rsym  -I../h  to compile use cc rsym.c -o rsym  -I../h
11  */  */
12    
13    #include <stdlib.h>
14  #include <string.h>  #include <string.h>
15  #ifdef __linux__  #ifdef __linux__
16  /* Needed these to get it working with Linux.  Bill Metzenthen 23 May 95 */  /* Needed these to get it working with Linux.  Bill Metzenthen 23 May 95 */
# Line 40  char *my_string_table; Line 41  char *my_string_table;
41  char *start_address;  char *start_address;
42  int symbol_index;  int symbol_index;
43    
44  static void get_myself();  static void get_myself(char *);
45    
46  #ifdef RSYM_AUX  #ifdef RSYM_AUX
47  #include RSYM_AUX  #include RSYM_AUX
# Line 66  int debug =0; Line 67  int debug =0;
67  /*  this program will get the external symbols from a file writing  /*  this program will get the external symbols from a file writing
68  them out to a file together with their addresses */  them out to a file together with their addresses */
69  static char *outfile;  static char *outfile;
70    int
71    output_externals(char *);
72    
73  int  int
74  main(argc,argv)  main(argc,argv)
# Line 130  char *filename; Line 133  char *filename;
133  {  {
134          unsigned int i;          unsigned int i;
135          FILE *fp;          FILE *fp;
         int string_size=0;  
136          int symsize;          int symsize;
137          extern char *malloc();          extern char *malloc();
138                    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26