ChangeLog revision 1.1.1.1
12011-04-28  Release Manager
2
3	* GCC 4.5.3 released.
4
52010-12-16  Release Manager
6
7	* GCC 4.5.2 released.
8
92010-07-31  Release Manager
10
11	* GCC 4.5.1 released.
12
132010-06-02  Richard Guenther  <rguenther@suse.de>
14
15	PR lto/44385
16	Backport from mainline
17	2010-05-21  Richard Guenther  <rguenther@suse.de>
18
19	* lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
20
212010-04-14  Release Manager
22
23	* GCC 4.5.0 released.
24
252010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
26
27	* Makefile.in: Regenerate.
28	* aclocal.m4: Regenerate.
29
302010-03-16  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
31
32	PR lto/43336
33	* lto-plugin.c (cleanup_handler): Delete temporary output files.
34
352010-01-11  Richard Guenther  <rguenther@suse.de>
36
37	PR lto/41569
38	* Makefile.am: Disable dependencies.
39	* Makefile.in: Regenerated.
40
412010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
42
43	PR lto/42520
44	* lto-plugin.c (exec_lto_wrapper): Output lto-wrapper command
45	if -v is passed.
46
472009-12-05  H.J. Lu  <hongjiu.lu@intel.com>
48
49	PR bootstrap/42306
50	* configure: Regenerated.
51	* Makefile.in: Likewise.
52
532009-11-19  Rafael Avila de Espindola  <espindola@google.com>
54
55	PR bootstrap/42096
56	* lto-plugin.c (claim_file_handler): Print offsets in hex.
57
582009-11-12  Rafael Avila de Espindola  <espindola@google.com>
59
60	* lto-plugin.c (write_resolution): Assume resolution_file is set.
61	Print the symbol name.
62	(all_symbols_read_handler): Create a resolution file.
63	Pass it to gcc.
64	(cleanup_handler): Remove the resolution file.
65	(process_option): Drop the -resolution option.
66
672009-11-05  Rafael Avila de Espindola  <espindola@google.com>
68
69	* lto-plugin.c (temp_obj_dir_name): Remove.
70	(arguments_file_name): New.
71	(free_2): Free arguments_file_name instead of temp_obj_dir_name.
72	(exec_lto_wrapper):  Create arguments file with make_temp_file.
73	(cleanup_handler): Don't remove the temporary directory. Remove the
74	arguments file.
75	(onload): Don't create the temporary directory.
76
772009-11-04  Richard Guenther  <rguenther@suse.de>
78            Rafael Avila de Espindola  <espindola@google.com>
79
80	* lto-plugin.c (plugin_file_info): Remove temp field.
81	(cleanup_handler): Don't delete temporary objects.
82	(claim_file_handler): Don't create temporary objects.
83
842009-11-04  Rafael Avila de Espindola  <espindola@google.com>
85
86	* lto-plugin.c (cleanup_handler): Don't cleanup if debugging.
87
882009-10-30  Rafael Avila de Espindola  <espindola@google.com>
89
90	PR41871
91	* lto-plugin.c (claim_file_handler): Close files that we created.
92
932009-10-28  Rafael Avila de Espindola  <espindola@google.com>
94
95	* lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of
96	LDPL_ERROR
97
982009-10-27  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
99
100	PR lto/41652
101	* configure.ac: Call AC_SYS_LARGEFILE before AC_OUTPUT.
102	* configure: Regenerate.
103
1042009-10-26  Richard Guenther  <rguenther@suse.de>
105
106	* configure.ac: Use AM_MAINTAINER_MODE.
107	* acinclude.m4: Remove.
108	* configure: Re-generate.
109	* Makefile.in: Likewise.
110	* aclocal.m4: Likewise.
111
1122009-10-19  Rafael Avila de Espindola  <espindola@google.com>
113    
114        PR40790
115        * configure: Regenerate.
116        * configure.ac: Add AC_TYPE_UINT64_T.
117
1182009-10-16  Rafael Avila de Espindola  <espindola@google.com>
119
120	* lto-plugin.c (message): New variable.
121	(check): New function.
122	(parse_table_entry, translate, write_resolution,add_output_files,
123	exec_lto_wrapper,claim_file_handler, onload): Use check instead of
124	assert.
125	(cleanup_handler): Use check instead of assert. Remove the arguments
126	file if it exists.
127
1282009-10-15  Rafael Avila de Espindola  <espindola@google.com>
129
130	* lto-plugin.c (resolution_file): New.
131	(free_1): Update comment.
132	(free_2): Free resolution_file.
133	(write_resolution): Write resolution to specified file. Use the
134	syms array from the symbol table.
135	(all_symbols_read_handler): Delay call to free_1 past call to
136	write_resolution.
137	(process_option): Add a -resolution option.
138
1392009-10-13  Richard Guenther  <rguenther@suse.de>
140
141	* Makefile.am (liblto_plugin_la_LIBADD): Link against the
142	correct libiberty.
143	* Makefile.in: Regenerated.
144
1452009-10-08  Rafael Avila de Espindola  <espindola@google.com>
146
147	* lto-plugin.c (add_input_library): New.
148	(all_symbols_read_handler): Use add_input_library for items that
149	start with -l.
150	(process_option): Fit in 80 columns.
151	(onload): Handle LDPT_ADD_INPUT_LIBRARY.
152
1532009-10-02  Diego Novillo  <dnovillo@google.com>
154
155	* Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE
156	and -D_FILE_OFFSET_BITS=64.
157	* configure.ac: Add AC_SYS_LARGEFILE.
158	* configure: Regenerate.
159	* Makefile.in: Regenerate.
160	* lto-plugin.c: Fix copyright boilerplate.
161
1622009-10-02  Diego Novillo  <dnovillo@google.com>
163
164	* Makefile.am (ACLOCAL_AMFLAGS): Define.
165	* aclocal.m4: Regenerate with aclocal-2.64
166	* acinclude.m4: Remove.
167	* Makefile.in: Regenerate with automake-1.11
168	* configure.ac (AC_PREREQ): Update to 2.64.
169	* configure: Regenerate.
170
1712009-10-02  Diego Novillo  <dnovillo@google.com>
172
173	* Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE
174	and -D_FILE_OFFSET_BITS=64.
175	* configure.ac: Add AC_SYS_LARGEFILE.
176	* configure: Regenerate.
177	* Makefile.in: Regenerate.
178	* lto-plugin.c: Fix copyright boilerplate.
179
1802009-10-02  Diego Novillo  <dnovillo@google.com>
181
182	* Makefile.am (ACLOCAL_AMFLAGS): Define.
183	* aclocal.m4: Regenerate with aclocal-2.64
184	* acinclude.m4: Remove.
185	* Makefile.in: Regenerate with automake-1.11
186	* configure.ac (AC_PREREQ): Update to 2.64.
187	* configure: Regenerate.
188
1892009-10-02  Rafael Avila de Espindola  <espindola@google.com>
190
191	* Makefile.am (liblto_plugin_la_SOURCES): Remove
192	$(top_srcdir)/../gcc/lto/common.c
193	* Makefile.in: Regenerate.
194
1952009-10-01  Rafael Avila de Espindola  <espindola@google.com>
196
197	* lto-plugin.c (pass_through_items): New.
198	(num_pass_through_items): New.
199	(all_symbols_read_handler): Update to use the -pass-through option.
200	(process_option): Replace -libgcc with -pass-through.
201	
2022009-09-30  Rafael Avila de Espindola  <espindola@google.com>
203
204	* lto-plugin.c (onload): Return a ld_plugin_status. Don't require
205	register_cleanup to be set.
206
2072009-09-30  Rafael Avila de Espindola  <espindola@google.com>
208
209	* Makefile.am: Remove all reference to ltosymtab.
210	* Makefile.in: Regenerate.
211	* lto-symtab.c: Remove.
212
2132009-05-21  Diego Novillo  <dnovillo@google.com>
214
215	* configure.ac: Remove call to AC_CHECK_GELF.
216	Call AC_ARG_VAR for LIBELFLIBS and LIBELFINC.
217	* acinclude.m4: Do not include ../config/libelf.m4
218	* Makefile.am (LIBELFLIBS): Define.
219	(LIBELFINC): Define.
220	(AM_CPPFLAGS): Add $(LIBELFINC).
221	(ltosymtab_LDADD): Add $(LIBELFLIBS).
222	(liblto_plugin_la_LIBADD): Add $(LIBELFLIBS)
223	* lto-plugin.c: Always include <gelf.h>
224	* lto-symtab.c: Likewise.
225	* configure: Regenerate.
226	* Makefile.in: Regenerate.
227
2282009-03-23  Rafael Avila de Espindola  <espindola@google.com>
229
230	* lto-plugin.c (libgcc_filename): New.
231	(all_symbols_read_handler): Pass libgcc to the linker.
232	(all_symbols_read_handler): Parse -libgcc
233
2342009-02-05  Rafael Avila de Espindola  <espindola@google.com>
235
236	* Makefile.am (liblto_plugin_la_LIBADD): Link with libiberty.
237	* Makefile.in: Regenerate.
238	* lto-plugin.c (add_output_files): Argument is now a FILE.
239	(exec_lto_wrapper): Use writeargv and pex.
240
2412009-02-04  Rafael Avila de Espindola  <espindola@google.com>
242
243	Revert:
244	2009-02-04  Rafael Avila de Espindola  <espindola@google.com>
245	* lto-plugin.c (exec_lto_wrapper): Use writeargv.
246
247
2482009-02-04  Rafael Avila de Espindola  <espindola@google.com>
249
250	* lto-plugin.c (exec_lto_wrapper): Use writeargv.
251
2522009-01-29  Rafael Avila de Espindola  <espindola@google.com>
253
254	* lto-plugin.c: Include libiberty.h.
255	(exec_lto_wrapper, claim_file_handler): Use asprintf instead of
256	snprintf.
257
2582009-01-29  Rafael Avila de Espindola  <espindola@google.com>
259
260	* lto-plugin.c (exec_lto_wrapper): Write argv to a file. Pass that
261	file to lto-wrapper.
262
2632009-01-28  Rafael Avila de Espindola  <espindola@google.com>
264
265	* lto-plugin.c (plugin_file_info): Remove fd and elf.
266	(parse_table_entry): strdup entry->name and entry->comdat_key.
267	(free_1): Free name and comdat_key. Don't close the file. Don't call
268	elf_end.
269	(claim_file_handler): Always call elf_end.
270
2712008-12-23  Rafael Avila de Espindola  <espindola@google.com>
272
273	* Makefile.am (AM_CPPFLAGS): Add -D_LARGEFILE_SOURCE
274	-D_FILE_OFFSET_BITS=64
275	* Makefile.in: Regenerate
276
2772008-12-22  Rafael Avila de Espindola  <espindola@google.com>
278
279	* Makefile.am (gcc_version, target_noncanonical, libexecsubdir): New.
280	(lib_LTLIBRARIES): Rename to libexecsub_LTLIBRARIES.
281	* Makefile.in: Regenerate.
282	* acinclude.m4: Include ../config/acx.m4 and ../lt~obsolete.m4
283	* configure: Regenerate.
284	* configure.ac: Add AC_SUBST(target_noncanonical).
285
2862008-12-08  Rafael Avila de Espindola  <espindola@google.com>
287
288	* lto-plugin.c: Include stdbool.h.
289	(debug, nop): Declare as bool.
290
2912008-12-08  Rafael Avila de Espindola  <espindola@google.com>
292
293	* lto-plugin.c (nop): New.
294	(use_original_files): New.
295	(all_symbols_read_handler): Call use_original_files if nop is true.
296	(process_option): Parse the -nop option.
297
2982008-12-08  Rafael Avila de Espindola  <espindola@google.com>
299
300	* lto-plugin.c (debug): New.
301	(exec_lto_wrapper): Print argv if debug is true.
302	(process_option): Process the -debug command line option.
303
3042008-12-03  Rafael Avila de Espindola  <espindola@google.com>
305
306	* lto-plugin.c (process_option): The argument is now a single option,
307	not a space separated list.
308
3092008-12-02  Rafael Avila de Espindola  <espindola@google.com>
310
311	* lto-plugin.c: Include sys/types.h and sys/wait.h
312	(output_files, num_output_files, lto_wrapper_argv,
313	lto_wrapper_num_args): New.
314	(free_2): Free output_files.
315	(write_resolution): Disable.
316	(add_output_files): New.
317	(exec_lto_wrapper): New.
318	(all_symbols_read_handler): Run lto-wrapper.
319	(claim_file_handler): Free lto_file.name and call elf_end.
320	(process_option): New.
321
3222008-11-26  Rafael Espindola  <espindola@google.com>
323
324	* lto-plugin.c (add_input_file): New.
325	(get_section): Return NULL if get_section fails.
326	(write_resolution): New.
327	(all_symbols_read_handler): Call add_input_file.
328	(claim_file_handler): Unlink the correct file.
329	(onload): Record add_input_file.
330
3312008-09-23 Rafael Espindola  <espindola@google.com>
332
333	* Makefile.am (ltosymtab_SOURCES, liblto_plugin_la_SOURCES):
334	Update the location of common.c.
335	* Makefile.in: Regenerate.
336	* common.c: Moved to gcc/lto.
337	* common.h: Moved to gcc/lto.
338	* lto-plugin.c: Update the location of common.h.
339	* lto-symtab.c: Update the location of common.h.
340
3412008-09-23 Rafael Espindola  <espindola@google.com>
342
343	* common.c: Include common.h.
344	(lto_kind_str, lto_visibility_str, lto_resolution_str): Use explicit
345	sizes.
346	* common.h (lto_kind_str, lto_visibility_str, lto_resolution_str): Use
347	explicit sizes.
348
3492008-09-23 Rafael Espindola  <espindola@google.com>
350
351	* lto-plugin.c (plugin_file_info): Add temp.
352	(cleanup_handler): Only delete temporary files.
353	(claim_file_handler): Initialize lto_file.temp.
354
3552008-09-23  Rafael Espindola  <espindola@google.com>
356
357        * plugin-api.h: Moved to include.
358
3592008-09-23 Rafael Espindola  <espindola@google.com>
360
361	* lto-plugin.c (all_symbols_read_handler): Print resolution in a new
362	format.
363
3642008-09-22 Rafael Espindola  <espindola@google.com>
365
366	* plugin-api.h: Copy from binutils' cvs.
367
3682008-09-22 Rafael Espindola  <espindola@google.com>
369
370	* lto-symtab.c (get_symbols, add_symbols): Update signature.
371	* plugin-api.h: Copy from binutils' cvs.
372
3732008-09-22 Rafael Espindola  <espindola@google.com>
374
375	* common.h (lto_kind_str, lto_visibility_str, lto_resolution_str):
376	Make extern
377
3782008-09-10 Rafael Espindola  <espindola@google.com>
379
380	* lto-plugin.c (onload): add missing break statements and asserts.
381	* lto-symtab.c (claim_file_handler): Make it static.
382	(all_symbols_read_handler): Make it static.
383	(all_file_handles): Make it static.
384	(num_file_handles): Make it static.
385	(register_claim_file): Make it static.
386	(register_object): Indent properly.
387
3882008-09-10  Rafael Avila de Espindola  <espindola@google.com>
389
390	* Makefile.am (ltosymtab_LDADD): Add -lelf.
391	* Makefiel.in: Regenerate.
392	* lto-plugin.c: Include ar.h.
393	(claim_file_handler): Handle file->offset != 0.
394	* lto-symtab.c: Include gelf.h.
395	(all_file_handles): Change type.
396	(register_object): New.
397	(register_file): Add support for archives.
398	(resolve): Update to new type of all_file_handles.
399	(print): Update to new type of all_file_handles.
400	(free_all): Update to new type of all_file_handles.
401	(main): Update to new type of all_file_handles.
402
4032008-09-10  Rafael Avila de Espindola  <espindola@google.com>
404
405	* lto-plugin.c (get_string_table): Remove.
406	(get_section): Use elf_strptr instead of get_string_table.
407
4082008-09-08  Doug Kwan  <dougkwan@google.com>
409
410	* lto-plugin.c (all_symbols_read_handler): Widen fprintf arguments
411	to 64-bit to fix a 32-bit bootstrap failure due to format warnings.
412
4132008-09-08  Rafael Avila de Espindola  <espindola@google.com>
414
415	* Makefile.am (ltosymtab_SOURCES): add common.c.
416	(ltosymtab_CFLAGS): New.
417	(liblto_plugin_la_SOURCES): Add common.c.
418	* Makefile.in: Regenerate.
419	* common.c: New.
420	* common.h: New.
421	* lto-plugin.c: Include stdio.h, inttypes.h and common.h.
422	(plugin_symtab): New.
423	(plugin_file_info): New.
424	(register_all_symbols_read): New.
425	(get_symbols): New.
426	(claimed_files): New.
427	(num_claimed_files): New.
428	(translate): Don't drop the slot number.
429	(free_1): New.
430	(free_2): New.
431	(all_symbols_read_handler): New.
432	(claim_file_handler): Record every claimed file.
433	(onload): Handle LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
434	LDPT_GET_SYMBOLS.
435	* lto-symtab.c: Include stdlib.h, string.h and common.h.
436	(current_file_handle): Remove.
437	(ld_plugin_all_symbols_read_handler): New.
438	(plugin_handle): New.
439	(file_handle): New.
440	(all_file_handles): New.
441	(num_file_handles): New.
442	(get_symbols): New.
443	(register_all_symbols_read): New.
444	(add_symbols): Don't print the symbols, just record them.
445	(ld_plugin_tv): Add LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
446	LDPT_GET_SYMBOLS.
447	(load_plugin): Use plugin_handle.
448	(register_file): Add the file handle to all_file_handles.
449	(resolve): New.
450	(print): New.
451	(unload_plugin): New.
452	(free_all): New.
453	(main): Call all_symbols_read_handler and free resources.
454
4552008-09-03  Rafael Avila de Espindola  <espindola@google.com>
456
457	* Makefile.am (AM_CFLAGS): New.
458	(ltosymtab_LDADD): Remove -lelf. Add -ldl.
459	(lib_LTLIBRARIES): New.
460	(liblto_plugin_la_SOURCES): New.
461	(liblto_plugin_la_LIBADD): New.
462	* Makefile.in: Regenerate.
463	* acinclude.m4: Don't include ../config/acx.m4 and
464	../config/no-executables.m4.
465	Include ../ltsugar.m4, ../ltoptions.m4, ../ltversion.m4 and
466	../libtool.m4.
467	* aclocal.m4: Regenerate.
468	* configure: Regenerate.
469	* configure.ac: Use AM_PROG_LIBTOOL.
470	* lto-plugin.c: New.
471	* lto-symtab.c: Rewrite to use the plugin.
472	* plugin-api.h: New.
473
4742008-08-25  Rafael Avila de Espindola  <espindola@google.com>
475
476	* configure: Regenerate.
477	* configure.ac: Use AC_CHECK_GELF.
478	* lto-symtab.c: Include gelf.h.
479	(get_string_table): Use size independent API.
480	(printTable): Use lld to print 64 bit integers.
481
4822008-08-22  Rafael Avila de Espindola  <espindola@google.com>
483
484	* lto-symtab.c (parse_table_entry): Assert entry->kind and
485	entry->visibility are valid.
486
4872008-07-22  Rafael Avila de Espindola  <espindola@google.com>
488	* lto-symtab.c (table_entry): Add comdat.
489	(parse_table_entry): Read comdat.
490
4912008-08-21  Rafael Espindola  <espindola@google.com>
492
493	* Makefile.am: New.
494	* Makefile.in: New.
495	* acinclude.m4: New.
496	* aclocal.m4: New.
497	* configure: New.
498	* configure.ac: New.
499	* lto-symtab.c: New.
500