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