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