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