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