ChangeLog revision 1.1.1.21 1 1.1.1.21 mrg 2023-05-08 Release Manager
2 1.1.1.20 mrg
3 1.1.1.21 mrg * GCC 12.3.0 released.
4 1.1.1.20 mrg
5 1.1.1.21 mrg 2022-08-19 Release Manager
6 1.1.1.19 mrg
7 1.1.1.21 mrg * GCC 12.2.0 released.
8 1.1.1.19 mrg
9 1.1.1.21 mrg 2022-05-06 Release Manager
10 1.1.1.14 mrg
11 1.1.1.21 mrg * GCC 12.1.0 released.
12 1.1.1.21 mrg
13 1.1.1.21 mrg 2022-03-22 Jakub Jelinek <jakub (a] redhat.com>
14 1.1.1.21 mrg
15 1.1.1.21 mrg PR lto/102426
16 1.1.1.21 mrg * configure.ac (LTO_PLUGIN_USE_SYMVER, LTO_PLUGIN_USE_SYMVER_GNU,
17 1.1.1.21 mrg LTO_PLUGIN_USE_SYMVER_SUN): New test for symbol versioning support.
18 1.1.1.21 mrg * Makefile.am (version_arg, version_dep): Set conditionally based
19 1.1.1.21 mrg on LTO_PLUGIN_USE_SYMVER*.
20 1.1.1.21 mrg (liblto_plugin_la_LDFLAGS): Use $(version_arg) instead of
21 1.1.1.21 mrg -export-symbols-regex onload.
22 1.1.1.21 mrg (liblto_plugin_la_DEPENDENCIES): Depend on $(version_dep).
23 1.1.1.21 mrg * lto-plugin.map: New file.
24 1.1.1.21 mrg * configure: Regenerated.
25 1.1.1.21 mrg * Makefile.in: Regenerated.
26 1.1.1.21 mrg
27 1.1.1.21 mrg 2022-03-11 Tobias Burnus <tobias (a] codesourcery.com>
28 1.1.1.21 mrg
29 1.1.1.21 mrg * lto-plugin.c (all_symbols_read_handler): With -save-temps, use
30 1.1.1.21 mrg link_output_name for -foffload-objects's file name, if available.
31 1.1.1.21 mrg
32 1.1.1.21 mrg 2022-03-01 Martin Liska <mliska (a] suse.cz>
33 1.1.1.21 mrg
34 1.1.1.21 mrg * lto-plugin.c (process_offload_section): Use a linker as many
35 1.1.1.21 mrg comments are connected to gold linker.
36 1.1.1.21 mrg (process_option): Likewise.
37 1.1.1.21 mrg
38 1.1.1.21 mrg 2021-12-02 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
39 1.1.1.21 mrg
40 1.1.1.21 mrg * lto-plugin.c: Fix -linker-output-auto-notlo-rel ->
41 1.1.1.21 mrg -linker-output-auto-nolto-rel typo.
42 1.1.1.21 mrg (process_option): Adjust accordingly, accepting both old and
43 1.1.1.21 mrg new spelling.
44 1.1.1.21 mrg
45 1.1.1.21 mrg 2021-09-13 Andrew Pinski <apinski (a] marvell.com>
46 1.1.1.21 mrg
47 1.1.1.21 mrg PR lto/49664
48 1.1.1.21 mrg * Makefile.am: Export only onload.
49 1.1.1.21 mrg * Makefile.in: Regenerate.
50 1.1.1.21 mrg
51 1.1.1.21 mrg 2021-06-25 Richard Biener <rguenther (a] suse.de>
52 1.1.1.21 mrg
53 1.1.1.21 mrg * lto-plugin.c (ltrans_objects): New global.
54 1.1.1.21 mrg (all_symbols_read_handler): If -ltrans-objects was specified,
55 1.1.1.21 mrg add the output files from the specified file directly.
56 1.1.1.21 mrg (process_option): Handle -ltrans-objects.
57 1.1.1.21 mrg
58 1.1.1.21 mrg 2021-05-10 Martin Liska <mliska (a] suse.cz>
59 1.1.1.21 mrg
60 1.1.1.21 mrg * lto-plugin.c (LTO_SEGMENT_NAME): Remove.
61 1.1.1.21 mrg (LTO_SYMTAB_PREFIX): Likewise.
62 1.1.1.21 mrg (LTO_SYMTAB_PREFIX_LEN): Likewise.
63 1.1.1.21 mrg (LTO_SYMTAB_EXT_PREFIX): Likewise.
64 1.1.1.21 mrg (LTO_SYMTAB_EXT_PREFIX_LEN): Likewise.
65 1.1.1.21 mrg (LTO_LTO_PREFIX): Likewise.
66 1.1.1.21 mrg (LTO_LTO_PREFIX_LEN): Likewise.
67 1.1.1.21 mrg (OFFLOAD_SECTION): Likewise.
68 1.1.1.21 mrg (OFFLOAD_SECTION_LEN): Likewise.
69 1.1.1.21 mrg (startswith): New function.
70 1.1.1.21 mrg (all_symbols_read_handler): Use it.
71 1.1.1.21 mrg (process_symtab): Likewise.
72 1.1.1.21 mrg (process_symtab_extension): Likewise.
73 1.1.1.21 mrg (process_offload_section): Likewise.
74 1.1.1.21 mrg (process_option): Likewise.
75 1.1.1.21 mrg
76 1.1.1.21 mrg 2021-05-03 H.J. Lu <hjl.tools (a] gmail.com>
77 1.1.1.21 mrg
78 1.1.1.21 mrg PR bootstrap/99703
79 1.1.1.21 mrg * configure: Regenerated.
80 1.1.1.21 mrg
81 1.1.1.21 mrg 2021-04-21 Martin Liska <mliska (a] suse.cz>
82 1.1.1.21 mrg
83 1.1.1.21 mrg * lto-plugin.c (exec_lto_wrapper): Make a temp variable.
84 1.1.1.21 mrg
85 1.1.1.21 mrg 2021-01-05 Samuel Thibault <samuel.thibault (a] ens-lyon.org>
86 1.1.1.21 mrg
87 1.1.1.21 mrg * configure: Re-generate.
88 1.1.1.21 mrg
89 1.1.1.21 mrg 2020-11-29 John David Anglin <danglin (a] gcc.gnu.org>
90 1.1.1.21 mrg
91 1.1.1.21 mrg * configure: Regenerate.
92 1.1.1.21 mrg
93 1.1.1.21 mrg 2020-11-25 Matthew Malcomson <matthew.malcomson (a] arm.com>
94 1.1.1.21 mrg
95 1.1.1.21 mrg * Makefile.am: Avoid using sanitizer.
96 1.1.1.21 mrg * Makefile.in: Regenerate.
97 1.1.1.21 mrg
98 1.1.1.21 mrg 2020-09-10 Jonathan Yong <10walls (a] gmail.com>
99 1.1.1.21 mrg
100 1.1.1.21 mrg * Makefile.am: drop versioning from libtool completely.
101 1.1.1.21 mrg * Makefile.in: regenerate.
102 1.1.1.14 mrg
103 1.1.1.18 mrg 2020-09-09 Nick Clifton <nickc (a] redhat.com>
104 1.1.1.11 mrg
105 1.1.1.18 mrg * lto-plugin.c (struct plugin_symtab): Add last_sym field.
106 1.1.1.18 mrg (parse_symtab_extension): Only read as many entries as are
107 1.1.1.18 mrg available in the buffer. Store the data read into the symbol
108 1.1.1.18 mrg table indexed from last_sym. Increment last_sym.
109 1.1.1.12 mrg
110 1.1.1.21 mrg 2020-07-30 H.J. Lu <hjl.tools (a] gmail.com>
111 1.1.1.21 mrg
112 1.1.1.21 mrg PR bootstrap/96202
113 1.1.1.21 mrg * configure: Regenerated.
114 1.1.1.21 mrg
115 1.1.1.21 mrg 2020-05-29 H.J. Lu <hjl.tools (a] gmail.com>
116 1.1.1.21 mrg
117 1.1.1.21 mrg PR bootstrap/95413
118 1.1.1.21 mrg * configure: Regenerated.
119 1.1.1.12 mrg
120 1.1.1.21 mrg 2020-05-26 Alexandre Oliva <oliva (a] adacore.com>
121 1.1.1.18 mrg
122 1.1.1.21 mrg * lto-plugin.c (skip_in_suffix): New.
123 1.1.1.21 mrg (exec_lto_wrapper): Use skip_in_suffix and concat to build
124 1.1.1.21 mrg non-temporary output names.
125 1.1.1.21 mrg (onload): Look for -dumpdir in COLLECT_GCC_OPTIONS, and
126 1.1.1.21 mrg override link_output_name with it.
127 1.1.1.18 mrg
128 1.1.1.21 mrg 2020-05-12 H.J. Lu <hongjiu.lu (a] intel.com>
129 1.1.1.18 mrg
130 1.1.1.18 mrg PR bootstrap/94998
131 1.1.1.18 mrg * configure: Regenerated.
132 1.1.1.18 mrg
133 1.1.1.21 mrg 2020-05-05 Eric Botcazou <ebotcazou (a] adacore.com>
134 1.1.1.18 mrg
135 1.1.1.21 mrg * lto-plugin.c: Document -linker-output-auto-notlo-rel option.
136 1.1.1.21 mrg (linker_output_set): Change type to bool.
137 1.1.1.21 mrg (linker_output_known): Likewise.
138 1.1.1.21 mrg (linker_output_auto_nolto_rel): New variable.
139 1.1.1.21 mrg (all_symbols_read_handler): Take it into account.
140 1.1.1.21 mrg <LDPO_REL>: Do not issue the warning if it is set.
141 1.1.1.21 mrg (process_option): Process -linker-output-auto-notlo-rel.
142 1.1.1.21 mrg (cleanup_handler): Remove unused variable.
143 1.1.1.21 mrg (onload) <LDPT_LINKER_OUTPUT>: Adjust to above type change.
144 1.1.1.18 mrg
145 1.1.1.18 mrg 2020-04-28 H.J. Lu <hongjiu.lu (a] intel.com>
146 1.1.1.18 mrg
147 1.1.1.18 mrg PR bootstrap/94739
148 1.1.1.18 mrg * configure: Regenerated.
149 1.1.1.18 mrg
150 1.1.1.18 mrg 2020-04-25 H.J. Lu <hongjiu.lu (a] intel.com>
151 1.1.1.18 mrg
152 1.1.1.18 mrg PR bootstrap/94739
153 1.1.1.18 mrg * Makefile.am (AM_CFLAGS): Add $(CET_HOST_FLAGS).
154 1.1.1.18 mrg * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
155 1.1.1.18 mrg AC_SUBST(CET_HOST_FLAGS).
156 1.1.1.18 mrg * Makefile.in: Regenerated.
157 1.1.1.18 mrg * aclocal.m4: Likewise.
158 1.1.1.18 mrg * configure: Likewise.
159 1.1.1.18 mrg
160 1.1.1.18 mrg 2020-03-19 Martin Liska <mliska (a] suse.cz>
161 1.1.1.18 mrg
162 1.1.1.18 mrg * lto-plugin.c (LTO_SECTION_PREFIX): Rename to ...
163 1.1.1.18 mrg (LTO_SYMTAB_PREFIX): ... this.
164 1.1.1.18 mrg (LTO_SECTION_PREFIX_LEN): Rename to ...
165 1.1.1.18 mrg (LTO_SYMTAB_PREFIX_LEN): ... this.
166 1.1.1.18 mrg (LTO_SYMTAB_EXT_PREFIX): New.
167 1.1.1.18 mrg (LTO_SYMTAB_EXT_PREFIX_LEN): New.
168 1.1.1.18 mrg (LTO_LTO_PREFIX): New.
169 1.1.1.18 mrg (LTO_LTO_PREFIX_LEN): New.
170 1.1.1.18 mrg (parse_table_entry): Fill up unused to zero.
171 1.1.1.18 mrg (parse_table_entry_extension): New.
172 1.1.1.18 mrg (parse_symtab_extension): New.
173 1.1.1.18 mrg (finish_conflict_resolution): Change type
174 1.1.1.18 mrg for resolution.
175 1.1.1.18 mrg (process_symtab): Use new macro name.
176 1.1.1.18 mrg (process_symtab_extension): New.
177 1.1.1.18 mrg (claim_file_handler): Parse also process_symtab_extension.
178 1.1.1.18 mrg (onload): Call new add_symbols_v2.
179 1.1.1.18 mrg
180 1.1.1.18 mrg 2020-01-01 Jakub Jelinek <jakub (a] redhat.com>
181 1.1.1.18 mrg
182 1.1.1.18 mrg Update copyright years.
183 1.1.1.18 mrg
184 1.1.1.18 mrg 2019-09-27 Maciej W. Rozycki <macro (a] wdc.com>
185 1.1.1.18 mrg
186 1.1.1.18 mrg * configure: Regenerate.
187 1.1.1.18 mrg
188 1.1.1.18 mrg 2019-05-15 Iain Sandoe <iain (a] sandoe.co.uk>
189 1.1.1.18 mrg
190 1.1.1.18 mrg * lto-plugin.c (cleanup_handler): Remove unused var.
191 1.1.1.18 mrg
192 1.1.1.18 mrg 2019-05-15 Iain Sandoe <iain (a] sandoe.co.uk>
193 1.1.1.18 mrg
194 1.1.1.18 mrg * lto-plugin.c (exec_lto_wrapper): Make the wrapper
195 1.1.1.18 mrg arguments filename more user-friendly.
196 1.1.1.18 mrg (file_exists, maybe_unlink): New.
197 1.1.1.18 mrg (cleanup_handler): Use maybe unlink to handle the
198 1.1.1.18 mrg case when temps should be saved.
199 1.1.1.18 mrg (process_option): Look for -v, -version, -save-temps.
200 1.1.1.18 mrg (onload): Record the linker output file name.
201 1.1.1.18 mrg Check for -v, -version, -save-temps in the GCC collect
202 1.1.1.18 mrg options environment.
203 1.1.1.12 mrg
204 1.1.1.17 mrg 2019-02-26 Martin Liska <mliska (a] suse.cz>
205 1.1.1.12 mrg
206 1.1.1.17 mrg * lto-symtab.c: Remove.
207 1.1.1.17 mrg
208 1.1.1.17 mrg 2019-01-01 Jakub Jelinek <jakub (a] redhat.com>
209 1.1.1.17 mrg
210 1.1.1.17 mrg Update copyright years.
211 1.1.1.17 mrg
212 1.1.1.17 mrg 2018-10-31 Joseph Myers <joseph (a] codesourcery.com>
213 1.1.1.17 mrg
214 1.1.1.17 mrg PR bootstrap/82856
215 1.1.1.17 mrg * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
216 1.1.1.17 mrg * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
217 1.1.1.17 mrg
218 1.1.1.17 mrg 2018-05-30 Jan Hubicka <jh (a] suse.cz>
219 1.1.1.17 mrg
220 1.1.1.17 mrg * lto-plugin.c: (non_claimed_files): New static var.
221 1.1.1.17 mrg (linker_ouput_known): New static var.
222 1.1.1.17 mrg (all_symbols_read_handler): When user specifies linker output do not
223 1.1.1.17 mrg imply it; output warning when nonlto-rel mode is forced.
224 1.1.1.17 mrg (claim_file_header): Record number of nonclaimed files.
225 1.1.1.17 mrg (process_option): Remember if linker output is known
226 1.1.1.11 mrg
227 1.1.1.16 mrg 2018-04-18 David Malcolm <dmalcolm (a] redhat.com>
228 1.1.1.11 mrg
229 1.1.1.16 mrg PR jit/85384
230 1.1.1.16 mrg * configure: Regenerate.
231 1.1.1.16 mrg
232 1.1.1.16 mrg 2018-01-03 Jakub Jelinek <jakub (a] redhat.com>
233 1.1.1.16 mrg
234 1.1.1.16 mrg Update copyright years.
235 1.1.1.16 mrg
236 1.1.1.16 mrg 2017-07-21 Georg-Johann Lay <avr (a] gjlay.de>
237 1.1.1.11 mrg
238 1.1.1.11 mrg PR lto/81487
239 1.1.1.11 mrg * lto-plugin.c (claim_file_handler): Use xasprintf instead of
240 1.1.1.11 mrg asprintf.
241 1.1.1.11 mrg [hi!=0]: Swap hi and lo arguments supplied to xasprintf.
242 1.1.1.11 mrg
243 1.1.1.12 mrg 2017-01-17 Jakub Jelinek <jakub (a] redhat.com>
244 1.1.1.9 mrg
245 1.1.1.12 mrg PR other/79046
246 1.1.1.12 mrg * configure.ac: Add GCC_BASE_VER.
247 1.1.1.12 mrg * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
248 1.1.1.12 mrg get version from BASE-VER file.
249 1.1.1.12 mrg * configure: Regenerated.
250 1.1.1.12 mrg * Makefile.in: Regenerated.
251 1.1.1.9 mrg
252 1.1.1.12 mrg 2017-01-04 Jakub Jelinek <jakub (a] redhat.com>
253 1.1.1.9 mrg
254 1.1.1.12 mrg Update copyright years.
255 1.1.1.8 mrg
256 1.1.1.12 mrg 2016-11-15 Matthias Klose <doko (a] ubuntu.com>
257 1.1.1.8 mrg
258 1.1.1.12 mrg * configure: Regenerate.
259 1.1.1.6 mrg
260 1.1.1.10 mrg 2016-02-25 Ilya Verbin <ilya.verbin (a] intel.com>
261 1.1.1.6 mrg
262 1.1.1.10 mrg PR driver/68463
263 1.1.1.10 mrg * lto-plugin.c (struct plugin_offload_file): New.
264 1.1.1.10 mrg (offload_files): Change type.
265 1.1.1.10 mrg (offload_files_last, offload_files_last_obj): New.
266 1.1.1.10 mrg (offload_files_last_lto): New.
267 1.1.1.10 mrg (free_2): Adjust accordingly.
268 1.1.1.10 mrg (all_symbols_read_handler): Don't add offload files to lto_arg_ptr.
269 1.1.1.10 mrg Don't call free_1 for offload_files. Write names of object files with
270 1.1.1.10 mrg offloading to the temporary file. Add new option to lto_arg_ptr.
271 1.1.1.10 mrg (claim_file_handler): Don't claim file if it contains offload sections
272 1.1.1.10 mrg without LTO sections. If it contains offload sections, add to the list.
273 1.1.1.5 mrg
274 1.1.1.10 mrg 2016-01-15 Martin Liska <mliska (a] suse.cz>
275 1.1.1.5 mrg
276 1.1.1.10 mrg * lto-plugin.c (all_symbols_read_handler): Assign default
277 1.1.1.10 mrg value to a string variable.
278 1.1.1.4 skrll
279 1.1.1.10 mrg 2015-11-25 Jan Hubicka <jh (a] suse.cz>
280 1.1.1.10 mrg
281 1.1.1.10 mrg PR lto/67548
282 1.1.1.10 mrg * lto-plugin.c (linker_output, linker_output_set): New statics.
283 1.1.1.10 mrg (all_symbols_read_handler): Add -flinker-output option.
284 1.1.1.10 mrg (onload): Record linker_output info.
285 1.1.1.10 mrg
286 1.1.1.10 mrg 2015-07-02 Uros Bizjak <ubizjak (a] gmail.com>
287 1.1.1.10 mrg
288 1.1.1.10 mrg * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
289 1.1.1.10 mrg * configure: Regenerate.
290 1.1.1.10 mrg * config.h.in: Ditto.
291 1.1.1.10 mrg
292 1.1.1.10 mrg 2015-05-13 Michael Haubenwallner <michael.haubenwallner (a] ssi-schaefer.com>
293 1.1.1.10 mrg
294 1.1.1.10 mrg * Makefile.am: Drop 'by automake version' from top-level comment.
295 1.1.1.10 mrg * Makefile.in: Regenerated with automake-1.11.6.
296 1.1.1.10 mrg * aclocal.m4: Likewise.
297 1.1.1.10 mrg * configure: Likewise.
298 1.1.1.4 skrll
299 1.1.1.7 mrg 2015-02-06 H.J. Lu <hongjiu.lu (a] intel.com>
300 1.1.1.4 skrll
301 1.1.1.7 mrg * lto-plugin.c (release_input_file): Removed.
302 1.1.1.7 mrg (claim_file_handler): Don't call release_input_file.
303 1.1.1.7 mrg (onload): Don't set release_input_file.
304 1.1.1.4 skrll
305 1.1.1.7 mrg 2015-02-05 H.J. Lu <hongjiu.lu (a] intel.com>
306 1.1.1.7 mrg
307 1.1.1.7 mrg * lto-plugin.c (claim_file_handler): Pass handle to
308 1.1.1.7 mrg release_input_file.
309 1.1.1.7 mrg
310 1.1.1.7 mrg 2015-02-05 H.J. Lu <hongjiu.lu (a] intel.com>
311 1.1.1.7 mrg
312 1.1.1.7 mrg * lto-plugin.c (claim_file_handler): Call release_input_file only
313 1.1.1.7 mrg if file is claimed.
314 1.1.1.7 mrg
315 1.1.1.7 mrg 2015-01-28 H.J. Lu <hongjiu.lu (a] intel.com>
316 1.1.1.7 mrg
317 1.1.1.7 mrg * lto-plugin.c (claim_file_handler): Call release_input_file only
318 1.1.1.7 mrg if it is not NULL.
319 1.1.1.7 mrg
320 1.1.1.7 mrg 2015-01-28 H.J. Lu <hongjiu.lu (a] intel.com>
321 1.1.1.7 mrg
322 1.1.1.7 mrg PR lto/64837
323 1.1.1.7 mrg * lto-plugin.c (release_input_file): New.
324 1.1.1.7 mrg (claim_file_handler): Call release_input_file.
325 1.1.1.7 mrg (onload): Set release_input_file.
326 1.1.1.7 mrg
327 1.1.1.7 mrg 2014-12-09 Ilya Verbin <ilya.verbin (a] intel.com>
328 1.1.1.7 mrg
329 1.1.1.7 mrg * lto-plugin.c (offload_files, num_offload_files): New static variables.
330 1.1.1.7 mrg (free_1): Use arguments instead of global variables.
331 1.1.1.7 mrg (free_2): Free offload_files.
332 1.1.1.7 mrg (all_symbols_read_handler): Add names from offload_files to lto-wrapper
333 1.1.1.7 mrg arguments.
334 1.1.1.7 mrg (claim_file_handler): Do not add file to claimed_files if it contains
335 1.1.1.7 mrg offload sections without LTO sections. Add it to offload_files instead.
336 1.1.1.7 mrg
337 1.1.1.7 mrg 2014-11-21 H.J. Lu <hongjiu.lu (a] intel.com>
338 1.1.1.7 mrg
339 1.1.1.7 mrg PR bootstrap/63784
340 1.1.1.7 mrg * configure: Regenerated.
341 1.1.1.7 mrg
342 1.1.1.7 mrg 2014-11-13 Ilya Verbin <ilya.verbin (a] intel.com>
343 1.1.1.7 mrg Bernd Schmidt <bernds (a] codesourcery.com>
344 1.1.1.7 mrg Andrey Turetskiy <andrey.turetskiy (a] intel.com>
345 1.1.1.7 mrg Michael Zolotukhin <michael.v.zolotukhin (a] intel.com>
346 1.1.1.7 mrg
347 1.1.1.7 mrg * lto-plugin.c (OFFLOAD_SECTION, OFFLOAD_SECTION_LEN): Define.
348 1.1.1.7 mrg (struct plugin_objfile): Add new field "offload".
349 1.1.1.7 mrg (process_offload_section): New static function.
350 1.1.1.7 mrg (claim_file_handler): Claim file if it contains offload sections.
351 1.1.1.7 mrg
352 1.1.1.7 mrg 2014-11-13 Bernd Schmidt <bernds (a] codesourcery.com>
353 1.1.1.7 mrg Thomas Schwinge <thomas (a] codesourcery.com>
354 1.1.1.7 mrg Ilya Verbin <ilya.verbin (a] intel.com>
355 1.1.1.7 mrg Andrey Turetskiy <andrey.turetskiy (a] intel.com>
356 1.1.1.7 mrg
357 1.1.1.7 mrg * Makefile.am (libexecsubdir): Tweak for the possibility of being
358 1.1.1.7 mrg configured for offload compiler.
359 1.1.1.7 mrg (accel_dir_suffix, real_target_noncanonical): New variables substituted
360 1.1.1.7 mrg by configure.
361 1.1.1.7 mrg * Makefile.in: Regenerate.
362 1.1.1.4 skrll * configure: Regenerate.
363 1.1.1.7 mrg * configure.ac (accel_dir_suffix, real_target_noncanonical): Compute new
364 1.1.1.7 mrg variables.
365 1.1.1.4 skrll
366 1.1.1.7 mrg 2014-11-11 Francois-Xavier Coudert <fxcoudert (a] gcc.gnu.org>
367 1.1.1.2 skrll
368 1.1.1.7 mrg PR target/63610
369 1.1.1.7 mrg * configure: Regenerate.
370 1.1.1.2 skrll
371 1.1.1.7 mrg 2014-08-26 H.J. Lu <hongjiu.lu (a] intel.com>
372 1.1 mrg
373 1.1.1.7 mrg PR bootstrap/62260
374 1.1.1.7 mrg * Makefile.am (gcc_build_dir): Set to @gcc_build_dir@.
375 1.1.1.7 mrg * configure.ac (gcc_build_dir): Set and AC_SUBST according to
376 1.1.1.7 mrg $host_subdir.
377 1.1.1.7 mrg * Makefile.in: Regenerated.
378 1.1.1.7 mrg * configure: Likewise.
379 1.1 mrg
380 1.1.1.7 mrg 2014-06-13 Thomas Schwinge <thomas (a] codesourcery.com>
381 1.1 mrg
382 1.1.1.7 mrg * configure.ac (--with-libiberty): New configure option.
383 1.1.1.7 mrg * configure: Regenerate.
384 1.1.1.7 mrg * Makefile.am (libiberty, libiberty_noasan, libiberty_pic): New
385 1.1.1.7 mrg variables.
386 1.1.1.7 mrg (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS)
387 1.1.1.7 mrg (liblto_plugin_la_DEPENDENCIES): Use them.
388 1.1.1.7 mrg * Makefile.in: Regenerate.
389 1.1.1.7 mrg
390 1.1.1.7 mrg 2014-05-15 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
391 1.1.1.7 mrg
392 1.1.1.7 mrg PR lto/60981
393 1.1.1.7 mrg * configure.ac: Check for -static-libgcc.
394 1.1.1.7 mrg * configure: Regenerate.
395 1.1.1.7 mrg
396 1.1.1.7 mrg 2014-04-17 Jakub Jelinek <jakub (a] redhat.com>
397 1.1.1.7 mrg
398 1.1.1.7 mrg PR sanitizer/56781
399 1.1.1.7 mrg * Makefile.am (CFLAGS, LDFLAGS): Filter out -fsanitize=address.
400 1.1.1.7 mrg (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS,
401 1.1.1.7 mrg liblto_plugin_la_DEPENDENCIES): Prefer ../libiberty/noasan/libiberty.a
402 1.1.1.7 mrg over ../libiberty/pic/libiberty.a if the former exists.
403 1.1.1.7 mrg * Makefile.in: Regenerated.
404 1.1.1.7 mrg
405 1.1.1.7 mrg PR sanitizer/56781
406 1.1.1.7 mrg * Makefile.am (LTLDFLAGS, liblto_plugin_la_LINK): New variables.
407 1.1.1.7 mrg * Makefile.in: Regenerated.
408 1.1.1.7 mrg
409 1.1.1.7 mrg 2014-04-02 Richard Biener <rguenther (a] suse.de>
410 1.1.1.7 mrg
411 1.1.1.7 mrg * lto-plugin.c (onload): Fail to load if -fno-use-linker-plugin
412 1.1.1.7 mrg is set in COLLECT_GCC_OPTIONS.
413 1.1.1.7 mrg
414 1.1.1.7 mrg 2014-03-28 Richard Biener <rguenther (a] suse.de>
415 1.1.1.7 mrg
416 1.1.1.7 mrg * lto-plugin.c (process_symtab): Handle EINTR and short reads.
417 1.1.1.7 mrg
418 1.1.1.7 mrg 2014-03-17 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
419 1.1.1.7 mrg
420 1.1.1.7 mrg * configure.ac (ac_lto_plugin_ldflags): Set to -Wc,-static-libgcc
421 1.1.1.7 mrg for gcc.
422 1.1.1.7 mrg * configure: Regenerate.
423 1.1.1.7 mrg * Makefile.am (AM_LDFLAGS): New variable.
424 1.1.1.7 mrg (liblto_plugin_la_LDFLAGS): Add it.
425 1.1.1.7 mrg * Makefile.in: Regenerate.
426 1.1.1.7 mrg
427 1.1.1.7 mrg 2013-09-20 Alan Modra <amodra (a] gmail.com>
428 1.1.1.7 mrg
429 1.1.1.7 mrg * configure: Regenerate.
430 1.1 mrg
431 1.1.1.3 mrg 2012-09-14 David Edelsohn <dje.gcc (a] gmail.com>
432 1.1 mrg
433 1.1.1.3 mrg * configure: Regenerated.
434 1.1.1.3 mrg
435 1.1.1.3 mrg 2012-05-29 Joseph Myers <joseph (a] codesourcery.com>
436 1.1.1.3 mrg
437 1.1.1.3 mrg * lto-plugin.c: Fix typo.
438 1.1.1.3 mrg
439 1.1.1.3 mrg 2012-05-16 H.J. Lu <hongjiu.lu (a] intel.com>
440 1.1.1.3 mrg
441 1.1.1.3 mrg * configure: Regenerated.
442 1.1.1.3 mrg
443 1.1.1.3 mrg 2012-02-22 Kai Tietz <ktietz (a] redhat.com>
444 1.1.1.3 mrg
445 1.1.1.3 mrg PR lto/50616
446 1.1.1.3 mrg * lto-plugin.c (PRI_LL): New macro.
447 1.1.1.3 mrg (dump_symtab): Use PRI_LL instead of ll in print.
448 1.1.1.3 mrg (process_symtab): Use PRI_LL instead of ll in scan.
449 1.1.1.3 mrg
450 1.1.1.3 mrg 2011-12-20 Andreas Schwab <schwab (a] linux-m68k.org>
451 1.1.1.3 mrg
452 1.1.1.3 mrg * configure: Regenerate.
453 1.1.1.3 mrg
454 1.1.1.3 mrg 2011-12-19 Andreas Schwab <schwab (a] linux-m68k.org>
455 1.1.1.3 mrg
456 1.1.1.3 mrg * configure: Regenerate.
457 1.1.1.3 mrg
458 1.1.1.3 mrg 2011-11-21 Andreas Tobler <andreast (a] fgznet.ch>
459 1.1.1.3 mrg
460 1.1.1.3 mrg * configure: Regenerate.
461 1.1.1.3 mrg
462 1.1.1.3 mrg 2011-10-02 Jan Hubicka <jh (a] suse.cz>
463 1.1.1.3 mrg
464 1.1.1.3 mrg PR lto/47247
465 1.1.1.3 mrg * lto-plugin.c (get_symbols_v2): New variable.
466 1.1.1.3 mrg (write_resolution): Use V2 API when available.
467 1.1.1.3 mrg (onload): Handle LDPT_GET_SYMBOLS_V2.
468 1.1.1.3 mrg
469 1.1.1.3 mrg 2011-09-30 H.J. Lu <hongjiu.lu (a] intel.com>
470 1.1.1.3 mrg Andi Kleen <ak (a] linux.intel.com>
471 1.1.1.3 mrg
472 1.1.1.3 mrg PR lto/50568
473 1.1.1.3 mrg * lto-plugin.c (sym_aux): Change id to unsigned long long.
474 1.1.1.3 mrg (plugin_symtab): Likewise.
475 1.1.1.3 mrg (dump_symtab): Likewise.
476 1.1.1.3 mrg (resolve_conflicts): Likewise.
477 1.1.1.3 mrg (process_symtab): Likewise.
478 1.1.1.3 mrg
479 1.1.1.3 mrg 2011-08-10 Richard Guenther <rguenther (a] suse.de>
480 1.1.1.3 mrg
481 1.1.1.3 mrg PR bootstrap/49907
482 1.1.1.3 mrg lto-plugin/
483 1.1.1.3 mrg * configure.ac: Use ACX_PROG_CC_WARNING_OPTS to detect -Wall presence.
484 1.1.1.3 mrg * Makefile.am (AM_CFLAGS): Adjust. Do not build with -Werror.
485 1.1.1.3 mrg * configure: Regenerate.
486 1.1.1.3 mrg * Makefile.in: Likewise.
487 1.1.1.3 mrg * aclocal.m4: Likewise.
488 1.1.1.3 mrg
489 1.1.1.3 mrg 2011-04-20 Jim Meyering <meyering (a] redhat.com>
490 1.1.1.3 mrg
491 1.1.1.3 mrg * lto-plugin.c (free_1, free_2): Remove useless if-before-free.
492 1.1.1.3 mrg
493 1.1.1.3 mrg 2011-04-05 Richard Guenther <rguenther (a] suse.de>
494 1.1.1.3 mrg
495 1.1.1.3 mrg PR bootstrap/48431
496 1.1.1.3 mrg * lto-plugin.c (claim_file_handler): Do not declare vars in code.
497 1.1.1.3 mrg
498 1.1.1.3 mrg 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
499 1.1.1.3 mrg
500 1.1.1.3 mrg * Makefile.in: Regenerate.
501 1.1.1.3 mrg * aclocal.m4: Regenerate.
502 1.1.1.3 mrg * configure: Regenerate.
503 1.1.1.3 mrg
504 1.1.1.3 mrg 2011-02-12 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
505 1.1.1.3 mrg
506 1.1.1.3 mrg * Makefile.am (all-local): Rename from 'all'.
507 1.1.1.3 mrg * Makefile.in: Regenerate.
508 1.1.1.3 mrg
509 1.1.1.3 mrg 2011-02-12 Alexandre Oliva <aoliva (a] redhat.com>
510 1.1.1.3 mrg
511 1.1.1.3 mrg PR lto/47225
512 1.1.1.3 mrg * Makefile.am (gcc_build_dir, in_gcc_libs): New.
513 1.1.1.3 mrg (liblto_plugin_la_LDFLAGS): Add -module.
514 1.1.1.3 mrg (copy_lto_plugin): Renamed to...
515 1.1.1.3 mrg ($(in_gcc_libs)): ... this. Add mkinstalldirs. Skip copying
516 1.1.1.3 mrg of static modules.
517 1.1.1.3 mrg * Makefile.in: Rebuild.
518 1.1.1.3 mrg
519 1.1.1.3 mrg 2011-02-07 Kai Tietz <kai.tietz (a] onevision.com>
520 1.1.1.3 mrg
521 1.1.1.3 mrg PR lto/47225
522 1.1.1.3 mrg * Makefile.am (Wc): New helper for encoding -Wc,.
523 1.1.1.3 mrg (liblto_plugin_la_LIBADD): Use Wc for libiberty library.
524 1.1.1.3 mrg (liblto_plugin_la_DEPENDENCIES): Special case pic libiberty.
525 1.1.1.3 mrg * Makefile.in: Regenerated.
526 1.1.1.3 mrg
527 1.1.1.3 mrg 2011-02-07 Paolo Bonzini <bonzini (a] gnu.org>
528 1.1.1.3 mrg
529 1.1.1.3 mrg Revert:
530 1.1.1.3 mrg
531 1.1.1.3 mrg 2011-02-07 Kai Tietz <kai.tietz (a] onevision.com>
532 1.1.1.3 mrg
533 1.1.1.3 mrg PR lto/47225
534 1.1.1.3 mrg * Makefile.am (Wl): New helper for encoding -Wl,.
535 1.1.1.3 mrg (liblto_plugin_la_LIBADD): Use -Wl for libiberty library.
536 1.1.1.3 mrg * Makefile.in: Regenerated.
537 1.1.1.3 mrg
538 1.1.1.3 mrg 2011-02-07 Kai Tietz <kai.tietz (a] onevision.com>
539 1.1 mrg
540 1.1.1.3 mrg PR lto/47225
541 1.1.1.3 mrg * Makefile.am (Wl): New helper for encoding -Wl,.
542 1.1.1.3 mrg (liblto_plugin_la_LIBADD): Use -Wl for libiberty library.
543 1.1.1.3 mrg * Makefile.in: Regenerated.
544 1.1.1.3 mrg
545 1.1.1.3 mrg 2011-01-25 Ian Lance Taylor <iant (a] google.com>
546 1.1.1.3 mrg
547 1.1.1.3 mrg * lto-plugin.c (gold_version): New static variable.
548 1.1.1.3 mrg (all_symbols_read_handler): Don't check pass_through_items if
549 1.1.1.3 mrg using gold 1.11 or later.
550 1.1.1.3 mrg (onload): Set gold_version if we see LDPT_GOLD_VERSION.
551 1.1.1.3 mrg
552 1.1.1.3 mrg 2011-01-12 Richard Guenther <rguenther (a] suse.de>
553 1.1.1.3 mrg
554 1.1.1.3 mrg PR lto/47264
555 1.1.1.3 mrg * lto-plugin.c (parse_table_entry): Use memcpy to access
556 1.1.1.3 mrg unaligned fields.
557 1.1.1.3 mrg
558 1.1.1.3 mrg 2010-12-20 Dave Korn <dave.korn.cygwin (a] gmail.com>
559 1.1.1.3 mrg
560 1.1.1.3 mrg * Makefile.am (AM_LIBTOOLFLAGS): Define, adding disable-static tag.
561 1.1.1.3 mrg * Makefile.in: Regenerate.
562 1.1.1.3 mrg
563 1.1.1.3 mrg 2010-12-15 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
564 1.1.1.3 mrg
565 1.1.1.3 mrg Revert last change.
566 1.1.1.3 mrg
567 1.1.1.3 mrg 2010-12-15 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
568 1.1.1.3 mrg
569 1.1.1.3 mrg * Makefile.am (liblto_plugin_la_DEPENDENCIES): Define.
570 1.1.1.3 mrg (liblto_plugin_la_LIBADD): Use -L../libiberty/pic -liberty.
571 1.1.1.3 mrg (liblto_plugin_la_LDFLAGS): Use -L../libiberty -liberty.
572 1.1.1.3 mrg * Makefile.in: Regenerate.
573 1.1.1.3 mrg
574 1.1.1.3 mrg 2010-12-10 Dave Korn <dave.korn.cygwin (a] gmail.com>
575 1.1.1.3 mrg
576 1.1.1.3 mrg PR middle-end/46674
577 1.1.1.3 mrg PR lto/43157
578 1.1.1.3 mrg * configure.ac (SYM_STYLE): Don't AC_DEFINE.
579 1.1.1.3 mrg * lto-plugin.c (sym_style): Don't use it; default to ss_none.
580 1.1.1.3 mrg * configure: Regenerate.
581 1.1.1.3 mrg * config.h.in: Likewise.
582 1.1.1.3 mrg
583 1.1.1.3 mrg 2010-12-06 Dave Korn <dave.korn.cygwin (a] gmail.com>
584 1.1.1.3 mrg
585 1.1.1.3 mrg PR target/40125
586 1.1.1.3 mrg PR lto/46695
587 1.1.1.3 mrg * configure.ac: Invoke ACX_LT_HOST_FLAGS.
588 1.1.1.3 mrg * Makefile.am (liblto_plugin_la_LDFLAGS): Use lt_host_flags but
589 1.1.1.3 mrg override -bindir setting.
590 1.1.1.3 mrg * aclocal.m4: Regenerate.
591 1.1.1.3 mrg * configure: Regenerate.
592 1.1.1.3 mrg * Makefile.in: Regenerate.
593 1.1.1.3 mrg
594 1.1.1.3 mrg 2010-12-05 Kai Tietz <kai.tietz (a] onevision.com>
595 1.1.1.3 mrg
596 1.1.1.3 mrg * config.h.in: Regenerated.
597 1.1.1.3 mrg * configure: Regenerated.
598 1.1.1.3 mrg * configure.ac (AC_CHECK_HEADERS): Replaced by AC_HEADER_SYS_WAIT.
599 1.1.1.3 mrg * lto-plugin.c (WIFEXITED): Define default.
600 1.1.1.3 mrg (WEXITSTATUS): Likeiwse.
601 1.1.1.3 mrg
602 1.1.1.3 mrg 2010-12-01 Kai Tietz <kai.tietz (a] onevision.com>
603 1.1.1.3 mrg
604 1.1.1.3 mrg * config.h.in: Regenerated.
605 1.1.1.3 mrg * configure: Regenerated.
606 1.1.1.3 mrg * Makefile.in: Regenerated.
607 1.1.1.3 mrg * configure.ac (AC_CHECK_HEADERS): Check for sys/wait.h.
608 1.1.1.3 mrg * lto-plugin.c: Include sys/wait.h conditionally.
609 1.1.1.3 mrg * aclocal.m4: Regenerated.
610 1.1.1.3 mrg
611 1.1.1.3 mrg 2010-11-13 Kai Tietz <kai.tietz (a] onevision.com>
612 1.1.1.3 mrg
613 1.1.1.3 mrg * lto-plugin.c (add_output_files): Fix memory leak.
614 1.1.1.3 mrg
615 1.1.1.3 mrg 2010-11-11 Dave Korn <dave.korn.cygwin (a] gmail.com>
616 1.1.1.3 mrg
617 1.1.1.3 mrg PR bootstrap/46397
618 1.1.1.3 mrg PR bootstrap/46362
619 1.1.1.3 mrg * configure.ac: Add AC_TYPE_INT64_T test.
620 1.1.1.3 mrg * config.h.in: Regenerate.
621 1.1.1.3 mrg * configure: Likewise.
622 1.1.1.3 mrg * lto-plugin.c (debug): Use char not bool.
623 1.1.1.3 mrg (nop): Likewise.
624 1.1.1.3 mrg (check_1): Rename from check, and use int not bool for gate argument.
625 1.1.1.3 mrg (check): Macro wrapper for the above to coerce gate argument into
626 1.1.1.3 mrg boolean-valued integer in case it has pointer type.
627 1.1.1.3 mrg (parse_table_entry): Use 0 not false.
628 1.1.1.3 mrg (claim_file_handler): Avoid use of PRIx64 by splitting 64-bit size
629 1.1.1.3 mrg into two 32-bit parts and printing as hex ints.
630 1.1.1.3 mrg
631 1.1.1.3 mrg 2010-11-03 Dave Korn <dave.korn.cygwin (a] gmail.com>
632 1.1.1.3 mrg
633 1.1.1.3 mrg PR lto/46291
634 1.1.1.3 mrg * lto-plugin.c (claim_file_handler): Don't close file descriptor.
635 1.1.1.3 mrg
636 1.1.1.3 mrg 2010-11-03 Dave Korn <dave.korn.cygwin (a] gmail.com>
637 1.1.1.3 mrg
638 1.1.1.3 mrg PR lto/46273
639 1.1.1.3 mrg * lto-plugin.h: Delete.
640 1.1.1.3 mrg * lto-plugin-elf.c: Likewise.
641 1.1.1.3 mrg * lto-plugin-coff.c: Likewise.
642 1.1.1.3 mrg * configure.ac: Don't use libelf, don't source config.gcc.
643 1.1.1.3 mrg (LIBELFLIBS): Delete.
644 1.1.1.3 mrg (LIBELFINC): Delete.
645 1.1.1.3 mrg (LTO_FORMAT): Delete.
646 1.1.1.3 mrg (SYM_STYLE): Add AC_DEFINE var, set based on $target.
647 1.1.1.3 mrg (config.h): Add AC_CONFIG_HEADERS directive.
648 1.1.1.3 mrg * Makefile.am (LIBELFLIBS): Delete.
649 1.1.1.3 mrg (LIBELFINC): Delete.
650 1.1.1.3 mrg (LTO_FORMAT): Delete.
651 1.1.1.3 mrg (DEFS): Import.
652 1.1.1.3 mrg (AM_CPPFLAGS): Use it. Don't use LIBELFINC.
653 1.1.1.3 mrg (liblto_plugin_la_SOURCES): Don't use LTO_FORMAT, don't include
654 1.1.1.3 mrg any object-format-specific source file in the link.
655 1.1.1.3 mrg (liblto_plugin_la_LIBADD): Don't use LIBELFLIBS.
656 1.1.1.3 mrg * config.h.in: Generate.
657 1.1.1.3 mrg * configure: Regenerate.
658 1.1.1.3 mrg * Makefile.in: Likewise.
659 1.1.1.3 mrg * lto-plugin.c (O_BINARY): Definition moved here from lto-plugin.h.
660 1.1.1.3 mrg (LTO_SEGMENT_NAME): New definition.
661 1.1.1.3 mrg (LTO_SECTION_PREFIX): Definition moved here from lto-plugin.h.
662 1.1.1.3 mrg (LTO_SECTION_PREFIX_LEN): New definition.
663 1.1.1.3 mrg (struct sym_aux): Struct definition moved here from lto-plugin.h.
664 1.1.1.3 mrg (struct plugin_symtab): Likewise.
665 1.1.1.3 mrg (struct plugin_objfile): Likewise.
666 1.1.1.3 mrg (struct plugin_objfile): New struct def.
667 1.1.1.3 mrg (enum symbol_style): New enum type.
668 1.1.1.3 mrg (add_symbols): Make static.
669 1.1.1.3 mrg (claimed_files): Likewise.
670 1.1.1.3 mrg (num_claimed_files): Likewise.
671 1.1.1.3 mrg (sym_style): New global.
672 1.1.1.3 mrg (check): Make static.
673 1.1.1.3 mrg (parse_table_entry): Likewise. Respect sym_style when extracting
674 1.1.1.3 mrg symbol from symtab entry.
675 1.1.1.3 mrg (translate): Make static.
676 1.1.1.3 mrg (resolve_conflicts): Likewise.
677 1.1.1.3 mrg (process_symtab): New function, per-section callback version of
678 1.1.1.3 mrg old object-format-specific handling from deleted lto-plugin-elf.c.
679 1.1.1.3 mrg (claim_file_handler): Convert ELF-specific version from deleted
680 1.1.1.3 mrg lto-plugin-elf.c to simple_object interface and move here.
681 1.1.1.3 mrg (process_options): Allow new '-sym-style=' option.
682 1.1.1.3 mrg (onload): Don't call deleted onload_format_checks hook.
683 1.1.1.3 mrg
684 1.1.1.3 mrg 2010-10-11 Kai Tietz <kai.tietz (a] onevision.com>
685 1.1.1.3 mrg
686 1.1.1.3 mrg * lto-plugin.c (dump_symtab): Correct printf argument type.
687 1.1.1.3 mrg (finish_conflict_resolution): Initialize resolution.
688 1.1.1.3 mrg
689 1.1.1.3 mrg 2010-10-08 H.J. Lu <hongjiu.lu (a] intel.com>
690 1.1 mrg
691 1.1.1.3 mrg PR bootstrap/45951
692 1.1.1.3 mrg * configure.ac: Add AC_CANONICAL_SYSTEM.
693 1.1.1.3 mrg * configure: Regenerated.
694 1.1.1.3 mrg
695 1.1.1.3 mrg 2010-10-07 Dave Korn <dave.korn.cygwin (a] gmail.com>
696 1.1.1.3 mrg
697 1.1.1.3 mrg * configure.ac: Source config.gcc to determine lto_binary_reader.
698 1.1.1.3 mrg (LTO_FORMAT): New AC_SUBST variable inferred from lto_binary_reader.
699 1.1.1.3 mrg * Makefile.am (LTO_FORMAT): Import.
700 1.1.1.3 mrg (liblto_plugin_la_SOURCES): Add object format dependent module
701 1.1.1.3 mrg defined by LTO_FORMAT.
702 1.1.1.3 mrg (liblto_plugin_la_LIBADD): Allow for both PIC and non-PIC libiberty,
703 1.1.1.3 mrg and work around libtool warning.
704 1.1.1.3 mrg * configure: Regenerate.
705 1.1.1.3 mrg * Makefile.in: Likewise.
706 1.1.1.3 mrg * lto-plugin.c (struct sym_aux): Move to new lto-plugin.h.
707 1.1.1.3 mrg (struct sym_aux): Likewise.
708 1.1.1.3 mrg (struct plugin_symtab): Likewise.
709 1.1.1.3 mrg (struct plugin_file_info): Likewise.
710 1.1.1.3 mrg (LTO_SECTION_PREFIX): Likewise.
711 1.1.1.3 mrg (add_symbols): Make non-static.
712 1.1.1.3 mrg (claimed_files): Likewise.
713 1.1.1.3 mrg (num_claimed_files): Likewise.
714 1.1.1.3 mrg (check): Likewise.
715 1.1.1.3 mrg (parse_table_entry): Likewise.
716 1.1.1.3 mrg (translate): Likewise.
717 1.1.1.3 mrg (resolve_conflicts): Likewise.
718 1.1.1.3 mrg (process_symtab): Move to new lto-plugin-elf.c object format dependent
719 1.1.1.3 mrg source file.
720 1.1.1.3 mrg (claim_file_handler): Likewise, and make non-static.
721 1.1.1.3 mrg (onload): Call new onload_format_checks function.
722 1.1.1.3 mrg * lto-plugin.h: New file.
723 1.1.1.3 mrg (LTO_SECTION_PREFIX): Move here.
724 1.1.1.3 mrg (struct sym_aux): Likewise.
725 1.1.1.3 mrg (struct plugin_symtab): Likewise.
726 1.1.1.3 mrg (struct plugin_file_info): Likewise.
727 1.1.1.3 mrg (claim_file_handler): Add new function prototype.
728 1.1.1.3 mrg (onload_format_checks): Likewise.
729 1.1.1.3 mrg (check): Declare extern.
730 1.1.1.3 mrg (translate): Likewise.
731 1.1.1.3 mrg (parse_table_entry): Likewise.
732 1.1.1.3 mrg (resolve_conflicts): Likewise.
733 1.1.1.3 mrg (add_symbols): Likewise.
734 1.1.1.3 mrg (claimed_files): Likewise.
735 1.1.1.3 mrg (num_claimed_files): Likewise.
736 1.1.1.3 mrg * lto-plugin-elf.c (process_symtab): Move here.
737 1.1.1.3 mrg (claim_file_handler): Likewise, and make non-static.
738 1.1.1.3 mrg (onload_format_checks): New function factored out from onload.
739 1.1.1.3 mrg * lto-plugin-coff.c (claim_file_handler): New function stub.
740 1.1.1.3 mrg (onload_format_checks): Likewise.
741 1.1.1.3 mrg
742 1.1.1.3 mrg 2010-08-05 Andi Kleen <ak (a] linux.intel.com>
743 1.1.1.3 mrg
744 1.1.1.3 mrg * lto-plugin.c: Include <hashtab.h>
745 1.1.1.3 mrg (sym_aux): Add next_conflict field to save conflict chains.
746 1.1.1.3 mrg (plugin_file_info): Add conflicts symtab.
747 1.1.1.3 mrg (parse_table_entry): Initialize aux->next_conflict.
748 1.1.1.3 mrg (process_symtab): Increment found.
749 1.1.1.3 mrg (dump_symtab): Add.
750 1.1.1.3 mrg (finish_conflict_resolution): Add.
751 1.1.1.3 mrg (free_symtab): Add.
752 1.1.1.3 mrg (write_resolution): Remove symbols loop and move into
753 1.1.1.3 mrg dump_symtab. Call dump_symtab for main symbol and conflicts table.
754 1.1.1.3 mrg Call free_symtab to free conflicts table.
755 1.1.1.3 mrg (SWAP): Add.
756 1.1.1.3 mrg (eq_sym): Add.
757 1.1.1.3 mrg (hash_sym): Add.
758 1.1.1.3 mrg (symbol_strength): Add.
759 1.1.1.3 mrg (resolve_conflicts): Add.
760 1.1.1.3 mrg (claim_file_handler): Add n variable. Check return value of
761 1.1.1.3 mrg process_symtab. Call resolve_conflicts.
762 1.1.1.3 mrg
763 1.1.1.7 mrg 2010-07-27 Andi Kleen <ak (a] linux.intel.com>
764 1.1.1.3 mrg
765 1.1.1.3 mrg * lto-plugin.c (translate): Remove debug fprintf.
766 1.1.1.3 mrg
767 1.1.1.3 mrg 2010-07-23 H.J. Lu <hongjiu.lu (a] intel.com>
768 1.1.1.3 mrg
769 1.1.1.3 mrg PR bootstrap/45042
770 1.1.1.3 mrg * lto-plugin.c (translate): Cast to unsigned long.
771 1.1.1.3 mrg
772 1.1.1.7 mrg 2010-07-23 Andi Kleen <ak (a] linux.intel.com>
773 1.1.1.3 mrg
774 1.1.1.3 mrg PR lto/44992
775 1.1.1.3 mrg * lto-plugin.c (sym_aux): Add.
776 1.1.1.3 mrg (plugin_symtab): Remove slots. Add aux and id.
777 1.1.1.3 mrg (parse_table_entry): Change to use aux instead of slots.
778 1.1.1.3 mrg (LTO_SECTION_PREFIX): Add.
779 1.1.1.3 mrg (translate): Improve buffer allocation. Change to append
780 1.1.1.3 mrg symbols to existing out buffer.
781 1.1.1.3 mrg (get_section): Remove.
782 1.1.1.3 mrg (process_symtab): Add.
783 1.1.1.3 mrg (free_2): Free symtab->aux.
784 1.1.1.3 mrg (write_resolution): Handle aux instead of slots.
785 1.1.1.3 mrg Print sub id to resolution file.
786 1.1.1.3 mrg (claim_file_handler): Clear lto_file. Replace get_symtab/translate
787 1.1.1.3 mrg calls with call to process_symtab.
788 1.1.1.3 mrg
789 1.1.1.3 mrg 2010-07-22 Richard Guenther <rguenther (a] suse.de>
790 1.1.1.3 mrg
791 1.1.1.3 mrg * Makefile.am: New copy_lto_plugin rule to install the plugin
792 1.1.1.3 mrg into ../gcc.
793 1.1.1.3 mrg * Makefile.in: Regenerated.
794 1.1.1.3 mrg
795 1.1.1.3 mrg 2010-05-21 Richard Guenther <rguenther (a] suse.de>
796 1.1 mrg
797 1.1 mrg * lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
798 1.1 mrg
799 1.1.1.3 mrg 2010-05-07 Richard Guenther <rguenther (a] suse.de>
800 1.1.1.3 mrg
801 1.1.1.3 mrg * lto-plugin.c (free_2): Do not free resolution_file.
802 1.1.1.3 mrg (write_resolution): Check that we were passed a resolution file.
803 1.1.1.3 mrg (all_symbols_read_handler): Adjust.
804 1.1.1.3 mrg (cleanup_handler): Do not remove the resolution file.
805 1.1.1.3 mrg (process_option): Handle -fresolution=.
806 1.1.1.3 mrg
807 1.1.1.3 mrg 2010-05-04 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
808 1.1.1.3 mrg
809 1.1.1.3 mrg PR other/43620
810 1.1.1.3 mrg * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
811 1.1.1.3 mrg * Makefile.in: Regenerate.
812 1.1.1.3 mrg
813 1.1.1.3 mrg 2010-04-23 Richard Guenther <rguenther (a] suse.de>
814 1.1 mrg
815 1.1.1.3 mrg PR lto/41550
816 1.1.1.3 mrg * lto-plugin.c (parse_table_entry): Use xstrdup and xrealloc.
817 1.1.1.3 mrg (translate): Likewise.
818 1.1.1.3 mrg (all_symbols_read_handler): Likewise.
819 1.1.1.3 mrg (claim_file_handler): Likewise.
820 1.1.1.3 mrg (process_option): Likewise.
821 1.1.1.3 mrg (add_output_files): Likewise. Remove filename length limit.
822 1.1 mrg
823 1.1 mrg 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
824 1.1 mrg
825 1.1 mrg * Makefile.in: Regenerate.
826 1.1 mrg * aclocal.m4: Regenerate.
827 1.1 mrg
828 1.1 mrg 2010-03-16 Dmitry Gorbachev <d.g.gorbachev (a] gmail.com>
829 1.1 mrg
830 1.1 mrg PR lto/43336
831 1.1 mrg * lto-plugin.c (cleanup_handler): Delete temporary output files.
832 1.1 mrg
833 1.1 mrg 2010-01-11 Richard Guenther <rguenther (a] suse.de>
834 1.1 mrg
835 1.1 mrg PR lto/41569
836 1.1 mrg * Makefile.am: Disable dependencies.
837 1.1 mrg * Makefile.in: Regenerated.
838 1.1 mrg
839 1.1 mrg 2010-01-03 H.J. Lu <hongjiu.lu (a] intel.com>
840 1.1 mrg
841 1.1 mrg PR lto/42520
842 1.1 mrg * lto-plugin.c (exec_lto_wrapper): Output lto-wrapper command
843 1.1 mrg if -v is passed.
844 1.1 mrg
845 1.1 mrg 2009-12-05 H.J. Lu <hongjiu.lu (a] intel.com>
846 1.1 mrg
847 1.1 mrg PR bootstrap/42306
848 1.1 mrg * configure: Regenerated.
849 1.1 mrg * Makefile.in: Likewise.
850 1.1 mrg
851 1.1 mrg 2009-11-19 Rafael Avila de Espindola <espindola (a] google.com>
852 1.1 mrg
853 1.1 mrg PR bootstrap/42096
854 1.1 mrg * lto-plugin.c (claim_file_handler): Print offsets in hex.
855 1.1 mrg
856 1.1 mrg 2009-11-12 Rafael Avila de Espindola <espindola (a] google.com>
857 1.1 mrg
858 1.1 mrg * lto-plugin.c (write_resolution): Assume resolution_file is set.
859 1.1 mrg Print the symbol name.
860 1.1 mrg (all_symbols_read_handler): Create a resolution file.
861 1.1 mrg Pass it to gcc.
862 1.1 mrg (cleanup_handler): Remove the resolution file.
863 1.1 mrg (process_option): Drop the -resolution option.
864 1.1 mrg
865 1.1 mrg 2009-11-05 Rafael Avila de Espindola <espindola (a] google.com>
866 1.1 mrg
867 1.1 mrg * lto-plugin.c (temp_obj_dir_name): Remove.
868 1.1 mrg (arguments_file_name): New.
869 1.1 mrg (free_2): Free arguments_file_name instead of temp_obj_dir_name.
870 1.1 mrg (exec_lto_wrapper): Create arguments file with make_temp_file.
871 1.1 mrg (cleanup_handler): Don't remove the temporary directory. Remove the
872 1.1 mrg arguments file.
873 1.1 mrg (onload): Don't create the temporary directory.
874 1.1 mrg
875 1.1 mrg 2009-11-04 Richard Guenther <rguenther (a] suse.de>
876 1.1.1.17 mrg Rafael Avila de Espindola <espindola (a] google.com>
877 1.1 mrg
878 1.1 mrg * lto-plugin.c (plugin_file_info): Remove temp field.
879 1.1 mrg (cleanup_handler): Don't delete temporary objects.
880 1.1 mrg (claim_file_handler): Don't create temporary objects.
881 1.1 mrg
882 1.1 mrg 2009-11-04 Rafael Avila de Espindola <espindola (a] google.com>
883 1.1 mrg
884 1.1 mrg * lto-plugin.c (cleanup_handler): Don't cleanup if debugging.
885 1.1 mrg
886 1.1 mrg 2009-10-30 Rafael Avila de Espindola <espindola (a] google.com>
887 1.1 mrg
888 1.1 mrg PR41871
889 1.1 mrg * lto-plugin.c (claim_file_handler): Close files that we created.
890 1.1 mrg
891 1.1 mrg 2009-10-28 Rafael Avila de Espindola <espindola (a] google.com>
892 1.1 mrg
893 1.1 mrg * lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of
894 1.1 mrg LDPL_ERROR
895 1.1 mrg
896 1.1 mrg 2009-10-27 Dmitry Gorbachev <d.g.gorbachev (a] gmail.com>
897 1.1 mrg
898 1.1 mrg PR lto/41652
899 1.1 mrg * configure.ac: Call AC_SYS_LARGEFILE before AC_OUTPUT.
900 1.1 mrg * configure: Regenerate.
901 1.1 mrg
902 1.1 mrg 2009-10-26 Richard Guenther <rguenther (a] suse.de>
903 1.1 mrg
904 1.1 mrg * configure.ac: Use AM_MAINTAINER_MODE.
905 1.1 mrg * acinclude.m4: Remove.
906 1.1 mrg * configure: Re-generate.
907 1.1 mrg * Makefile.in: Likewise.
908 1.1 mrg * aclocal.m4: Likewise.
909 1.1 mrg
910 1.1 mrg 2009-10-19 Rafael Avila de Espindola <espindola (a] google.com>
911 1.1 mrg
912 1.1.1.17 mrg PR40790
913 1.1.1.17 mrg * configure: Regenerate.
914 1.1.1.17 mrg * configure.ac: Add AC_TYPE_UINT64_T.
915 1.1 mrg
916 1.1 mrg 2009-10-16 Rafael Avila de Espindola <espindola (a] google.com>
917 1.1 mrg
918 1.1 mrg * lto-plugin.c (message): New variable.
919 1.1 mrg (check): New function.
920 1.1 mrg (parse_table_entry, translate, write_resolution,add_output_files,
921 1.1 mrg exec_lto_wrapper,claim_file_handler, onload): Use check instead of
922 1.1 mrg assert.
923 1.1 mrg (cleanup_handler): Use check instead of assert. Remove the arguments
924 1.1 mrg file if it exists.
925 1.1 mrg
926 1.1 mrg 2009-10-15 Rafael Avila de Espindola <espindola (a] google.com>
927 1.1 mrg
928 1.1 mrg * lto-plugin.c (resolution_file): New.
929 1.1 mrg (free_1): Update comment.
930 1.1 mrg (free_2): Free resolution_file.
931 1.1 mrg (write_resolution): Write resolution to specified file. Use the
932 1.1 mrg syms array from the symbol table.
933 1.1 mrg (all_symbols_read_handler): Delay call to free_1 past call to
934 1.1 mrg write_resolution.
935 1.1 mrg (process_option): Add a -resolution option.
936 1.1 mrg
937 1.1 mrg 2009-10-13 Richard Guenther <rguenther (a] suse.de>
938 1.1 mrg
939 1.1 mrg * Makefile.am (liblto_plugin_la_LIBADD): Link against the
940 1.1 mrg correct libiberty.
941 1.1 mrg * Makefile.in: Regenerated.
942 1.1 mrg
943 1.1 mrg 2009-10-08 Rafael Avila de Espindola <espindola (a] google.com>
944 1.1 mrg
945 1.1 mrg * lto-plugin.c (add_input_library): New.
946 1.1 mrg (all_symbols_read_handler): Use add_input_library for items that
947 1.1 mrg start with -l.
948 1.1 mrg (process_option): Fit in 80 columns.
949 1.1 mrg (onload): Handle LDPT_ADD_INPUT_LIBRARY.
950 1.1 mrg
951 1.1 mrg 2009-10-02 Diego Novillo <dnovillo (a] google.com>
952 1.1 mrg
953 1.1 mrg * Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE
954 1.1 mrg and -D_FILE_OFFSET_BITS=64.
955 1.1 mrg * configure.ac: Add AC_SYS_LARGEFILE.
956 1.1 mrg * configure: Regenerate.
957 1.1 mrg * Makefile.in: Regenerate.
958 1.1 mrg * lto-plugin.c: Fix copyright boilerplate.
959 1.1 mrg
960 1.1 mrg 2009-10-02 Diego Novillo <dnovillo (a] google.com>
961 1.1 mrg
962 1.1 mrg * Makefile.am (ACLOCAL_AMFLAGS): Define.
963 1.1 mrg * aclocal.m4: Regenerate with aclocal-2.64
964 1.1 mrg * acinclude.m4: Remove.
965 1.1 mrg * Makefile.in: Regenerate with automake-1.11
966 1.1 mrg * configure.ac (AC_PREREQ): Update to 2.64.
967 1.1 mrg * configure: Regenerate.
968 1.1 mrg
969 1.1 mrg 2009-10-02 Diego Novillo <dnovillo (a] google.com>
970 1.1 mrg
971 1.1 mrg * Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE
972 1.1 mrg and -D_FILE_OFFSET_BITS=64.
973 1.1 mrg * configure.ac: Add AC_SYS_LARGEFILE.
974 1.1 mrg * configure: Regenerate.
975 1.1 mrg * Makefile.in: Regenerate.
976 1.1 mrg * lto-plugin.c: Fix copyright boilerplate.
977 1.1 mrg
978 1.1 mrg 2009-10-02 Diego Novillo <dnovillo (a] google.com>
979 1.1 mrg
980 1.1 mrg * Makefile.am (ACLOCAL_AMFLAGS): Define.
981 1.1 mrg * aclocal.m4: Regenerate with aclocal-2.64
982 1.1 mrg * acinclude.m4: Remove.
983 1.1 mrg * Makefile.in: Regenerate with automake-1.11
984 1.1 mrg * configure.ac (AC_PREREQ): Update to 2.64.
985 1.1 mrg * configure: Regenerate.
986 1.1 mrg
987 1.1 mrg 2009-10-02 Rafael Avila de Espindola <espindola (a] google.com>
988 1.1 mrg
989 1.1 mrg * Makefile.am (liblto_plugin_la_SOURCES): Remove
990 1.1 mrg $(top_srcdir)/../gcc/lto/common.c
991 1.1 mrg * Makefile.in: Regenerate.
992 1.1 mrg
993 1.1 mrg 2009-10-01 Rafael Avila de Espindola <espindola (a] google.com>
994 1.1 mrg
995 1.1 mrg * lto-plugin.c (pass_through_items): New.
996 1.1 mrg (num_pass_through_items): New.
997 1.1 mrg (all_symbols_read_handler): Update to use the -pass-through option.
998 1.1 mrg (process_option): Replace -libgcc with -pass-through.
999 1.1 mrg
1000 1.1 mrg 2009-09-30 Rafael Avila de Espindola <espindola (a] google.com>
1001 1.1 mrg
1002 1.1 mrg * lto-plugin.c (onload): Return a ld_plugin_status. Don't require
1003 1.1 mrg register_cleanup to be set.
1004 1.1 mrg
1005 1.1 mrg 2009-09-30 Rafael Avila de Espindola <espindola (a] google.com>
1006 1.1 mrg
1007 1.1 mrg * Makefile.am: Remove all reference to ltosymtab.
1008 1.1 mrg * Makefile.in: Regenerate.
1009 1.1 mrg * lto-symtab.c: Remove.
1010 1.1 mrg
1011 1.1 mrg 2009-05-21 Diego Novillo <dnovillo (a] google.com>
1012 1.1 mrg
1013 1.1 mrg * configure.ac: Remove call to AC_CHECK_GELF.
1014 1.1 mrg Call AC_ARG_VAR for LIBELFLIBS and LIBELFINC.
1015 1.1 mrg * acinclude.m4: Do not include ../config/libelf.m4
1016 1.1 mrg * Makefile.am (LIBELFLIBS): Define.
1017 1.1 mrg (LIBELFINC): Define.
1018 1.1 mrg (AM_CPPFLAGS): Add $(LIBELFINC).
1019 1.1 mrg (ltosymtab_LDADD): Add $(LIBELFLIBS).
1020 1.1 mrg (liblto_plugin_la_LIBADD): Add $(LIBELFLIBS)
1021 1.1 mrg * lto-plugin.c: Always include <gelf.h>
1022 1.1 mrg * lto-symtab.c: Likewise.
1023 1.1 mrg * configure: Regenerate.
1024 1.1 mrg * Makefile.in: Regenerate.
1025 1.1 mrg
1026 1.1 mrg 2009-03-23 Rafael Avila de Espindola <espindola (a] google.com>
1027 1.1 mrg
1028 1.1 mrg * lto-plugin.c (libgcc_filename): New.
1029 1.1 mrg (all_symbols_read_handler): Pass libgcc to the linker.
1030 1.1 mrg (all_symbols_read_handler): Parse -libgcc
1031 1.1 mrg
1032 1.1 mrg 2009-02-05 Rafael Avila de Espindola <espindola (a] google.com>
1033 1.1 mrg
1034 1.1 mrg * Makefile.am (liblto_plugin_la_LIBADD): Link with libiberty.
1035 1.1 mrg * Makefile.in: Regenerate.
1036 1.1 mrg * lto-plugin.c (add_output_files): Argument is now a FILE.
1037 1.1 mrg (exec_lto_wrapper): Use writeargv and pex.
1038 1.1 mrg
1039 1.1 mrg 2009-02-04 Rafael Avila de Espindola <espindola (a] google.com>
1040 1.1 mrg
1041 1.1 mrg Revert:
1042 1.1 mrg 2009-02-04 Rafael Avila de Espindola <espindola (a] google.com>
1043 1.1 mrg * lto-plugin.c (exec_lto_wrapper): Use writeargv.
1044 1.1 mrg
1045 1.1 mrg
1046 1.1 mrg 2009-02-04 Rafael Avila de Espindola <espindola (a] google.com>
1047 1.1 mrg
1048 1.1 mrg * lto-plugin.c (exec_lto_wrapper): Use writeargv.
1049 1.1 mrg
1050 1.1 mrg 2009-01-29 Rafael Avila de Espindola <espindola (a] google.com>
1051 1.1 mrg
1052 1.1 mrg * lto-plugin.c: Include libiberty.h.
1053 1.1 mrg (exec_lto_wrapper, claim_file_handler): Use asprintf instead of
1054 1.1 mrg snprintf.
1055 1.1 mrg
1056 1.1 mrg 2009-01-29 Rafael Avila de Espindola <espindola (a] google.com>
1057 1.1 mrg
1058 1.1 mrg * lto-plugin.c (exec_lto_wrapper): Write argv to a file. Pass that
1059 1.1 mrg file to lto-wrapper.
1060 1.1 mrg
1061 1.1 mrg 2009-01-28 Rafael Avila de Espindola <espindola (a] google.com>
1062 1.1 mrg
1063 1.1 mrg * lto-plugin.c (plugin_file_info): Remove fd and elf.
1064 1.1 mrg (parse_table_entry): strdup entry->name and entry->comdat_key.
1065 1.1 mrg (free_1): Free name and comdat_key. Don't close the file. Don't call
1066 1.1 mrg elf_end.
1067 1.1 mrg (claim_file_handler): Always call elf_end.
1068 1.1 mrg
1069 1.1 mrg 2008-12-23 Rafael Avila de Espindola <espindola (a] google.com>
1070 1.1 mrg
1071 1.1 mrg * Makefile.am (AM_CPPFLAGS): Add -D_LARGEFILE_SOURCE
1072 1.1 mrg -D_FILE_OFFSET_BITS=64
1073 1.1 mrg * Makefile.in: Regenerate
1074 1.1 mrg
1075 1.1 mrg 2008-12-22 Rafael Avila de Espindola <espindola (a] google.com>
1076 1.1 mrg
1077 1.1 mrg * Makefile.am (gcc_version, target_noncanonical, libexecsubdir): New.
1078 1.1 mrg (lib_LTLIBRARIES): Rename to libexecsub_LTLIBRARIES.
1079 1.1 mrg * Makefile.in: Regenerate.
1080 1.1 mrg * acinclude.m4: Include ../config/acx.m4 and ../lt~obsolete.m4
1081 1.1 mrg * configure: Regenerate.
1082 1.1 mrg * configure.ac: Add AC_SUBST(target_noncanonical).
1083 1.1 mrg
1084 1.1 mrg 2008-12-08 Rafael Avila de Espindola <espindola (a] google.com>
1085 1.1 mrg
1086 1.1 mrg * lto-plugin.c: Include stdbool.h.
1087 1.1 mrg (debug, nop): Declare as bool.
1088 1.1 mrg
1089 1.1 mrg 2008-12-08 Rafael Avila de Espindola <espindola (a] google.com>
1090 1.1 mrg
1091 1.1 mrg * lto-plugin.c (nop): New.
1092 1.1 mrg (use_original_files): New.
1093 1.1 mrg (all_symbols_read_handler): Call use_original_files if nop is true.
1094 1.1 mrg (process_option): Parse the -nop option.
1095 1.1 mrg
1096 1.1 mrg 2008-12-08 Rafael Avila de Espindola <espindola (a] google.com>
1097 1.1 mrg
1098 1.1 mrg * lto-plugin.c (debug): New.
1099 1.1 mrg (exec_lto_wrapper): Print argv if debug is true.
1100 1.1 mrg (process_option): Process the -debug command line option.
1101 1.1 mrg
1102 1.1 mrg 2008-12-03 Rafael Avila de Espindola <espindola (a] google.com>
1103 1.1 mrg
1104 1.1 mrg * lto-plugin.c (process_option): The argument is now a single option,
1105 1.1 mrg not a space separated list.
1106 1.1 mrg
1107 1.1 mrg 2008-12-02 Rafael Avila de Espindola <espindola (a] google.com>
1108 1.1 mrg
1109 1.1 mrg * lto-plugin.c: Include sys/types.h and sys/wait.h
1110 1.1 mrg (output_files, num_output_files, lto_wrapper_argv,
1111 1.1 mrg lto_wrapper_num_args): New.
1112 1.1 mrg (free_2): Free output_files.
1113 1.1 mrg (write_resolution): Disable.
1114 1.1 mrg (add_output_files): New.
1115 1.1 mrg (exec_lto_wrapper): New.
1116 1.1 mrg (all_symbols_read_handler): Run lto-wrapper.
1117 1.1 mrg (claim_file_handler): Free lto_file.name and call elf_end.
1118 1.1 mrg (process_option): New.
1119 1.1 mrg
1120 1.1 mrg 2008-11-26 Rafael Espindola <espindola (a] google.com>
1121 1.1 mrg
1122 1.1 mrg * lto-plugin.c (add_input_file): New.
1123 1.1 mrg (get_section): Return NULL if get_section fails.
1124 1.1 mrg (write_resolution): New.
1125 1.1 mrg (all_symbols_read_handler): Call add_input_file.
1126 1.1 mrg (claim_file_handler): Unlink the correct file.
1127 1.1 mrg (onload): Record add_input_file.
1128 1.1 mrg
1129 1.1 mrg 2008-09-23 Rafael Espindola <espindola (a] google.com>
1130 1.1 mrg
1131 1.1 mrg * Makefile.am (ltosymtab_SOURCES, liblto_plugin_la_SOURCES):
1132 1.1 mrg Update the location of common.c.
1133 1.1 mrg * Makefile.in: Regenerate.
1134 1.1 mrg * common.c: Moved to gcc/lto.
1135 1.1 mrg * common.h: Moved to gcc/lto.
1136 1.1 mrg * lto-plugin.c: Update the location of common.h.
1137 1.1 mrg * lto-symtab.c: Update the location of common.h.
1138 1.1 mrg
1139 1.1 mrg 2008-09-23 Rafael Espindola <espindola (a] google.com>
1140 1.1 mrg
1141 1.1 mrg * common.c: Include common.h.
1142 1.1 mrg (lto_kind_str, lto_visibility_str, lto_resolution_str): Use explicit
1143 1.1 mrg sizes.
1144 1.1 mrg * common.h (lto_kind_str, lto_visibility_str, lto_resolution_str): Use
1145 1.1 mrg explicit sizes.
1146 1.1 mrg
1147 1.1 mrg 2008-09-23 Rafael Espindola <espindola (a] google.com>
1148 1.1 mrg
1149 1.1 mrg * lto-plugin.c (plugin_file_info): Add temp.
1150 1.1 mrg (cleanup_handler): Only delete temporary files.
1151 1.1 mrg (claim_file_handler): Initialize lto_file.temp.
1152 1.1 mrg
1153 1.1 mrg 2008-09-23 Rafael Espindola <espindola (a] google.com>
1154 1.1 mrg
1155 1.1.1.17 mrg * plugin-api.h: Moved to include.
1156 1.1 mrg
1157 1.1 mrg 2008-09-23 Rafael Espindola <espindola (a] google.com>
1158 1.1 mrg
1159 1.1 mrg * lto-plugin.c (all_symbols_read_handler): Print resolution in a new
1160 1.1 mrg format.
1161 1.1 mrg
1162 1.1 mrg 2008-09-22 Rafael Espindola <espindola (a] google.com>
1163 1.1 mrg
1164 1.1 mrg * plugin-api.h: Copy from binutils' cvs.
1165 1.1 mrg
1166 1.1 mrg 2008-09-22 Rafael Espindola <espindola (a] google.com>
1167 1.1 mrg
1168 1.1 mrg * lto-symtab.c (get_symbols, add_symbols): Update signature.
1169 1.1 mrg * plugin-api.h: Copy from binutils' cvs.
1170 1.1 mrg
1171 1.1 mrg 2008-09-22 Rafael Espindola <espindola (a] google.com>
1172 1.1 mrg
1173 1.1 mrg * common.h (lto_kind_str, lto_visibility_str, lto_resolution_str):
1174 1.1 mrg Make extern
1175 1.1 mrg
1176 1.1 mrg 2008-09-10 Rafael Espindola <espindola (a] google.com>
1177 1.1 mrg
1178 1.1 mrg * lto-plugin.c (onload): add missing break statements and asserts.
1179 1.1 mrg * lto-symtab.c (claim_file_handler): Make it static.
1180 1.1 mrg (all_symbols_read_handler): Make it static.
1181 1.1 mrg (all_file_handles): Make it static.
1182 1.1 mrg (num_file_handles): Make it static.
1183 1.1 mrg (register_claim_file): Make it static.
1184 1.1 mrg (register_object): Indent properly.
1185 1.1 mrg
1186 1.1 mrg 2008-09-10 Rafael Avila de Espindola <espindola (a] google.com>
1187 1.1 mrg
1188 1.1 mrg * Makefile.am (ltosymtab_LDADD): Add -lelf.
1189 1.1 mrg * Makefiel.in: Regenerate.
1190 1.1 mrg * lto-plugin.c: Include ar.h.
1191 1.1 mrg (claim_file_handler): Handle file->offset != 0.
1192 1.1 mrg * lto-symtab.c: Include gelf.h.
1193 1.1 mrg (all_file_handles): Change type.
1194 1.1 mrg (register_object): New.
1195 1.1 mrg (register_file): Add support for archives.
1196 1.1 mrg (resolve): Update to new type of all_file_handles.
1197 1.1 mrg (print): Update to new type of all_file_handles.
1198 1.1 mrg (free_all): Update to new type of all_file_handles.
1199 1.1 mrg (main): Update to new type of all_file_handles.
1200 1.1 mrg
1201 1.1 mrg 2008-09-10 Rafael Avila de Espindola <espindola (a] google.com>
1202 1.1 mrg
1203 1.1 mrg * lto-plugin.c (get_string_table): Remove.
1204 1.1 mrg (get_section): Use elf_strptr instead of get_string_table.
1205 1.1 mrg
1206 1.1 mrg 2008-09-08 Doug Kwan <dougkwan (a] google.com>
1207 1.1 mrg
1208 1.1 mrg * lto-plugin.c (all_symbols_read_handler): Widen fprintf arguments
1209 1.1 mrg to 64-bit to fix a 32-bit bootstrap failure due to format warnings.
1210 1.1 mrg
1211 1.1 mrg 2008-09-08 Rafael Avila de Espindola <espindola (a] google.com>
1212 1.1 mrg
1213 1.1 mrg * Makefile.am (ltosymtab_SOURCES): add common.c.
1214 1.1 mrg (ltosymtab_CFLAGS): New.
1215 1.1 mrg (liblto_plugin_la_SOURCES): Add common.c.
1216 1.1 mrg * Makefile.in: Regenerate.
1217 1.1 mrg * common.c: New.
1218 1.1 mrg * common.h: New.
1219 1.1 mrg * lto-plugin.c: Include stdio.h, inttypes.h and common.h.
1220 1.1 mrg (plugin_symtab): New.
1221 1.1 mrg (plugin_file_info): New.
1222 1.1 mrg (register_all_symbols_read): New.
1223 1.1 mrg (get_symbols): New.
1224 1.1 mrg (claimed_files): New.
1225 1.1 mrg (num_claimed_files): New.
1226 1.1 mrg (translate): Don't drop the slot number.
1227 1.1 mrg (free_1): New.
1228 1.1 mrg (free_2): New.
1229 1.1 mrg (all_symbols_read_handler): New.
1230 1.1 mrg (claim_file_handler): Record every claimed file.
1231 1.1 mrg (onload): Handle LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
1232 1.1 mrg LDPT_GET_SYMBOLS.
1233 1.1 mrg * lto-symtab.c: Include stdlib.h, string.h and common.h.
1234 1.1 mrg (current_file_handle): Remove.
1235 1.1 mrg (ld_plugin_all_symbols_read_handler): New.
1236 1.1 mrg (plugin_handle): New.
1237 1.1 mrg (file_handle): New.
1238 1.1 mrg (all_file_handles): New.
1239 1.1 mrg (num_file_handles): New.
1240 1.1 mrg (get_symbols): New.
1241 1.1 mrg (register_all_symbols_read): New.
1242 1.1 mrg (add_symbols): Don't print the symbols, just record them.
1243 1.1 mrg (ld_plugin_tv): Add LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
1244 1.1 mrg LDPT_GET_SYMBOLS.
1245 1.1 mrg (load_plugin): Use plugin_handle.
1246 1.1 mrg (register_file): Add the file handle to all_file_handles.
1247 1.1 mrg (resolve): New.
1248 1.1 mrg (print): New.
1249 1.1 mrg (unload_plugin): New.
1250 1.1 mrg (free_all): New.
1251 1.1 mrg (main): Call all_symbols_read_handler and free resources.
1252 1.1 mrg
1253 1.1 mrg 2008-09-03 Rafael Avila de Espindola <espindola (a] google.com>
1254 1.1 mrg
1255 1.1 mrg * Makefile.am (AM_CFLAGS): New.
1256 1.1 mrg (ltosymtab_LDADD): Remove -lelf. Add -ldl.
1257 1.1 mrg (lib_LTLIBRARIES): New.
1258 1.1 mrg (liblto_plugin_la_SOURCES): New.
1259 1.1 mrg (liblto_plugin_la_LIBADD): New.
1260 1.1 mrg * Makefile.in: Regenerate.
1261 1.1 mrg * acinclude.m4: Don't include ../config/acx.m4 and
1262 1.1 mrg ../config/no-executables.m4.
1263 1.1 mrg Include ../ltsugar.m4, ../ltoptions.m4, ../ltversion.m4 and
1264 1.1 mrg ../libtool.m4.
1265 1.1 mrg * aclocal.m4: Regenerate.
1266 1.1 mrg * configure: Regenerate.
1267 1.1 mrg * configure.ac: Use AM_PROG_LIBTOOL.
1268 1.1 mrg * lto-plugin.c: New.
1269 1.1 mrg * lto-symtab.c: Rewrite to use the plugin.
1270 1.1 mrg * plugin-api.h: New.
1271 1.1 mrg
1272 1.1 mrg 2008-08-25 Rafael Avila de Espindola <espindola (a] google.com>
1273 1.1 mrg
1274 1.1 mrg * configure: Regenerate.
1275 1.1 mrg * configure.ac: Use AC_CHECK_GELF.
1276 1.1 mrg * lto-symtab.c: Include gelf.h.
1277 1.1 mrg (get_string_table): Use size independent API.
1278 1.1 mrg (printTable): Use lld to print 64 bit integers.
1279 1.1 mrg
1280 1.1 mrg 2008-08-22 Rafael Avila de Espindola <espindola (a] google.com>
1281 1.1 mrg
1282 1.1 mrg * lto-symtab.c (parse_table_entry): Assert entry->kind and
1283 1.1 mrg entry->visibility are valid.
1284 1.1 mrg
1285 1.1 mrg 2008-07-22 Rafael Avila de Espindola <espindola (a] google.com>
1286 1.1 mrg * lto-symtab.c (table_entry): Add comdat.
1287 1.1 mrg (parse_table_entry): Read comdat.
1288 1.1 mrg
1289 1.1 mrg 2008-08-21 Rafael Espindola <espindola (a] google.com>
1290 1.1 mrg
1291 1.1 mrg * Makefile.am: New.
1292 1.1 mrg * Makefile.in: New.
1293 1.1 mrg * acinclude.m4: New.
1294 1.1 mrg * aclocal.m4: New.
1295 1.1 mrg * configure: New.
1296 1.1 mrg * configure.ac: New.
1297 1.1 mrg * lto-symtab.c: New.
1298