Mercurial > hg-old > index.cgi
comparison lwlink/lwlink.h @ 180:6ebb93b409ba
Added library paths and --section-base
author | lost |
---|---|
date | Thu, 05 Mar 2009 02:23:25 +0000 |
parents | d610b8aef91b |
children | 220a760ec654 |
comparison
equal
deleted
inserted
replaced
179:3711cd1c01e2 | 180:6ebb93b409ba |
---|---|
71 char *filename; | 71 char *filename; |
72 unsigned char *filedata; | 72 unsigned char *filedata; |
73 long filesize; | 73 long filesize; |
74 section_t *sections; | 74 section_t *sections; |
75 int nsections; | 75 int nsections; |
76 int islib; // set to true if the file is a "-l" option | |
76 | 77 |
77 // "sub" files (like in archives or libraries) | 78 // "sub" files (like in archives or libraries) |
78 int nsubs; | 79 int nsubs; |
79 fileinfo_t **subs; | 80 fileinfo_t **subs; |
80 fileinfo_t *parent; | 81 fileinfo_t *parent; |
99 extern char *outfile; | 100 extern char *outfile; |
100 extern int ninputfiles; | 101 extern int ninputfiles; |
101 extern fileinfo_t **inputfiles; | 102 extern fileinfo_t **inputfiles; |
102 extern char *scriptfile; | 103 extern char *scriptfile; |
103 | 104 |
105 extern int nlibdirs; | |
106 extern char **libdirs; | |
107 | |
108 extern int nscriptls; | |
109 extern char **scriptls; | |
110 | |
104 #define __lwlink_E__ extern | 111 #define __lwlink_E__ extern |
105 #else | 112 #else |
106 #define __lwlink_E__ | 113 #define __lwlink_E__ |
107 #endif // __lwlink_c_seen__ | 114 #endif // __lwlink_c_seen__ |
108 | 115 |
109 __lwlink_E__ void add_input_file(char *fn); | 116 __lwlink_E__ void add_input_file(char *fn); |
117 __lwlink_E__ void add_input_library(char *fn); | |
118 __lwlink_E__ void add_library_search(char *fn); | |
119 __lwlink_E__ void add_section_base(char *fn); | |
110 | 120 |
111 #undef __lwlink_E__ | 121 #undef __lwlink_E__ |
112 | 122 |
113 struct scriptline_s | 123 struct scriptline_s |
114 { | 124 { |