OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [lto-plugin/] [ChangeLog] - Blame information for rev 790

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 743 jeremybenn
2012-02-22  Kai Tietz  
2
 
3
        PR lto/50616
4
        * lto-plugin.c (PRI_LL): New macro.
5
        (dump_symtab): Use PRI_LL instead of ll in print.
6
        (process_symtab): Use PRI_LL instead of ll in scan.
7
 
8
2011-12-20  Andreas Schwab  
9
 
10
        * configure: Regenerate.
11
 
12
2011-12-19  Andreas Schwab  
13
 
14
        * configure: Regenerate.
15
 
16
2011-11-21  Andreas Tobler  
17
 
18
        * configure: Regenerate.
19
 
20
2011-10-02  Jan Hubicka  
21
 
22
        PR lto/47247
23
        * lto-plugin.c (get_symbols_v2): New variable.
24
        (write_resolution): Use V2 API when available.
25
        (onload): Handle LDPT_GET_SYMBOLS_V2.
26
 
27
2011-09-30  H.J. Lu  
28
            Andi Kleen  
29
 
30
        PR lto/50568
31
        * lto-plugin.c (sym_aux): Change id to unsigned long long.
32
        (plugin_symtab): Likewise.
33
        (dump_symtab): Likewise.
34
        (resolve_conflicts): Likewise.
35
        (process_symtab): Likewise.
36
 
37
2011-08-10  Richard Guenther  
38
 
39
        PR bootstrap/49907
40
        lto-plugin/
41
        * configure.ac: Use ACX_PROG_CC_WARNING_OPTS to detect -Wall presence.
42
        * Makefile.am (AM_CFLAGS): Adjust.  Do not build with -Werror.
43
        * configure: Regenerate.
44
        * Makefile.in: Likewise.
45
        * aclocal.m4: Likewise.
46
 
47
2011-04-20  Jim Meyering  
48
 
49
        * lto-plugin.c (free_1, free_2): Remove useless if-before-free.
50
 
51
2011-04-05  Richard Guenther  
52
 
53
        PR bootstrap/48431
54
        * lto-plugin.c (claim_file_handler): Do not declare vars in code.
55
 
56
2011-02-13  Ralf Wildenhues  
57
 
58
        * Makefile.in: Regenerate.
59
        * aclocal.m4: Regenerate.
60
        * configure: Regenerate.
61
 
62
2011-02-12  Ralf Wildenhues  
63
 
64
        * Makefile.am (all-local): Rename from 'all'.
65
        * Makefile.in: Regenerate.
66
 
67
2011-02-12  Alexandre Oliva  
68
 
69
        PR lto/47225
70
        * Makefile.am (gcc_build_dir, in_gcc_libs): New.
71
        (liblto_plugin_la_LDFLAGS): Add -module.
72
        (copy_lto_plugin): Renamed to...
73
        ($(in_gcc_libs)): ... this.  Add mkinstalldirs.  Skip copying
74
        of static modules.
75
        * Makefile.in: Rebuild.
76
 
77
2011-02-07  Kai Tietz  
78
 
79
        PR lto/47225
80
        * Makefile.am (Wc): New helper for encoding -Wc,.
81
        (liblto_plugin_la_LIBADD): Use Wc for libiberty library.
82
        (liblto_plugin_la_DEPENDENCIES): Special case pic libiberty.
83
        * Makefile.in: Regenerated.
84
 
85
2011-02-07  Paolo Bonzini  
86
 
87
        Revert:
88
 
89
        2011-02-07  Kai Tietz  
90
 
91
        PR lto/47225
92
        * Makefile.am (Wl): New helper for encoding -Wl,.
93
        (liblto_plugin_la_LIBADD): Use -Wl for libiberty library.
94
        * Makefile.in: Regenerated.
95
 
96
2011-02-07  Kai Tietz  
97
 
98
        PR lto/47225
99
        * Makefile.am (Wl): New helper for encoding -Wl,.
100
        (liblto_plugin_la_LIBADD): Use -Wl for libiberty library.
101
        * Makefile.in: Regenerated.
102
 
103
2011-01-25  Ian Lance Taylor  
104
 
105
        * lto-plugin.c (gold_version): New static variable.
106
        (all_symbols_read_handler): Don't check pass_through_items if
107
        using gold 1.11 or later.
108
        (onload): Set gold_version if we see LDPT_GOLD_VERSION.
109
 
110
2011-01-12  Richard Guenther  
111
 
112
        PR lto/47264
113
        * lto-plugin.c (parse_table_entry): Use memcpy to access
114
        unaligned fields.
115
 
116
2010-12-20  Dave Korn  
117
 
118
        * Makefile.am (AM_LIBTOOLFLAGS): Define, adding disable-static tag.
119
        * Makefile.in: Regenerate.
120
 
121
2010-12-15  Rainer Orth  
122
 
123
        Revert last change.
124
 
125
2010-12-15  Rainer Orth  
126
 
127
        * Makefile.am (liblto_plugin_la_DEPENDENCIES): Define.
128
        (liblto_plugin_la_LIBADD): Use -L../libiberty/pic -liberty.
129
        (liblto_plugin_la_LDFLAGS): Use -L../libiberty -liberty.
130
        * Makefile.in: Regenerate.
131
 
132
2010-12-10  Dave Korn  
133
 
134
        PR middle-end/46674
135
        PR lto/43157
136
        * configure.ac (SYM_STYLE): Don't AC_DEFINE.
137
        * lto-plugin.c (sym_style): Don't use it; default to ss_none.
138
        * configure: Regenerate.
139
        * config.h.in: Likewise.
140
 
141
2010-12-06  Dave Korn  
142
 
143
        PR target/40125
144
        PR lto/46695
145
        * configure.ac: Invoke ACX_LT_HOST_FLAGS.
146
        * Makefile.am (liblto_plugin_la_LDFLAGS): Use lt_host_flags but
147
        override -bindir setting.
148
        * aclocal.m4: Regenerate.
149
        * configure: Regenerate.
150
        * Makefile.in: Regenerate.
151
 
152
2010-12-05  Kai Tietz  
153
 
154
        * config.h.in: Regenerated.
155
        * configure: Regenerated.
156
        * configure.ac (AC_CHECK_HEADERS): Replaced by AC_HEADER_SYS_WAIT.
157
        * lto-plugin.c (WIFEXITED): Define default.
158
        (WEXITSTATUS): Likeiwse.
159
 
160
2010-12-01  Kai Tietz  
161
 
162
        * config.h.in: Regenerated.
163
        * configure: Regenerated.
164
        * Makefile.in: Regenerated.
165
        * configure.ac (AC_CHECK_HEADERS): Check for sys/wait.h.
166
        * lto-plugin.c:  Include sys/wait.h conditionally.
167
        * aclocal.m4: Regenerated.
168
 
169
2010-11-13  Kai Tietz  
170
 
171
        * lto-plugin.c (add_output_files): Fix memory leak.
172
 
173
2010-11-11  Dave Korn  
174
 
175
        PR bootstrap/46397
176
        PR bootstrap/46362
177
        * configure.ac: Add AC_TYPE_INT64_T test.
178
        * config.h.in: Regenerate.
179
        * configure: Likewise.
180
        * lto-plugin.c (debug): Use char not bool.
181
        (nop): Likewise.
182
        (check_1): Rename from check, and use int not bool for gate argument.
183
        (check): Macro wrapper for the above to coerce gate argument into
184
        boolean-valued integer in case it has pointer type.
185
        (parse_table_entry): Use 0 not false.
186
        (claim_file_handler): Avoid use of PRIx64 by splitting 64-bit size
187
        into two 32-bit parts and printing as hex ints.
188
 
189
2010-11-03  Dave Korn  
190
 
191
        PR lto/46291
192
        * lto-plugin.c (claim_file_handler): Don't close file descriptor.
193
 
194
2010-11-03  Dave Korn  
195
 
196
        PR lto/46273
197
        * lto-plugin.h: Delete.
198
        * lto-plugin-elf.c: Likewise.
199
        * lto-plugin-coff.c: Likewise.
200
        * configure.ac: Don't use libelf, don't source config.gcc.
201
        (LIBELFLIBS): Delete.
202
        (LIBELFINC): Delete.
203
        (LTO_FORMAT): Delete.
204
        (SYM_STYLE): Add AC_DEFINE var, set based on $target.
205
        (config.h): Add AC_CONFIG_HEADERS directive.
206
        * Makefile.am (LIBELFLIBS): Delete.
207
        (LIBELFINC): Delete.
208
        (LTO_FORMAT): Delete.
209
        (DEFS): Import.
210
        (AM_CPPFLAGS): Use it.  Don't use LIBELFINC.
211
        (liblto_plugin_la_SOURCES): Don't use LTO_FORMAT, don't include
212
        any object-format-specific source file in the link.
213
        (liblto_plugin_la_LIBADD): Don't use LIBELFLIBS.
214
        * config.h.in: Generate.
215
        * configure: Regenerate.
216
        * Makefile.in: Likewise.
217
        * lto-plugin.c (O_BINARY): Definition moved here from lto-plugin.h.
218
        (LTO_SEGMENT_NAME): New definition.
219
        (LTO_SECTION_PREFIX): Definition moved here from lto-plugin.h.
220
        (LTO_SECTION_PREFIX_LEN): New definition.
221
        (struct sym_aux): Struct definition moved here from lto-plugin.h.
222
        (struct plugin_symtab): Likewise.
223
        (struct plugin_objfile): Likewise.
224
        (struct plugin_objfile): New struct def.
225
        (enum symbol_style): New enum type.
226
        (add_symbols): Make static.
227
        (claimed_files): Likewise.
228
        (num_claimed_files): Likewise.
229
        (sym_style): New global.
230
        (check): Make static.
231
        (parse_table_entry): Likewise.  Respect sym_style when extracting
232
        symbol from symtab entry.
233
        (translate): Make static.
234
        (resolve_conflicts): Likewise.
235
        (process_symtab): New function, per-section callback version of
236
        old object-format-specific handling from deleted lto-plugin-elf.c.
237
        (claim_file_handler): Convert ELF-specific version from deleted
238
        lto-plugin-elf.c to simple_object interface and move here.
239
        (process_options): Allow new '-sym-style=' option.
240
        (onload): Don't call deleted onload_format_checks hook.
241
 
242
2010-10-11  Kai Tietz  
243
 
244
        * lto-plugin.c (dump_symtab): Correct printf argument type.
245
        (finish_conflict_resolution): Initialize resolution.
246
 
247
2010-10-08  H.J. Lu  
248
 
249
        PR bootstrap/45951
250
        * configure.ac: Add AC_CANONICAL_SYSTEM.
251
        * configure: Regenerated.
252
 
253
2010-10-07  Dave Korn  
254
 
255
        * configure.ac: Source config.gcc to determine lto_binary_reader.
256
        (LTO_FORMAT): New AC_SUBST variable inferred from lto_binary_reader.
257
        * Makefile.am (LTO_FORMAT): Import.
258
        (liblto_plugin_la_SOURCES): Add object format dependent module
259
        defined by LTO_FORMAT.
260
        (liblto_plugin_la_LIBADD): Allow for both PIC and non-PIC libiberty,
261
        and work around libtool warning.
262
        * configure: Regenerate.
263
        * Makefile.in: Likewise.
264
        * lto-plugin.c (struct sym_aux): Move to new lto-plugin.h.
265
        (struct sym_aux): Likewise.
266
        (struct plugin_symtab): Likewise.
267
        (struct plugin_file_info): Likewise.
268
        (LTO_SECTION_PREFIX): Likewise.
269
        (add_symbols):  Make non-static.
270
        (claimed_files): Likewise.
271
        (num_claimed_files): Likewise.
272
        (check): Likewise.
273
        (parse_table_entry): Likewise.
274
        (translate): Likewise.
275
        (resolve_conflicts): Likewise.
276
        (process_symtab): Move to new lto-plugin-elf.c object format dependent
277
        source file.
278
        (claim_file_handler): Likewise, and make non-static.
279
        (onload): Call new onload_format_checks function.
280
        * lto-plugin.h: New file.
281
        (LTO_SECTION_PREFIX): Move here.
282
        (struct sym_aux): Likewise.
283
        (struct plugin_symtab): Likewise.
284
        (struct plugin_file_info): Likewise.
285
        (claim_file_handler): Add new function prototype.
286
        (onload_format_checks): Likewise.
287
        (check): Declare extern.
288
        (translate): Likewise.
289
        (parse_table_entry): Likewise.
290
        (resolve_conflicts): Likewise.
291
        (add_symbols):  Likewise.
292
        (claimed_files): Likewise.
293
        (num_claimed_files): Likewise.
294
        * lto-plugin-elf.c (process_symtab): Move here.
295
        (claim_file_handler): Likewise, and make non-static.
296
        (onload_format_checks): New function factored out from onload.
297
        * lto-plugin-coff.c (claim_file_handler): New function stub.
298
        (onload_format_checks): Likewise.
299
 
300
2010-08-05  Andi Kleen  
301
 
302
        * lto-plugin.c: Include 
303
        (sym_aux): Add next_conflict field to save conflict chains.
304
        (plugin_file_info): Add conflicts symtab.
305
        (parse_table_entry): Initialize aux->next_conflict.
306
        (process_symtab): Increment found.
307
        (dump_symtab): Add.
308
        (finish_conflict_resolution): Add.
309
        (free_symtab): Add.
310
        (write_resolution): Remove symbols loop and move into
311
        dump_symtab. Call dump_symtab for main symbol and conflicts table.
312
        Call free_symtab to free conflicts table.
313
        (SWAP): Add.
314
        (eq_sym): Add.
315
        (hash_sym): Add.
316
        (symbol_strength): Add.
317
        (resolve_conflicts): Add.
318
        (claim_file_handler): Add n variable. Check return value of
319
        process_symtab. Call resolve_conflicts.
320
 
321
2010-07-27  Andi Kleen 
322
 
323
        * lto-plugin.c (translate): Remove debug fprintf.
324
 
325
2010-07-23  H.J. Lu  
326
 
327
        PR bootstrap/45042
328
        * lto-plugin.c (translate): Cast to unsigned long.
329
 
330
2010-07-23   Andi Kleen 
331
 
332
        PR lto/44992
333
        * lto-plugin.c (sym_aux): Add.
334
        (plugin_symtab): Remove slots. Add aux and id.
335
        (parse_table_entry): Change to use aux instead of slots.
336
        (LTO_SECTION_PREFIX): Add.
337
        (translate): Improve buffer allocation. Change to append
338
        symbols to existing out buffer.
339
        (get_section): Remove.
340
        (process_symtab): Add.
341
        (free_2): Free symtab->aux.
342
        (write_resolution): Handle aux instead of slots.
343
        Print sub id to resolution file.
344
        (claim_file_handler): Clear lto_file. Replace get_symtab/translate
345
        calls with call to process_symtab.
346
 
347
2010-07-22  Richard Guenther  
348
 
349
        * Makefile.am: New copy_lto_plugin rule to install the plugin
350
        into ../gcc.
351
        * Makefile.in: Regenerated.
352
 
353
2010-05-21  Richard Guenther  
354
 
355
        * lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
356
 
357
2010-05-07  Richard Guenther 
358
 
359
        * lto-plugin.c (free_2): Do not free resolution_file.
360
        (write_resolution): Check that we were passed a resolution file.
361
        (all_symbols_read_handler): Adjust.
362
        (cleanup_handler): Do not remove the resolution file.
363
        (process_option): Handle -fresolution=.
364
 
365
2010-05-04  Ralf Wildenhues  
366
 
367
        PR other/43620
368
        * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
369
        * Makefile.in: Regenerate.
370
 
371
2010-04-23  Richard Guenther  
372
 
373
        PR lto/41550
374
        * lto-plugin.c (parse_table_entry): Use xstrdup and xrealloc.
375
        (translate): Likewise.
376
        (all_symbols_read_handler): Likewise.
377
        (claim_file_handler): Likewise.
378
        (process_option): Likewise.
379
        (add_output_files): Likewise.  Remove filename length limit.
380
 
381
2010-04-02  Ralf Wildenhues  
382
 
383
        * Makefile.in: Regenerate.
384
        * aclocal.m4: Regenerate.
385
 
386
2010-03-16  Dmitry Gorbachev  
387
 
388
        PR lto/43336
389
        * lto-plugin.c (cleanup_handler): Delete temporary output files.
390
 
391
2010-01-11  Richard Guenther  
392
 
393
        PR lto/41569
394
        * Makefile.am: Disable dependencies.
395
        * Makefile.in: Regenerated.
396
 
397
2010-01-03  H.J. Lu  
398
 
399
        PR lto/42520
400
        * lto-plugin.c (exec_lto_wrapper): Output lto-wrapper command
401
        if -v is passed.
402
 
403
2009-12-05  H.J. Lu  
404
 
405
        PR bootstrap/42306
406
        * configure: Regenerated.
407
        * Makefile.in: Likewise.
408
 
409
2009-11-19  Rafael Avila de Espindola  
410
 
411
        PR bootstrap/42096
412
        * lto-plugin.c (claim_file_handler): Print offsets in hex.
413
 
414
2009-11-12  Rafael Avila de Espindola  
415
 
416
        * lto-plugin.c (write_resolution): Assume resolution_file is set.
417
        Print the symbol name.
418
        (all_symbols_read_handler): Create a resolution file.
419
        Pass it to gcc.
420
        (cleanup_handler): Remove the resolution file.
421
        (process_option): Drop the -resolution option.
422
 
423
2009-11-05  Rafael Avila de Espindola  
424
 
425
        * lto-plugin.c (temp_obj_dir_name): Remove.
426
        (arguments_file_name): New.
427
        (free_2): Free arguments_file_name instead of temp_obj_dir_name.
428
        (exec_lto_wrapper):  Create arguments file with make_temp_file.
429
        (cleanup_handler): Don't remove the temporary directory. Remove the
430
        arguments file.
431
        (onload): Don't create the temporary directory.
432
 
433
2009-11-04  Richard Guenther  
434
            Rafael Avila de Espindola  
435
 
436
        * lto-plugin.c (plugin_file_info): Remove temp field.
437
        (cleanup_handler): Don't delete temporary objects.
438
        (claim_file_handler): Don't create temporary objects.
439
 
440
2009-11-04  Rafael Avila de Espindola  
441
 
442
        * lto-plugin.c (cleanup_handler): Don't cleanup if debugging.
443
 
444
2009-10-30  Rafael Avila de Espindola  
445
 
446
        PR41871
447
        * lto-plugin.c (claim_file_handler): Close files that we created.
448
 
449
2009-10-28  Rafael Avila de Espindola  
450
 
451
        * lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of
452
        LDPL_ERROR
453
 
454
2009-10-27  Dmitry Gorbachev  
455
 
456
        PR lto/41652
457
        * configure.ac: Call AC_SYS_LARGEFILE before AC_OUTPUT.
458
        * configure: Regenerate.
459
 
460
2009-10-26  Richard Guenther  
461
 
462
        * configure.ac: Use AM_MAINTAINER_MODE.
463
        * acinclude.m4: Remove.
464
        * configure: Re-generate.
465
        * Makefile.in: Likewise.
466
        * aclocal.m4: Likewise.
467
 
468
2009-10-19  Rafael Avila de Espindola  
469
 
470
        PR40790
471
        * configure: Regenerate.
472
        * configure.ac: Add AC_TYPE_UINT64_T.
473
 
474
2009-10-16  Rafael Avila de Espindola  
475
 
476
        * lto-plugin.c (message): New variable.
477
        (check): New function.
478
        (parse_table_entry, translate, write_resolution,add_output_files,
479
        exec_lto_wrapper,claim_file_handler, onload): Use check instead of
480
        assert.
481
        (cleanup_handler): Use check instead of assert. Remove the arguments
482
        file if it exists.
483
 
484
2009-10-15  Rafael Avila de Espindola  
485
 
486
        * lto-plugin.c (resolution_file): New.
487
        (free_1): Update comment.
488
        (free_2): Free resolution_file.
489
        (write_resolution): Write resolution to specified file. Use the
490
        syms array from the symbol table.
491
        (all_symbols_read_handler): Delay call to free_1 past call to
492
        write_resolution.
493
        (process_option): Add a -resolution option.
494
 
495
2009-10-13  Richard Guenther  
496
 
497
        * Makefile.am (liblto_plugin_la_LIBADD): Link against the
498
        correct libiberty.
499
        * Makefile.in: Regenerated.
500
 
501
2009-10-08  Rafael Avila de Espindola  
502
 
503
        * lto-plugin.c (add_input_library): New.
504
        (all_symbols_read_handler): Use add_input_library for items that
505
        start with -l.
506
        (process_option): Fit in 80 columns.
507
        (onload): Handle LDPT_ADD_INPUT_LIBRARY.
508
 
509
2009-10-02  Diego Novillo  
510
 
511
        * Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE
512
        and -D_FILE_OFFSET_BITS=64.
513
        * configure.ac: Add AC_SYS_LARGEFILE.
514
        * configure: Regenerate.
515
        * Makefile.in: Regenerate.
516
        * lto-plugin.c: Fix copyright boilerplate.
517
 
518
2009-10-02  Diego Novillo  
519
 
520
        * Makefile.am (ACLOCAL_AMFLAGS): Define.
521
        * aclocal.m4: Regenerate with aclocal-2.64
522
        * acinclude.m4: Remove.
523
        * Makefile.in: Regenerate with automake-1.11
524
        * configure.ac (AC_PREREQ): Update to 2.64.
525
        * configure: Regenerate.
526
 
527
2009-10-02  Diego Novillo  
528
 
529
        * Makefile.am (AM_CPPFLAGS): Remove -D_LARGEFILE_SOURCE
530
        and -D_FILE_OFFSET_BITS=64.
531
        * configure.ac: Add AC_SYS_LARGEFILE.
532
        * configure: Regenerate.
533
        * Makefile.in: Regenerate.
534
        * lto-plugin.c: Fix copyright boilerplate.
535
 
536
2009-10-02  Diego Novillo  
537
 
538
        * Makefile.am (ACLOCAL_AMFLAGS): Define.
539
        * aclocal.m4: Regenerate with aclocal-2.64
540
        * acinclude.m4: Remove.
541
        * Makefile.in: Regenerate with automake-1.11
542
        * configure.ac (AC_PREREQ): Update to 2.64.
543
        * configure: Regenerate.
544
 
545
2009-10-02  Rafael Avila de Espindola  
546
 
547
        * Makefile.am (liblto_plugin_la_SOURCES): Remove
548
        $(top_srcdir)/../gcc/lto/common.c
549
        * Makefile.in: Regenerate.
550
 
551
2009-10-01  Rafael Avila de Espindola  
552
 
553
        * lto-plugin.c (pass_through_items): New.
554
        (num_pass_through_items): New.
555
        (all_symbols_read_handler): Update to use the -pass-through option.
556
        (process_option): Replace -libgcc with -pass-through.
557
 
558
2009-09-30  Rafael Avila de Espindola  
559
 
560
        * lto-plugin.c (onload): Return a ld_plugin_status. Don't require
561
        register_cleanup to be set.
562
 
563
2009-09-30  Rafael Avila de Espindola  
564
 
565
        * Makefile.am: Remove all reference to ltosymtab.
566
        * Makefile.in: Regenerate.
567
        * lto-symtab.c: Remove.
568
 
569
2009-05-21  Diego Novillo  
570
 
571
        * configure.ac: Remove call to AC_CHECK_GELF.
572
        Call AC_ARG_VAR for LIBELFLIBS and LIBELFINC.
573
        * acinclude.m4: Do not include ../config/libelf.m4
574
        * Makefile.am (LIBELFLIBS): Define.
575
        (LIBELFINC): Define.
576
        (AM_CPPFLAGS): Add $(LIBELFINC).
577
        (ltosymtab_LDADD): Add $(LIBELFLIBS).
578
        (liblto_plugin_la_LIBADD): Add $(LIBELFLIBS)
579
        * lto-plugin.c: Always include 
580
        * lto-symtab.c: Likewise.
581
        * configure: Regenerate.
582
        * Makefile.in: Regenerate.
583
 
584
2009-03-23  Rafael Avila de Espindola  
585
 
586
        * lto-plugin.c (libgcc_filename): New.
587
        (all_symbols_read_handler): Pass libgcc to the linker.
588
        (all_symbols_read_handler): Parse -libgcc
589
 
590
2009-02-05  Rafael Avila de Espindola  
591
 
592
        * Makefile.am (liblto_plugin_la_LIBADD): Link with libiberty.
593
        * Makefile.in: Regenerate.
594
        * lto-plugin.c (add_output_files): Argument is now a FILE.
595
        (exec_lto_wrapper): Use writeargv and pex.
596
 
597
2009-02-04  Rafael Avila de Espindola  
598
 
599
        Revert:
600
        2009-02-04  Rafael Avila de Espindola  
601
        * lto-plugin.c (exec_lto_wrapper): Use writeargv.
602
 
603
 
604
2009-02-04  Rafael Avila de Espindola  
605
 
606
        * lto-plugin.c (exec_lto_wrapper): Use writeargv.
607
 
608
2009-01-29  Rafael Avila de Espindola  
609
 
610
        * lto-plugin.c: Include libiberty.h.
611
        (exec_lto_wrapper, claim_file_handler): Use asprintf instead of
612
        snprintf.
613
 
614
2009-01-29  Rafael Avila de Espindola  
615
 
616
        * lto-plugin.c (exec_lto_wrapper): Write argv to a file. Pass that
617
        file to lto-wrapper.
618
 
619
2009-01-28  Rafael Avila de Espindola  
620
 
621
        * lto-plugin.c (plugin_file_info): Remove fd and elf.
622
        (parse_table_entry): strdup entry->name and entry->comdat_key.
623
        (free_1): Free name and comdat_key. Don't close the file. Don't call
624
        elf_end.
625
        (claim_file_handler): Always call elf_end.
626
 
627
2008-12-23  Rafael Avila de Espindola  
628
 
629
        * Makefile.am (AM_CPPFLAGS): Add -D_LARGEFILE_SOURCE
630
        -D_FILE_OFFSET_BITS=64
631
        * Makefile.in: Regenerate
632
 
633
2008-12-22  Rafael Avila de Espindola  
634
 
635
        * Makefile.am (gcc_version, target_noncanonical, libexecsubdir): New.
636
        (lib_LTLIBRARIES): Rename to libexecsub_LTLIBRARIES.
637
        * Makefile.in: Regenerate.
638
        * acinclude.m4: Include ../config/acx.m4 and ../lt~obsolete.m4
639
        * configure: Regenerate.
640
        * configure.ac: Add AC_SUBST(target_noncanonical).
641
 
642
2008-12-08  Rafael Avila de Espindola  
643
 
644
        * lto-plugin.c: Include stdbool.h.
645
        (debug, nop): Declare as bool.
646
 
647
2008-12-08  Rafael Avila de Espindola  
648
 
649
        * lto-plugin.c (nop): New.
650
        (use_original_files): New.
651
        (all_symbols_read_handler): Call use_original_files if nop is true.
652
        (process_option): Parse the -nop option.
653
 
654
2008-12-08  Rafael Avila de Espindola  
655
 
656
        * lto-plugin.c (debug): New.
657
        (exec_lto_wrapper): Print argv if debug is true.
658
        (process_option): Process the -debug command line option.
659
 
660
2008-12-03  Rafael Avila de Espindola  
661
 
662
        * lto-plugin.c (process_option): The argument is now a single option,
663
        not a space separated list.
664
 
665
2008-12-02  Rafael Avila de Espindola  
666
 
667
        * lto-plugin.c: Include sys/types.h and sys/wait.h
668
        (output_files, num_output_files, lto_wrapper_argv,
669
        lto_wrapper_num_args): New.
670
        (free_2): Free output_files.
671
        (write_resolution): Disable.
672
        (add_output_files): New.
673
        (exec_lto_wrapper): New.
674
        (all_symbols_read_handler): Run lto-wrapper.
675
        (claim_file_handler): Free lto_file.name and call elf_end.
676
        (process_option): New.
677
 
678
2008-11-26  Rafael Espindola  
679
 
680
        * lto-plugin.c (add_input_file): New.
681
        (get_section): Return NULL if get_section fails.
682
        (write_resolution): New.
683
        (all_symbols_read_handler): Call add_input_file.
684
        (claim_file_handler): Unlink the correct file.
685
        (onload): Record add_input_file.
686
 
687
2008-09-23 Rafael Espindola  
688
 
689
        * Makefile.am (ltosymtab_SOURCES, liblto_plugin_la_SOURCES):
690
        Update the location of common.c.
691
        * Makefile.in: Regenerate.
692
        * common.c: Moved to gcc/lto.
693
        * common.h: Moved to gcc/lto.
694
        * lto-plugin.c: Update the location of common.h.
695
        * lto-symtab.c: Update the location of common.h.
696
 
697
2008-09-23 Rafael Espindola  
698
 
699
        * common.c: Include common.h.
700
        (lto_kind_str, lto_visibility_str, lto_resolution_str): Use explicit
701
        sizes.
702
        * common.h (lto_kind_str, lto_visibility_str, lto_resolution_str): Use
703
        explicit sizes.
704
 
705
2008-09-23 Rafael Espindola  
706
 
707
        * lto-plugin.c (plugin_file_info): Add temp.
708
        (cleanup_handler): Only delete temporary files.
709
        (claim_file_handler): Initialize lto_file.temp.
710
 
711
2008-09-23  Rafael Espindola  
712
 
713
        * plugin-api.h: Moved to include.
714
 
715
2008-09-23 Rafael Espindola  
716
 
717
        * lto-plugin.c (all_symbols_read_handler): Print resolution in a new
718
        format.
719
 
720
2008-09-22 Rafael Espindola  
721
 
722
        * plugin-api.h: Copy from binutils' cvs.
723
 
724
2008-09-22 Rafael Espindola  
725
 
726
        * lto-symtab.c (get_symbols, add_symbols): Update signature.
727
        * plugin-api.h: Copy from binutils' cvs.
728
 
729
2008-09-22 Rafael Espindola  
730
 
731
        * common.h (lto_kind_str, lto_visibility_str, lto_resolution_str):
732
        Make extern
733
 
734
2008-09-10 Rafael Espindola  
735
 
736
        * lto-plugin.c (onload): add missing break statements and asserts.
737
        * lto-symtab.c (claim_file_handler): Make it static.
738
        (all_symbols_read_handler): Make it static.
739
        (all_file_handles): Make it static.
740
        (num_file_handles): Make it static.
741
        (register_claim_file): Make it static.
742
        (register_object): Indent properly.
743
 
744
2008-09-10  Rafael Avila de Espindola  
745
 
746
        * Makefile.am (ltosymtab_LDADD): Add -lelf.
747
        * Makefiel.in: Regenerate.
748
        * lto-plugin.c: Include ar.h.
749
        (claim_file_handler): Handle file->offset != 0.
750
        * lto-symtab.c: Include gelf.h.
751
        (all_file_handles): Change type.
752
        (register_object): New.
753
        (register_file): Add support for archives.
754
        (resolve): Update to new type of all_file_handles.
755
        (print): Update to new type of all_file_handles.
756
        (free_all): Update to new type of all_file_handles.
757
        (main): Update to new type of all_file_handles.
758
 
759
2008-09-10  Rafael Avila de Espindola  
760
 
761
        * lto-plugin.c (get_string_table): Remove.
762
        (get_section): Use elf_strptr instead of get_string_table.
763
 
764
2008-09-08  Doug Kwan  
765
 
766
        * lto-plugin.c (all_symbols_read_handler): Widen fprintf arguments
767
        to 64-bit to fix a 32-bit bootstrap failure due to format warnings.
768
 
769
2008-09-08  Rafael Avila de Espindola  
770
 
771
        * Makefile.am (ltosymtab_SOURCES): add common.c.
772
        (ltosymtab_CFLAGS): New.
773
        (liblto_plugin_la_SOURCES): Add common.c.
774
        * Makefile.in: Regenerate.
775
        * common.c: New.
776
        * common.h: New.
777
        * lto-plugin.c: Include stdio.h, inttypes.h and common.h.
778
        (plugin_symtab): New.
779
        (plugin_file_info): New.
780
        (register_all_symbols_read): New.
781
        (get_symbols): New.
782
        (claimed_files): New.
783
        (num_claimed_files): New.
784
        (translate): Don't drop the slot number.
785
        (free_1): New.
786
        (free_2): New.
787
        (all_symbols_read_handler): New.
788
        (claim_file_handler): Record every claimed file.
789
        (onload): Handle LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
790
        LDPT_GET_SYMBOLS.
791
        * lto-symtab.c: Include stdlib.h, string.h and common.h.
792
        (current_file_handle): Remove.
793
        (ld_plugin_all_symbols_read_handler): New.
794
        (plugin_handle): New.
795
        (file_handle): New.
796
        (all_file_handles): New.
797
        (num_file_handles): New.
798
        (get_symbols): New.
799
        (register_all_symbols_read): New.
800
        (add_symbols): Don't print the symbols, just record them.
801
        (ld_plugin_tv): Add LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK and
802
        LDPT_GET_SYMBOLS.
803
        (load_plugin): Use plugin_handle.
804
        (register_file): Add the file handle to all_file_handles.
805
        (resolve): New.
806
        (print): New.
807
        (unload_plugin): New.
808
        (free_all): New.
809
        (main): Call all_symbols_read_handler and free resources.
810
 
811
2008-09-03  Rafael Avila de Espindola  
812
 
813
        * Makefile.am (AM_CFLAGS): New.
814
        (ltosymtab_LDADD): Remove -lelf. Add -ldl.
815
        (lib_LTLIBRARIES): New.
816
        (liblto_plugin_la_SOURCES): New.
817
        (liblto_plugin_la_LIBADD): New.
818
        * Makefile.in: Regenerate.
819
        * acinclude.m4: Don't include ../config/acx.m4 and
820
        ../config/no-executables.m4.
821
        Include ../ltsugar.m4, ../ltoptions.m4, ../ltversion.m4 and
822
        ../libtool.m4.
823
        * aclocal.m4: Regenerate.
824
        * configure: Regenerate.
825
        * configure.ac: Use AM_PROG_LIBTOOL.
826
        * lto-plugin.c: New.
827
        * lto-symtab.c: Rewrite to use the plugin.
828
        * plugin-api.h: New.
829
 
830
2008-08-25  Rafael Avila de Espindola  
831
 
832
        * configure: Regenerate.
833
        * configure.ac: Use AC_CHECK_GELF.
834
        * lto-symtab.c: Include gelf.h.
835
        (get_string_table): Use size independent API.
836
        (printTable): Use lld to print 64 bit integers.
837
 
838
2008-08-22  Rafael Avila de Espindola  
839
 
840
        * lto-symtab.c (parse_table_entry): Assert entry->kind and
841
        entry->visibility are valid.
842
 
843
2008-07-22  Rafael Avila de Espindola  
844
        * lto-symtab.c (table_entry): Add comdat.
845
        (parse_table_entry): Read comdat.
846
 
847
2008-08-21  Rafael Espindola  
848
 
849
        * Makefile.am: New.
850
        * Makefile.in: New.
851
        * acinclude.m4: New.
852
        * aclocal.m4: New.
853
        * configure: New.
854
        * configure.ac: New.
855
        * lto-symtab.c: New.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.