]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
Update ChangeLog and version files for release
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2023-05-08 Release Manager
2
3 * GCC 12.3.0 released.
4
5 2022-08-19 Release Manager
6
7 * GCC 12.2.0 released.
8
9 2022-05-16 Sebastian Pop <spop@amazon.com>
10
11 PR target/105162
12 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
13 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
14
15 2022-05-13 Martin Liska <mliska@suse.cz>
16
17 Backported from master:
18 2022-05-11 Martin Liska <mliska@suse.cz>
19 Hans-Peter Helfert <peter-helfert@t-online.de>
20
21 PR gcov-profile/105535
22 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
23 n_functions.
24
25 2022-05-06 Release Manager
26
27 * GCC 12.1.0 released.
28
29 2022-04-08 Sergei Trofimovich <siarheit@google.com>
30
31 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
32
33 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
34 Lulu Cheng <chenglulu@loongson.cn>
35
36 * configure: Regenerate file.
37
38 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
39 Lulu Cheng <chenglulu@loongson.cn>
40
41 * config/loongarch/crtfastmath.c: New file.
42 * config/loongarch/linux-unwind.h: Like wise.
43 * config/loongarch/sfp-machine.h: Like wise.
44 * config/loongarch/t-crtstuff: Like wise.
45 * config/loongarch/t-loongarch: Like wise.
46 * config/loongarch/t-loongarch64: Like wise.
47 * config/loongarch/t-softfp-tf: Like wise.
48 * config.host: Add LoongArch tuples.
49 * configure.ac: Add LoongArch support.
50
51 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
52
53 PR libgcc/86224
54 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
55 for __mulsi3.
56 (__udivsi3_internal, __divsi3_internal): Similarly.
57 (__umodsi3, __modsi3): Use the internal function names.
58
59 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
60
61 PR target/102215
62 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
63 a line up to non-arg-dependent value first.
64 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
65 __atomic_compare_exchange_{1,2}.
66
67 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
68
69 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
70 * config/t-darwin-ehs: Add dependency on unwind.h.
71
72 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
73
74 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
75 with 0 instead of NULL.
76
77 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
78
79 PR target/104656
80 * configure.ac: --disable-gcov if targetting bpf-*.
81 * configure: Regenerate.
82
83 2022-01-25 Florian Weimer <fweimer@redhat.com>
84
85 PR libgcc/104207
86 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
87
88 2022-01-17 Martin Liska <mliska@suse.cz>
89
90 * libgcov-driver.c: Rename .c names to .cc.
91
92 2022-01-15 David <gccbugzilla@limegreensocks.com>
93
94 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
95 Remove inlined version, Windows 95 is no longer relevant.
96 * config/i386/gthr-win32.h
97 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
98
99 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
100
101 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
102 DWARF_ALT_FRAME_RETURN_COLUMN macro.
103
104 2022-01-04 Florian Weimer <fweimer@redhat.com>
105
106 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
107 if available.
108
109 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
110
111 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
112 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
113 return is not equal _ASM_EFAULT.
114 (__kernel_cmpxchg2): Likewise.
115
116 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
117
118 * config.host: Add shim declaration header to powerpc*-darwin builds.
119 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
120 file.
121 * config/t-darwin-ehs: Add dependencies to the shared unwinder
122 objects.
123 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
124 the shared EH lib. Add all-multi to the dependencies for the
125 libgcc_s.1.dylib redirections.
126
127 2021-12-13 Olivier Hainque <hainque@adacore.com>
128
129 * config.host (powerpc*-*-vxworks7*): Remove
130 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
131
132 2021-12-13 Olivier Hainque <hainque@adacore.com>
133
134 * config.host (*vxworks*): Remove special case for
135 arm on the use of vxcrtstuff.
136
137 2021-12-13 Fred Konrad <konrad@adacore.com>
138 Olivier Hainque <hainque@adacore.com>
139
140 * config/t-vxcrtstuffS: New Makefile fragment.
141 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
142 functions for INITFINI_ARRAY support in shared libs and guard
143 the definition of eh table registration functions on conditions
144 indicating they are needed.
145
146 2021-12-13 Olivier Hainque <hainque@adacore.com>
147
148 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
149 ahead of the other files in tmake_files.
150 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
151 overriding it.
152
153 2021-12-13 Olivier Hainque <hainque@adacore.com>
154
155 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
156 both VxWorks7 and earlier.
157 * config/t-vxworks7: Remove.
158 * config.host: Remove special case for vxworks7.
159
160 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
161
162 * config/vxcrtstuff.c: Make constructor and destructor
163 functions static when possible.
164
165 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
166
167 * config/vxcrtstuff.c: Remove constructor/destructor
168 declarations.
169
170 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
171
172 * config/t-darwin: Add libgcc_tm.h to the dependencies
173 for darwin10-unwind-find-enc-func.
174
175 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
176
177 * config/rs6000/t-vxworks: New file.
178 * config.host (powerpc*-*-vxworks*): Use it instead of
179 t-ppccomm.
180
181 2021-12-09 Fred Konrad <konrad@adacore.com>
182
183 * config.host (powerpc*-wrs-vxworks7*): Fix path to
184 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
185
186 2021-12-09 Olivier Hainque <hainque@adacore.com>
187 Rasmus Villemoes <rv@rasmusvillemoes.dk>
188
189 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
190 $(LIBGCC2_INCLUDES).
191 * config/t-vxworks7: Likewise.
192
193 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
194
195 * config.host (*-*-darwin*): Add logic to build a shared
196 unwinder library for Darwin8-10.
197 * config/i386/t-darwin: Build legacy libgcc_s.1.
198 * config/rs6000/t-darwin: Likewise.
199 * config/t-darwin: Reorganise the EH fragments to place
200 them for inclusion in a shared EH lib.
201 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
202 the supporting pieces (all FAT libs).
203 * config/t-darwin-noeh: Removed.
204 * config/darwin-unwind.ver: New file.
205 * config/rs6000/t-darwin-ehs: New file.
206 * config/t-darwin-ehs: New file.
207
208 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
209
210 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
211 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
212 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
213 HIDDEN_DEF.
214
215 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
216
217 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
218 ssize_t and vfork after including auto-host.h.
219
220 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
221
222 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
223 crtend.o to extra_parts.
224
225 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
226
227 * config/pa/t-dimode (lib2difuncs): Fix typo.
228
229 2021-11-25 Florian Weimer <fweimer@redhat.com>
230
231 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
232 Remove func, ret.
233 (find_fde_tail): New function. Split from
234 _Unwind_IteratePhdrCallback. Move the result initialization
235 from _Unwind_Find_FDE.
236 (_Unwind_Find_FDE): Updated to call find_fde_tail.
237
238 2021-11-22 Florian Weimer <fweimer@redhat.com>
239
240 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
241 (struct unw_eh_callback_data): Make dbase member conditional.
242 (unw_eh_callback_data_dbase): New function.
243 (base_from_cb_data): Simplify for the non-dbase case.
244 (_Unwind_IteratePhdrCallback): Adjust.
245 (_Unwind_Find_FDE): Likewise.
246
247 2021-11-22 Florian Weimer <fweimer@redhat.com>
248
249 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
250 tbase member.
251 (base_from_cb_data): Adjust.
252 (_Unwind_IteratePhdrCallback): Likewise.
253 (_Unwind_Find_FDE): Likewise.
254
255 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
256
257 * config.host: Add weak emutls crt to the extra_parts.
258 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
259 workaround.
260 * config/libgcc-libsystem.ver: Add exclude list for the system-
261 provided unwinder.
262 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
263 * config/i386/libgcc-darwin.10.4.ver: Removed.
264 * config/i386/libgcc-darwin.10.5.ver: Removed.
265 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
266 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
267 * config/t-darwin-noeh: New file.
268
269 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
270
271 * config/t-darwin: Build weak-defined emutls objects.
272 * emutls.c (__emutls_get_address): Add optional attributes.
273 (__emutls_register_common): Likewise.
274 (EMUTLS_ATTR): New.
275
276 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
277
278 PR libgcc/103044
279 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
280 called with a null argument or at the end of the backtrace and return.
281 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
282
283 2021-11-10 Jakub Jelinek <jakub@redhat.com>
284
285 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
286 formatting fix.
287
288 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
289
290 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
291 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
292
293 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
294
295 PR libgomp/96661
296 * config.host (hppa*64*-*-linux*): Revise tmake_file.
297 (hppa*64*-*-hpux11*): Likewise.
298 * config/pa/sfp-exceptions.c: New.
299 * config/pa/sfp-machine.h: New.
300 * config/pa/t-dimode: New.
301 * config/pa/t-softfp-sfdftf: New.
302
303 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
304
305 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
306 tmake_file.
307 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
308 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
309 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
310 * config/pa/t-linux64 (LIB1ASMSRC): New define.
311 (LIB1ASMFUNCS): Revise.
312 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
313
314 2021-10-22 Stafford Horne <shorne@gmail.com>
315
316 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
317 Change to 0.
318
319 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
320
321 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
322 outside of get_regs() in order to use it in another function, this
323 is done twice: for __powerpc64__ and for !__powerpc64__.
324 (struct trace_arg): New struct.
325 (struct layout): New struct.
326 (ppc_backchain_fallback): New function.
327 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
328 state and call MD_BACKCHAIN_FALLBACK.
329
330 2021-10-13 Martin Liska <mliska@suse.cz>
331
332 PR gcov-profile/90364
333 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
334 checksums.
335 (write_one_data): Write also checksum.
336 * libgcov-util.c (read_gcda_file): Read also checksum field.
337 * libgcov.h (struct gcov_info): Add new field.
338
339 2021-10-08 Ian Lance Taylor <iant@golang.org>
340
341 * config/i386/morestack.S: Use .init_array for constructor if
342 available.
343 * config/rs6000/morestack.S: Likewise.
344 * config/s390/morestack.S: Likewise.
345
346 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
347
348 PR target/101104
349 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
350 Use more correct values for native IBM 128-bit.
351
352 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
353
354 * config/i386/libgcc-darwin.ver: Add Symbols for
355 __cpu_model, __cpu_indicator_init.
356
357 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
358
359 * config/i386/sfp-machine.h: Guard Mach-O-specific code
360 using __APPLE__.
361
362 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
363
364 * config/t-slibgcc-darwin: Delete unused code.
365
366 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
367
368 * config/i386/t-darwin: Add in a vers file for X86-specific
369 symbols.
370 * config/t-darwin: Add the generic symbol maps here...
371 * config/t-slibgcc-darwin: ... removing from here.
372 * config/i386/libgcc-darwin.ver: New file.
373
374 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
375
376 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
377 and __mulhc3.
378
379 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
380
381 * config.host: Use convenience library for Darwin10
382 unwinder shim.
383 * config/t-darwin: Build Darwin10 unwinder shim as a
384 convenience library.
385
386 2021-09-13 Andrew Pinski <apinski@marvell.com>
387
388 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
389 * config/m32r/libgcc-glibc.ver: Removed.
390 * config/m32r/t-linux: Removed.
391
392 2021-09-08 liuhongt <hongtao.liu@intel.com>
393
394 * config/i386/t-softfp: Compile __{mul,div}hc3 into
395 libgcc_s.so.1.
396
397 2021-09-08 Jakub Jelinek <jakub@redhat.com>
398 Iain Sandoe <iain@sandoe.co.uk>
399
400 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
401 and export *hf* and *hc* functions at GCC_12.0.0.
402
403 2021-09-06 liuhongt <hongtao.liu@intel.com>
404
405 * Makefile.in: Adjust to support specific CFLAGS for each
406 libgcc source file.
407 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
408 related libgcc source files.
409 * config/i386/t-softfp: Ditto.
410 * config/i386/_divhc3.c: New file.
411 * config/i386/_mulhc3.c: New file.
412
413 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
414
415 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
416 alias_DFtype, alias_TFtype): New.
417 (ALIAS_SELECTOR): New.
418 (strong_alias): Use __typeof and a _Generic selector to
419 provide the type to the synthesized function.
420
421 2021-09-02 liuhongt <hongtao.liu@intel.com>
422
423 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
424 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
425 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
426 * config/i386/t-softfp: Add hf soft-fp.
427 * config.host: Add i386/64/t-softfp.
428 * config/i386/64/t-softfp: New file.
429
430 2021-09-02 liuhongt <hongtao.liu@intel.com>
431
432 * soft-fp/eqhf2.c: New file.
433 * soft-fp/extendhfdf2.c: New file.
434 * soft-fp/extendhfsf2.c: New file.
435 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
436 * soft-fp/truncdfhf2.c: New file
437 * soft-fp/truncsfhf2.c: New file
438
439 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
440
441 * unwind-arm-common.inc (abort): Remove.
442
443 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
444
445 * config/aarch64/value-unwind.h: Add missing runtime exception
446 paragraph.
447 * config/frv/frv-abi.h: Likewise.
448 * config/i386/value-unwind.h: Likewise.
449 * config/pa/pa64-hpux-lib.h: Likewise.
450
451 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
452
453 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
454 __gcc_qadd.
455 (__gcc_qadd): Call ldouble_qadd_internal.
456 (__gcc_qsub): Call ldouble_qadd_internal with second long double
457 argument negated.
458
459 2021-08-26 Jonathan Yong <10walls@gmail.com>
460
461 * config/i386/cygming-crtend.c: Fix register_frame_ctor
462 and register_frame_dtor warnings.
463
464 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
465
466 PR target/102035
467 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
468 Add vlldm erratum work-around.
469
470 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
471
472 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
473
474 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
475
476 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
477 (gcov_type_unsigned): Likewise.
478
479 2021-08-14 Stafford Horne <shorne@gmail.com>
480
481 PR target/99783
482 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
483 * config/or1k/t-crtstuff: New file.
484
485 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
486
487 * libgcov-driver.c (#include <stdint.h>): Remove.
488 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
489
490 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
491
492 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
493 * gcov.h (gcov_info): Declare.
494 (__gcov_info_to_gdca): Likewise.
495 * libgcov.h (gcov_write_counter): Remove.
496 (gcov_write_tag_length): Likewise.
497 * libgcov-driver.c (#include <stdint.h>): New.
498 (#include <string.h>): Remove.
499 (NEED_L_GCOV): Conditionally define.
500 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
501 (are_all_counters_zero): New.
502 (gcov_dump_handler): Likewise.
503 (gcov_allocate_handler): Likewise.
504 (dump_unsigned): Likewise.
505 (dump_counter): Likewise.
506 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
507 Use dump_unsigned() and dump_counter().
508 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
509 dump_unsigned(), dump_counter(), and are_all_counters_zero().
510 (__gcov_info_to_gcda): New.
511
512 2021-08-05 Jakub Jelinek <jakub@redhat.com>
513
514 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
515 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
516 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
517 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
518
519 2021-08-04 Jakub Jelinek <jakub@redhat.com>
520
521 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
522
523 2021-07-15 Alan Modra <amodra@gmail.com>
524
525 * config/rs6000/morestack.S (R2_SAVE): Define.
526 (__morestack): Save and restore r2. Set up r2 for called
527 functions.
528
529 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
530
531 * soft-fp/extendhfxf2.c: New file.
532 * soft-fp/truncxfhf2.c: Likewise.
533
534 2021-06-29 Julian Brown <julian@codesourcery.com>
535
536 * config/gcn/lib2-bswapti2.c: New file.
537 * config/gcn/lib2-divmod-di.c: New file.
538 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
539 typedefs.
540 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
541 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
542 lib2-bswapti2.c.
543
544 2021-06-29 Julian Brown <julian@codesourcery.com>
545
546 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
547 return types to USItype.
548 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
549
550 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
551
552 * configure: Regenerate.
553 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
554 typos among the name, CFLAGS and the test.
555 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
556 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
557 Remove.
558 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
559 macro FLOAT128_HW_INSNS_ISA3_1.
560 (FP128_3_1_CFLAGS_HW): Fix option typo.
561 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
562 FLOAT128_HW_INSNS_ISA3_1.
563 (__floattikf_resolve): Likewise.
564 (__floatuntikf_resolve): Likewise.
565 (__fixkfti_resolve): Likewise.
566 (__fixunskfti_resolve): Likewise.
567 (__floattikf): Likewise.
568 (__floatuntikf): Likewise.
569 (__fixkfti): Likewise.
570 (__fixunskfti): Likewise.
571
572 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
573
574 PR target/99939
575 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
576 macro.
577 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
578 on passing -mcmse option.
579
580 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
581
582 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
583 _ARCH_PPC64 .
584
585 2021-06-09 Carl Love <cel@us.ibm.com>
586
587 * config.host: Add if test and set for
588 libgcc_cv_powerpc_3_1_float128_hw.
589 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
590 Change calls of __fixkfti to __fixkfti_sw.
591 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
592 Change calls of __fixunskfti to __fixunskfti_sw.
593 * config/rs6000/float128-p10.c (__floattikf_hw,
594 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
595 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
596 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
597 __fixunskfti_resolve): Add resolve functions.
598 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
599 * config/rs6000/float128-sed (floattitf, __floatuntitf,
600 __fixtfti, __fixunstfti): Add editor commands to change names.
601 * config/rs6000/float128-sed-hw (__floattitf,
602 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
603 change names.
604 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
605 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
606 * config/rs6000/quad-float128.h (__floattikf_sw,
607 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
608 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
609 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
610 * config/rs6000/t-float128 (floattikf, floatuntikf,
611 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
612 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
613 file names to fp128_ppc_funcs.
614 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
615 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
616 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
617 * config/rs6000/t-float128-p10-hw: New file.
618 * configure: Update script for isa 3.1 128-bit float support.
619 * configure.ac: Add check for 128-bit float hardware support.
620 * config/rs6000/fixkfti-sw.c: New file.
621 * config/rs6000/fixunskfti-sw.c: New file.
622 * config/rs6000/floattikf-sw.c: New file.
623 * config/rs6000/floatuntikf-sw.c: New file.
624
625 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
626
627 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
628
629 2021-05-13 Martin Liska <mliska@suse.cz>
630
631 * libgcov-driver.c: Fix GNU coding style.
632
633 2021-05-10 Martin Liska <mliska@suse.cz>
634
635 * libgcov-driver.c (gcov_version): Use different name that does
636 not clash with newly introduced macro.
637
638 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
639
640 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
641 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
642 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
643
644 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
645
646 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
647 Define.
648 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
649 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
650 Define.
651 (__divkc3): Improve complex divide.
652
653 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
654
655 PR target/98952
656 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
657 trampoline size comparison in 32-bit by reversing test and
658 combining load immediate with compare.
659 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
660 in 32-bit by reversing test and combining load immediate with
661 compare.
662
663 2021-04-05 Florian Weimer <fweimer@redhat.com>
664 Michael Meissner <meissner@linux.ibm.com>
665
666 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
667 point functions for $(decimal_float) only.
668
669 2021-04-03 Jakub Jelinek <jakub@redhat.com>
670
671 PR target/97653
672 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
673 $(objext) instead of $(object). Use _floatunditf instead of
674 _floatunsditf. Add tf <-> ti conversion objects.
675 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
676
677 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
678
679 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
680 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
681 (fp128_decstr_objs): Delete.
682 * dfp-bit.h: Call __sprintfieee128 to do conversions from
683 _Float128 to a Decimal type. Call __strtoieee128 to do
684 conversions from a Decimal type to _Float128.
685 * config/rs6000/_sprintfkf.c: Delete file.
686 * config/rs6000/_sprintfkf.h: Delete file.
687 * config/rs6000/_strtokf.c: Delete file.
688 * config/rs6000/_strtokf.h: Delete file.
689
690 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
691
692 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
693 to __BYTE_ORDER__.
694
695 2021-03-06 Jakub Jelinek <jakub@redhat.com>
696
697 PR gcov-profile/99406
698 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
699 defined, define these macros if not defined already.
700
701 2021-03-04 Martin Liska <mliska@suse.cz>
702
703 PR gcov-profile/99105
704 * libgcov-driver.c (write_top_counters): Rename to ...
705 (write_topn_counters): ... this.
706 (write_one_data): Pre-allocate buffer for number of items
707 in the corresponding linked lists.
708 * libgcov.h (malloc_mmap): New function.
709 (allocate_gcov_kvp): Use it.
710
711 2021-03-04 Martin Liska <mliska@suse.cz>
712
713 PR gcov-profile/99385
714 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
715
716 2021-03-03 Martin Liska <mliska@suse.cz>
717
718 PR gcov-profile/97461
719 * config.in: Regenerate.
720 * configure: Likewise.
721 * configure.ac: Check sys/mman.h header file
722 * libgcov-driver.c (struct gcov_kvp): Remove static
723 pre-allocated pool and use a dynamic one.
724 * libgcov.h (MMAP_CHUNK_SIZE): New.
725 (gcov_counter_add): Use mmap to allocate pool for struct
726 gcov_kvp.
727
728 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
729
730 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
731 the function.
732 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
733
734 2021-02-24 Jakub Jelinek <jakub@redhat.com>
735
736 PR libgcc/99236
737 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
738 negation of m in unsigned type.
739
740 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
741 Hau Hsu <hsuhau617@gmail.com>
742
743 PR target/99157
744 * config/arm/t-arm: Fix cmse support detection.
745
746 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
747
748 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
749
750 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
751
752 * config/rs6000/_dd_to_kf.c: New file.
753 * config/rs6000/_kf_to_dd.c: New file.
754 * config/rs6000/_kf_to_sd.c: New file.
755 * config/rs6000/_kf_to_td.c: New file.
756 * config/rs6000/_sd_to_kf.c: New file.
757 * config/rs6000/_sprintfkf.c: New file.
758 * config/rs6000/_sprintfkf.h: New file.
759 * config/rs6000/_strtokf.h: New file.
760 * config/rs6000/_strtokf.c: New file.
761 * config/rs6000/_td_to_kf.c: New file.
762 * config/rs6000/quad-float128.h: Add new declarations.
763 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
764 (fp128_decstr_funcs): New macro.
765 (ibm128_dec_funcs): New macro.
766 (fp128_ppc_funcs): Add the new conversions.
767 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
768 compiled with -mabi=ieeelongdouble.
769 (fp128_decstr_objs): Force __float128 <-> string conversions to be
770 compiled with -mabi=ibmlongdouble.
771 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
772 compiled with -mabi=ieeelongdouble.
773 (FP128_CFLAGS_DECIMAL): New macro.
774 (IBM128_CFLAGS_DECIMAL): New macro.
775 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
776 (BFP_TO_DFP): Add PowerPC _Float128 support.
777 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
778 IEEE 128-bit floating point.
779 (DFP_TO_BFP): Add PowerPC _Float128 support.
780 (BFP_TO_DFP): Add PowerPC _Float128 support.
781 (BFP_SPRINTF): New macro.
782
783 2021-01-27 Jakub Jelinek <jakub@redhat.com>
784
785 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
786 * config/i386/savms64f.h: Likewise.
787 * config/i386/resms64.h: Likewise.
788 * config/i386/resms64f.h: Likewise.
789 * config/i386/resms64x.h: Likewise.
790 * config/i386/resms64fx.h: Likewise.
791
792 2021-01-26 Martin Liska <mliska@suse.cz>
793
794 PR gcov-profile/98739
795 * libgcov.h (gcov_topn_add_value): Do not train when
796 we have a merged profile with a negative number of total
797 value.
798
799 2021-01-25 Martin Liska <mliska@suse.cz>
800
801 PR gcov-profile/98739
802 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
803 ends with a dropped counter.
804 * libgcov.h (gcov_topn_add_value): Add return value.
805
806 2021-01-13 Stafford Horne <shorne@gmail.com>
807
808 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
809 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
810 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
811 FP_EX_ALL): New constant macros.
812 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
813 FP_HANDLE_EXCEPTIONS): New macros.
814 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
815
816 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
817
818 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
819 posix siginfo case to struct handler_args. Detect between legacy
820 and siginfo from the second parameter, which is a small sigcode in
821 the legacy case, and a pointer in the siginfo case.
822
823 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
824
825 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
826 functions.
827 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
828 _bswapdi2.
829
830 2020-12-08 Ian Lance Taylor <iant@golang.org>
831
832 * generic-morestack-thread.c (free_segments): Block signals during
833 thread exit.
834
835 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
836
837 PR libgcc/97543
838 PR libgcc/97643
839 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
840 (IBM128_SHARED_OBJS): New make variable.
841 (IBM128_OBJS): New make variable. Set all objects to use the
842 explicit IBM format, and disable gnu attributes.
843 (IBM128_CFLAGS): New make variable.
844 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
845 modules.
846
847 2020-12-03 Alexandre Oliva <oliva@adacore.com>
848
849 * config/t-vxworks (LIB2ADD): Drop.
850 * config/t-vxworks7 (LIB2ADD): Likewise.
851 * config/vxcache.c: Remove.
852
853 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
854
855 * libgcc2.c (bswapsi2): Make constants unsigned.
856
857 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
858
859 * libgcc2.c (absvSI2): Simplify/improve implementation by using
860 builtin_add_overflow.
861 (absvsi2, absvDI2): Likewise.
862
863 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
864
865 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
866 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
867
868 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
869
870 * config/msp430/lib2hw_mul.S (mult64_hw): New.
871 (if MUL_32): Use mult64_hw for __muldi3.
872 (if MUL_F5): Use mult64_hw for __muldi3.
873 * config/msp430/lib2mul.c (__muldi3): New.
874 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
875
876 2020-11-17 Alan Modra <amodra@gmail.com>
877
878 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
879 (LIB2_SIDITI_CONV_FUNCS): Define.
880 * config/rs6000/ppc64-fp.c: Delete file.
881
882 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
883
884 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
885 hwmult library functions.
886
887 2020-11-10 Jeff Law <law@redhat.com>
888
889 * libgcc2.c: Fix whitespace issues in most recent change.
890
891 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
892
893 * libgcc2.c (__addvSI3): Use overflow builtins.
894 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
895 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
896 (__negvsi2, __negvDI2): Likewise.
897 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
898 generated code.
899 * libgcc2.h (__ucmpdi2): Adjust prototype.
900
901 2020-11-03 Pat Bernardi <bernardi@adacore.com>
902 Olivier Hainque <hainque@adacore.com>
903
904 * config.host (aarch64-vxworks7*, tmake_file): Add
905 ${cpu_type}/t-lse and t-slibgcc-libgcc.
906
907 2020-11-03 Martin Storsjö <martin@martin.st>
908
909 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
910 before calling the callback.
911
912 2020-10-30 Olivier Hainque <hainque@adacore.com>
913 Douglas Rupp <rupp@adacore.com>
914 Pat Bernardi <bernardi@adacore.com>
915
916 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
917 to apply to VxWorks 7 as well.
918
919 2020-10-29 Olivier Hainque <hainque@adacore.com>
920
921 * config/gthr-vxworks-tls.c: Fix preprocessor logic
922 controlling the definition of VX_ENTER_TLS_DTOR and
923 VX_LEAVE_TLS_DTOR based on a version major check.
924
925 2020-10-29 Olivier Hainque <hainque@adacore.com>
926
927 * config/gthr-vxworks-thread.c: Fix name of macro used
928 to condition the inclusion of an actual implementation.
929
930 2020-10-27 Martin Liska <mliska@suse.cz>
931
932 PR gcov-profile/97461
933 * libgcov.h (gcov_counter_add): Use first static counters
934 as it should help to have malloc wrappers set up.
935
936 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
937
938 * config/gthr-vxworks-thread.c: #include gthr.h before
939 testing the guard defined there.
940 * config/gthr-vxworks-cond.c: Likewise.
941
942 2020-10-21 Douglas Rupp <rupp@adacore.com>
943 Olivier Hainque <hainque@adacore.com>
944
945 * config.host (powerpc*-wrs-vxworks7*): New case.
946 * configure.ac: Handle powerpc*-*-vxworks7* as
947 powerpc*-*-linux* for ppc-fp_type.
948 * configure: Regenerate.
949
950 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
951
952 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
953 section on VxWorks >= 6.
954 * config/gthr-vxworks-thread.c: Condition the entire
955 implementation on __GTHREAD_CXX0X.
956
957 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
958
959 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
960 section on VxWorks >= 6.
961 * config/gthr-vxworks-cond.c: Condition the entire
962 implementation on __GTHREAD_HAS_COND.
963
964 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
965
966 * config/gthr-vxworks.c: #include <taskLib.h>.
967
968 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
969
970 * config/gthr-vxworks.h: Rewrite remaining occurrence
971 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
972
973 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
974 Olivier Hainque <hainque@adacore.com>
975
976 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
977 except on VxWorks 6.
978
979 2020-10-16 Olivier Hainque <hainque@adacore.com>
980
981 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
982
983 2020-10-14 Alexandre Oliva <oliva@adacore.com>
984
985 * config/gthr-vxworks-thread.c: Include stdlib.h.
986 (tls_delete_hook): Prototype it.
987 (__gthread_cond_signal): Return early if no waiters. Consume
988 signal in case the semaphore got full. Use semInfoGet instead
989 of kernel-mode-only semInfo.
990 (__gthread_cond_timedwait): Use semExchange. Always take the
991 mutex again before returning.
992 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
993
994 2020-10-14 Olivier Hainque <hainque@adacore.com>
995
996 * config/t-vxworks (LIBGCC2_INCLUDES): Append
997 $(MULTISUBDIR) to the -I path for fixed headers, as we
998 arrange to have different sets of such headers for different
999 multilibs when they are activated.
1000 * config/t-vxworks7: Likewise.
1001
1002 2020-10-14 Olivier Hainque <hainque@adacore.com>
1003
1004 * config/t-vxworks: Add include-fixed to include search
1005 paths for libgcc on VxWorks.
1006 * config/t-vxworks7: Likewise.
1007
1008 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
1009
1010 PR target/97148
1011 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1012 instead of <cetintrin.h>.
1013
1014 2020-10-01 Alan Modra <amodra@gmail.com>
1015
1016 * config/rs6000/morestack.S,
1017 * config/rs6000/tramp.S: Support __PCREL__ code.
1018
1019 2020-10-01 Alan Modra <amodra@gmail.com>
1020
1021 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1022
1023 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
1024
1025 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1026 variable.
1027
1028 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1029
1030 * config/aarch64/libgcc-softfp.ver: New file.
1031 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1032
1033 2020-09-27 Clement Chigot <clement.chigot@atos.net>
1034
1035 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1036
1037 2020-09-22 Sergei Trofimovich <siarheit@google.com>
1038
1039 PR gcov-profile/96913
1040 * libgcov-driver.c (write_one_data): Avoid function pointer
1041 comparison in TOP streaming decision.
1042
1043 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1044 Christophe Lyon <christophe.lyon@linaro.org>
1045
1046 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1047 qualifier.
1048 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1049 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1050 missing prototypes.
1051
1052 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1053
1054 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1055 unused variable warning.
1056
1057 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
1058
1059 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1060
1061 2020-09-09 Tom de Vries <tdevries@suse.de>
1062
1063 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1064 Wbuiltin-declaration-mismatch.
1065
1066 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1067
1068 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1069 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1070 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1071
1072 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1073
1074 * config/nvptx/atomic.c: New.
1075 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1076
1077 2020-08-03 Ian Lance Taylor <iant@golang.org>
1078
1079 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1080
1081 2020-08-03 Jakub Jelinek <jakub@redhat.com>
1082
1083 PR target/96402
1084 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1085 of x(tmp0), x(tmp1) in STXP arguments.
1086
1087 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
1088
1089 * config/riscv/save-restore.S [__riscv_xlen == 64]
1090 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1091 (__riscv_save_2): Replace negative immediates used for the final
1092 stack pointer adjustment with positive ones, right-shifted by 4.
1093
1094 2020-07-31 Martin Liska <mliska@suse.cz>
1095
1096 * libgcov-driver.c: Add __gcov_kvp_pool
1097 and __gcov_kvp_pool_index variables.
1098 * libgcov.h (allocate_gcov_kvp): New.
1099 (gcov_topn_add_value): Use it.
1100
1101 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1102
1103 * config/aarch64/lse.S: Add PAC property note.
1104
1105 2020-07-23 Martin Liska <mliska@suse.cz>
1106
1107 PR gcov-profile/96035
1108 * libgcov-driver-system.c: Create gcov folders with 0777
1109 so that it respects a system umask.
1110
1111 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
1112
1113 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1114
1115 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1116
1117 PR target/94891
1118 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1119 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1120 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1121 (MD_DEMANGLE_RETURN_ADDR): This.
1122 (aarch64_post_extract_frame_addr): Rename to ...
1123 (aarch64_demangle_return_addr): This.
1124 (aarch64_post_frob_eh_handler_addr): Remove.
1125 * unwind-dw2.c (uw_update_context): Demangle return address.
1126 (uw_frob_return_addr): Remove.
1127
1128 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1129
1130 PR target/96001
1131 * config/aarch64/lse.S: Add BTI marking and related definitions,
1132 and add BTI c to function entries.
1133
1134 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1135
1136 * config/aarch64/lse.S: Add stack note.
1137
1138 2020-07-02 Martin Liska <mliska@suse.cz>
1139
1140 PR gcov-profile/95348
1141 * libgcov-driver.c (merge_one_data): Merge only profiles
1142 that are not of non-zero type.
1143 (write_one_data): Write counters only if there's one non-zero
1144 value.
1145 * libgcov-util.c (tag_function): Change signature from unsigned
1146 to int.
1147 (tag_blocks): Likewise.
1148 (tag_arcs): Likewise.
1149 (tag_counters): Likewise.
1150 (tag_summary): Likewise.
1151 (tag_lines): Read only if COUNTERS is non-zero.
1152 (read_gcda_file): Handle negative length for COUNTERS type.
1153
1154 2020-06-25 Martin Liska <mliska@suse.cz>
1155
1156 * libgcov-driver.c (merge_summary): Remove function as its name
1157 is misleading and doing something different.
1158 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1159 in gcov-tool.
1160 * libgcov-util.c (curr_object_summary): Remove.
1161 (read_gcda_file): Remove unused curr_object_summary.
1162 (gcov_merge): Merge summaries.
1163 * libgcov.h: Add summary argument for gcov_info struct.
1164
1165 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
1166
1167 PR target/95259
1168 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1169 "common/config/i386/i386-cpuinfo.h" and
1170 "common/config/i386/cpuinfo.h".
1171 (__cpu_features2): Changed to array.
1172 (get_amd_cpu): Removed.
1173 (get_intel_cpu): Likewise.
1174 (get_available_features): Likewise.
1175 (__cpu_indicator_init): Call cpu_indicator_init.
1176 * config/i386/cpuinfo.h: Removed.
1177
1178 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
1179
1180 * Makefile.in: Remove uses of empty.mk. Use -include.
1181 * config/avr/t-avr: Use -include.
1182 * empty.mk: Delete.
1183
1184 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
1185
1186 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1187 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1188 and 64 bit with -maix64.
1189 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1190 Build and install AIX-style FAT libraries.
1191
1192 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1193
1194 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1195 'i386/gnu-unwind.h'
1196 * config/i386/gnu-unwind.h: New file.
1197
1198 2020-06-17 Martin Liska <mliska@suse.cz>
1199
1200 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1201 (merge_wrapper): Add both counts and use them properly.
1202 (topn_to_memory_representation): New function.
1203 (gcov_merge): Covert on disk representation to in memory
1204 representation.
1205 * libgcov.h: Remove const operator.
1206
1207 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1208
1209 * configure: Regenerate.
1210 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1211 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1212
1213 2020-06-09 Martin Liska <mliska@suse.cz>
1214
1215 PR gcov-profile/95494
1216 * libgcov-driver.c (write_top_counters): Cast first to
1217 intptr_t as sizeof(*) != sizeof(gcov_type).
1218 * libgcov.h (gcov_counter_set_if_null): Remove.
1219 (gcov_topn_add_value): Cast first to intptr_t and update
1220 linked list directly.
1221
1222 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1223
1224 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1225 with uw_install_context_1.
1226
1227 2020-06-04 Andreas Schwab <schwab@suse.de>
1228
1229 PR target/59230
1230 PR libfortran/59227
1231 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1232 soft-fp/divtf3.c.
1233 (LIB2ADD): Add config/ia64/divtf3.c.
1234 * config/ia64/divtf3.c: New file.
1235
1236 2020-06-03 Martin Liska <mliska@suse.cz>
1237
1238 PR gcov-profile/95480
1239 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1240 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1241 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1242 (gcov_counter_set_if_null): Likewise.
1243
1244 2020-06-02 Jim Wilson <jimw@sifive.com>
1245
1246 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1247 to bgtz.
1248
1249 2020-06-02 Martin Liska <mliska@suse.cz>
1250
1251 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1252 of xmalloc.
1253
1254 2020-06-02 Martin Liska <mliska@suse.cz>
1255
1256 * libgcov-driver.c (prune_topn_counter): Remove.
1257 (prune_counters): Likewise.
1258 (merge_one_data): Special case TOP N counters
1259 as they have variable length.
1260 (write_top_counters): New.
1261 (write_one_data): Special case TOP N.
1262 (dump_one_gcov): Do not prune TOP N counters.
1263 * libgcov-merge.c (merge_topn_values_set): Remove.
1264 (__gcov_merge_topn): Use gcov_topn_add_value.
1265 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1266 Likewise here.
1267 * libgcov.h (gcov_counter_add): New.
1268 (gcov_counter_set_if_null): Likewise.
1269 (gcov_topn_add_value): New.
1270
1271 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1272
1273 * config/i386/sfp-exceptions.c (struct fenv):
1274 Add __attribute__ ((gcc_struct)).
1275
1276 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
1277
1278 PR bootstrap/95413
1279 * configure: Regenerated.
1280
1281 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1282
1283 PR gcov-profile/95332
1284 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1285 * libgcov.h (gcov_magic): Disable GCC poison.
1286
1287 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1288
1289 PR target/95212
1290 * config/i386/cpuinfo.h (processor_features): Move
1291 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1292
1293 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 PR target/91695
1296 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1297 check.
1298
1299 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1300
1301 PR target/95212
1302 PR target/95220
1303 * config/i386/cpuinfo.c (get_available_features): Fix
1304 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1305 * config/i386/cpuinfo.h (processor_features): Add
1306 FEATURE_AVX512VP2INTERSECT.
1307
1308 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1309
1310 PR bootstrap/95147
1311 * configure: Regenerated.
1312
1313 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1314
1315 * configure: Regenerated.
1316
1317 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
1318
1319 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1320 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1321
1322 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1323
1324 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1325 (__math_force_eval_div): New define.
1326 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1327 generic division to generate INVALID, DIVZERO and INEXACT
1328 exceptions.
1329
1330 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1331
1332 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1333 instead of getauxval.
1334 (AT_HWCAP): Define.
1335 (HWCAP_ATOMICS): Define.
1336 Guard detection on __gnu_linux__.
1337
1338 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
1339
1340 * config.host: Delete changes meant for a private branch.
1341 * config/rs6000/t-float128: Likewise.
1342 * configure.ac: Likewise.
1343 * configure: Likewise.
1344
1345 2020-05-05 Martin Liska <mliska@suse.cz>
1346
1347 PR gcov-profile/93623
1348 * Makefile.in: Remove __gcov_flush.
1349 * gcov.h (__gcov_flush): Remove.
1350 * libgcov-interface.c (__gcov_flush): Remove.
1351 (init_mx): Use renamed mutex.
1352 (__gcov_lock): Likewise.
1353 (__gcov_unlock): Likewise.
1354 (__gcov_fork): Likewise.
1355 (__gcov_flush): Remove.
1356
1357 2020-05-05 Martin Liska <mliska@suse.cz>
1358
1359 PR gcov-profile/93623
1360 * libgcov-interface.c (__gcov_fork): Do not flush
1361 and reset only in child process.
1362 (__gcov_execl): Dump counters only and reset them
1363 only if exec* fails.
1364 (__gcov_execlp): Likewise.
1365 (__gcov_execle): Likewise.
1366 (__gcov_execv): Likewise.
1367 (__gcov_execvp): Likewise.
1368 (__gcov_execve): Likewise.
1369
1370 2020-05-05 Martin Liska <mliska@suse.cz>
1371
1372 PR gcov-profile/93623
1373 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1374 * libgcov-interface.c (ALIAS_void_fn): Remove.
1375 (__gcov_lock): New.
1376 (__gcov_unlock): New.
1377 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1378 (__gcov_reset): Likewise.
1379 (__gcov_dump): Likewise.
1380 * libgcov.h (__gcov_lock): New declaration.
1381 (__gcov_unlock): Likewise.
1382
1383 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1384
1385 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1386 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1387 generic division to generate INVALID and DIVZERO exceptions.
1388
1389 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1390
1391 * config/rs6000/crtresfpr.S: Use .machine ppc.
1392 * config/rs6000/crtresxfpr.S: Likewise.
1393 * config/rs6000/crtsavfpr.S: Likewise.
1394
1395 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1396
1397 PR target/94514
1398 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1399 Update context->flags accroding to the frame state.
1400
1401 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1402
1403 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1404 Remove unneeded assignments to volatile memory.
1405
1406 2020-04-15 Jakub Jelinek <jakub@redhat.com>
1407
1408 PR target/93053
1409 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1410 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1411 is not defined, use just .arch armv8-a.
1412 (B, M, N, OPN): Define.
1413 (COMMENT): New .macro.
1414 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1415 defined. Otherwise, move the operands right after the glue? and
1416 comment out operands where the macros are used.
1417 * configure: Regenerated.
1418 * config.in: Regenerated.
1419
1420 2020-04-07 Ian Lance Taylor <iant@golang.org>
1421
1422 PR libgcc/94513
1423 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1424 syscall instead.
1425
1426 2020-04-04 Ian Lance Taylor <iant@golang.org>
1427
1428 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1429
1430 2020-04-03 Ian Lance Taylor <iant@golang.org>
1431
1432 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1433 than mmap/munmap, to avoid hooks.
1434
1435 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1436
1437 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1438 (TPFRA_OFFSET): Macros removed.
1439 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1440 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1441 (PG3_SKIPPING_OFFSET): New macros.
1442 (__isPATrange): Use cinfc_fast for the check.
1443 (__isSkipResetAddr): New function.
1444 (s390_fallback_frame_state): Check for skip trace addresses. Use
1445 either ICST_CRET or ICST_SRET to calculate return address
1446 location.
1447 (__tpf_eh_return): Handle skip trace addresses.
1448
1449 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
1450
1451 PR target/94220
1452 * config/arm/lib1funcs.asm (COND): Use a single definition for
1453 unified syntax.
1454 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1455 (aeabi_idivmod): Likewise.
1456 (divsi3_skip_div0_test): Likewise.
1457
1458 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1459
1460 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1461
1462 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1463
1464 * config.host: Include the new makefile fragment.
1465 * config/s390/t-tpf: New file.
1466
1467 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
1468
1469 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1470 syntax.
1471 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1472 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1473 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1474 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1475 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1476 syntax.
1477 (divsi3, modsi3): Likewise.
1478 (clzdi2, ctzsi2): Likewise.
1479 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1480 unified syntax.
1481 (UNWIND_WRAPPER): Likewise.
1482
1483 2020-03-02 Martin Liska <mliska@suse.cz>
1484
1485 * libgcov-interface.c: Remove duplicate
1486 declaration of __gcov_flush_mx.
1487
1488 2020-02-18 Martin Liska <mliska@suse.cz>
1489
1490 PR ipa/92924
1491 * libgcov-merge.c (merge_topn_values_set): Record
1492 when a TOP N counter becomes invalid. When merging
1493 remove a smallest value if the space is needed.
1494
1495 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1496
1497 PR libstdc++/79193
1498 PR libstdc++/88999
1499
1500 * configure: Regenerated.
1501
1502 2020-02-10 Jeff Law <law@redhat.com>
1503
1504 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1505 sections.
1506 * config/frv/frvend.c: Similarly.
1507
1508 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1509
1510 PR libgcc/85334
1511 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1512 New.
1513
1514 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1515
1516 PR target/93615
1517 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1518 _Unwind_gnu_Find_got.
1519 * unwind-pe.h: Likewise.
1520
1521 2020-02-07 Jakub Jelinek <jakub@redhat.com>
1522
1523 PR target/93615
1524 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1525 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1526 trailing :s in asm. Formatting fixes.
1527 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1528
1529 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1530
1531 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1532
1533 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1534 * config/nios2-elf-lib.h: New.
1535 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1536 code for finding GOT base for nios2.
1537
1538 2020-01-27 Martin Liska <mliska@suse.cz>
1539
1540 PR gcov-profile/93403
1541 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1542 Call __gcov_indirect_call_profiler_body.
1543 (__gcov_indirect_call_profiler_body): New.
1544 (__gcov_indirect_call_profiler_v4_atomic): New.
1545 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1546 New declaration.
1547
1548 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1549
1550 * config/arc/crti.S: Add RF16 object attribute.
1551 * config/arc/crtn.S: Likewise.
1552 * config/arc/crttls.S: Likewise.
1553 * config/arc/lib1funcs.S: Likewise.
1554 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1555 * config/arc/lib2funcs.c: New file.
1556 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1557
1558 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
1559
1560 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1561 * configure.ac: Handle `--with-toolexeclibdir='.
1562 * configure: Regenerate.
1563
1564 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1565
1566 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1567
1568 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1569
1570 * config/mips/gnustack.h: New file.
1571 * config/mips/crti.S: Include gnustack.h.
1572 * config/mips/crtn.S: Likewise.
1573 * config/mips/mips16.S: Likewise.
1574 * config/mips/vr4120-div.S: Likewise.
1575
1576 2020-01-23 Martin Liska <mliska@suse.cz>
1577
1578 * libgcov-driver.c (prune_topn_counter): Remove
1579 check for -1 as we only prune run-time counters
1580 that do not generate an invalid state.
1581
1582 2020-01-22 Martin Liska <mliska@suse.cz>
1583
1584 PR tree-optimization/92924
1585 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1586 try to find an existing value, then find an empty slot
1587 if not found.
1588
1589 2020-01-22 Martin Liska <mliska@suse.cz>
1590
1591 PR tree-optimization/92924
1592 * libgcov-driver.c (prune_topn_counter): New.
1593 (prune_counters): Likewise.
1594 (dump_one_gcov): Prune a run-time counter.
1595 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1596 For a known value, add GCOV_TOPN_VALUES to value.
1597 Otherwise, decrement all counters by one.
1598
1599 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
1600
1601 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1602
1603 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
1604
1605 PR libgcc/92988
1606 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1607 DEFAULT_USE_CXA_ATEXIT is true.
1608
1609 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
1610 Thomas Preud'homme <thomas.preudhomme@arm.com>
1611
1612 * config/arm/t-arm: Check return value of gcc rather than lack of
1613 output.
1614
1615 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
1616
1617 * config/avr/lib1funcs.S (skip): Simplify.
1618
1619 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1620
1621 * config/gcn/atomic.c: Remove include of stdint.h.
1622 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1623 __UINTPTR_TYPE__.
1624
1625 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1626
1627 * config/gcn/atomic.c: New.
1628 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1629
1630 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
1631
1632 Implement 64-bit double functions.
1633
1634 PR target/92055
1635 * config.host (tmake_file) [target=avr]: Add t-libf7,
1636 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1637 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1638 depending on sizeof (double) or sizeof (long double).
1639 * config/avr/libf7: New folder.
1640
1641 2020-01-05 Olivier Hainque <hainque@adacore.com>
1642
1643 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1644 by IN_LIBGCC2.
1645
1646 2020-01-01 Jakub Jelinek <jakub@redhat.com>
1647
1648 Update copyright years.
1649
1650 2019-12-30 Olivier Hainque <hainque@adacore.com>
1651
1652 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1653 * config/gthr-vxworks-tls.c: Likewise.
1654
1655 2019-12-30 Olivier Hainque <hainque@adacore.com>
1656
1657 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1658 standard zero-initializer syntax.
1659
1660 2019-12-30 Olivier Hainque <hainque@adacore.com>
1661
1662 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1663 reference to the internal VX_GET_TLS_DATA interface.
1664
1665 2019-12-30 Olivier Hainque <hainque@adacore.com>
1666
1667 * config/vxcrtstuff.c: Fix incorrect spelling of
1668 USE_INITFINI_ARRAY in guard.
1669
1670 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1671
1672 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1673 Override default "extra_parts" variable.
1674 * configure: Regenerate.
1675 * configure.ac: Disable TM clone registry by default for
1676 msp430-elfbare.
1677
1678 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1679
1680 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1681 "extra_parts".
1682 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1683
1684 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1685
1686 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1687 true.
1688
1689 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1690
1691 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1692 defined instead of its value.
1693
1694 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1695
1696 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1697 if it will have contents.
1698
1699 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
1700
1701 PR target/92055
1702 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1703
1704 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1705
1706 PR libgcc/91737
1707 * config.host: Add t-gthr-noweak on *-*-musl*.
1708 * config/t-gthr-noweak: New file.
1709
1710 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
1711
1712 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1713 volatile void *. Remove trap check.
1714 (__kernel_cmpxchg2): Likewise.
1715 (FETCH_AND_OP_2): Adjust operand types.
1716 (OP_AND_FETCH_2): Likewise.
1717 (FETCH_AND_OP_WORD): Likewise.
1718 (OP_AND_FETCH_WORD): Likewise.
1719 (COMPARE_AND_SWAP_2): Likewise.
1720 (__sync_val_compare_and_swap_4): Likewise.
1721 (__sync_bool_compare_and_swap_4): Likewise.
1722 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1723 (__sync_lock_test_and_set_4): Likewise.
1724 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1725 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1726 for release.
1727 (__sync_lock_release_8): Remove.
1728
1729 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1730
1731 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1732 of __sigset_t.
1733
1734 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
1735 Doug Rupp <rupp@adacore.com>
1736 Olivier Hainque <hainque@adacore.com>
1737
1738 * config.host: Collapse the arm-vxworks entries into
1739 a single arm-wrs-vxworks7* one.
1740 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1741 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1742 kernel modules, to be overriden by libstdc++ when we link with
1743 it. Rely on externally provided __exidx_start/end.
1744
1745 2019-11-14 Doug Rupp <rupp@adacore.com>
1746 Olivier Hainque <hainque@adacore.com>
1747
1748 * config.host: Handle aarch64*-wrs-vxworks7*.
1749
1750 2019-11-12 Olivier Hainque <hainque@adacore.com>
1751
1752 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1753 sources except the cxx0x support to LIB2ADDEH. We don't support
1754 cxx0x on AE/653.
1755 * config/t-vxworksae: New file.
1756 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1757 Makefile fragment files at their expected position in the tmake_file
1758 list, in accordance with what is done for other VxWorks variants.
1759
1760 2019-11-12 Corentin Gay <gay@adacore.com>
1761 Jerome Lambourg <lambourg@adacore.com>
1762 Olivier Hainque <hainque@adacore.com>
1763
1764 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1765 sources to LIB2ADDEH.
1766 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1767 * config/t-vxworks7: Likewise.
1768
1769 * config.host: Append a block at the end of the file to add the
1770 t-gthr files to the tmake_file list for VxWorks after everything
1771 else.
1772
1773 * config/vxlib.c: Rename as gthr-vxworks.c.
1774 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1775
1776 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1777 API and a basic error checking API, both internal. Simplify the
1778 __gthread_once_t type definition and initializers. Add sections
1779 for condition variables support and for the C++0x thread support,
1780 conditioned against Vx653 for the latter.
1781
1782 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1783 implementation, leveraging the TAS internal API.
1784 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1785 API, leveraging the general availability of TLS services in VxWorks7
1786 post SR6xxx.
1787 (__gthread_setspecific, __gthread_setspecific): Use it.
1788 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1789 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1790 support based on VxWorks primitives.
1791 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1792 based on VxWorks primitives.
1793
1794 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
1795 Olivier Hainque <hainque@adacore.com>
1796
1797 * config/vxcrtstuff.c: New file.
1798 * config/t-vxcrtstuff: New Makefile fragment.
1799 * config.host: Append t-vxcrtstuff to the tmake_file list
1800 on all VxWorks ports using dwarf for table based EH.
1801
1802 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
1803
1804 Support 64-bit double and 64-bit long double configurations.
1805
1806 PR target/92055
1807 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1808 long double is a 32-bit type.
1809 * config/avr/t-avrlibc: Copy double64 and long-double64
1810 multilib(s) from the vanilla one.
1811 * config/avr/t-copy-libgcc: New Makefile snip.
1812
1813 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1814
1815 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1816 the target output object format is not ELF.
1817 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1818
1819 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1820
1821 PR libgcc/78804
1822 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1823 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1824 FLOAT_BIT_ORDER_MISMATCH.
1825 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1826
1827 2019-11-01 Jim Wilson <jimw@sifive.com>
1828
1829 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1830
1831 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1832
1833 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1834 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1835 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1836 Define symbols for 32-bit and f5series hardware multiply
1837 register addresses.
1838 Replace hard-coded register addresses with symbols.
1839 Fix "_mspabi*" typo.
1840 Fix whitespace.
1841 * config/msp430/lib2mul.c: Add comment.
1842
1843 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
1844
1845 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1846 unsigned int. Adjust callers.
1847 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1848 unsigned int *. Load relocation offset before function pointer.
1849 Add barrier to ensure ordering.
1850
1851 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
1852
1853 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1854 Load PIC register after branch target. Fix white space.
1855 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1856 implementations. Load PIC register after branch target. Don't
1857 clobber function pointer when it points to function descriptor.
1858 Use nullification instead of branch in LINUX implementation.
1859
1860 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
1861
1862 * config/pa/fptr.c: Disable -Warray-bounds warning.
1863
1864 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
1865
1866 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1867 not the ubuntu modified 2.69.
1868
1869 PR target/91833
1870 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1871 initialization if !HAVE_SYS_AUXV_H.
1872 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1873 * config.in, configure: Rebuild.
1874
1875 PR target/91834
1876 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1877 overlap the inputs.
1878
1879 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1880
1881 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1882 CTR_EL0.IDC and CTR_EL0.DIC.
1883
1884 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1885
1886 Revert:
1887 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1888 Mickaël Guêné <mickael.guene@st.com>
1889
1890 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1891 architecture.
1892
1893 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1894
1895 * config/aarch64/lse-init.c: New file.
1896 * config/aarch64/lse.S: New file.
1897 * config/aarch64/t-lse: New file.
1898 * config.host: Add t-lse to all aarch64 tuples.
1899
1900 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1901 Mickaël Guêné <mickael.guene@st.com>
1902
1903 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1904 architecture.
1905
1906 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1907 Mickaël Guêné <mickael.guene@st.com>
1908
1909 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1910 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1911 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1912 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1913 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1914 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1915 (__gnu_personality_sigframe_fdpic): New.
1916 (get_eit_entry): Add FDPIC signal frame support.
1917
1918 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1919 Mickaël Guêné <mickael.guene@st.com>
1920
1921 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1922 (__kernel_dmb): Likewise.
1923 (__fdpic_cmpxchg): New function.
1924 (__fdpic_dmb): New function.
1925 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1926 (gnu_Unwind_Find_got): New function.
1927 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1928 * unwind-arm-common.inc (UCB_PR_GOT): New.
1929 (funcdesc_t): New struct.
1930 (get_eit_entry): Add FDPIC support.
1931 (unwind_phase2): Likewise.
1932 (unwind_phase2_forced): Likewise.
1933 (__gnu_Unwind_RaiseException): Likewise.
1934 (__gnu_Unwind_Resume): Likewise.
1935 (__gnu_Unwind_Backtrace): Likewise.
1936 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1937
1938 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1939 Mickaël Guêné <mickael.guene@st.com>
1940
1941 * libgcc/crtstuff.c: Add support for FDPIC.
1942
1943 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1944
1945 * config.host: Handle *-*-uclinuxfdpiceabi.
1946
1947 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1948
1949 * config.host: Set cpu_type for bpf-*-* targets.
1950 * config/bpf/t-bpf: Likewise.
1951 * config/bpf/crtn.S: Likewise.
1952 * config/bpf/crti.S: New file.
1953
1954 2019-09-06 Jim Wilson <jimw@sifive.com>
1955
1956 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1957 (riscv*-*-freebsd*): Likewise.
1958
1959 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1960
1961 * config.host: Remove references to spu.
1962 * config/spu/: Remove directory.
1963
1964 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1965
1966 PR target/91306
1967 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1968 element type, instead of "sizeof" the element type.
1969 (__DTOR_LIST__): Likewise.
1970 (__TMC_LIST__): Likewise.
1971 (__do_global_dtors_aux_fini_array_entry): Likewise.
1972 (__frame_dummy_init_array_entry): Likewise.
1973 (__CTOR_END__): Likewise.
1974 (__DTOR_END__): Likweise.
1975 (__FRAME_END__): Likewise.
1976 (__TMC_END__): Likewise.
1977
1978 2019-08-20 Lili Cui <lilicui@intel.com>
1979
1980 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1981 INTEL_COREI7_COOPERLAKE.
1982
1983 2019-07-31 Matt Thomas <matt@3am-software.com>
1984 Nick Hudson <nick@nthcliff.demon.co.uk>
1985 Matthew Green <mrg@eterna.com.au>
1986 Maya Rashish <coypu@sdf.org>
1987
1988 * config.host (hppa*-*-netbsd*): New case.
1989 * config/pa/t-netbsd: New file.
1990
1991 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1992
1993 * config/arm/cmse.c (cmse_check_address_range): Add
1994 warn_unused_result attribute.
1995
1996 2019-07-22 Martin Liska <mliska@suse.cz>
1997
1998 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1999 * config/pa/t-stublib: Likewise.
2000
2001 2019-07-22 Stafford Horne <shorne@gmail.com>
2002
2003 PR target/90362
2004 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2005 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2006 instructions are not available on every processor. Change a
2007 l.bnf to l.bf to fix logic issue.
2008
2009 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2010
2011 * config.host: Remove reference to t-darwin8.
2012
2013 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2014
2015 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2016 list.
2017 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2018 mmacosx-version-min for crts to run across all system versions.
2019 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2020 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2021 system versions >= 10.4.
2022
2023 2019-07-03 Martin Liska <mliska@suse.cz>
2024
2025 * Makefile.in: Use topn_values instead of one_value names.
2026 * libgcov-merge.c (__gcov_merge_single): Move to ...
2027 (__gcov_merge_topn): ... this.
2028 (merge_single_value_set): Move to ...
2029 (merge_topn_values_set): ... this.
2030 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2031 ...
2032 (__gcov_topn_values_profiler_body): ... this.
2033 (__gcov_one_value_profiler_v2): Move to ...
2034 (__gcov_topn_values_profiler): ... this.
2035 (__gcov_one_value_profiler_v2_atomic): Move to ...
2036 (__gcov_topn_values_profiler_atomic): ... this.
2037 (__gcov_indirect_call_profiler_v4): Remove.
2038 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2039 (__gcov_topn_counter_op): ... this.
2040 * libgcov.h (L_gcov_merge_single): Remove.
2041 (L_gcov_merge_topn): New.
2042 (__gcov_merge_single): Remove.
2043 (__gcov_merge_topn): New.
2044 (__gcov_one_value_profiler_v2): Move to ..
2045 (__gcov_topn_values_profiler): ... this.
2046 (__gcov_one_value_profiler_v2_atomic): Move to ...
2047 (__gcov_topn_values_profiler_atomic): ... this.
2048
2049 2019-07-03 Martin Liska <mliska@suse.cz>
2050
2051 * libgcov-merge.c (merge_single_value_set): Support N values.
2052 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2053
2054 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2055
2056 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2057 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2058 * configure.ac: Add --disable-tm-clone-registry option.
2059 * configure: Regenerate.
2060
2061 2019-06-27 Martin Liska <mliska@suse.cz>
2062
2063 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2064 dead assignments.
2065 * libgcov-util.c: Likewise.
2066
2067 2019-06-27 Martin Liska <mliska@suse.cz>
2068
2069 * libgcov-util.c (gcov_profile_merge): Release allocated
2070 memory.
2071 (calculate_overlap): Likewise.
2072
2073 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2074
2075 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2076 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2077 Build objects for the out of line save/restore register functions
2078 so that they can be used for any supported Darwin version.
2079 * config/t-darwin: Default the build Darwin version to Darwin8
2080 (MacOS 10.4).
2081
2082 2019-06-25 Martin Liska <mliska@suse.cz>
2083
2084 * libgcov-driver-system.c (replace_filename_variables): Do not
2085 call strlen with NULL argument.
2086
2087 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
2088
2089 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2090 * config/gcn/unwind-gcn.c: New file.
2091
2092 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2093 Andrew Stubbs <ams@codesourcery.com>
2094
2095 * configure: Regenerate.
2096 * config/gcn/gthr-gcn.h: New.
2097
2098 2019-06-18 Tom de Vries <tdevries@suse.de>
2099
2100 * config/nvptx/crt0.c (__main): Declare.
2101
2102 2019-06-17 Matthew Green <mrg@eterna.com.au>
2103 Maya Rashish <coypu@sdf.org>
2104
2105 * config.host (aarch64*-*-netbsd*): New case.
2106
2107 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2108
2109 * config/msp430/slli.S (__mspabi_sllll): New library function for
2110 performing a logical left shift of a 64-bit value.
2111 * config/msp430/srai.S (__mspabi_srall): New library function for
2112 performing a arithmetic right shift of a 64-bit value.
2113 * config/msp430/srll.S (__mspabi_srlll): New library function for
2114 performing a logical right shift of a 64-bit value.
2115
2116 2019-06-14 Matt Thomas <matt@3am-software.com>
2117 Matthew Green <mrg@eterna.com.au>
2118 Nick Hudson <skrll@netbsd.org>
2119 Maya Rashish <coypu@sdf.org>
2120
2121 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2122 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2123 functions to build.
2124 * config/arm/t-netbsd-eabi: New file.
2125
2126 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2127
2128 * config.host: Add PRU target.
2129 * config/pru/asri.c: New file.
2130 * config/pru/eqd.c: New file.
2131 * config/pru/eqf.c: New file.
2132 * config/pru/ged.c: New file.
2133 * config/pru/gef.c: New file.
2134 * config/pru/gtd.c: New file.
2135 * config/pru/gtf.c: New file.
2136 * config/pru/led.c: New file.
2137 * config/pru/lef.c: New file.
2138 * config/pru/lib2bitcountHI.c: New file.
2139 * config/pru/lib2divHI.c: New file.
2140 * config/pru/lib2divQI.c: New file.
2141 * config/pru/lib2divSI.c: New file.
2142 * config/pru/libgcc-eabi.ver: New file.
2143 * config/pru/ltd.c: New file.
2144 * config/pru/ltf.c: New file.
2145 * config/pru/mpyll.S: New file.
2146 * config/pru/pru-abi.h: New file.
2147 * config/pru/pru-asm.h: New file.
2148 * config/pru/pru-divmod.h: New file.
2149 * config/pru/sfp-machine.h: New file.
2150 * config/pru/t-pru: New file.
2151
2152 2019-06-11 Jakub Jelinek <jakub@redhat.com>
2153
2154 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2155
2156 2019-06-10 Martin Liska <mliska@suse.cz>
2157
2158 PR bootstrap/90808
2159 * libgcov.h: Add ATTRIBUTE_UNUSED.
2160
2161 2019-06-10 Martin Liska <mliska@suse.cz>
2162
2163 * Makefile.in: Add __gcov_one_value_profiler_v2,
2164 __gcov_one_value_profiler_v2_atomic and
2165 __gcov_indirect_call_profiler_v4.
2166 * libgcov-merge.c (__gcov_merge_single): Change
2167 function signature.
2168 (merge_single_value_set): New.
2169 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2170 Update functionality.
2171 (__gcov_one_value_profiler): Remove.
2172 (__gcov_one_value_profiler_v2): ... this.
2173 (__gcov_one_value_profiler_atomic): Rename to ...
2174 (__gcov_one_value_profiler_v2_atomic): this.
2175 (__gcov_indirect_call_profiler_v3): Rename to ...
2176 (__gcov_indirect_call_profiler_v4): ... this.
2177 * libgcov.h (__gcov_one_value_profiler): Remove.
2178 (__gcov_one_value_profiler_atomic): Remove.
2179 (__gcov_one_value_profiler_v2_atomic): New.
2180 (__gcov_indirect_call_profiler_v3): Remove.
2181 (__gcov_one_value_profiler_v2): New.
2182 (__gcov_indirect_call_profiler_v4): New.
2183 (gcov_get_counter_ignore_scaling): New function.
2184
2185 2019-06-07 Martin Liska <mliska@suse.cz>
2186
2187 * Makefile.in: Remove usage of
2188 _gcov_merge_icall_topn.
2189 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2190 (gcov_sort_icall_topn_counter): Likewise.
2191 (gcov_sort_topn_counter_arrays): Likewise.
2192 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2193 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2194 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2195 Likewise.
2196 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2197 (struct indirect_call_tuple): Remove.
2198 (__gcov_indirect_call_topn_profiler): Remove.
2199 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2200 * libgcov.h (gcov_sort_n_vals): Remove.
2201 (L_gcov_merge_icall_topn): Likewise.
2202 (__gcov_merge_icall_topn): Likewise.
2203 (__gcov_indirect_call_topn_profiler): Likewise.
2204
2205 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2206
2207 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2208 altivec enabled.
2209
2210 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2211
2212 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2213 section.
2214 (__mspabi_slli): Likewise.
2215 (__mspabi_slll_n): Likewise.
2216 (__mspabi_slll): Likewise.
2217 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2218 (__mspabi_srai): Likewise.
2219 (__mspabi_sral_n): Likewise.
2220 (__mspabi_sral): Likewise.
2221 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2222 (__mspabi_srli): Likewise.
2223 (__mspabi_srll_n): Likewise.
2224 (__mspabi_srll): Likewise.
2225
2226 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2227
2228 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2229 Add appropriate tm_file clause as well.
2230 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2231
2232 2019-06-05 James Clarke <jrtc27@jrtc27.com>
2233
2234 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2235 rather than .data/.bss so it can be accessed via gp-relative
2236 addressing.
2237
2238 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
2239
2240 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2241 (CR2_REGNO): Rename to R_CR2.
2242 (XER_REGNO): Rename to R_XER.
2243 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2244 (VRSAVE_REGNO): Rename to R_VRSAVE.
2245 (VSCR_REGNO): R_VSCR.
2246
2247 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2248
2249 * config.host (rx-*-linux*): Add new case.
2250 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2251
2252 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2253
2254 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2255 function.
2256 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2257 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2258 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2259 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2260 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2261 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2262 string.
2263 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2264 string.
2265 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2266
2267 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2268
2269 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2270 Remove Solaris 9 and 10 support.
2271 (sparc_is_sighandler): Likewise.
2272
2273 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
2274
2275 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2276
2277 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2278
2279 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2280 4_FP_W_TYPEs are used for IEEE quad precision.
2281 * soft-fp/extendhftf2.c: Likewise.
2282 * soft-fp/extendsftf2.c: Likewise.
2283 * soft-fp/extendxftf2.c: Likewise.
2284 * soft-fp/trunctfdf2.c: Likewise.
2285 * soft-fp/trunctfhf2.c: Likewise.
2286 * soft-fp/trunctfsf2.c: Likewise.
2287 * soft-fp/trunctfxf2.c: Likewise.
2288 * config/rs6000/ibm-ldouble.c: Likewise.
2289
2290 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2291
2292 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2293 *-*-solaris2*.
2294 * configure.ac: Likewise.
2295 * configure: Regenerate.
2296
2297 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2298 Solaris 10 and Solaris 11 < snv_125 handling.
2299
2300 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2301
2302 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2303
2304 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2305
2306 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2307 * config/i386/cpuinfo.h (enum processor_features): Add
2308 FEATURE_AVX512BF16.
2309
2310 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2311 Bernd Edlinger <bernd.edlinger@hotmail.de>
2312 Jakub Jelinek <jakub@redhat.com>
2313
2314 PR target/89093
2315 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2316 * config/arm/unwind-arm.c: Likewise.
2317 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2318 attribute for ARM.
2319
2320 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2321
2322 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2323 (RT_SIGRETURN): Update.
2324 (nds32_fallback_frame_state): Update.
2325
2326 2019-02-21 Martin Sebor <msebor@redhat.com>
2327
2328 * libgcc2.h (__clear_cache): Correct signature.
2329 * libgcc2.c (__clear_cache): Same.
2330
2331 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2332
2333 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2334 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2335
2336 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2337
2338 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2339 regno instead of index to DWARF_ZERO_REG.
2340
2341 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2342
2343 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2344 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2345
2346 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2347
2348 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2349 to HOST_LIBGCC2_CFLAGS.
2350
2351 2019-01-23 Joseph Myers <joseph@codesourcery.com>
2352
2353 PR libgcc/88931
2354 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2355
2356 2019-01-18 Martin Liska <mliska@suse.cz>
2357
2358 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2359 to ...
2360 (__gcov_indirect_call_profiler_v3): ... this.
2361 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2362 (__gcov_indirect_call_profiler_v3): Likewise.
2363 * Makefile.in: Bump function name.
2364
2365 2019-01-18 Martin Liska <mliska@suse.cz>
2366
2367 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2368 (gcov_version): Use in gcov_error.
2369 (merge_one_data): Likewise.
2370 (dump_one_gcov): Likewise.
2371
2372 2019-01-18 Martin Liska <mliska@suse.cz>
2373
2374 * libgcov-driver.c (gcov_version_string): New function.
2375 (gcov_version): Convert version integer into string.
2376
2377 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
2378 Kwok Cheung Yeung <kcy@codesourcery.com>
2379 Julian Brown <julian@codesourcery.com>
2380 Tom de Vries <tom@codesourcery.com>
2381
2382 * config.host: Recognize amdgcn*-*-amdhsa.
2383 * config/gcn/crt0.c: New file.
2384 * config/gcn/lib2-divmod-hi.c: New file.
2385 * config/gcn/lib2-divmod.c: New file.
2386 * config/gcn/lib2-gcn.h: New file.
2387 * config/gcn/sfp-machine.h: New file.
2388 * config/gcn/t-amdgcn: New file.
2389
2390 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2391
2392 PR other/16615
2393
2394 * config/c6x/libunwind.S: Mechanically replace "can not" with
2395 "cannot".
2396 * config/tilepro/atomic.h: Likewise.
2397 * config/vxlib-tls.c: Likewise.
2398 * generic-morestack-thread.c: Likewise.
2399 * generic-morestack.c: Likewise.
2400 * mkmap-symver.awk: Likewise.
2401
2402 2019-01-01 Jakub Jelinek <jakub@redhat.com>
2403
2404 Update copyright years.
2405
2406 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2407
2408 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2409 to ignore -Waddress-of-packed-member.
2410
2411 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2412
2413 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2414 parameter and corresponding code.
2415 (ARM_FUNC_START): Likewise in both definitions.
2416 Also update footer comment about condition that need to match with
2417 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2418 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2419 defined. Weakly define it in this case.
2420 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2421 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2422 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2423 comment to keep condition in sync with the one in
2424 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2425
2426 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
2427
2428 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2429 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2430
2431 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2432
2433 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2434 and .cfi_endproc directives for VxWorks targets.
2435
2436 2018-12-05 Paul Koning <ni1d@arrl.net>
2437
2438 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2439
2440 2018-11-27 Alan Modra <amodra@gmail.com>
2441
2442 * config/rs6000/morestack.S (__stack_split_initialize),
2443 (__morestack_get_guard, __morestack_set_guard),
2444 (__morestack_make_guard): Provide CFI covering these functions.
2445 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2446
2447 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2448
2449 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2450 (sc_pt_regs_lr): Update for kernel.
2451 (sc_pt_regs_tls): Update for kernel.
2452
2453 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2454
2455 * config/csky/linux-unwind.h: Fix coding style.
2456
2457 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2458
2459 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2460 (csky_fallback_frame_state): Modify the check of the
2461 instructions to adapt to changes in the kernel
2462
2463 2018-11-09 Stafford Horne <shorne@gmail.com>
2464 Richard Henderson <rth@twiddle.net>
2465
2466 * config.host: Add OpenRISC support.
2467 * config/or1k/*: New.
2468
2469 2018-11-08 Kito Cheng <kito@andestech.com>
2470
2471 * soft-fp/adddf3.c: Update from glibc.
2472 * soft-fp/addsf3.c: Likewise.
2473 * soft-fp/addtf3.c: Likewise.
2474 * soft-fp/divdf3.c: Likewise.
2475 * soft-fp/divsf3.c: Likewise.
2476 * soft-fp/divtf3.c: Likewise.
2477 * soft-fp/double.h: Likewise.
2478 * soft-fp/eqdf2.c: Likewise.
2479 * soft-fp/eqsf2.c: Likewise.
2480 * soft-fp/eqtf2.c: Likewise.
2481 * soft-fp/extenddftf2.c: Likewise.
2482 * soft-fp/extended.h: Likewise.
2483 * soft-fp/extendhftf2.c: Likewise.
2484 * soft-fp/extendsfdf2.c: Likewise.
2485 * soft-fp/extendsftf2.c: Likewise.
2486 * soft-fp/extendxftf2.c: Likewise.
2487 * soft-fp/fixdfdi.c: Likewise.
2488 * soft-fp/fixdfsi.c: Likewise.
2489 * soft-fp/fixdfti.c: Likewise.
2490 * soft-fp/fixhfti.c: Likewise.
2491 * soft-fp/fixsfdi.c: Likewise.
2492 * soft-fp/fixsfsi.c: Likewise.
2493 * soft-fp/fixsfti.c: Likewise.
2494 * soft-fp/fixtfdi.c: Likewise.
2495 * soft-fp/fixtfsi.c: Likewise.
2496 * soft-fp/fixtfti.c: Likewise.
2497 * soft-fp/fixunsdfdi.c: Likewise.
2498 * soft-fp/fixunsdfsi.c: Likewise.
2499 * soft-fp/fixunsdfti.c: Likewise.
2500 * soft-fp/fixunshfti.c: Likewise.
2501 * soft-fp/fixunssfdi.c: Likewise.
2502 * soft-fp/fixunssfsi.c: Likewise.
2503 * soft-fp/fixunssfti.c: Likewise.
2504 * soft-fp/fixunstfdi.c: Likewise.
2505 * soft-fp/fixunstfsi.c: Likewise.
2506 * soft-fp/fixunstfti.c: Likewise.
2507 * soft-fp/floatdidf.c: Likewise.
2508 * soft-fp/floatdisf.c: Likewise.
2509 * soft-fp/floatditf.c: Likewise.
2510 * soft-fp/floatsidf.c: Likewise.
2511 * soft-fp/floatsisf.c: Likewise.
2512 * soft-fp/floatsitf.c: Likewise.
2513 * soft-fp/floattidf.c: Likewise.
2514 * soft-fp/floattihf.c: Likewise.
2515 * soft-fp/floattisf.c: Likewise.
2516 * soft-fp/floattitf.c: Likewise.
2517 * soft-fp/floatundidf.c: Likewise.
2518 * soft-fp/floatundisf.c: Likewise.
2519 * soft-fp/floatunditf.c: Likewise.
2520 * soft-fp/floatunsidf.c: Likewise.
2521 * soft-fp/floatunsisf.c: Likewise.
2522 * soft-fp/floatunsitf.c: Likewise.
2523 * soft-fp/floatuntidf.c: Likewise.
2524 * soft-fp/floatuntihf.c: Likewise.
2525 * soft-fp/floatuntisf.c: Likewise.
2526 * soft-fp/floatuntitf.c: Likewise.
2527 * soft-fp/gedf2.c: Likewise.
2528 * soft-fp/gesf2.c: Likewise.
2529 * soft-fp/getf2.c: Likewise.
2530 * soft-fp/half.h: Likewise.
2531 * soft-fp/ledf2.c: Likewise.
2532 * soft-fp/lesf2.c: Likewise.
2533 * soft-fp/letf2.c: Likewise.
2534 * soft-fp/muldf3.c: Likewise.
2535 * soft-fp/mulsf3.c: Likewise.
2536 * soft-fp/multf3.c: Likewise.
2537 * soft-fp/negdf2.c: Likewise.
2538 * soft-fp/negsf2.c: Likewise.
2539 * soft-fp/negtf2.c: Likewise.
2540 * soft-fp/op-1.h: Likewise.
2541 * soft-fp/op-2.h: Likewise.
2542 * soft-fp/op-4.h: Likewise.
2543 * soft-fp/op-8.h: Likewise.
2544 * soft-fp/op-common.h: Likewise.
2545 * soft-fp/quad.h: Likewise.
2546 * soft-fp/single.h: Likewise.
2547 * soft-fp/soft-fp.h: Likewise.
2548 * soft-fp/subdf3.c: Likewise.
2549 * soft-fp/subsf3.c: Likewise.
2550 * soft-fp/subtf3.c: Likewise.
2551 * soft-fp/truncdfsf2.c: Likewise.
2552 * soft-fp/trunctfdf2.c: Likewise.
2553 * soft-fp/trunctfhf2.c: Likewise.
2554 * soft-fp/trunctfsf2.c: Likewise.
2555 * soft-fp/trunctfxf2.c: Likewise.
2556 * soft-fp/unorddf2.c: Likewise.
2557 * soft-fp/unordsf2.c: Likewise.
2558 * soft-fp/unordtf2.c: Likewise.
2559
2560 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2561
2562 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2563 * config/i386/cpuinfo.h (processor_types): Add znver2.
2564
2565 2018-11-01 Paul Koning <ni1d@arrl.net>
2566
2567 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2568 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2569
2570 2018-10-31 Joseph Myers <joseph@codesourcery.com>
2571
2572 PR bootstrap/82856
2573 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2574 * configure: Regenerate.
2575
2576 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2577
2578 * config/arc/lib1funcs.S (_muldi3): New function.
2579 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2580
2581 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2582
2583 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2584
2585 2018-10-25 Martin Liska <mliska@suse.cz>
2586
2587 PR other/87735
2588 * libgcov-profiler.c: Revert.
2589
2590 2018-10-24 Martin Liska <mliska@suse.cz>
2591
2592 * libgcov-profiler.c: Start from 1 in order to distinguish
2593 functions which were seen and these that were not.
2594
2595 2018-10-18 Paul Koning <ni1d@arrl.net>
2596
2597 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2598 standard.
2599 * divmod.c: Update references to __udivmodsi4.
2600 * udivmod.c: Ditto.
2601 * udivhi3.c: New file.
2602 * udivmodhi4.c: New file.
2603 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2604
2605 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2606
2607 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2608
2609 2018-10-12 Olivier Hainque <hainque@adacore.com>
2610
2611 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2612 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2613
2614 2018-10-08 Paul Koning <ni1d@arrl.net>
2615
2616 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2617
2618 2018-10-04 Martin Liska <mliska@suse.cz>
2619
2620 PR gcov-profile/84107
2621 * libgcov-profiler.c (__gcov_indirect_call):
2622 Change type to indirect_call_tuple.
2623 (struct indirect_call_tuple): New struct.
2624 (__gcov_indirect_call_topn_profiler): Change type.
2625 (__gcov_indirect_call_profiler_v2): Use the new
2626 variables.
2627 * libgcov.h (struct indirect_call_tuple): New struct
2628 definition.
2629
2630 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
2631
2632 * libgcc2.c (isnan): Use __builtin_isnan.
2633 (isfinite): Use __builtin_isfinite.
2634 (isinf): Use __builtin_isinf.
2635
2636 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
2637
2638 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2639
2640 2018-09-21 Alexandre Oliva <oliva@adacore.com>
2641
2642 * config/vxcache.c: New file. Provide __clear_cache, based on
2643 the cacheTextUpdate VxWorks service.
2644 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2645 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2646 * config/t-vxwoks7: Likewise.
2647
2648 2018-09-21 Martin Liska <mliska@suse.cz>
2649
2650 * libgcov-driver.c (crc32_unsigned): Remove.
2651 (gcov_histogram_insert): Likewise.
2652 (gcov_compute_histogram): Likewise.
2653 (compute_summary): Simplify rapidly.
2654 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2655 (merge_summary): Rapidly simplify.
2656 (dump_one_gcov): Ignore gcov_summary.
2657 (gcov_do_dump): Do not handle program summary, it's not
2658 used.
2659 * libgcov-util.c (tag_summary): Remove.
2660 (read_gcda_finalize): Fix coding style.
2661 (read_gcda_file): Initialize curr_object_summary.
2662 (compute_summary): Remove.
2663 (calculate_overlap): Remove settings of run_max.
2664
2665 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2666
2667 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2668 ucontext_t type instead.
2669 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2670
2671 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
2672
2673 * config/nds32/t-nds32-glibc: New file.
2674
2675 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2676
2677 * configure.ac (solaris_ld_v2_maps): New test.
2678 * configure: Regenerate.
2679 * Makefile.in (solaris_ld_v2_maps): New variable.
2680 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2681 if supported.
2682
2683 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
2684
2685 PR target/86951
2686 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2687 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2688 to build.
2689
2690 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2691
2692 * config/unwind-dw2-fde-darwin.c
2693 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2694 * config/darwin10-unwind-find-enc-func.c: … to here.
2695 * config/t-darwin: Build Darwin10 unwinder shim crt.
2696 * libgcc/config.host: Add the Darwin10 unwinder shim.
2697
2698 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2699
2700 * config.host: Add crtbegin.o and crtend.o for
2701 powerpc-wrs-vxworks target.
2702
2703 2018-08-17 Jojo <jijie_rong@c-sky.com>
2704 Huibin Wang <huibin_wang@c-sky.com>
2705 Sandra Loosemore <sandra@codesourcery.com>
2706 Chung-Lin Tang <cltang@codesourcery.com>
2707
2708 C-SKY port: libgcc
2709
2710 * config.host: Add C-SKY support.
2711 * config/csky/*: New.
2712
2713 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2714
2715 * config/nds32/t-nds32-isr: Rearrange object dependency.
2716 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2717 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2718 and registers usage.
2719 * config/nds32/isr-library/excp_isr.S: Ditto.
2720 * config/nds32/isr-library/intr_isr.S: Ditto.
2721 * config/nds32/isr-library/reset.S: Ditto.
2722 * config/nds32/isr-library/restore_all.inc: Ditto.
2723 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2724 * config/nds32/isr-library/restore_partial.inc: Ditto.
2725 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2726 * config/nds32/isr-library/save_all.inc: Ditto.
2727 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2728 * config/nds32/isr-library/save_partial.inc: Ditto.
2729 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2730 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2731
2732 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
2733
2734 * config/pa/linux-atomic.c: Update comment.
2735 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2736 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2737 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2738 __ATOMIC_RELAXED for atomic loads.
2739 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2740 unordered store to release lock.
2741 (__sync_lock_release_8): Likewise.
2742 (SYNC_LOCK_RELEASE_2): Remove define.
2743
2744 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
2745
2746 PR libgcc/86512
2747 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2748 exponent goes negative. Update my email address.
2749 * config/arm/ieee754-sf.S: Likewise.
2750
2751 2018-08-01 Martin Liska <mliska@suse.cz>
2752
2753 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2754 check that __gcov_indirect_call_callee is non-null.
2755
2756 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2757
2758 * config/arm/ieee754-df.S: Fix comment for code working on
2759 architectures >= 4.
2760 * config/arm/ieee754-sf.S: Likewise.
2761
2762 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2763
2764 PR libgcc/85334
2765 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2766 Removed.
2767
2768 2018-07-05 James Clarke <jrtc27@jrtc27.com>
2769
2770 * configure: Regenerated.
2771
2772 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2773
2774 * Makefile.in (install_leaf): Use enable_gcov instead of
2775 enable_libgcov.
2776
2777 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2778
2779 * configure.ac: Add --disable-gcov option.
2780 * configure: Regenerate.
2781 * Makefile.in: Honour @enable_gcov@.
2782
2783 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2784
2785 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2786 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2787 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2788 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2789 __ARM_ARCH__.
2790 * config/arm/ieee754-sf.S: Likewise.
2791 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2792
2793 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2794
2795 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2796 longer supported.
2797 * config/arm/ieee754-sf.S: Likewise.
2798
2799 2018-06-20 Than McIntosh <thanm@google.com>
2800
2801 PR libgcc/86213
2802 * generic-morestack.c (allocate_segment): Move calls to getenv and
2803 getpagesize to __morestack_load_mmap.
2804 (__morestack_load_mmap) Initialize static_pagesize and
2805 use_guard_page here so as to avoid clobbering SSE regs during a
2806 __morestack call.
2807
2808 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
2809
2810 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2811 support modules with -mno-gnu-attribute.
2812 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2813
2814 2018-06-07 Olivier Hainque <hainque@adacore.com>
2815
2816 * config/t-vxworks (LIBGCC_INCLUDES): Add
2817 -I$(MULTIBUILDTOP)../../gcc/include.
2818 * config/t-vxworks7: Likewise. Reformat a bit to match
2819 the t-vxworks layout.
2820
2821 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2822
2823 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2824
2825 2018-06-07 Martin Liska <mliska@suse.cz>
2826
2827 * libgcov-driver.c: Rename cs_all to all and assign it from
2828 all_prg.
2829
2830 2018-06-07 Martin Liska <mliska@suse.cz>
2831
2832 PR bootstrap/86057
2833 * libgcov-driver-system.c (replace_filename_variables): Use
2834 memcpy instead of mempcpy.
2835 (allocate_filename_struct): Do not allocate filename, allocate
2836 prefix and set it.
2837 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2838 here and properly copy content into it.
2839 * libgcov-driver.c (struct gcov_filename): Remove max_length
2840 field, change prefix from size_t into char *.
2841 (compute_summary): Do not calculate longest filename.
2842 (gcov_do_dump): Release memory of gf.filename after each file.
2843 * libgcov-util.c (compute_summary): Use new signature of
2844 compute_summary.
2845 (calculate_overlap): Likewise.
2846
2847 2018-06-05 Martin Liska <mliska@suse.cz>
2848
2849 PR gcov-profile/47618
2850 * libgcov-driver-system.c (replace_filename_variables): New
2851 function.
2852 (gcov_exit_open_gcda_file): Use it.
2853
2854 2018-06-05 Martin Liska <mliska@suse.cz>
2855
2856 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2857 of gcov_ctr_summary.
2858 (compute_summary): Do it just for a single summary.
2859 (merge_one_data): Likewise.
2860 (merge_summary): Simplify as we read just single summary.
2861 (dump_one_gcov): Pass proper argument.
2862 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2863 single summary.
2864 (gcov_info_count_all_cold): Likewise.
2865 (calculate_overlap): Likewise.
2866
2867 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2868 Monk Chiang <sh.chiang04@gmail.com>
2869
2870 * config.host (nds32*-linux*): New.
2871 * config/nds32/linux-atomic.c: New file.
2872 * config/nds32/linux-unwind.h: New file.
2873
2874 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2875
2876 PR target/85591
2877 * config/i386/cpuinfo.c (get_amd_cpu): Return
2878 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2879
2880 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2881
2882 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2883
2884 2018-05-29 Martin Liska <mliska@suse.cz>
2885
2886 PR gcov-profile/85759
2887 * libgcov-driver-system.c (gcov_error): Introduce usage of
2888 GCOV_EXIT_AT_ERROR env. variable.
2889 * libgcov-driver.c (merge_one_data): Print error that we
2890 overwrite a gcov file with a different timestamp.
2891
2892 2018-05-23 Kalamatee <kalamatee@gmail.com>
2893
2894 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2895 path to Lf$finfty.
2896
2897 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2898 Monk Chiang <sh.chiang04@gmail.com>
2899 Jim Wilson <jimw@sifive.com>
2900
2901 * config/riscv/save-restore.S: Add support for rv32e.
2902
2903 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2904
2905 * config/arm/libunwind.S: Update comment relating to armv5.
2906
2907 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2908
2909 * config/arm/cmse.c (cmse_check_address_range): Replace
2910 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2911
2912 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2913
2914 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2915 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2916
2917 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2918
2919 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2920 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2921
2922 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2923
2924 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2925
2926 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2927 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2928
2929 PR libgcc/84292
2930 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2931 op_and_fetch to return the right result.
2932
2933 2018-04-27 Alan Modra <amodra@gmail.com>
2934
2935 PR libgcc/85532
2936 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2937 -fno-asynchronous-unwind-tables.
2938
2939 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2940
2941 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2942 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2943
2944 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2945
2946 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2947 when including "config/i386/shadow-stack-unwind.h".
2948
2949 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2950
2951 * configure: Regenerated.
2952
2953 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2954
2955 PR target/85456
2956 * config/rs6000/_powikf2.c: New file. Add support for the
2957 __builtin_powil function when long double is IEEE 128-bit floating
2958 point.
2959 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2960 __powikf2 support.
2961 (__powikf2): Likewise.
2962 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2963 (__powikf2_hw): Likewise.
2964 (__powikf2): Likewise.
2965 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2966 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2967 (_powikf2-hw.c): Likewise.
2968
2969 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2970
2971 PR libgcc/85334
2972 * unwind-generic.h (_Unwind_Frames_Increment): New.
2973 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2974 Likewise.
2975 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2976 count with _Unwind_Frames_Increment.
2977 (_Unwind_ForcedUnwind_Phase2): Likewise.
2978
2979 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2980
2981 PR libgcc/85379
2982 * config/i386/morestack.S (__stack_split_initialize): Add
2983 _CET_ENDBR.
2984
2985 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2986
2987 * configure: Regenerated.
2988
2989 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2990
2991 PR jit/85384
2992 * configure: Regenerate.
2993
2994 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2995
2996 PR target/84945
2997 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2998 -Wdangling-else warnings. Mask shift counts to avoid
2999 -Wshift-count-negative and -Wshift-count-overflow false positives.
3000
3001 2018-04-06 Ruslan Bukin <br@bsdpad.com>
3002
3003 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3004
3005 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3006
3007 PR target/85100
3008 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3009 (XSTATE_FP): Likewise.
3010 (XSTATE_SSE): Likewise.
3011 (XSTATE_YMM): Likewise.
3012 (XSTATE_OPMASK): Likewise.
3013 (XSTATE_ZMM): Likewise.
3014 (XSTATE_HI_ZMM): Likewise.
3015 (XCR_AVX_ENABLED_MASK): Likewise.
3016 (XCR_AVX512F_ENABLED_MASK): Likewise.
3017 (get_available_features): Enable AVX and AVX512 features only
3018 if their states are supported by OSXSAVE.
3019
3020 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3021
3022 PR target/85025
3023 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3024 Fix a typo, tmp => 255.
3025
3026 2018-03-20 Jakub Jelinek <jakub@redhat.com>
3027
3028 PR target/84945
3029 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3030 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3031 ifndef SHARED only.
3032 (set_feature): Define.
3033 (get_available_features): Use set_feature macro. Set __cpu_features2
3034 to the second word of features ifndef SHARED.
3035
3036 2018-03-15 Julia Koval <julia.koval@intel.com>
3037
3038 * config/i386/cpuinfo.c (get_available_features): Add
3039 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3040 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3041 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3042 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3043 FEATURE_AVX512BITALG.
3044
3045 2018-03-14 Julia Koval <julia.koval@intel.com>
3046
3047 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3048 icelake client and icelake server.
3049
3050 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
3051
3052 * config/pa/fptr.c (_dl_read_access_allowed): New.
3053 (__canonicalize_funcptr_for_compare): Use it.
3054
3055 2018-02-28 Jakub Jelinek <jakub@redhat.com>
3056
3057 PR debug/83917
3058 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3059 $asm_hidden_op if visibility ("hidden") attribute works.
3060 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3061 * config/i386/i386-asm.h: Don't include auto-host.h.
3062 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3063 PACKAGE_URL): Don't undefine.
3064 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3065 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3066 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3067 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3068 definition instead of hardcoded .hidden.
3069 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3070 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3071 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3072 (USE_GAS_CFI_DIRECTIVES): Don't define.
3073 * configure: Regenerated.
3074 * config.in: Likewise.
3075
3076 2018-02-26 Jakub Jelinek <jakub@redhat.com>
3077
3078 PR debug/83917
3079 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3080 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3081 inclusion of auto-target.h and auto-host.h.
3082 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3083 __GCC_HAVE_DWARF2_CFI_ASM.
3084 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3085 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3086 cfi_pop): Define.
3087 * config/i386/cygwin.S: Don't include auto-host.h here, just
3088 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3089 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3090 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3091 * config/i386/resms64fx.h: Add cfi_* directives.
3092 * config/i386/resms64x.h: Likewise.
3093
3094 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3095
3096 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3097 .literal_position directive.
3098 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3099
3100 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3101
3102 PR target/84148
3103 * configure: Regenerate.
3104
3105 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3106
3107 PR target/84239
3108 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3109 Include cetintrin.h not x86intrin.h.
3110
3111 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3112
3113 PR target/84239
3114 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3115 Use new _get_ssp and _inc_ssp intrinsics.
3116
3117 2018-02-02 Julia Koval <julia.koval@intel.com>
3118
3119 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3120
3121 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3122
3123 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3124 option.
3125 (__divsi3): Use RF16 safe registers.
3126 (__modsi3): Likewise.
3127
3128 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3129
3130 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3131 (__divsf3): Make NaN return value quiet.
3132 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3133 (__divdf3): Make NaN return value quiet.
3134
3135 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3136
3137 * config/rl78/anddi3.S: New assembly file.
3138 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3139
3140 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3141
3142 * config/rl78/umindi3.S: New assembly file.
3143 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3144
3145 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3146
3147 * config/rl78/smindi3.S: New assembly file.
3148 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3149
3150 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3151
3152 * config/rl78/smaxdi3.S: New assembly file.
3153 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3154
3155 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3156
3157 * config/rl78/umaxdi3.S: New assembly file.
3158 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3159
3160 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
3161
3162 PR lto/83452
3163 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3164 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3165
3166 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3167
3168 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3169 (DWARF_LAZY_REGISTER_VALUE): Define.
3170 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3171 to provide a fallback register value.
3172
3173 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3174
3175 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3176 __ibm128, instead of trying to use long double.
3177 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3178 accomidate -mabi=ieeelongdouble multilibs.
3179 (CVT_IBM128_TO_FLOAT128): Likewise.
3180 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3181 the appropriate IBM extended double type.
3182 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3183 (__gcc_qsub): Likewise.
3184 (__gcc_qmul): Likewise.
3185 (__gcc_qdiv): Likewise.
3186 (pack_ldouble): Likewise.
3187 (__gcc_qneg): Likewise.
3188 (__gcc_qeq): Likewise.
3189 (__gcc_qne): Likewise.
3190 (__gcc_qge): Likewise.
3191 (__gcc_qle): Likewise.
3192 (__gcc_stoq): Likewise.
3193 (__gcc_dtoq): Likewise.
3194 (__gcc_itoq): Likewise.
3195 (__gcc_utoq): Likewise.
3196 (__gcc_qunord): Likewise.
3197 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3198 quad-float128.h for the definitions.
3199 (COPYSIGN): Use the f128 version instead of the q version.
3200 (INFINITY): Likewise.
3201 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3202 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3203 quad-float128.h for the definitions.
3204 (COPYSIGN): Use the f128 version instead of the q version.
3205 (INFINITY): Likewise.
3206 (FABS): Likewise.
3207 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3208 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3209 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3210
3211 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3212
3213 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3214 configuration.
3215
3216 2018-01-03 Jakub Jelinek <jakub@redhat.com>
3217
3218 Update copyright years.
3219
3220 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
3221
3222 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3223 * config/riscv/multi3.c: New file.
3224 * config/riscv/multi3.S: Remove.
3225
3226 2017-12-08 Jim Wilson <jimw@sifive.com>
3227
3228 * config/riscv/div.S: Use FUNC_* macros.
3229 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3230 * config/riscv/save-restore.S: Likewise.
3231 * config/riscv/riscv-asm.h: New.
3232
3233 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3234
3235 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3236 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3237
3238 PR libgcc/83112
3239 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3240 correct type for all ifunc resolvers to silence -Wattribute-alias
3241 warnings. Eliminate the forward declaration of the resolver
3242 functions which is no longer needed.
3243 (__subkf3_resolve): Likewise.
3244 (__mulkf3_resolve): Likewise.
3245 (__divkf3_resolve): Likewise.
3246 (__negkf2_resolve): Likewise.
3247 (__eqkf2_resolve): Likewise.
3248 (__nekf2_resolve): Likewise.
3249 (__gekf2_resolve): Likewise.
3250 (__gtkf2_resolve): Likewise.
3251 (__lekf2_resolve): Likewise.
3252 (__ltkf2_resolve): Likewise.
3253 (__unordkf2_resolve): Likewise.
3254 (__extendsfkf2_resolve): Likewise.
3255 (__extenddfkf2_resolve): Likewise.
3256 (__trunckfsf2_resolve): Likewise.
3257 (__trunckfdf2_resolve): Likewise.
3258 (__fixkfsi_resolve): Likewise.
3259 (__fixkfdi_resolve): Likewise.
3260 (__fixunskfsi_resolve): Likewise.
3261 (__fixunskfdi_resolve): Likewise.
3262 (__floatsikf_resolve): Likewise.
3263 (__floatdikf_resolve): Likewise.
3264 (__floatunsikf_resolve): Likewise.
3265 (__floatundikf_resolve): Likewise.
3266 (__extendkftf2_resolve): Likewise.
3267 (__trunctfkf2_resolve): Likewise.
3268
3269 PR libgcc/83103
3270 * config/rs6000/quad-float128.h (TF): Don't define if long double
3271 is IEEE 128-bit floating point.
3272 (TCtype): Define as either TCmode or KCmode, depending on whether
3273 long double is IEEE 128-bit floating point.
3274 (__mulkc3_sw): Add declarations for software/hardware versions of
3275 complex multiply/divide.
3276 (__divkc3_sw): Likewise.
3277 (__mulkc3_hw): Likewise.
3278 (__divkc3_hw): Likewise.
3279 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3280 handlers to switch between using software emulation and hardware
3281 float128 instructions, build the complex multiply/divide functions
3282 for both software and hardware support.
3283 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3284 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3285 (__divkc3_resolve): Likewise.
3286 (__mulkc3): Likewise.
3287 (__divkc3): Likewise.
3288 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3289 (fp128_hw_src): Likewise.
3290 (fp128_hw_static_obj): Likewise.
3291 (fp128_hw_shared_obj): Likewise.
3292 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3293 _mulkc3.c and _divkc3.c, changing the function name.
3294 (_divkc3-hw.c): Likewise.
3295 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3296 and _divkc3-hw.c.
3297
3298 2017-11-26 Julia Koval <julia.koval@intel.com>
3299
3300 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3301 * config/i386/cpuinfo.h (processor_subtypes): Add
3302 INTEL_COREI7_CANNONLAKE.
3303
3304 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3305
3306 PR bootstrap/83015
3307 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3308 parameter.
3309 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3310 * config/ia64/unwind-ia64.c: Add frames parameter.
3311 * unwind-sjlj.c: Likewise.
3312
3313 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3314
3315 * config/i386/linux-unwind.h: Include
3316 config/i386/shadow-stack-unwind.h.
3317 * config/i386/shadow-stack-unwind.h: New file.
3318 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3319 pass it to _Unwind_Frames_Extra.
3320 * unwind-generic.h (_Unwind_Frames_Extra): New.
3321 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3322 parameter. Add local variable frames to count number of frames.
3323 (_Unwind_ForcedUnwind_Phase2): Likewise.
3324 (_Unwind_RaiseException): Add local variable frames to count
3325 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3326 uw_install_context.
3327 (_Unwind_ForcedUnwind): Likewise.
3328 (_Unwind_Resume): Likewise.
3329 (_Unwind_Resume_or_Rethrow): Likewise.
3330
3331 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3332
3333 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3334 (CET_FLAGS): New.
3335 * config/i386/morestack.S: Include <cet.h>.
3336 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3337 * config/i386/resms64.h: Include <cet.h>.
3338 * config/i386/resms64f.h: Likewise.
3339 * config/i386/resms64fx.h: Likewise.
3340 * config/i386/resms64x.h: Likewise.
3341 * config/i386/savms64.h: Likewise.
3342 * config/i386/savms64f.h: Likewise.
3343 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3344 (CRTSTUFF_T_CFLAGS): Likewise.
3345 * configure.ac: Include ../config/cet.m4.
3346 Set and substitute CET_FLAGS.
3347 * configure: Regenerated.
3348
3349 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3350
3351 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3352 renaming.
3353 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3354 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3355 * configure: Regenerate.
3356
3357 2017-11-07 Tom de Vries <tom@codesourcery.com>
3358
3359 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3360 after "do {} while (0)".
3361
3362 2017-11-07 Tom de Vries <tom@codesourcery.com>
3363
3364 PR other/82784
3365 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3366 semicolon after "do {} while (0)".
3367 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3368 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3369 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3370 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3371
3372 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3373
3374 PR libgcc/82635
3375 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3376 sysctl to determine whether we're in a trampoline.
3377 Keep the pattern matching method for systems without
3378 KERN_PROC_SIGTRAMP sysctl.
3379
3380 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3381 Vineet Gupta <vgupta@synopsys.com>
3382
3383 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3384 * config/arc/linux-unwind-reg.def: New file.
3385 * config/arc/linux-unwind-reg.h: Likewise.
3386
3387 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3388
3389 * config/rl78/subdi3.S: New assembly file.
3390 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3391
3392 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3393
3394 * config/rl78/adddi3.S: New assembly file.
3395 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3396
3397 2017-10-13 Jakub Jelinek <jakub@redhat.com>
3398
3399 PR target/82274
3400 * libgcc2.c (__mulvDI3): If both operands have
3401 the same highpart of -1 and the topmost bit of lowpart is 0,
3402 multiplication overflows even if both lowparts are 0.
3403
3404 2017-09-28 James Bowman <james.bowman@ftdichip.com>
3405
3406 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3407
3408 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3409
3410 * config/microblaze/crti.S, config/microblaze/crtn.S,
3411 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3412 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3413 config/microblaze/mulsi3.S,
3414 config/microblaze/stack_overflow_exit.S,
3415 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3416 config/pa/milli64.S: Add .note.GNU-stack section.
3417
3418 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
3419
3420 * configure.ac: Add Check for HAVE_AS_AVX.
3421 * config.in: Regenerate.
3422 * configure: Likewise.
3423 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3424 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3425 Correct out-of-date comments.
3426
3427 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3428
3429 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3430 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3431
3432 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
3433
3434 * config/i386/i386-asm.h (PASTE2): New macro.
3435 (ASMNAME): Modify to use PASTE2.
3436 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3437 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3438 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3439 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3440 * config/i386/resms64f.S: Likewise.
3441 * config/i386/resms64fx.S: Likewise.
3442 * config/i386/resms64x.S: Likewise.
3443 * config/i386/savms64.S: Likewise.
3444 * config/i386/savms64f.S: Likewise.
3445 * config/i386/avx_resms64.S: New file that only defines a macro and
3446 includes it's corresponding header file.
3447 * config/i386/avx_resms64f.S: Likewise.
3448 * config/i386/avx_resms64fx.S: Likewise.
3449 * config/i386/avx_resms64x.S: Likewise.
3450 * config/i386/avx_savms64.S: Likewise.
3451 * config/i386/avx_savms64f.S: Likewise.
3452 * config/i386/sse_resms64.S: Likewise.
3453 * config/i386/sse_resms64f.S: Likewise.
3454 * config/i386/sse_resms64fx.S: Likewise.
3455 * config/i386/sse_resms64x.S: Likewise.
3456 * config/i386/sse_savms64.S: Likewise.
3457 * config/i386/sse_savms64f.S: Likewise.
3458 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3459
3460 2017-09-01 Olivier Hainque <hainque@adacore.com>
3461 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3462
3463 2017-08-31 Olivier Hainque <hainque@adacore.com>
3464
3465 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3466 match as powerpc-wrs-vxworks*.
3467
3468 2017-08-07 Jonathan Yong <10walls@gmail.com>
3469
3470 * config.host (*-cygwin): Include file from mingw
3471 config/i386/enable-execute-stack-mingw32.c
3472
3473 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
3474 Doug Rupp <rupp@adacore.com>
3475 Olivier Hainque <hainque@adacore.com>
3476
3477 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3478 as well as arm-wrs-vxworks.
3479 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3480 LIB2ADDEH.
3481 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3482 __exidx_start and __exidx_end for downloadable modules.
3483
3484 2017-08-01 Olivier Hainque <hainque@adacore.com>
3485
3486 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3487 * config/t-vxworks7: Likewise.
3488
3489 2017-08-01 Olivier Hainque <hainque@adacore.com>
3490
3491 * config/t-vxworks: Instead of redefining LIB2ADD,
3492 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3493
3494 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3495
3496 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3497
3498 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
3499
3500 PR testsuite/80759
3501 * config.host: include i386/t-msabi for darwin and solaris.
3502 * config/i386/i386-asm.h
3503 (ELFFN): Rename to FN_TYPE.
3504 (FN_SIZE): New macro.
3505 (FN_HIDDEN): Likewise.
3506 (ASMNAME): Likewise.
3507 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3508 .globl.
3509 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3510 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3511 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3512 .macro.
3513 * config/i386/resms64f.S: Likewise.
3514 * config/i386/resms64fx.S: Likewise.
3515 * config/i386/resms64x.S: Likewise.
3516 * config/i386/savms64.S: Likewise.
3517 * config/i386/savms64f.S: Likewise.
3518
3519 2017-07-19 John Marino <gnugcc@marino.st>
3520
3521 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3522
3523 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3524
3525 PR target/81193
3526 * configure.ac (PowerPC float128 hardware support): Test whether
3527 we can use __builtin_cpu_supports before enabling the ifunc
3528 handler.
3529 * configure: Regenerate.
3530
3531 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
3532
3533 * config.host: Remove uclibc from arc target spec.
3534
3535 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3536
3537 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3538
3539 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3540
3541 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3542 (have_ieee_hw_p): Delete function.
3543 (SW_OR_HW) Use __builtin_cpu_supports().
3544
3545 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3546
3547 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3548
3549 2017-07-03 Olivier Hainque <hainque@adacore.com>
3550
3551 * config/t-vxworks7: New file, really.
3552
3553 2017-06-28 Joseph Myers <joseph@codesourcery.com>
3554
3555 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3556 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3557 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3558 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3559 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3560 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3561 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3562 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3563 config/sh/linux-unwind.h (sh_fallback_frame_state),
3564 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3565 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3566 ucontext_t instead of struct ucontext.
3567
3568 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
3569
3570 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3571 (x86_64-wrs-vxworks7): Likewise.
3572
3573 2017-06-27 Olivier Hainque <hainque@adacore.com>
3574
3575 * config/t-vxworks7: New file.
3576 * config.host (*-*-vxworks7): Use it.
3577
3578 2017-06-22 Matt Turner <mattst88@gmail.com>
3579
3580 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3581 skylake case.
3582
3583 2017-06-21 Richard Biener <rguenther@suse.de>
3584
3585 PR gcov-profile/81080
3586 * configure.ac: Add AC_SYS_LARGEFILE.
3587 * libgcov.h: Include auto-target.h before tsystem.h to pick
3588 up _FILE_OFFSET_BITS which might differ for multilibs.
3589 * config.in: Regenerate.
3590 * configure: Likewise.
3591
3592 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
3593
3594 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3595
3596 2017-06-09 Martin Liska <mliska@suse.cz>
3597
3598 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3599 Reset __gcov_indirect_call_callee to NULL.
3600
3601 2017-06-08 Olivier Hainque <hainque@adacore.com>
3602
3603 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3604 the set of -I options, support for direct inclusions of net/uio.h
3605 by VxWorks header files via ioLib.h.
3606
3607 2017-06-07 Tony Reix <tony.reix@atos.net>
3608 Matthieu Sarter <matthieu.sarter.external@atos.net>
3609 David Edelsohn <dje.gcc@gmail.com>
3610
3611 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3612 unconditionally.
3613 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3614 AIX 7.2 support.
3615
3616 2017-06-02 Olivier Hainque <hainque@adacore.com>
3617
3618 * config/vxlib.c (__gthread_once): Add missing value to
3619 return statement.
3620
3621 2017-05-30 Olivier Hainque <hainque@adacore.com>
3622
3623 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3624 dollar sign before $(MULTIDIR).
3625
3626 2017-05-26 Richard Henderson <rth@redhat.com>
3627
3628 PR libgcc/80037
3629 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3630
3631 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3632
3633 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3634 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3635 * config/arm/unwind-arm.c: Implement the above.
3636
3637 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3638
3639 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3640 section for a non-executable stack.
3641
3642 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3643
3644 PR target/80600
3645 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3646
3647 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
3648
3649 * config.host: Add i386/t-msabi to i386/t-linux file list.
3650 * config/i386/i386-asm.h: New file.
3651 * config/i386/resms64.S: New file.
3652 * config/i386/resms64f.S: New file.
3653 * config/i386/resms64fx.S: New file.
3654 * config/i386/resms64x.S: New file.
3655 * config/i386/savms64.S: New file.
3656 * config/i386/savms64f.S: New file.
3657 * config/i386/t-msabi: New file.
3658
3659 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3660
3661 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3662 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3663
3664 2017-05-05 Joshua Conner <joshconner@google.com>
3665
3666 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3667 pc-relative indirect handling for fuchsia.
3668 * config/t-slibgcc-fuchsia: New file.
3669 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3670 x86_64-*-fuchsia*): Add definitions.
3671
3672 2017-04-19 Martin Liska <mliska@suse.cz>
3673
3674 PR gcov-profile/80435
3675 * Makefile.in: Install gcov.h.
3676 * gcov.h: New file.
3677 * libgcov.h: Use the header and make __gcov_flush publicly
3678 visible.
3679
3680 2017-04-18 Martin Liska <mliska@suse.cz>
3681
3682 PR gcov-profile/78783
3683 * libgcov-driver.c (gcov_get_filename): New function.
3684
3685 2017-04-07 Jeff Law <law@redhat.com>
3686
3687 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3688 target makefile fragment.
3689 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3690
3691 2017-04-07 Alan Modra <amodra@gmail.com>
3692
3693 PR target/45053
3694 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3695
3696 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
3697
3698 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3699
3700 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3701
3702 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3703
3704 2017-03-10 John Marino <gnugcc@marino.st>
3705
3706 * config/aarch64/freebsd-unwind.h: New file.
3707 * config.host: Add aarch64-*-freebsd unwinder.
3708
3709 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3710
3711 * config/rs6000/crtrestvr.s: Use .machine altivec.
3712 * config/rs6000/crtsavevr.s: Ditto.
3713
3714 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3715
3716 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3717 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3718 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3719 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3720 * configure: Regenerate.
3721 * config.in: Regenerate.
3722
3723 2017-03-02 Jonathan Yong <10walls@gmail.com>
3724
3725 * config/i386/gthr-win32.h: Define NOGDI before
3726 windows.h include to prevent w32api CC_NONE macro
3727 clash with libgfortran.
3728
3729 2017-03-02 Jonathan Yong <10walls@gmail.com>
3730
3731 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3732
3733 2017-02-16 Andrew Pinski <apinski@cavium.com>
3734
3735 * config/aarch64/value-unwind.h: New file.
3736 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3737 to tm_file.
3738
3739 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3740
3741 * config.host: Add RISC-V tuples.
3742 * config/riscv/atomic.c: New file.
3743 * config/riscv/crti.S: Likewise.
3744 * config/riscv/crtn.S: Likewise.
3745 * config/riscv/div.S: Likewise.
3746 * config/riscv/linux-unwind.h: Likewise.
3747 * config/riscv/muldi3.S: Likewise.
3748 * config/riscv/multi3.S: Likewise.
3749 * config/riscv/save-restore.S: Likewise.
3750 * config/riscv/sfp-machine.h: Likewise.
3751 * config/riscv/t-elf: Likewise.
3752 * config/riscv/t-elf32: Likewise.
3753 * config/riscv/t-elf64: Likewise.
3754 * config/riscv/t-softfp32: Likewise.
3755 * config/riscv/t-softfp64: Likewise.
3756
3757 2017-01-24 Jakub Jelinek <jakub@redhat.com>
3758
3759 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3760 /* FALLTHRU */ comments.
3761
3762 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3763
3764 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3765
3766 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3767
3768 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3769 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3770 DW_CFA_GNU_window_save for AArch64 and LP64.
3771
3772 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3773
3774 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3775
3776 2017-01-19 Jiong Wang <jiong.wang@arm.com>
3777
3778 * config/aarch64/aarch64-unwind.h: New file.
3779 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3780 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3781 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3782 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3783 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3784 (aarch64_post_extract_frame_addr): New function.
3785 (aarch64_post_frob_eh_handler_addr): New function.
3786 (aarch64_frob_update_context): New function.
3787 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3788 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3789 aarch64*-*-freebsd*):
3790 Initialize md_unwind_header to include aarch64-unwind.h.
3791 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3792 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3793 __aarch64__.
3794 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3795 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3796 (uw_frob_return_addr): New function.
3797 (uw_install_context): Use uw_frob_return_addr.
3798
3799 2017-01-17 Jakub Jelinek <jakub@redhat.com>
3800
3801 PR other/79046
3802 * configure.ac: Add GCC_BASE_VER.
3803 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3804 version from BASE-VER file.
3805 * configure: Regenerated.
3806
3807 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
3808
3809 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3810 libmul_f5.a): Filter archived prerequisites.
3811
3812 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3813
3814 * config/i386/cpuinfo.h (processor_features): Add
3815 FEATURE_AVX512VPOPCNTDQ.
3816 * config/i386/cpuinfo.c (get_available_features): Habdle new
3817 feature.
3818
3819 2017-01-04 Joseph Myers <joseph@codesourcery.com>
3820
3821 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3822 payload if [__mips_nan2008].
3823
3824 2017-01-04 Alan Modra <amodra@gmail.com>
3825
3826 * Makefile.in (configure_deps): Update.
3827 * configure: Regenerate.
3828
3829 2017-01-01 Jakub Jelinek <jakub@redhat.com>
3830
3831 Update copyright years.
3832
3833 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3834
3835 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3836 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3837 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3838
3839 2016-12-17 Matthias Klose <doko@ubuntu.com>
3840
3841 * config/arc/gmon: Remove empty directory.
3842
3843 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3844
3845 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3846 crtgend.
3847 (arc*-*-elf*): Likewise.
3848 * config/arc/t-arc: Remove old gmon lib targets.
3849 * config/arc/crtg.S: Remove.
3850 * config/arc/crtgend.S: Likewise.
3851 * config/arc/gmon/atomic.h: Likewise.
3852 * config/arc/gmon/auxreg.h: Likewise.
3853 * config/arc/gmon/dcache_linesz.S: Likewise.
3854 * config/arc/gmon/gmon.c: Likewise.
3855 * config/arc/gmon/machine-gmon.h: Likewise.
3856 * config/arc/gmon/mcount.c: Likewise.
3857 * config/arc/gmon/prof-freq-stub.S: Likewise.
3858 * config/arc/gmon/prof-freq.c: Likewise.
3859 * config/arc/gmon/profil.S: Likewise.
3860 * config/arc/gmon/sys/gmon.h: Likewise.
3861 * config/arc/gmon/sys/gmon_out.h: Likewise.
3862 * config/arc/t-arc-newlib: Likewise.
3863 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3864
3865 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3866
3867 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3868
3869 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3870
3871 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3872 R16 instead of push + pop.
3873 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3874
3875 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3876
3877 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3878 tmake_file.
3879
3880 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3881
3882 * config.host (arc*-*-linux-uclibc*): Use default extra
3883 objects. Include linux-android header.
3884 * config/arc/crti.S (_init): Declare symbol as function.
3885 (_fini): Likewise.
3886
3887 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3888
3889 PR fortran/78379
3890 * config/i386/cpuinfo.c: Move denums for processor vendors,
3891 processor type, processor subtypes and declaration of
3892 struct __processor_model into
3893 * config/i386/cpuinfo.h: New header file.
3894
3895 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3896 Thomas Preud'homme <thomas.preudhomme@arm.com>
3897
3898 * config/arm/cmse_nonsecure_call.S: New.
3899 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3900
3901 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3902 Thomas Preud'homme <thomas.preudhomme@arm.com>
3903
3904 * config/arm/t-arm (HAVE_CMSE): New.
3905 * config/arm/cmse.c: New.
3906
3907 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3908
3909 PR gcc/74748
3910 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3911 use generic linker version information on Blackfin.
3912
3913 PR gcc/74748
3914 * libgcc/mkmap-symver.awk: add support for skip_underscore
3915
3916 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3917 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3918
3919 PR target/67710
3920 * config/t-darwin: Default builds to 10.5 codegen.
3921
3922 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3923
3924 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3925 (_FP_NANSIGN_H): Likewise.
3926 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3927 (softfp_truncations): Add tfhf.
3928 (softfp_extras): Add required conversion functions.
3929
3930 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3931 Matthew Wahab <matthew.wahab@arm.com>
3932
3933 * config/arm/fp16.c (binary64): New.
3934 (__gnu_d2h_internal): New.
3935 (__gnu_d2h_ieee): New.
3936 (__gnu_d2h_alternative): New.
3937
3938 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3939 Matthew Wahab <matthew.wahab@arm.com>
3940
3941 * config/arm/fp16.c (struct format): New.
3942 (binary32): New.
3943 (__gnu_float2h_internal): New. Body moved from
3944 __gnu_f2h_internal and generalize.
3945 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3946 Call it with binary32.
3947
3948 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3949
3950 * soft-fp/extendhftf2.c: Update from glibc.
3951 * soft-fp/fixhfti.c: Likewise.
3952 * soft-fp/fixunshfti.c: Likewise.
3953 * soft-fp/floattihf.c: Likewise.
3954 * soft-fp/floatuntihf.c: Likewise.
3955 * soft-fp/half.h: Likewise.
3956 * soft-fp/trunctfhf2.c: Likewise.
3957
3958 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3959
3960 PR libgcc/77813
3961 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3962 __TMC_END__ behind a passthrough asm.
3963
3964 2016-11-18 Walter Lee <walt@tilera.com>
3965
3966 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3967
3968 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3969
3970 * config/i386/cpuinfo.c (processor_features): Add
3971 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3972
3973 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3974
3975 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3976 (__ARC_NORM__): Use instead ARC_OPTFPE.
3977 * config/arc/fp-hack.h: Likewise.
3978 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3979 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3980
3981 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3982
3983 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3984 * config/nvptx/mgomp.c: New file.
3985 * config/nvptx/t-nvptx: Add mgomp.c
3986
3987 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3988
3989 PR libgcc/68468
3990 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3991
3992 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3993
3994 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3995 of checking for cpus.
3996 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3997 (__modsi3, __clzsi2): Likewise.
3998
3999 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4000
4001 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4002 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4003 * config/i386/t-cpuinfo-static: New.
4004
4005 2016-11-03 Martin Liska <mliska@suse.cz>
4006
4007 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4008 (__gcov_time_profiler_atomic): Likewise.
4009
4010 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4011
4012 PR libgcc/78067
4013 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4014 count_leading_zeros.
4015
4016 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
4017
4018 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4019 * libgcc2.c (__divmoddi4): New function.
4020 * libgcc2.h (__divmoddi4): Declare.
4021 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4022 and __PFX_divmodti4.
4023
4024 2016-10-24 Florian Weimer <fweimer@redhat.com>
4025
4026 PR libgcc/78064
4027 * unwind-c.c: Include auto-target.h.
4028
4029 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
4030
4031 * config/pa/pa64-hpux-lib.h: New file.
4032 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4033 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4034 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4035 hppa*64*-*-hpux11*.
4036
4037 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4038
4039 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4040 definition.
4041 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4042 definition.
4043 * config/xtensa/t-windowed (LIB2ADDEH): Use
4044 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4045 or xtensa/t-linux.
4046
4047 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4048
4049 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4050 __ieee754_sqrt): New functions.
4051 (__divdf3): Add implementation with new FPU instructions under
4052 #if XCHAL_HAVE_DFP_DIV.
4053 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4054 __ieee754_sqrtf): New functions.
4055 (__divsf3): Add implementation with new FPU instructions under
4056 #if XCHAL_HAVE_FP_DIV.
4057 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4058 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4059
4060 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4061
4062 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4063 equivalent.
4064 * config/tilepro/atomic.c: Likewise and stop casting model to
4065 enum memmodel.
4066
4067 2016-10-10 Joseph Myers <joseph@codesourcery.com>
4068
4069 PR target/77586
4070 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4071 soft-fp.
4072
4073 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4074
4075 * config.host: Add support for aarch64-*-freebsd*.
4076
4077 2016-10-05 Andreas Schwab <schwab@suse.de>
4078
4079 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4080 (.section .init_array): Don't call __do_jv_register_classes.
4081 (.section .init): Likewise.
4082
4083 2016-10-04 Jakub Jelinek <jakub@redhat.com>
4084
4085 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4086 (__JCR_LIST__): Remove.
4087 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4088 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4089 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4090 * config/ia64/crtend.S (__JCR_END__): Remove.
4091 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4092 conditionals.
4093 (__JCR_LIST__, __JCR_END__): Remove.
4094 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4095 (__do_global_ctors_1): Likewise.
4096
4097 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
4098
4099 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4100 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4101
4102 2016-09-27 Martin Liska <mliska@suse.cz>
4103
4104 PR gcov-profile/7970
4105 PR gcov-profile/16855
4106 PR gcov-profile/44779
4107 * libgcov-driver.c (__gcov_init): Do not register a atexit
4108 handler.
4109 (__gcov_exit): Rename from gcov_exit.
4110 * libgcov.h (__gcov_exit): Declare.
4111
4112 2016-09-27 Martin Liska <mliska@suse.cz>
4113
4114 PR bootstrap/77749
4115 * Makefile.in: Remove _gcov_merge_delta.
4116 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4117 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4118 * libgcov.h: Remove declaration of __gcov_merge_delta.
4119
4120 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4121
4122 * configure.ac: Do not create links, only substitute the filenames.
4123 * configure: Regenerate.
4124 * Makefile.in: Assign the substitution results to variables.
4125 (LIBGCC_LINKS): Define.
4126 (enable-execute-stack.c): New rule.
4127 (unwind.h): Likewise.
4128 (md-unwind-support.h): Likewise.
4129 (sfp-machine.h): Likewise.
4130 (gthr-default.h): Likewise.
4131 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4132 unwind.h as prerequisite of install-unwind_h-forbuild.
4133
4134 2016-09-16 Jakub Jelinek <jakub@redhat.com>
4135
4136 PR libgcc/71744
4137 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4138 is not the primary registry and atomics are available.
4139 (any_objects_registered): New variable.
4140 (__register_frame_info_bases, __register_frame_info_table_bases):
4141 Atomically store 1 to any_objects_registered after registering first
4142 unwind info.
4143 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4144
4145 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4146
4147 PR target/63250
4148 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4149 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4150 (HFtype): Likewise.
4151 (HCtype): Likewise.
4152 (__divhc3): Likewise.
4153 (__mulhc3): Likewise.
4154 * libgcc2.c: Support _mulhc3 and _divhc3.
4155
4156 2016-09-07 Joseph Myers <joseph@codesourcery.com>
4157
4158 PR libgcc/77519
4159 * libgcc2.c (NOTRUNC): Invert settings.
4160
4161 2016-09-06 Martin Liska <mliska@suse.cz>
4162
4163 PR gcov-profile/77378
4164 PR gcov-profile/77466
4165 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4166 conditionaly enable/disable *_atomic functions.
4167
4168 2016-08-26 Joseph Myers <joseph@codesourcery.com>
4169
4170 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4171 where not already enabled.
4172
4173 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4174
4175 * config/mips/linux-unwind.h: Use sys/syscall.h.
4176
4177 2016-08-16 Joseph Myers <joseph@codesourcery.com>
4178
4179 PR libgcc/77265
4180 * soft-fp/adddf3.c: Update from glibc.
4181 * soft-fp/addsf3.c: Likewise.
4182 * soft-fp/addtf3.c: Likewise.
4183 * soft-fp/divdf3.c: Likewise.
4184 * soft-fp/divsf3.c: Likewise.
4185 * soft-fp/divtf3.c: Likewise.
4186 * soft-fp/double.h: Likewise.
4187 * soft-fp/eqdf2.c: Likewise.
4188 * soft-fp/eqsf2.c: Likewise.
4189 * soft-fp/eqtf2.c: Likewise.
4190 * soft-fp/extenddftf2.c: Likewise.
4191 * soft-fp/extended.h: Likewise.
4192 * soft-fp/extendsfdf2.c: Likewise.
4193 * soft-fp/extendsftf2.c: Likewise.
4194 * soft-fp/extendxftf2.c: Likewise.
4195 * soft-fp/fixdfdi.c: Likewise.
4196 * soft-fp/fixdfsi.c: Likewise.
4197 * soft-fp/fixdfti.c: Likewise.
4198 * soft-fp/fixsfdi.c: Likewise.
4199 * soft-fp/fixsfsi.c: Likewise.
4200 * soft-fp/fixsfti.c: Likewise.
4201 * soft-fp/fixtfdi.c: Likewise.
4202 * soft-fp/fixtfsi.c: Likewise.
4203 * soft-fp/fixtfti.c: Likewise.
4204 * soft-fp/fixunsdfdi.c: Likewise.
4205 * soft-fp/fixunsdfsi.c: Likewise.
4206 * soft-fp/fixunsdfti.c: Likewise.
4207 * soft-fp/fixunssfdi.c: Likewise.
4208 * soft-fp/fixunssfsi.c: Likewise.
4209 * soft-fp/fixunssfti.c: Likewise.
4210 * soft-fp/fixunstfdi.c: Likewise.
4211 * soft-fp/fixunstfsi.c: Likewise.
4212 * soft-fp/fixunstfti.c: Likewise.
4213 * soft-fp/floatdidf.c: Likewise.
4214 * soft-fp/floatdisf.c: Likewise.
4215 * soft-fp/floatditf.c: Likewise.
4216 * soft-fp/floatsidf.c: Likewise.
4217 * soft-fp/floatsisf.c: Likewise.
4218 * soft-fp/floatsitf.c: Likewise.
4219 * soft-fp/floattidf.c: Likewise.
4220 * soft-fp/floattisf.c: Likewise.
4221 * soft-fp/floattitf.c: Likewise.
4222 * soft-fp/floatundidf.c: Likewise.
4223 * soft-fp/floatundisf.c: Likewise.
4224 * soft-fp/floatunditf.c: Likewise.
4225 * soft-fp/floatunsidf.c: Likewise.
4226 * soft-fp/floatunsisf.c: Likewise.
4227 * soft-fp/floatunsitf.c: Likewise.
4228 * soft-fp/floatuntidf.c: Likewise.
4229 * soft-fp/floatuntisf.c: Likewise.
4230 * soft-fp/floatuntitf.c: Likewise.
4231 * soft-fp/gedf2.c: Likewise.
4232 * soft-fp/gesf2.c: Likewise.
4233 * soft-fp/getf2.c: Likewise.
4234 * soft-fp/ledf2.c: Likewise.
4235 * soft-fp/lesf2.c: Likewise.
4236 * soft-fp/letf2.c: Likewise.
4237 * soft-fp/muldf3.c: Likewise.
4238 * soft-fp/mulsf3.c: Likewise.
4239 * soft-fp/multf3.c: Likewise.
4240 * soft-fp/negdf2.c: Likewise.
4241 * soft-fp/negsf2.c: Likewise.
4242 * soft-fp/negtf2.c: Likewise.
4243 * soft-fp/op-1.h: Likewise.
4244 * soft-fp/op-2.h: Likewise.
4245 * soft-fp/op-4.h: Likewise.
4246 * soft-fp/op-8.h: Likewise.
4247 * soft-fp/op-common.h: Likewise.
4248 * soft-fp/quad.h: Likewise.
4249 * soft-fp/single.h: Likewise.
4250 * soft-fp/soft-fp.h: Likewise.
4251 * soft-fp/subdf3.c: Likewise.
4252 * soft-fp/subsf3.c: Likewise.
4253 * soft-fp/subtf3.c: Likewise.
4254 * soft-fp/truncdfsf2.c: Likewise.
4255 * soft-fp/trunctfdf2.c: Likewise.
4256 * soft-fp/trunctfsf2.c: Likewise.
4257 * soft-fp/trunctfxf2.c: Likewise.
4258 * soft-fp/unorddf2.c: Likewise.
4259 * soft-fp/unordsf2.c: Likewise.
4260 * soft-fp/unordtf2.c: Likewise.
4261
4262 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4263
4264 PR gcov-profile/67097
4265 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4266
4267 2016-08-10 Martin Liska <mliska@suse.cz>
4268
4269 PR gcov-profile/58306
4270 * Makefile.in: New functions (modules) are added.
4271 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4272 function.
4273 (__gcov_pow2_profiler_atomic): New function.
4274 (__gcov_one_value_profiler_body): New argument is instroduced.
4275 (__gcov_one_value_profiler): Call with the new argument.
4276 (__gcov_one_value_profiler_atomic): Likewise.
4277 (__gcov_indirect_call_profiler_v2): Likewise.
4278 (__gcov_time_profiler_atomic): New function.
4279 (__gcov_average_profiler_atomic): Likewise.
4280 (__gcov_ior_profiler_atomic): Likewise.
4281 * libgcov.h: Declare the aforementioned functions.
4282
4283 2016-08-09 Martin Liska <mliska@suse.cz>
4284
4285 * libgcov-util.c: Fix typo and GNU coding style.
4286
4287 2016-08-09 Martin Liska <mliska@suse.cz>
4288
4289 * Makefile.in: Remove __gcov_indirect_call_profiler.
4290 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4291 function.
4292 * libgcov.h: And the declaration of the function.
4293
4294 2016-08-09 Martin Liska <mliska@suse.cz>
4295
4296 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4297 power of two.
4298
4299 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4300
4301 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4302 * config/rs6000/_mulkc3.c: Likewise.
4303
4304 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
4305
4306 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4307 zero_reg as previous call to __umulhisi3 already cleared it.
4308
4309 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4310
4311 PR target/59833
4312 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4313
4314 2016-07-19 Nick Clifton <nickc@redhat.com>
4315
4316 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4317 Add crtinit.o and crtfini.o to extra_parts.
4318
4319 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4320
4321 * config/rs6000/_divkc3.c: New.
4322 * config/rs6000/_mulkc3.c: New.
4323 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4324 and _divkc3.
4325 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4326 fp128_ppc_funcs.
4327
4328 2016-07-11 Hale Wang <hale.wang@arm.com>
4329 Andre Vieira <andre.simoesdiasvieira@arm.com>
4330
4331 * config/arm/lib1funcs.S: Add new wrapper.
4332
4333 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4334
4335 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4336
4337 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4338
4339 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4340 and ARMv5t* rather than for a fixed list of architectures.
4341
4342 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4343
4344 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4345 implementation suitable for.
4346 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4347 for all Thumb-1 only targets.
4348 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4349 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4350 __ARM_ARCH_6M__.
4351 (EQUIV): Likewise.
4352 (ARM_FUNC_ALIAS): Likewise.
4353 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4354 version.
4355 (modsi3): Likewise.
4356 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4357 (clzdi2): Likewise.
4358 (ctzsi2): Likewise.
4359 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4360 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4361 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4362 __ARM_ARCH_6M__ and add comment to indicate the connection between
4363 this condition and the one in gcc/config/arm/elf.h.
4364 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4365 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4366 * config/arm/t-softfp: Likewise.
4367
4368 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4369
4370 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4371 CTOR_LISTS_DEFINED_EXTERNALLY.
4372
4373 2016-06-28 Walter Lee <walt@tilera.com>
4374
4375 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4376 asm/unistd.h.
4377 (SPR_CMPEXCH_VALUE): Define for tilegx.
4378 (__NR_FAST_cmpxchg): Define for tilepro.
4379 (__NR_FAST_atomic_update): Define for tilepro.
4380 (__NR_FAST_cmpxchg64): Define for tilepro.
4381
4382 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4383
4384 * config.host: Add suport for arm*-*-phoenix* targets.
4385
4386 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4387
4388 * config.host: Remove support for mep-*.
4389 * config/mep/lib1funcs.S: Remove.
4390 * config/mep/lib2funcs.c: Remove.
4391 * config/mep/t-mep: Remove.
4392 * config/mep/tramp.c: Remove.
4393
4394 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4395
4396 * config.host: Remove support for avr-rtems.
4397 * config/avr/t-rtems: Remove.
4398
4399 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4400
4401 * config.host: Remove m32r-rtems support.
4402
4403 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4404
4405 * config.host: Remove h8300-rtems support.
4406
4407 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4408
4409 * config.host: Remove support for knetbsd.
4410
4411 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4412
4413 * config.host: Remove support for openbsd 2 and 3.
4414
4415 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4416
4417 * config.host: Remove interix support.
4418 * config/i386/t-interix: Remove.
4419
4420 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
4421
4422 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4423 least-significant bit in function pointer for fixup.
4424
4425 2016-06-05 Aaron Conole <aconole@redhat.com>
4426 Nathan Sidwell <nathan@acm.org>
4427
4428 PR libgcc/71400
4429 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4430 (get_gcov_error_file): Check __gcov_error_file before trying to
4431 initialize it.
4432 (gcov_error): Always use get_gcov_error_file.
4433
4434 2016-06-02 Aaron Conole <aconole@redhat.com>
4435
4436 * libgcov-driver-system.c (__gcov_error_file): New.
4437 (get_gcov_error_file): New.
4438 (gcov_error): Use and set __gcov_error_file.
4439 (gcov_error_exit): New.
4440 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4441
4442 2016-05-26 Nathan Sidwell <nathan@acm.org>
4443
4444 * config/nvptx/free.asm: Delete.
4445 * config/nvptx/malloc.asm: Delete.
4446 * config/nvptx/realloc.c: Delete.
4447 * t-nvptx: Update.
4448
4449 2016-05-25 Nathan Sidwell <nathan@acm.org>
4450
4451 * config/nvptx/crt0.s: Delete.
4452 * config/nvptx/crt0.c: New.
4453 * t-nvptx: Update.
4454
4455 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4456
4457 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4458 dw2/seh configuration.
4459 [x86_64-*-mingw*]: Likewise.
4460
4461 2016-05-10 Joel Sherrill <joel@rtems.org>
4462
4463 PR libgcc/70720
4464 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4465 targets so the same extra_parts are built. Also have tmake_file add
4466 on to its value rather than override.
4467
4468 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4469
4470 * config.host: Remove SH5 support.
4471 * configure: Likewise.
4472
4473 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4474
4475 * config/sh/crt1.S: Remove SH5 support.
4476 * config/sh/crti.S: Likewise.
4477 * config/sh/crtn.S: Likewise.
4478 * config/sh/lib1funcs-4-300.S: Likewise.
4479 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4480 * config/sh/lib1funcs.S: Likewise.
4481 * config/sh/linux-unwind.h: Likewise.
4482 * config/sh/t-sh64: Delete.
4483
4484 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4485
4486 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4487
4488 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4489 Joern Rennecke <joern.rennecke@embecosm.com>
4490
4491 * config/arc/crttls.S: New file.
4492 * config/arc/t-arc: New rule.
4493 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4494
4495 2016-04-25 Nick Clifton <nickc@redhat.com>
4496
4497 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4498 (__mspabi_cmpd): Likewise.
4499 * config/msp430/floathidf.c (__floathidf): Likewise.
4500 * config/msp430/floathisf.c (__floathisf): Likewise
4501 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4502 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4503 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4504 second parameter.
4505 (__ashrsi3): Likewise.
4506
4507 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4508
4509 * config/m68k/linux-atomic.c: Do not include unistd.h
4510
4511 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4512
4513 * config/arm/ieee754-df.S: Fix typos in comments.
4514
4515 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4516
4517 PR target/70381
4518 * configure.ac (powerpc*-*-linux*): Rework tests to build
4519 __float128 emulation routines to not depend on using #pragma GCC
4520 target to enable -mfloat128.
4521 * configure: Regnerate.
4522
4523 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4524
4525 PR target/67172
4526 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4527 __MINGW32__ is defined.
4528
4529 2016-03-28 James Bowman <james.bowman@ftdichip.com>
4530
4531 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4532
4533 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4534
4535 PR libgcc/70363
4536 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4537 built with an assembler that does not support ISA 3.0
4538 instructions, rename __extendkftf2_sw to __extendkftf2.
4539
4540 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4541
4542 PR target/38239
4543 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4544 call-clobbered registers.
4545 (internal_mcount): Remove __i386__ handling.
4546
4547 2016-02-26 Joel Sherrill <joel@rtems.org>
4548
4549 * config.host: Add x86_64-*-rtems*.
4550
4551 2016-02-26 Joel Sherrill <joel@rtems.org>
4552
4553 * libgcc/config.host: Add aarch64-*-rtems*.
4554
4555 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4556 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4557
4558 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4559 union of u64 and double.
4560 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4561 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4562 value.
4563 (FP_ROUNDMODE): Update the usage of _fpscr.
4564
4565 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4566
4567 PR driver/68463
4568 * Makefile.in (crtoffloadtable$(objext)): New rule.
4569 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4570 enable_offload_targets is not empty.
4571 * configure: Regenerate.
4572 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4573 crtoffloadtable.
4574
4575 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4576
4577 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4578 .literal_position before the function.
4579 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4580 Likewise.
4581
4582 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4583
4584 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4585 * config/s390/morestack.S: New file.
4586 * config/s390/t-stack-s390: New file.
4587 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4588
4589 2016-02-12 Walter Lee <walt@tilera.com>
4590
4591 * config.host (tilegx*-*-linux*): remove ti from
4592 softfp_int_modes for 32-bit configs.
4593
4594 2016-02-10 Ian Lance Taylor <iant@google.com>
4595
4596 PR go/68562
4597 * config/i386/morestack.S (__stack_split_initialize): Align
4598 stack.
4599
4600 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4601
4602 PR bootstrap/69611
4603 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4604 __FLOAT128__ to compile only for __float128 capable targets.
4605
4606 2016-01-25 Jakub Jelinek <jakub@redhat.com>
4607
4608 PR target/69444
4609 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4610 instead of ___NO_FPRS__.
4611
4612 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
4613 Steven Munroe <munroesj@linux.vnet.ibm.com>
4614 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4615
4616 * config/rs6000/float128-sed: New files to convert TF names to KF
4617 names for PowerPC IEEE 128-bit floating point support.
4618 * config/rs6000/float128-sed-hw: Likewise.
4619
4620 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4621 floating point hardware support.
4622
4623 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4624 128-bit floating point software emulation or use ISA 3.0 hardware
4625 support if it is available.
4626
4627 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4628 floating point.
4629
4630 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4631 floating point to IBM extended double.
4632
4633 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4634 double to IEEE 128-bit floating point.
4635
4636 * config/rs6000/t-float128: New Makefile fragments to enable
4637 building __float128 emulation support.
4638 * config/rs6000/t-float128-hw: Likewise.
4639
4640 * config/rs6000/sfp-exceptions.c: New file to provide exception
4641 support for IEEE 128-bit floating point.
4642
4643 * config/rs6000/floattikf.c: New files for converting between IEEE
4644 128-bit floating point and signed/unsigned 128-bit integers.
4645 * config/rs6000/fixunskfti.c: Likewise.
4646 * config/rs6000/fixkfti.c: Likewise.
4647 * config/rs6000/floatuntikf.c: Likewise.
4648
4649 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4650 when building on 64-bit systems, or when VSX is enabled.
4651 (_FP_W_TYPE): Likewise.
4652 (_FP_WS_TYPE): Likewise.
4653 (_FP_I_TYPE): Likewise.
4654 (TItype): Define on 64-bit systems.
4655 (UTItype): Likewise.
4656 (TI_BITS): Likewise.
4657 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4658 (_FP_MUL_MEAT_Q): Likewise.
4659 (_FP_DIV_MEAT_D): Likewise.
4660 (_FP_DIV_MEAT_Q): Likewise.
4661 (_FP_NANFRAC_D): Likewise.
4662 (_FP_NANFRAC_Q): Likewise.
4663 (ISA_BIT): Add exception support if we are being compiled on a
4664 machine with hardware floating point support to build the IEEE
4665 128-bit emulation functions.
4666 (FP_EX_INVALID): Likewise.
4667 (FP_EX_OVERFLOW): Likewise.
4668 (FP_EX_UNDERFLOW): Likewise.
4669 (FP_EX_DIVZERO): Likewise.
4670 (FP_EX_INEXACT): Likewise.
4671 (FP_EX_ALL): Likewise.
4672 (__sfp_handle_exceptions): Likewise.
4673 (FP_HANDLE_EXCEPTIONS): Likewise.
4674 (FP_RND_NEAREST): Likewise.
4675 (FP_RND_ZERO): Likewise.
4676 (FP_RND_PINF): Likewise.
4677 (FP_RND_MINF): Likewise.
4678 (FP_RND_MASK): Likewise.
4679 (_FP_DECL_EX): Likewise.
4680 (FP_INIT_ROUNDMODE): Likewise.
4681 (FP_ROUNDMODE): Likewise.
4682
4683 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4684 VSX code, enable IEEE 128-bit floating point. If the compiler can
4685 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4686 floating point hardware instructions and it supports declaring
4687 functions with the ifunc attribute, enable ifunc functions to
4688 switch between software and hardware support.
4689 * configure.ac (powerpc*-*-linux*): Likewise.
4690 * configure: Regenerate.
4691
4692 2016-01-15 Nick Clifton <nickc@redhat.com>
4693
4694 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4695 dependency as the source file to be compiled.
4696 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4697 (lib2hw_mul_f5.o): Likewise.
4698
4699 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4700
4701 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4702 * libgcc/config/rs6000/fixkfti.c: Likewise.
4703 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4704 * libgcc/config/rs6000/float128-hw.c: Likewise.
4705 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4706 * libgcc/config/rs6000/float128-sed: Likewise.
4707 * libgcc/config/rs6000/floattikf.c: Likewise.
4708 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4709 * libgcc/config/rs6000/quad-float128.h: Likewise.
4710 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4711 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4712 * libgcc/config/rs6000/t-float128: Likewise.
4713 * libgcc/config/rs6000/t-float128-hw: Likewise.
4714 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4715 * libgcc/config.host: Likewise.
4716 * libgcc/configure: Likewise.
4717 * libgcc/configure.ac: Likewise.
4718
4719 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4720 Steven Munroe <munroesj@linux.vnet.ibm.com>
4721 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4722
4723 * config/rs6000/sfp-exceptions.c: New file to provide exception
4724 support for IEEE 128-bit floating point.
4725
4726 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4727 floating point hardware support.
4728
4729 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4730 point conversions.
4731 * config/rs6000/fixunskfti.c: Likewise.
4732 * config/rs6000/fixkfti.c: Likewise.
4733 * config/rs6000/floatuntikf.c: Likewise.
4734 * config/rs6000/extendkftf2-sw.c: Likewise.
4735 * config/rs6000/trunctfkf2-sw.c: Likewise.
4736
4737 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4738 128-bit floating point software emulation or use ISA 3.0 hardware
4739 support if it is available.
4740
4741 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4742 floating point.
4743
4744 * config/rs6000/t-float128: New Makefile fragments to enable
4745 building __float128 emulation support.
4746 * config/rs6000/t-float128-hw: Likewise.
4747
4748 * config/rs6000/float128-sed: New file to convert TF names to KF
4749 names for PowerPC IEEE 128-bit floating point support.
4750
4751 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4752 when building on 64-bit systems, or when VSX is enabled.
4753 (_FP_W_TYPE): Likewise.
4754 (_FP_WS_TYPE): Likewise.
4755 (_FP_I_TYPE): Likewise.
4756 (TItype): Define on 64-bit systems.
4757 (UTItype): Likewise.
4758 (TI_BITS): Likewise.
4759 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4760 (_FP_MUL_MEAT_Q): Likewise.
4761 (_FP_DIV_MEAT_D): Likewise.
4762 (_FP_DIV_MEAT_Q): Likewise.
4763 (_FP_NANFRAC_D): Likewise.
4764 (_FP_NANFRAC_Q): Likewise.
4765 (ISA_BIT): Add exception support if we are being compiled on a
4766 machine with hardware floating point support to build the IEEE
4767 128-bit emulation functions.
4768 (FP_EX_INVALID): Likewise.
4769 (FP_EX_OVERFLOW): Likewise.
4770 (FP_EX_UNDERFLOW): Likewise.
4771 (FP_EX_DIVZERO): Likewise.
4772 (FP_EX_INEXACT): Likewise.
4773 (FP_EX_ALL): Likewise.
4774 (__sfp_handle_exceptions): Likewise.
4775 (FP_HANDLE_EXCEPTIONS): Likewise.
4776 (FP_RND_NEAREST): Likewise.
4777 (FP_RND_ZERO): Likewise.
4778 (FP_RND_PINF): Likewise.
4779 (FP_RND_MINF): Likewise.
4780 (FP_RND_MASK): Likewise.
4781 (_FP_DECL_EX): Likewise.
4782 (FP_INIT_ROUNDMODE): Likewise.
4783 (FP_ROUNDMODE): Likewise.
4784
4785 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4786 compiler can do __float128.
4787 * configure: Regenerate.
4788
4789 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4790 VSX code, enable IEEE 128-bit floating point.
4791
4792 2016-01-05 Olivier Hainque <hainque@adacore.com>
4793
4794 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4795 specificities.
4796
4797 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4798
4799 Update copyright years.
4800
4801 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4802
4803 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4804 soft-fp targets.
4805
4806 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4807
4808 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4809 instead of abort to avoid dependency on stdlib.h.
4810
4811 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
4812
4813 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4814 to initialize call to __dl_fixup once.
4815
4816 2015-12-04 Nick Clifton <nickc@redhat.com>
4817
4818 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4819 Allow for the second argument being negative.
4820 * config.host (extra_parts): Define for MSP430. Create separate
4821 libraries for each of the hardware multiply formats.
4822 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4823 that are needed.
4824 * config/msp430/lib2mul.c: Likewise.
4825 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4826 Add rules to build hardware multiply libraries.
4827 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4828 __mspabi_divul function.
4829 (__mspabi_divllu): New stub function.
4830
4831 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
4832
4833 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4834 fixup values if saved GOT address doesn't match runtime address.
4835 (fixup_branch_offset): Reorder list.
4836
4837 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4838
4839 * Makefile.in (VTV_CFLAGS): New variable.
4840 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4841 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4842 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4843 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4844 to extra_parts if $enable_vtable_verify = yes.
4845
4846 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4847
4848 PR target/68059
4849 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4850 (write): ...this and fix the return type.
4851
4852 2015-11-19 DJ Delorie <dj@redhat.com>
4853
4854 * config/msp430/lib2hw_mul.S: Fix alignment.
4855
4856 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4857
4858 * config/nvptx/reduction.c: New.
4859 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4860
4861 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
4862
4863 * config/rs6000/on_exit.c: New file.
4864 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4865 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4866
4867 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4868
4869 * config/arc/dp-hack.h: Add support for ARCHS.
4870 * config/arc/ieee-754/divdf3.S: Likewise.
4871 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4872 * config/arc/ieee-754/muldf3.S: Likewise.
4873 * config/arc/ieee-754/mulsf3.S: Likewise
4874 * config/arc/lib1funcs.S: Likewise
4875 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4876 for ARCv2 cores.
4877 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4878 for ARCv2 cores.
4879 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4880 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4881 cores.
4882
4883 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4884
4885 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4886 value.
4887 * config/ia64/crtend.S: Likewise.
4888
4889 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4890
4891 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4892 __CHAR_BIT__ instead of BITS_PER_UNIT.
4893 * fixed-bit.h: Likewise.
4894 * fp-bit.h: Likewise.
4895 * libgcc2.c (__popcountSI2): Likewise.
4896 (__popcountDI2): Likewise.
4897 * libgcc2.h: Likewise.
4898 * libgcov.h: Likewise.
4899
4900 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4901
4902 * config/rs6000/atexit.c: New file.
4903 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4904 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4905 * config/rs6000/cxa_finalize.c
4906 (catomic_compare_and_exchange_bool_acq): Negate return value.
4907
4908 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4909
4910 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4911 (processor_subtypes): Add znver1.
4912 (get_amd_cpu): Detect znver1.
4913
4914 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4915
4916 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4917 Include crtfastmath.o.
4918
4919 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4920
4921 PR libgcc/66883
4922 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4923
4924 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4925
4926 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4927 * config/rl78/divmodsi.S: Update return register to r8.
4928 * config/rl78/divmodhi.S: Update return register to r8,r9.
4929 Branch to main_loop_done_himode to pop registers before return.
4930
4931 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4932
4933 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4934 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4935
4936 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4937
4938 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4939
4940 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4941
4942 * config.host (xtensa*-*-uclinux*): New configuration.
4943
4944 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4945
4946 * config/i386/cpuinfo.c (processor_features): Add
4947 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4948
4949 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4950
4951 * soft-fp/adddf3.c: Update from glibc.
4952 * soft-fp/addsf3.c: Likewise.
4953 * soft-fp/addtf3.c: Likewise.
4954 * soft-fp/divdf3.c: Likewise.
4955 * soft-fp/divsf3.c: Likewise.
4956 * soft-fp/divtf3.c: Likewise.
4957 * soft-fp/double.h: Likewise.
4958 * soft-fp/eqdf2.c: Likewise.
4959 * soft-fp/eqsf2.c: Likewise.
4960 * soft-fp/eqtf2.c: Likewise.
4961 * soft-fp/extenddftf2.c: Likewise.
4962 * soft-fp/extended.h: Likewise.
4963 * soft-fp/extendsfdf2.c: Likewise.
4964 * soft-fp/extendsftf2.c: Likewise.
4965 * soft-fp/extendxftf2.c: Likewise.
4966 * soft-fp/fixdfdi.c: Likewise.
4967 * soft-fp/fixdfsi.c: Likewise.
4968 * soft-fp/fixdfti.c: Likewise.
4969 * soft-fp/fixsfdi.c: Likewise.
4970 * soft-fp/fixsfsi.c: Likewise.
4971 * soft-fp/fixsfti.c: Likewise.
4972 * soft-fp/fixtfdi.c: Likewise.
4973 * soft-fp/fixtfsi.c: Likewise.
4974 * soft-fp/fixtfti.c: Likewise.
4975 * soft-fp/fixunsdfdi.c: Likewise.
4976 * soft-fp/fixunsdfsi.c: Likewise.
4977 * soft-fp/fixunsdfti.c: Likewise.
4978 * soft-fp/fixunssfdi.c: Likewise.
4979 * soft-fp/fixunssfsi.c: Likewise.
4980 * soft-fp/fixunssfti.c: Likewise.
4981 * soft-fp/fixunstfdi.c: Likewise.
4982 * soft-fp/fixunstfsi.c: Likewise.
4983 * soft-fp/fixunstfti.c: Likewise.
4984 * soft-fp/floatdidf.c: Likewise.
4985 * soft-fp/floatdisf.c: Likewise.
4986 * soft-fp/floatditf.c: Likewise.
4987 * soft-fp/floatsidf.c: Likewise.
4988 * soft-fp/floatsisf.c: Likewise.
4989 * soft-fp/floatsitf.c: Likewise.
4990 * soft-fp/floattidf.c: Likewise.
4991 * soft-fp/floattisf.c: Likewise.
4992 * soft-fp/floattitf.c: Likewise.
4993 * soft-fp/floatundidf.c: Likewise.
4994 * soft-fp/floatundisf.c: Likewise.
4995 * soft-fp/floatunditf.c: Likewise.
4996 * soft-fp/floatunsidf.c: Likewise.
4997 * soft-fp/floatunsisf.c: Likewise.
4998 * soft-fp/floatunsitf.c: Likewise.
4999 * soft-fp/floatuntidf.c: Likewise.
5000 * soft-fp/floatuntisf.c: Likewise.
5001 * soft-fp/floatuntitf.c: Likewise.
5002 * soft-fp/gedf2.c: Likewise.
5003 * soft-fp/gesf2.c: Likewise.
5004 * soft-fp/getf2.c: Likewise.
5005 * soft-fp/ledf2.c: Likewise.
5006 * soft-fp/lesf2.c: Likewise.
5007 * soft-fp/letf2.c: Likewise.
5008 * soft-fp/muldf3.c: Likewise.
5009 * soft-fp/mulsf3.c: Likewise.
5010 * soft-fp/multf3.c: Likewise.
5011 * soft-fp/negdf2.c: Likewise.
5012 * soft-fp/negsf2.c: Likewise.
5013 * soft-fp/negtf2.c: Likewise.
5014 * soft-fp/op-1.h: Likewise.
5015 * soft-fp/op-2.h: Likewise.
5016 * soft-fp/op-4.h: Likewise.
5017 * soft-fp/op-8.h: Likewise.
5018 * soft-fp/op-common.h: Likewise.
5019 * soft-fp/quad.h: Likewise.
5020 * soft-fp/single.h: Likewise.
5021 * soft-fp/soft-fp.h: Likewise.
5022 * soft-fp/subdf3.c: Likewise.
5023 * soft-fp/subsf3.c: Likewise.
5024 * soft-fp/subtf3.c: Likewise.
5025 * soft-fp/truncdfsf2.c: Likewise.
5026 * soft-fp/trunctfdf2.c: Likewise.
5027 * soft-fp/trunctfsf2.c: Likewise.
5028 * soft-fp/trunctfxf2.c: Likewise.
5029 * soft-fp/unorddf2.c: Likewise.
5030 * soft-fp/unordsf2.c: Likewise.
5031 * soft-fp/unordtf2.c: Likewise.
5032
5033 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
5034
5035 PR libgcc/67624
5036 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5037
5038 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5039
5040 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5041 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5042 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5043 messages.
5044 (internal_mcount): Likewise.
5045 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5046 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5047
5048 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5049
5050 * configure.ac (libgcc_cv_solaris_crts): New test.
5051 * configure: Regenerate.
5052 * config.in: Regenerate.
5053 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5054 * config/gmon-sol2.c: Rename to ...
5055 * config/sol2/gmon.c: ... this.
5056 Include auto-target.h.
5057 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5058 * config/t-sol2: Rename to ...
5059 * config/sol2/t-sol2: ... this.
5060 (gmon.o): Reflect renaming.
5061 (crtp.o, crtpg.o): New rules.
5062 * config.host (*-*-solaris2*): Reflect renaming.
5063 Use system CRTs if present.
5064 Remove default CRT case.
5065
5066 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
5067
5068 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5069 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5070 __kernel_cmpxchg2.
5071 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5072 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5073 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5074 (__sync_lock_test_and_set_##WIDTH): Likewise.
5075 (__sync_lock_release_##WIDTH): Likewise.
5076 (__sync_fetch_and_##OP##_4): Change result to match type of
5077 __kernel_cmpxchg.
5078 (__sync_##OP##_and_fetch_4): Likewise.
5079 (__sync_val_compare_and_swap_4): Likewise.
5080 (__sync_bool_compare_and_swap_4): likewise.
5081 (__sync_lock_test_and_set_4): Likewise.
5082 (__sync_lock_release_4): Likewise.
5083 (FETCH_AND_OP_2): Add long long variants.
5084 (OP_AND_FETCH_2): Likewise.
5085 (COMPARE_AND_SWAP_2 ): Likewise.
5086 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5087 (SYNC_LOCK_RELEASE_2): Likewise.
5088 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5089
5090 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
5091
5092 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5093 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5094 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5095 (get_available_features): Habdle new features.
5096
5097 2015-09-21 James Bowman <james.bowman@ftdichip.com>
5098
5099 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5100 memory layout. Deal correctly with BSS region larger than 32K.
5101 Handle a watchdog reset like a power-on reset. Clean up unused
5102 code.
5103
5104 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
5105 David Edelsohn <dje.gcc@gmail.com>
5106
5107 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5108 * config/rs6000/crtdbase.S: New file.
5109 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5110
5111 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5112
5113 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5114 Add support for call0 ABI.
5115
5116 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
5117
5118 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5119
5120 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5121
5122 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5123 (__GTHREAD_HAS_COND): Likewise.
5124 (__gthread_t): Likewise.
5125 (__gthread_cond_t): Likewise.
5126 (__gthread_time_t): Likewise.
5127 (__GTHREAD_MUTEX_INIT): Likewise.
5128 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5129 (__GTHREAD_COND_INIT): Likewise.
5130 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5131 (__GTHREAD_TIME_INIT): Likewise.
5132 (__gthread_create): Likewise.
5133 (__gthread_join): Likewise.
5134 (__gthread_detach): Likewise.
5135 (__gthread_equal): Likewise.
5136 (__gthread_self): Likewise.
5137 (__gthread_yield): Likewise.
5138 (__gthread_cond_broadcast): Likewise.
5139 (__gthread_cond_signal): Likewise.
5140 (__gthread_cond_wait): Likewise.
5141 (__gthread_cond_timedwait): Likewise.
5142 (__gthread_cond_wait_recursive): Likewise.
5143 (__gthread_cond_destroy): Likewise.
5144 (rtems_gxx_once): Delete.
5145 (rtems_gxx_key_create): Likewise.
5146 (rtems_gxx_key_delete): Likewise.
5147 (rtems_gxx_getspecific): Likewise.
5148 (rtems_gxx_setspecific): Likewise.
5149 (rtems_gxx_mutex_init): Likewise.
5150 (rtems_gxx_mutex_destroy): Likewise.
5151 (rtems_gxx_mutex_lock): Likewise.
5152 (rtems_gxx_mutex_trylock): Likewise.
5153 (rtems_gxx_mutex_unlock): Likewise.
5154 (rtems_gxx_recursive_mutex_init): Likewise.
5155 (rtems_gxx_recursive_mutex_lock): Likewise.
5156 (rtems_gxx_recursive_mutex_trylock): Likewise.
5157 (rtems_gxx_recursive_mutex_unlock): Likewise.
5158 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5159 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5160 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5161 (__gthread_once): Likewise.
5162 (__gthread_key_create): Likewise.
5163 (__gthread_key_delete): Likewise.
5164 (__gthread_getspecific): Likewise.
5165 (__gthread_setspecific): Likewise.
5166 (__gthread_key_t): Use <pthread.h> type.
5167 (__gthread_once_t): Likewise
5168 (__gthread_mutex_t): Use <sys/lock.h> type.
5169 (__gthread_recursive_mutex_t): Likewise
5170 (__gthread_mutex_lock): Use <sys/lock.h> function.
5171 (__gthread_mutex_trylock): Likewise.
5172 (__gthread_mutex_timedlock): Likewise.
5173 (__gthread_mutex_unlock): Likewise.
5174 (__gthread_mutex_destroy): Likewise.
5175 (__gthread_recursive_mutex_lock): Likewise.
5176 (__gthread_recursive_mutex_trylock): Likewise.
5177 (__gthread_recursive_mutex_timedlock): Likewise.
5178 (__gthread_recursive_mutex_unlock): Likewise.
5179 (__gthread_recursive_mutex_destroy): Likewise.
5180
5181 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5182
5183 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5184 context->sp instead of context->cfa.
5185
5186 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5187
5188 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5189 with unwind-dw2-fde-dip.
5190
5191 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5192
5193 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5194 CALL12 followed by series of ENTRY to spill windowed registers.
5195 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5196 instead of making linux spill syscall.
5197
5198 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5199
5200 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5201 (get_intel_cpu): Likewise.
5202
5203 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5204
5205 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5206 (get_intel_cpu): Add Knights Landing support.
5207
5208 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
5209
5210 PR target/66954
5211 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5212 (get_available_features): Handle FEATURE_PCLMUL.
5213
5214 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5215
5216 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5217 Broadwell.
5218
5219 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
5220
5221 PR target/66954
5222 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5223 (get_available_features): Handle FEATURE_AES.
5224
5225 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5226
5227 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5228 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5229
5230 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5231
5232 * offloadstuff.c: Constify host data.
5233
5234 2015-07-17 Jan Beulich <jbeulich@suse.com>
5235
5236 * config/t-softfp: Split up "else ifneq".
5237
5238 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5239 Cesar Philippidis <cesar@codesourcery.com>
5240 Chung-Lin Tang <cltang@codesourcery.com>
5241
5242 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5243 for __nios2_arch__ level.
5244
5245 2015-07-13 John Marino <gnugcc@marino.st>
5246
5247 * config/i386/t-dragonfly: New.
5248
5249 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
5250
5251 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5252 better match light-weight syscall argument order.
5253 (__kernel_cmpxchg2): Likewise.
5254 Adjust callers.
5255
5256 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5257
5258 * config.host: Support i[34567]86-*-elfiamcu target.
5259 * config/t-softfp-sfdftf: New file.
5260 * config/i386/32/t-iamcu: Likewise.
5261 * configure: Regenerated.
5262
5263 2015-06-23 James Lemke <jwlemke@codesourcery.com>
5264
5265 libgcc/config/arm/
5266 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5267
5268 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5269
5270 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5271
5272 2015-05-27 John Marino <gnugcc@marino.st>
5273
5274 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5275 md_unwind_header
5276 * config/i386/freebsd-unwind.h: New.
5277
5278 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
5279
5280 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5281 i386/t-crtfm to tmake_file.
5282 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5283 (set_fast_math): Use set_fast_math_sse for SSE targets.
5284 * config/i386/t-crtfm: Remove.
5285
5286 2015-05-21 Alan Modra <amodra@gmail.com>
5287
5288 PR libgcc/66225
5289 * config/rs6000/morestack.S: Remove ".abiversion 1".
5290
5291 2015-05-20 Alan Modra <amodra@gmail.com>
5292
5293 * config/rs6000/morestack.S: New.
5294 * config/rs6000/t-stack-rs6000: New.
5295 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5296 to tmake_file.
5297 * generic-morestack.c: Don't build for powerpc 32-bit.
5298
5299 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5300
5301 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5302 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5303
5304 2015-05-16 James Bowman <james.bowman@ftdichip.com>
5305
5306 * config.host: FT32 target added.
5307 * config/ft32/*: New files for FT32 target.
5308
5309 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5310
5311 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5312 New macros.
5313 * config/arm/ieee754-df.S: Add CFI directives.
5314 * config/arm/ieee754-sf.S: Add CFI directives.
5315
5316 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5317
5318 * configure.ac: Include config/sjlj.m4.
5319 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5320 * config.in: Regenerate.
5321 * configure: Likewise.
5322 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5323
5324 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
5325
5326 * libgcov-util.c: Add space between string literal and macro name.
5327
5328 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5329 Chris Jones <chrisj@nvidia.com>
5330 Joshua Conner <jconner@nvidia.com>
5331
5332 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5333 (arm*-*-uclinux*): Likewise.
5334 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5335 * config/arm/crtfastmath.c: New file.
5336
5337 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5338
5339 * Makefile.in (real_host_noncanonical): New variable.
5340 (libsubdir): Use it.
5341 * configure.ac (real_host_noncanonical): Compute. Remove special
5342 case for intelmicemul.
5343 * configure: Regenerate.
5344
5345 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5346
5347 * config/frv/elf-lib.h: New file.
5348 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5349 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5350 to tm_file.
5351
5352 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5353
5354 * config/frv/frvbengin.c: Do not include defaults.h
5355 * config/frv/frvend.c: Ditto.
5356
5357 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5358
5359 * config.host: Add h8300-*-linux
5360 * config/h8300/t-linux: New file.
5361 * config/h8300/lib1funs.s: Change symbol prefix.
5362 * config/h8300/sfp-machine.h: 64bit double support.
5363
5364 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5365 Szabolcs Nagy <szabolcs.nagy@arm.com>
5366
5367 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5368 Linux if target provides dl_iterate_phdr.
5369
5370 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5371
5372 PR target/65612
5373 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5374 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5375 (__cpu_indicator_init@GCC_4.8.0): New.
5376 (__cpu_model@GCC_4.8.0): Likewise.
5377 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5378 -DUSE_ELF_SYMVER.
5379
5380 2015-04-16 Nick Clifton <nickc@redhat.com>
5381
5382 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5383 and __modhi3 functions.
5384 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5385 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5386
5387 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5388
5389 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5390 do-while loop as macro body to avoid warnings.
5391
5392 2015-04-10 Jakub Jelinek <jakub@redhat.com>
5393 Iain Sandoe <iain@codesourcery.com>
5394
5395 PR target/65351
5396 * configure: Regenerate.
5397
5398 2015-04-07 Jakub Jelinek <jakub@redhat.com>
5399 Iain Sandoe <iain@codesourcery.com>
5400
5401 PR target/65351
5402 * configure: Regenerate.
5403
5404 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5405
5406 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5407
5408 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
5409
5410 Implement call0 ABI for xtensa
5411 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5412 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5413 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5414 use ret in call0 ABI.
5415 * config/xtensa/t-windowed: New file.
5416 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5417 * libgcc/configure: Regenerated.
5418 * libgcc/configure.ac: Check if xtensa target is configured for
5419 windowed ABI and thus needs to use custom unwind code.
5420
5421 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
5422
5423 PR libgcc/64885
5424 * gthr-single.h: Use __unused__ attribute instead of unused.
5425 * config/gthr-vxworks.h: Likewise.
5426 * config/i386/gthr-win32.h: Likewise.
5427
5428 2015-02-27 Kai Tietz <ktietz@redhat.com>
5429
5430 PR target/65038
5431 * config.in: Regenerated.
5432 * configure: Likewise.
5433 * configure.ac (AC_HEADER_STDC): Added explicit.
5434 (AC_CHECK_HEADERS): Check for default headers plus
5435 for ftw.h header.
5436 * libgcov-util.c (gcov_read_profile_dir): Disable use
5437 of ftw-function, if header is not found.
5438 (ftw_read_file): Likewise.
5439
5440 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5441
5442 PR target/65181
5443 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5444 -Dinhibit_libc.
5445
5446 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5447
5448 * config/arm/bpabi.S (test_div_by_zero): Make label names
5449 consistent between thumb2 and arm mode cases. Separate the
5450 signed comparison on the high word of the numerator from the
5451 unsigned comparison on the low word.
5452 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5453 signed comparison.
5454
5455 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5456
5457 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5458 and <string.h>.
5459 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5460
5461 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5462
5463 PR gcov-profile/61889
5464 * libgcov-driver-system.c: undefine clashing macro for mkdir.
5465
5466 2015-02-02 Nick Clifton <nickc@redhat.com>
5467
5468 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5469 rounding up the fraction.
5470
5471 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
5472
5473 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5474 oldval and newval to const void *. Fix typo.
5475 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5476 (FETCH_AND_OP_WORD): Likewise.
5477 (OP_AND_FETCH_WORD): Likewise.
5478 (COMPARE_AND_SWAP_2): Likewise.
5479 (__sync_val_compare_and_swap_4): Likewise.
5480 (__sync_lock_test_and_set_4): Likewise.
5481 (SYNC_LOCK_RELEASE_2): Likewise.
5482 Remove support for long long atomic operations.
5483
5484 2015-01-27 Caroline Tice <cmtice@google.com>
5485
5486 Committing VTV Cywin/Ming patch for Patrick Wollgast
5487 * Makefile.in: Move rules to build vtv_*.o out of the check
5488 for CUSTOM_CRTSTUFF.
5489 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5490 i[34567]86-*-mingw*)
5491 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5492 enable_vtable_verify.
5493
5494 2015-01-27 Nick Clifton <nickc@redhat.com>
5495
5496 * config/rl78/cmpsi2.S: Use function start and end macros.
5497 (__gcc_bcmp): New function.
5498 * config/rl78/lshrsi3.S: Use function start and end macros.
5499 * config/rl78/mulsi3.S: Add support for G10.
5500 (__mulqi3): New function for G10.
5501 * config/rl78/signbit.S: Use function start and end macros.
5502 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5503 fpmath-sf.S.
5504 (LIB2FUNCS_EXCLUDE): Define.
5505 (LIB2FUNCS_ST): Define.
5506 * config/rl78/trampoline.S: Use function start and end macros.
5507 * config/rl78/vregs.h (START_FUNC): New macro.
5508 (START_ANOTHER_FUNC): New macro.
5509 (END_FUNC): New macro.
5510 (END_ANOTHER_FUNC): New macro.
5511 * config/rl78/bit-count.S: New file. Contains assembler
5512 implementations of the bit counting functions: ___clzhi2,
5513 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5514 __paritysi2, __popcounthi2 and __popcountsi2.
5515 * config/rl78/fpbit-sf.S: New file. Contains assembler
5516 implementationas of the math functions: __negsf2, __cmpsf2,
5517 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5518 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5519 * config/rl78/fpmath-sf.S: New file. Contains assembler
5520 implementations of the math functions: __subsf3, __addsf3,
5521 __mulsf3 and __divsf3
5522
5523 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5524
5525 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5526 Add i386/elf-lib.h to tm_file.
5527 * config/i386/elf-lib.h: Fix comment.
5528 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5529 && __sun__ && __svr4__]: Remove workaround.
5530
5531 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5532
5533 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5534 FEATURE_BMI2.
5535 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5536
5537 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5538
5539 * config/i386/cpuinfo.c (processor_subtypes): Add
5540 INTEL_COREI7_BROADWELL.
5541 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5542 model numbers.
5543
5544 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
5545
5546 * config/i386/elf-lib.h: New file.
5547 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5548 Wrap definition in #ifdef __i386__.
5549 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5550 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5551 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5552 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5553 to tm_file.
5554
5555 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5556
5557 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5558 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5559
5560 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5561
5562 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5563 Update rt_sigframe format and address for current Nios II
5564 Linux conventions.
5565
5566 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5567
5568 * config.host (arm*-*-freebsd*): Add new configuration for
5569 arm*-*-freebsd*.
5570 * config/arm/freebsd-atomic.c: New file.
5571 * config/arm/t-freebsd: Likewise.
5572 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5573 'PC-relative indirect' OS's.
5574
5575 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5576
5577 * config.host: Add Visium support.
5578 * config/visium: New directory.
5579
5580 2015-01-05 Jakub Jelinek <jakub@redhat.com>
5581
5582 Update copyright years.
5583
5584 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5585
5586 * config.host: Support mipsisa32r6 and mipsisa64r6.
5587 * config/mips/mips16.S: Do not build for R6.
5588
5589 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5590
5591 * config/sh/crt.h: New.
5592 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5593 symbols.
5594 * config/sh/crt1.S: Likewise.
5595
5596 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
5597
5598 PR libgcc/63832
5599 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5600 func_ptr *dtor_list temporary variable to avoid "array subscript
5601 is above array bounds" warnings.
5602
5603 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
5604
5605 * Makefile.in (with_aix_soname): Define.
5606 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5607 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5608 * configure: Recreate.
5609
5610 2014-12-05 Olivier Hainque <hainque@adacore.com>
5611
5612 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5613 now provided by defaults.h.
5614
5615 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5616
5617 PR target/55351
5618 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5619 whether it's defined.
5620
5621 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5622
5623 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5624 * config/i386/cpuinfo.c (get_available_features): Detect it.
5625
5626 2014-11-27 Tony Wang <tony.wang@arm.com>
5627
5628 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5629 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5630 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5631
5632 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5633
5634 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5635
5636 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
5637
5638 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5639 instead.
5640
5641 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5642 John David Anglin <danglin@gcc.gnu.org>
5643
5644 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5645 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5646 (OP_AND_FETCH_2): Likewise.
5647 (COMPARE_AND_SWAP_2): Likewise.
5648 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5649 (SYNC_LOCK_RELEASE_2): Likewise.
5650 (SUBWORD_SYNC_OP): Remove.
5651 (SUBWORD_VAL_CAS): Likewise.
5652 (SUBWORD_BOOL_CAS): Likewise.
5653 (FETCH_AND_OP_WORD): Update.
5654 Consistently use signed types.
5655
5656 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5657 Thomas Schwinge <thomas@codesourcery.com>
5658 Ilya Verbin <ilya.verbin@intel.com>
5659 Andrey Turetskiy <andrey.turetskiy@intel.com>
5660
5661 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5662 (crtoffloadend$(objext)): Likewise.
5663 * configure: Regenerate.
5664 * configure.ac (accel_dir_suffix): Compute new variable.
5665 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5666 if enable_offload_targets is not empty.
5667 * offloadstuff.c: New file.
5668
5669 2014-11-13 Nick Clifton <nickc@redhat.com>
5670
5671 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5672 Use START_FUNC and END_FUNC macros to enable linker garbage
5673 collection.
5674 * config/rl78/divmodqi.S: Likewise.
5675 * config/rl78/divmodsi.S: Likewise.
5676 * config/rl78/mulsi3.S: Likewise.
5677 * config/rl78/lib2div.c: Remove G10 functions.
5678 * config/rl78/lib2muls.c: Likewise.
5679 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5680 * config/rl78/vregs.h (START_FUNC): New macro.
5681 (END_FUNC): New macro.
5682
5683 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5684
5685 * config/mips/mips16.S: Set .module when supported. Update O32
5686 FP64 calling convention and use for FPXX when possible. Add FPXX
5687 calling convention fallback case.
5688
5689 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5690
5691 * config.host: Handle nvptx-*-*.
5692 * shared-object.mk (as-flags-$o): Define.
5693 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5694 -xassembler-with-cpp.
5695 * static-object.mk: Identical changes.
5696 * config/nvptx/t-nvptx: New file.
5697 * config/nvptx/crt0.s: New file.
5698 * config/nvptx/free.asm: New file.
5699 * config/nvptx/malloc.asm: New file.
5700 * config/nvptx/realloc.c: New file.
5701
5702 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5703
5704 * Makefile.in (libgcc.map.in): New target.
5705 (libgcc.map): Use libgcc.map.in.
5706 * config/t-softfp (softfp_compat): New variable to be set by
5707 users.
5708 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5709 variables.
5710 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5711 directory.
5712 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5713 that use compat symbols and disable all code unless [SHARED].
5714 * config/t-softfp-compat: New file.
5715 * find-symver.awk: New file.
5716 * configure.ac (--with-glibc-version): New configure option.
5717 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5718 * configure: Regenerate.
5719 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5720 soft-float and e500.
5721
5722 2014-10-29 Joseph Myers <joseph@codesourcery.com>
5723
5724 * config/t-hardfp (hardfp_exclusions): Document new variable for
5725 user to define.
5726 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5727 * config/t-softfp (softfp_extras): Document new variable for user
5728 to define.
5729 (softfp_func_list): Add functions from $(softfp_extras).
5730 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5731 * config.host (powerpc*-*-linux*): For e500v1, use
5732 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5733 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5734 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5735
5736 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
5737
5738 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5739 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5740 memory read accesses are ok.
5741
5742 2014-10-25 Joseph Myers <joseph@codesourcery.com>
5743
5744 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5745 * configure: Regenerate.
5746 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5747 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5748 of soft-fp for 32-bit classic hard float. Do not use
5749 t-softfp-excl for soft float.
5750
5751 2014-10-22 Joseph Myers <joseph@codesourcery.com>
5752
5753 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5754 configurations.
5755 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5756 Remove variables.
5757
5758 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
5759
5760 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5761 introduced with 2014-10-21 trunk r216525.
5762
5763 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
5764 Vidya Praveen <vidya.praveen@atmel.com>
5765 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5766 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5767 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
5768
5769 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5770 order.
5771
5772 Updated library functions for AVRTINY arch.
5773 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5774 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5775 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5776 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5777 wsubi/wadi macors.
5778 (__mulsi3_helper): Update stack, preserve callee saved regs and
5779 argument from stack. Restore callee save registers.
5780 (__mulpsi3): Likewise.
5781 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5782 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5783 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5784 AVRTINY.
5785 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5786 (__do_copy_data): Added new definition for AVRTINY.
5787 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5788 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5789 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5790 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5791 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5792 macors.
5793 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5794 AVRTINY.
5795
5796 Fix broken long multiplication on tiny arch.
5797
5798 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5799
5800 * soft-fp/double.h: Update from glibc.
5801 * soft-fp/eqdf2.c: Likewise.
5802 * soft-fp/eqsf2.c: Likewise.
5803 * soft-fp/eqtf2.c: Likewise.
5804 * soft-fp/extenddftf2.c: Likewise.
5805 * soft-fp/extended.h: Likewise.
5806 * soft-fp/extendsfdf2.c: Likewise.
5807 * soft-fp/extendsftf2.c: Likewise.
5808 * soft-fp/extendxftf2.c: Likewise.
5809 * soft-fp/gedf2.c: Likewise.
5810 * soft-fp/gesf2.c: Likewise.
5811 * soft-fp/getf2.c: Likewise.
5812 * soft-fp/ledf2.c: Likewise.
5813 * soft-fp/lesf2.c: Likewise.
5814 * soft-fp/letf2.c: Likewise.
5815 * soft-fp/op-1.h: Likewise.
5816 * soft-fp/op-2.h: Likewise.
5817 * soft-fp/op-4.h: Likewise.
5818 * soft-fp/op-8.h: Likewise.
5819 * soft-fp/op-common.h: Likewise.
5820 * soft-fp/quad.h: Likewise.
5821 * soft-fp/single.h: Likewise.
5822 * soft-fp/soft-fp.h: Likewise.
5823 * soft-fp/unorddf2.c: Likewise.
5824 * soft-fp/unordsf2.c: Likewise.
5825 * soft-fp/unordtf2.c: Likewise.
5826 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5827 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5828 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5829 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5830 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5831 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5832 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5833 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5834 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5835 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5836
5837 2014-10-08 Rong Xu <xur@google.com>
5838
5839 * libgcov-util.c (read_gcda_file): Fix format.
5840 (find_match_gcov_info): Ditto.
5841 (calculate_2_entries): New.
5842 (compute_one_gcov): Ditto.
5843 (gcov_info_count_all_cold): Ditto.
5844 (gcov_info_count_all_zero): Ditto.
5845 (extract_file_basename): Ditto.
5846 (get_file_basename): Ditto.
5847 (set_flag): Ditto.
5848 (matched_gcov_info): Ditto.
5849 (calculate_overlap): Ditto.
5850 (gcov_profile_overlap): Ditto.
5851 * libgcov-driver.c (compute_summary): Make
5852 it avavilable for external calls.
5853
5854 2014-10-06 Rong Xu <xur@google.com>
5855
5856 * Makefile.in: Ditto.
5857 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5858 (gcov_sort_icall_topn_counter): Ditto.
5859 (gcov_sort_topn_counter_arrays): Ditto.
5860 (dump_one_gcov): Sort indirect_call topn counters.
5861 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5862 function.
5863 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5864 utility function.
5865 (__gcov_indirect_call_topn_profiler): New profiler function.
5866 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5867 * libgcov.h: New decls.
5868
5869 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5870
5871 * config.host: Remove support for score-*.
5872
5873 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5874
5875 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5876 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5877 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5878 __LIBGCC_XF_MANT_DIG__.
5879 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5880 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5881 __LIBGCC_TF_MANT_DIG__.
5882 * libgcc2.c (NOTRUNC): Define in terms of
5883 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5884 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5885
5886 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5887
5888 PR target/63312
5889 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5890 New macros.
5891
5892 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5893
5894 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5895 override USE_PT_GNU_EH_FRAME.
5896 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5897 check USE_EH_FRAME_REGISTRY_ALWAYS against
5898 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5899 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5900 variable for substituted force_explicit_eh_registry.
5901 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5902 * configure.ac (explicit-exception-frame-registration):
5903 New AC_ARG_ENABLE.
5904 * configure: Regenerate.
5905
5906 2014-09-19 Olivier Hainque <hainque@adacore.com>
5907
5908 * config.host (powerpc-wrs-vxworksmils): New configuration,
5909 same as vxworksae.
5910
5911 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5912
5913 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5914
5915 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5916
5917 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5918 bits not set bits as indicating trapping exceptions.
5919
5920 2014-09-17 Nathan sidwell <nathan@acm.org>
5921
5922 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5923 (LIBGCOV_DRIVER): ... here.
5924 * libgcov-driver.c (gcov_master): New.
5925 (gcov_exit): Remove from master chain.
5926 (__gcov_init): Add to master chain if version compatible. Don't
5927 clear the version.
5928 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5929 (gcov_reset_int): Clear master chain, if compatible.
5930 (gcov_dump_int): New internal interface. Dump master chain, if
5931 compatible.
5932 (gcov_dump): Alias for gcov_dump_int.
5933 * libgcov.h (struct gcov_root): Add next and prev fields.
5934 (struct gcov_master): New struct.
5935 (__gcov_master): New.
5936 (gcov_dump_int): Declare.
5937
5938 2014-09-17 Olivier Hainque <hainque@adacore.com>
5939
5940 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5941 and crtbegin.o + crtend.o to extra_parts.
5942
5943 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5944
5945 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5946 __LIBGCC_HAS_SF_MODE__.
5947 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5948 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5949 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5950 * config/libbid/bid_gcc_intrinsics.h
5951 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5952 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5953 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5954 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5955 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5956 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5957
5958 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5959
5960 PR target/63223
5961 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5962 and R24 as needed. Make work for all devices and .text locations.
5963 (__do_global_ctors, __do_global_dtors): Use word addresses.
5964 (__tablejump__, __tablejump_elpm__): Remove functions.
5965 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5966 Add _tablejump2.
5967 (XICALL, XIJMP): New macros.
5968
5969 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5970 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5971
5972 * config.host (aarch64*): Include crtfastmath.o and
5973 t-crtfm.
5974 * config/aarch64/crtfastmath.c: New file.
5975
5976 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5977
5978 * config.host: Remove picochip support.
5979 * config/picochip/adddi3.S: Remove.
5980 * config/picochip/ashlsi3.S: Remove.
5981 * config/picochip/ashlsi3.c: Remove.
5982 * config/picochip/ashrsi3.S: Remove.
5983 * config/picochip/ashrsi3.c: Remove.
5984 * config/picochip/clzsi2.S: Remove.
5985 * config/picochip/cmpsi2.S: Remove.
5986 * config/picochip/divmod15.S: Remove.
5987 * config/picochip/divmodhi4.S: Remove.
5988 * config/picochip/divmodsi4.S: Remove.
5989 * config/picochip/lib1funcs.S: Remove.
5990 * config/picochip/longjmp.S: Remove.
5991 * config/picochip/lshrsi3.S: Remove.
5992 * config/picochip/lshrsi3.c: Remove.
5993 * config/picochip/parityhi2.S: Remove.
5994 * config/picochip/popcounthi2.S: Remove.
5995 * config/picochip/setjmp.S: Remove.
5996 * config/picochip/subdi3.S: Remove.
5997 * config/picochip/t-picochip: Remove.
5998 * config/picochip/ucmpsi2.S: Remove.
5999 * config/picochip/udivmodhi4.S: Remove.
6000 * config/picochip/udivmodsi4.S: Remove.
6001
6002 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6003
6004 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6005 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6006 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6007 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6008 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6009 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6010 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6011 defined and LIBGCC2_HAS_DF_MODE is defined.
6012 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6013 defined and LIBGCC2_HAS_XF_MODE is defined.
6014 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6015 defined and LIBGCC2_HAS_TF_MODE is defined.
6016
6017 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6018
6019 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6020 and ROUND_TOWARDS_ZERO conditionals.
6021
6022 2014-09-07 Nathan sidwell <nathan@acm.org>
6023
6024 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6025 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6026
6027 2014-09-05 Joseph Myers <joseph@codesourcery.com>
6028
6029 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6030 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6031 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6032 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6033 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6034 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6035 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6036 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6037 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6038 (DWARF_FRAME_REGISTERS): Change all uses to
6039 __LIBGCC_DWARF_FRAME_REGISTERS__.
6040 (EH_RETURN_STACKADJ_RTX): Change all uses to
6041 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6042 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6043 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6044 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6045 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6046 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6047 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6048 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6049 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6050 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6051 __LIBGCC_STACK_POINTER_REGNUM__.
6052 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6053 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6054 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6055 to __LIBGCC_STACK_POINTER_REGNUM__.
6056 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6057 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6058 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6059 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6060 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6061 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6062 (STACK_POINTER_REGNUM): Change all uses to
6063 __LIBGCC_STACK_POINTER_REGNUM__.
6064 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6065 use to __LIBGCC_STACK_POINTER_REGNUM__.
6066 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6067 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6068 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6069 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6070 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6071 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6072 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6073 to __LIBGCC_STACK_POINTER_REGNUM__.
6074 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6075 Remove conditional definition.
6076 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6077 __LIBGCC_TEXT_SECTION_ASM_OP__.
6078 (EH_FRAME_SECTION_NAME): Change all uses to
6079 __LIBGCC_EH_FRAME_SECTION_NAME__.
6080 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6081 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6082 (CTORS_SECTION_ASM_OP): Change all uses to
6083 __LIBGCC_CTORS_SECTION_ASM_OP__.
6084 (DTORS_SECTION_ASM_OP): Change all uses to
6085 __LIBGCC_DTORS_SECTION_ASM_OP__.
6086 (JCR_SECTION_NAME): Change all uses to
6087 __LIBGCC_JCR_SECTION_NAME__.
6088 (INIT_SECTION_ASM_OP): Change all uses to
6089 __LIBGCC_INIT_SECTION_ASM_OP__.
6090 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6091 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6092 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6093 __LIBGCC_STACK_GROWS_DOWNWARD__.
6094 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6095 __LIBGCC_INIT_SECTION_ASM_OP__.
6096 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6097 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6098 (EH_FRAME_SECTION_NAME): Change all uses to
6099 __LIBGCC_EH_FRAME_SECTION_NAME__.
6100 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6101 definitions. Change all uses to
6102 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6103 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6104 __LIBGCC_STACK_GROWS_DOWNWARD__.
6105 (DWARF_FRAME_REGISTERS): Change all uses to
6106 __LIBGCC_DWARF_FRAME_REGISTERS__.
6107 (EH_RETURN_STACKADJ_RTX): Change all uses to
6108 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6109 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6110 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6111 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6112 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6113 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6114
6115 2014-09-02 Nathan sidwell <nathan@acm.org>
6116
6117 * libgcov-interface.c (STRONG_ALIAS): New.
6118 (__gcov_flush): Call __gcov_reset_int.
6119 (__gcov_reset): Strong alias for ...
6120 (__gcov_reset_ing): ... this renamed hidden version.
6121 * libgcov.h (__gcov_reset_int): New declaration.
6122
6123 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6124
6125 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6126 call from here...
6127 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6128 (__dso_handle): Define on Cygwin.
6129 * config/i386/t-cygming (crtbeginS.o): New rule.
6130 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6131
6132 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6133 declaration syntax.
6134
6135 2014-08-13 Steve Ellcey <sellcey@mips.com>
6136
6137 * crtstuff.c: Undef caddr_t.
6138
6139 2014-08-12 Steve Ellcey <sellcey@mips.com>
6140
6141 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6142
6143 2014-08-07 Nathan Sidwell <nathan@acm.org>
6144
6145 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6146 (LIBGCOV_DRIVER): ... to here.
6147 * libgcov.h (gcov_do_dump): New #define.
6148 (struct gcov_root): New.
6149 (__gcov_root): New declaration.
6150 (__gcov_dump_one): Declare.
6151 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6152 run_accounted): Delete.
6153 (gcov_compute_histogram): Add LIST argument, adjust.
6154 (compute_summary): Adjust gcov_compute_histogram call.
6155 (gcov_do_dump): Not hidden, static in libgcov.
6156 (gcov_clear): Move to interface.c.
6157 (__gcov_dump_one): New, broken out of ...
6158 (gcov_exit): ... here. Make static.
6159 (__gcov_root): New.
6160 (__gcov_init): Adjust.
6161 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6162 declarations.
6163 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6164 (gcov_clear): Moved from driver.c. Add LIST argument.
6165 (__gcov_reset): Adjust for changed interfaces.
6166 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6167
6168 2014-08-04 Rohit <rohitarulraj@freescale.com>
6169
6170 PR target/60102
6171 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6172 based on change in SPE high register numbers and 3 HTM registers.
6173
6174 2014-08-01 Nathan Sidwell <nathan@acm.org>
6175
6176 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6177 LIBGCOV_INTERFACE): Reformat.
6178 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6179 IN_GCOV_TOOL.
6180 * libgcov-interface.c: Reformat some comments.
6181 (__gcov_flush_mx): Add declaration. Tidy up definition.
6182
6183 2014-07-31 Alan Modra <amodra@gmail.com>
6184 Peter Bergner <bergner@vnet.ibm.com>
6185
6186 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6187 (pack_ldouble): New function.
6188 (__gcc_qadd): Use it.
6189 (__gcc_qmul): Likewise.
6190 (__gcc_qdiv): Likewise.
6191 (__gcc_qneg): Likewise.
6192 (__gcc_stoq): Likewise.
6193 (__gcc_dtoq): Likewise.
6194
6195 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6196
6197 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6198 (__tpf_eh_return): Add original return address as second parameter.
6199 Handle cases where unwinder routines were called directly, instead
6200 of from within the C++ library.
6201
6202 2014-07-29 Nathan Sidwell <nathan@acm.org>
6203
6204 * libgcov.h: Move renaming of entry points to lib gcov specific
6205 portion.
6206 (gcov_do_dump): New rename.
6207 (gcov_rewrite): Remove inline, make HIDDEN.
6208 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6209 (gcov_exit_compute_summary): Rename to ...
6210 (compute_summary): ... here. Add LIST argument.
6211 (gcov_exit_merge_gcda): Rename to ...
6212 (merge_one_data): ... here.
6213 (gcov_exit_write_gcda): Rename to ...
6214 (write_one_data): ... here.
6215 (gcov_exit_merge_summary): Rename to ...
6216 (merge_summary): Add RUN_COUNTED argument.
6217 (gcov_exit_dump_gcov): Rename to ...
6218 (dump_one_gcov): Add RUN_COUNTED argument.
6219 (gcov_do_dump): New function, broken out of ...
6220 (gcov_exit): ... here. Call it.
6221
6222 2014-07-27 Anthony Green <green@moxielogic.com>
6223
6224 * config.host: Add moxiebox configuration suppport.
6225
6226 2014-07-27 Nathan Sidwell <nathan@acm.org>
6227
6228 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6229 (struct gcov_filename): ... here. Include buffer and max length
6230 fields.
6231 (gcov_max_filename): Remove.
6232 (gi_filename): Remove.
6233 (gcov_exit_compute_summary): Compute max filename here.
6234 (gcov_exit_merge_gcda): Add filename parm, adjust.
6235 (gcov_exit_merge_summary): Likewise.
6236 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6237 (gcov_exit): Likewise.
6238 (__gcov_init): Don't calculate max length here.
6239 * libgcov_util.c (max_filename_len): Remove.
6240 (read_gcda_file): Don't calculate max length here.
6241 (gcov_read_profile_dir): Don't propagate here.
6242 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6243 struct gcov_filename changes.
6244 (gcov_exit_open_gcda_file): Likewise.
6245
6246 2014-07-25 Nathan Sidwell <nathan@acm.org>
6247
6248 * libgcov-driver.c (set_gcov_dump_complete,
6249 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6250 functions polluting user's namespace.
6251 (gcov_exit): Set variable directly.
6252 (gcov_clear): Reset variable directly.
6253 * libgcov-interface.c (get_gcov_dymp_complete,
6254 reset_gov_dump_complete): Remove declarations.
6255 (__gcov_reset, __gcov_dump): Don't call them.
6256
6257 2014-07-24 DJ Delorie <dj@redhat.com>
6258
6259 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
6260 (__gcc_deregister_frame): Move logic to detect deregister function
6261 to ...
6262 (__gcc_register_frame): here, so it's consistent with the register
6263 logic.
6264
6265 2014-07-23 Nathan Sidwell <nathan@acm.org>
6266
6267 * libgcov-driver.c (set_gcov_list): Remove.
6268 (gcov_list): Make non-static in GCOV_TOOL.
6269 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6270
6271 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
6272
6273 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6274 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6275 Don't use SYNC_LOCK_RELEASE for int type.
6276
6277 2014-07-14 Richard Biener <rguenther@suse.de>
6278
6279 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6280
6281 2014-07-11 Rong Xu <xur@google.com>
6282
6283 * libgcov-util.c (gcov_max_filename): Fix declartion.
6284
6285 2014-07-10 Rong Xu <xur@google.com>
6286
6287 Add gcov-tool: an offline gcda profile processing tool
6288 Support.
6289 * libgcov-driver.c (gcov_max_filename): Make available
6290 to gcov-tool.
6291 * libgcov-merge.c (__gcov_merge_add): Replace
6292 gcov_read_counter() with a Macro.
6293 (__gcov_merge_ior): Ditto.
6294 (__gcov_merge_time_profile): Ditto.
6295 (__gcov_merge_single): Ditto.
6296 (__gcov_merge_delta): Ditto.
6297 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6298 in the utility functions.
6299 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6300 gcov_list object link lists.
6301 (tag_function): Ditto.
6302 (tag_blocks): Ditto.
6303 (tag_arcs): Ditto.
6304 (tag_lines): Ditto.
6305 (tag_counters): Ditto.
6306 (tag_summary): Ditto.
6307 (read_gcda_finalize): Ditto.
6308 (read_gcda_file): Ditto.
6309 (ftw_read_file): Ditto.
6310 (read_profile_dir_init): Ditto.
6311 (gcov_read_profile_dir): Ditto.
6312 (gcov_read_counter_mem): Ditto.
6313 (gcov_get_merge_weight): Ditto.
6314 (merge_wrapper): A wrapper function that calls merging handler.
6315 (gcov_merge): Merge two gcov_info objects with weights.
6316 (find_match_gcov_info): Find the matched gcov_info in the list.
6317 (gcov_profile_merge): Merge two gcov_info object lists.
6318 (__gcov_add_counter_op): Process edge profile counter values.
6319 (__gcov_ior_counter_op): Process IOR profile counter values.
6320 (__gcov_delta_counter_op): Process delta profile counter values.
6321 (__gcov_single_counter_op): Process single profile counter values.
6322 (fp_scale): Callback function for float-point scaling.
6323 (int_scale): Callback function for integer fraction scaling.
6324 (gcov_profile_scale): Scaling profile counters.
6325 (gcov_profile_normalize): Normalize profile counters.
6326 * libgcov.h: Add headers and functions for gcov-tool use.
6327 (gcov_get_counter): New.
6328 (gcov_get_counter_target): Ditto.
6329 (struct gcov_info): Make the functions field mutable in gcov-tool
6330 compilation.
6331
6332 2014-06-23 Kai Tietz <ktietz@redhat.com>
6333
6334 PR libgcc/61585
6335 * unwind-seh.c (_Unwind_GetGR): Check for proper
6336 index range.
6337 (_Unwind_SetGR): Likewise.
6338
6339 2014-05-22 Nick Clifton <nickc@redhat.com>
6340
6341 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6342 -mhwmult=none.
6343
6344 2014-05-22 Teresa Johnson <tejohnson@google.com>
6345
6346 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6347 include.
6348
6349 2014-05-20 John Marino <gnugcc@marino.st>
6350
6351 * config.host (*-*-dragonfly*): New target.
6352 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6353 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6354 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6355 * config/i386/dragonfly-unwind.h: New.
6356
6357 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6358
6359 PR libgcc/60166
6360 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6361 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6362
6363 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6364
6365 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6366 implementation.
6367
6368 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
6369
6370 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6371
6372 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6373
6374 PR libgcc/61097
6375 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6376 if --enable-shared.
6377
6378 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6379
6380 Work around for current cygwin32 build problems.
6381 * config/i386/cygming-crtbegin.c (__register_frame_info,
6382 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6383 functions only for 64-bit systems.
6384
6385 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6386
6387 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6388 (sigill_caught, sigill_hdlr): Remove.
6389
6390 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6391
6392 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6393 check.
6394 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6395 Solaris 9 single-threaded support.
6396 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6397 Solaris 9 single-threaded support. Add call_user_handler code
6398 sequences.
6399 (sparc_is_sighandler): Likewise.
6400
6401 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6402
6403 * config.host: Append t-floattodi to tmake_file depending on
6404 host_address.
6405
6406 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6407
6408 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6409
6410 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
6411
6412 PR libgcc/60472
6413 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6414 variable to avoid "array subscript is above array bounds" warnings.
6415 Use __builtin_expect when checking *jcr_list for NULL.
6416
6417 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6418
6419 PR libgcc/59339
6420 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6421 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6422 vtv_*.o to extra_parts if enable_vtable_verify.
6423
6424 2014-03-06 Nick Clifton <nickc@redhat.com>
6425
6426 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6427 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6428
6429 2014-02-28 Joey Ye <joey.ye@arm.com>
6430
6431 PR libgcc/60166
6432 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6433 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6434 Set to zero.
6435
6436 2014-02-24 Walter Lee <walt@tilera.com>
6437
6438 * config.host: Support "tilegx*" and "tilepro*" triplets.
6439 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6440 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6441
6442 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6443 Chung-Lin Tang <cltang@codesourcery.com>
6444
6445 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6446 * config/nios2/crti.S: Remove .file directive.
6447 * config/nios2/crtn.S: Likewise.
6448
6449 2014-02-18 Kai Tietz <ktietz@redhat.com>
6450 Jonathan Schleifer <js@webkeks.org>
6451
6452 PR objc/56870
6453 * unwind-seh.c (_GCC_specific_handler): Pass proper
6454 value to unwind-handler.
6455
6456 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6457
6458 * soft-fp/adddf3.c: Update from glibc.
6459 * soft-fp/addsf3.c: Likewise.
6460 * soft-fp/addtf3.c: Likewise.
6461 * soft-fp/divdf3.c: Likewise.
6462 * soft-fp/divsf3.c: Likewise.
6463 * soft-fp/divtf3.c: Likewise.
6464 * soft-fp/double.h: Likewise.
6465 * soft-fp/eqdf2.c: Likewise.
6466 * soft-fp/eqsf2.c: Likewise.
6467 * soft-fp/eqtf2.c: Likewise.
6468 * soft-fp/extenddftf2.c: Likewise.
6469 * soft-fp/extended.h: Likewise.
6470 * soft-fp/extendsfdf2.c: Likewise.
6471 * soft-fp/extendsftf2.c: Likewise.
6472 * soft-fp/extendxftf2.c: Likewise.
6473 * soft-fp/fixdfdi.c: Likewise.
6474 * soft-fp/fixdfsi.c: Likewise.
6475 * soft-fp/fixdfti.c: Likewise.
6476 * soft-fp/fixsfdi.c: Likewise.
6477 * soft-fp/fixsfsi.c: Likewise.
6478 * soft-fp/fixsfti.c: Likewise.
6479 * soft-fp/fixtfdi.c: Likewise.
6480 * soft-fp/fixtfsi.c: Likewise.
6481 * soft-fp/fixtfti.c: Likewise.
6482 * soft-fp/fixunsdfdi.c: Likewise.
6483 * soft-fp/fixunsdfsi.c: Likewise.
6484 * soft-fp/fixunsdfti.c: Likewise.
6485 * soft-fp/fixunssfdi.c: Likewise.
6486 * soft-fp/fixunssfsi.c: Likewise.
6487 * soft-fp/fixunssfti.c: Likewise.
6488 * soft-fp/fixunstfdi.c: Likewise.
6489 * soft-fp/fixunstfsi.c: Likewise.
6490 * soft-fp/fixunstfti.c: Likewise.
6491 * soft-fp/floatdidf.c: Likewise.
6492 * soft-fp/floatdisf.c: Likewise.
6493 * soft-fp/floatditf.c: Likewise.
6494 * soft-fp/floatsidf.c: Likewise.
6495 * soft-fp/floatsisf.c: Likewise.
6496 * soft-fp/floatsitf.c: Likewise.
6497 * soft-fp/floattidf.c: Likewise.
6498 * soft-fp/floattisf.c: Likewise.
6499 * soft-fp/floattitf.c: Likewise.
6500 * soft-fp/floatundidf.c: Likewise.
6501 * soft-fp/floatundisf.c: Likewise.
6502 * soft-fp/floatunditf.c: Likewise.
6503 * soft-fp/floatunsidf.c: Likewise.
6504 * soft-fp/floatunsisf.c: Likewise.
6505 * soft-fp/floatunsitf.c: Likewise.
6506 * soft-fp/floatuntidf.c: Likewise.
6507 * soft-fp/floatuntisf.c: Likewise.
6508 * soft-fp/floatuntitf.c: Likewise.
6509 * soft-fp/gedf2.c: Likewise.
6510 * soft-fp/gesf2.c: Likewise.
6511 * soft-fp/getf2.c: Likewise.
6512 * soft-fp/ledf2.c: Likewise.
6513 * soft-fp/lesf2.c: Likewise.
6514 * soft-fp/letf2.c: Likewise.
6515 * soft-fp/muldf3.c: Likewise.
6516 * soft-fp/mulsf3.c: Likewise.
6517 * soft-fp/multf3.c: Likewise.
6518 * soft-fp/negdf2.c: Likewise.
6519 * soft-fp/negsf2.c: Likewise.
6520 * soft-fp/negtf2.c: Likewise.
6521 * soft-fp/op-1.h: Likewise.
6522 * soft-fp/op-2.h: Likewise.
6523 * soft-fp/op-4.h: Likewise.
6524 * soft-fp/op-8.h: Likewise.
6525 * soft-fp/op-common.h: Likewise.
6526 * soft-fp/quad.h: Likewise.
6527 * soft-fp/single.h: Likewise.
6528 * soft-fp/soft-fp.h: Likewise.
6529 * soft-fp/subdf3.c: Likewise.
6530 * soft-fp/subsf3.c: Likewise.
6531 * soft-fp/subtf3.c: Likewise.
6532 * soft-fp/truncdfsf2.c: Likewise.
6533 * soft-fp/trunctfdf2.c: Likewise.
6534 * soft-fp/trunctfsf2.c: Likewise.
6535 * soft-fp/trunctfxf2.c: Likewise.
6536 * soft-fp/unorddf2.c: Likewise.
6537 * soft-fp/unordsf2.c: Likewise.
6538 * soft-fp/unordtf2.c: Likewise.
6539 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6540 macro.
6541 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6542 Likewise.
6543 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6544 Likewise.
6545 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6546 Likewise.
6547 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6548 Likewise.
6549 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6550 Likewise.
6551 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6552 Likewise.
6553 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6554 Likewise.
6555 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6556 Likewise.
6557 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6558 Likewise.
6559 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6560 Likewise.
6561 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6562 Likewise.
6563 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6564 Likewise.
6565 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6566 Likewise.
6567 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6568 Likewise.
6569 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6570 Likewise.
6571
6572 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6573
6574 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6575 cannot be represented.
6576 * config/s390/32/_fixsfdi.c: Likewise.
6577 * config/s390/32/_fixtfdi.c: Likewise.
6578 * config/s390/32/_fixunsdfdi.c: Likewise.
6579 * config/s390/32/_fixunssfdi.c: Likewise.
6580 * config/s390/32/_fixunstfdi.c: Likewise.
6581
6582 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6583
6584 * configure.ac (libgcc_cv_mips_hard_float): New.
6585 * configure: Regenerate.
6586 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6587 t-softfp-sfdf for hard-float targets.
6588 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6589 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6590 (softfp_truncations, softfp_exclude_libgcc2): New.
6591 * config/t-hardfp: New file.
6592 * config/t-hardfp-sfdf: Likewise.
6593 * config/hardfp.c: Likewise.
6594
6595 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6596
6597 * config.host: Include t-floattodi also for s390x.
6598 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6599 * config/s390/32/_fixsfdi.c: Likewise.
6600 * config/s390/32/_fixtfdi.c: Likewise.
6601 * config/s390/32/_fixunsdfdi.c: Likewise.
6602 * config/s390/32/_fixunssfdi.c: Likewise.
6603 * config/s390/32/_fixunstfdi.c: Likewise.
6604
6605 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6606
6607 PR target/59788
6608 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6609 (install-libgcc-unwind-map-forbuild): New target.
6610 (all): Depend on install-libgcc-unwind-map-forbuild.
6611 (install-libgcc-unwind-map): New target.
6612 (install): Depend on install-libgcc-unwind-map.
6613
6614 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6615
6616 * config/nios2/crti.S (_init): Initialize GOT pointer from
6617 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6618
6619 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6620
6621 * configure.ac: Check __mips64 when setting host_address.
6622 * configure: Regenerate.
6623 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6624 mips/t-mips64 and t-softfp.
6625 (mips*-*-linux*): Don't add mips/t-tpbit.
6626 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6627 (DPBIT, DPBIT_CFLAGS): Delete.
6628 * config/mips/sfp-machine.h: New file.
6629 * config/mips/t-mips64: Likewise.
6630 * config/mips/t-softfp-tf: Likewise.
6631 * config/mips/t-tpbit: Delete.
6632
6633 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6634
6635 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6636 as long long.
6637
6638 2014-01-25 Walter Lee <walt@tilera.com>
6639
6640 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6641 config.h or system.h.
6642 (bool) Define.
6643
6644 2014-01-25 Walter Lee <walt@tilera.com>
6645
6646 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6647 (post_atomic_barrier): Ditto.
6648 (__fetch_and_do): New macro.
6649 (__atomic_fetch_and_do): Use __fetch_and_do.
6650 (__sync_fetch_and_do): New macro.
6651 (__sync_fetch_and_add_4): New function.
6652 (__sync_fetch_and_sub_4): New function.
6653 (__sync_fetch_and_or_4): New function.
6654 (__sync_fetch_and_and_4): New function.
6655 (__sync_fetch_and_xor_4): New function.
6656 (__sync_fetch_and_nand_4): New function.
6657 (__sync_fetch_and_add_8): New function.
6658 (__sync_fetch_and_sub_8): New function.
6659 (__sync_fetch_and_or_8): New function.
6660 (__sync_fetch_and_and_8): New function.
6661 (__sync_fetch_and_xor_8): New function.
6662 (__sync_fetch_and_nand_8): New function.
6663 (__do_and_fetch): New macro.
6664 (__atomic_do_and_fetch): Use __do_and_fetch.
6665 (__sync_do_and_fetch): New macro.
6666 (__sync_add_and_fetch_4): New function.
6667 (__sync_sub_and_fetch_4): New function.
6668 (__sync_or_and_fetch_4): New function.
6669 (__sync_and_and_fetch_4): New function.
6670 (__sync_xor_and_fetch_4): New function.
6671 (__sync_nand_and_fetch_4): New function.
6672 (__sync_add_and_fetch_8): New function.
6673 (__sync_sub_and_fetch_8): New function.
6674 (__sync_or_and_fetch_8): New function.
6675 (__sync_and_and_fetch_8): New function.
6676 (__sync_xor_and_fetch_8): New function.
6677 (__sync_nand_and_fetch_8): New function.
6678 (__sync_exchange_methods): New macro.
6679 (__sync_val_compare_and_swap_4): New function.
6680 (__sync_bool_compare_and_swap_4): New function.
6681 (__sync_lock_test_and_test_4): New function.
6682 (__sync_val_compare_and_swap_8): New function.
6683 (__sync_bool_compare_and_swap_8): New function.
6684 (__sync_lock_test_and_test_8): New function.
6685 (__subword_cmpxchg_body): New macro.
6686 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6687 (__atomic_compare_exchange_2): Ditto.
6688 (__sync_subword_cmpxchg): New macro.
6689 (__sync_val_compare_and_swap_1): New function.
6690 (__sync_bool_compare_and_swap_1): New function.
6691 (__sync_val_compare_and_swap_2): New function.
6692 (__sync_bool_compare_and_swap_2): New function.
6693 (__atomic_subword): Rename to ...
6694 (__subword): ... New name.
6695 (__atomic_subword_fetch): Use __subword.
6696 (__sync_subword_fetch): New macro.
6697 (__sync_fetch_and_add_1): New function.
6698 (__sync_fetch_and_sub_1): New function.
6699 (__sync_fetch_and_or_1): New function.
6700 (__sync_fetch_and_and_1): New function.
6701 (__sync_fetch_and_xor_1): New function.
6702 (__sync_fetch_and_nand_1): New function.
6703 (__sync_fetch_and_add_2): New function.
6704 (__sync_fetch_and_sub_2): New function.
6705 (__sync_fetch_and_or_2): New function.
6706 (__sync_fetch_and_and_2): New function.
6707 (__sync_fetch_and_xor_2): New function.
6708 (__sync_fetch_and_nand_2): New function.
6709 (__sync_add_and_fetch_1): New function.
6710 (__sync_sub_and_fetch_1): New function.
6711 (__sync_or_and_fetch_1): New function.
6712 (__sync_and_and_fetch_1): New function.
6713 (__sync_xor_and_fetch_1): New function.
6714 (__sync_nand_and_fetch_1): New function.
6715 (__sync_add_and_fetch_2): New function.
6716 (__sync_sub_and_fetch_2): New function.
6717 (__sync_or_and_fetch_2): New function.
6718 (__sync_and_and_fetch_2): New function.
6719 (__sync_xor_and_fetch_2): New function.
6720 (__sync_nand_and_fetch_2): New function.
6721 (__atomic_subword_lock): Use __subword.
6722 (__sync_subword_lock): New macro.
6723 (__sync_lock_test_and_set_1): New function.
6724 (__sync_lock_test_and_set_2): New function.
6725
6726 2014-01-25 Walter Lee <walt@tilera.com>
6727
6728 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6729 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6730 (__atomic_subword): Ditto.
6731
6732 2014-01-25 Walter Lee <walt@tilera.com>
6733
6734 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6735 a prefix op argument.
6736 (__atomic_nand_fetch_4): Add prefix op.
6737 (__atomic_nand_fetch_8): Ditto.
6738
6739 2014-01-21 Baruch Siach <barch@tkos.co.il>
6740
6741 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6742
6743 2014-01-09 Rong Xu <xur@google.com>
6744
6745 * libgcov-driver.c (this_prg): make it local to save
6746 bss space.
6747 (gcov_exit_compute_summary): Ditto.
6748 (gcov_exit_merge_gcda): Ditto.
6749 (gcov_exit_merge_summary): Ditto.
6750 (gcov_exit_dump_gcov): Ditto.
6751
6752 2014-01-08 Rong Xu <xur@google.com>
6753
6754 * libgcov-driver.c: Use libgcov.h.
6755 (buffer_fn_data): Use xmalloc instead of malloc.
6756 (gcov_exit_merge_gcda): Ditto.
6757 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6758 * libgcov.h: New common header files for libgcov-*.h.
6759 * libgcov-interface.c: Use libgcov.h
6760 * libgcov-merge.c: Ditto.
6761 * libgcov-profiler.c: Ditto.
6762 * Makefile.in: Add dependence to libgcov.h
6763
6764 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6765
6766 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6767 case of small numerator and finite nonzero result.
6768
6769 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6770
6771 Update copyright years
6772
6773 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6774
6775 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6776 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6777 config/arc/dp-hack.h, config/arc/fp-hack.h,
6778 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6779 config/arc/ieee-754/arc600-dsp/divdf3.S,
6780 config/arc/ieee-754/arc600-dsp/divsf3.S,
6781 config/arc/ieee-754/arc600-dsp/muldf3.S,
6782 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6783 config/arc/ieee-754/arc600-mul64/divdf3.S,
6784 config/arc/ieee-754/arc600-mul64/divsf3.S,
6785 config/arc/ieee-754/arc600-mul64/muldf3.S,
6786 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6787 config/arc/ieee-754/arc600/divsf3.S,
6788 config/arc/ieee-754/arc600/mulsf3.S,
6789 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6790 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6791 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6792 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6793 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6794 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6795 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6796 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6797 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6798 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6799 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6800 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6801 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6802 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6803 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6804 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6805 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6806 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6807 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6808 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6809 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6810 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6811 vtv_start_preinit.c: Use the standard form for the copyright notice.
6812
6813 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6814 Chung-Lin Tang <cltang@codesourcery.com>
6815 Based on patches from Altera Corporation
6816
6817 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6818 * config/nios2/lib2-nios2.h: New file.
6819 * config/nios2/lib2-divmod-hi.c: New file.
6820 * config/nios2/linux-unwind.h: New file.
6821 * config/nios2/lib2-divmod.c: New file.
6822 * config/nios2/linux-atomic.c: New file.
6823 * config/nios2/t-nios2: New file.
6824 * config/nios2/crti.asm: New file.
6825 * config/nios2/t-linux: New file.
6826 * config/nios2/lib2-divtable.c: New file.
6827 * config/nios2/lib2-mul.c: New file.
6828 * config/nios2/tramp.c: New file.
6829 * config/nios2/crtn.asm: New file.
6830
6831 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
6832
6833 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6834 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6835 from cpuid.h to check vendor signatures.
6836
6837 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6838
6839 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6840 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6841 (get_amd_cpu): Likewise.
6842
6843 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6844
6845 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6846 Haswell.
6847
6848 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6849 H.J. Lu <hongjiu.lu@intel.com>
6850
6851 PR target/59422
6852 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
6853 and AMD_JAGUAR.
6854 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6855 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6856 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6857 FEATURE_XOP and FEATURE_FMA.
6858 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6859 AMDFAM15H_BDVER3.
6860 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6861 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6862 FEATURE_FMA4 and FEATURE_XOP.
6863
6864 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6865
6866 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6867 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6868 (get_intel_cpu): Updated.
6869
6870 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6871
6872 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6873
6874 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6875
6876 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6877 instructions when __SSE_MATH__ is defined.
6878
6879 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6880
6881 * config.host (microblaze-*-rtems*): New.
6882
6883 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6884
6885 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6886 architectures that do not have hardware divide instruction.
6887 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6888
6889 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6890
6891 * longlong.h: Delete (moved to include/).
6892
6893 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6894
6895 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6896 of normal number and qNaN to not raise an inexact exception.
6897
6898 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6899
6900 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6901
6902 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6903
6904 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6905 for correct opcodes on BE.
6906
6907 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6908
6909 * soft-fp/op-4.h: Update from glibc.
6910
6911 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6912
6913 * libgcc2.c (__udivmoddi4): Define new implementation when
6914 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6915 divide instructions.
6916
6917 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6918
6919 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6920
6921 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6922
6923 * config/t-softfp (soft-fp-objects-base): New variable.
6924 (soft-fp-objects): Use it.
6925
6926 2013-11-23 David Edelson <dje.gcc@gmail.com>
6927 Andrew Dixie <andrewd@gentrack.com>
6928
6929 PR target/33704
6930 * config/rs6000/aixinitfini.c: New file.
6931 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6932 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6933 symbols.
6934
6935 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6936
6937 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6938
6939 2013-11-18 Jan Hubicka <jh@suse.cz>
6940
6941 * libgcov-driver.c (run_accounted): Make global level static.
6942 (gcov_exit_merge_summary): Silence warning; do not clear
6943 run_accounted here.
6944 (gcov_exit): Clear it here.
6945
6946 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6947 run_accounted.
6948
6949 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6950 (all_prg, crc32): Remove static vars.
6951 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6952 all_prg.
6953 (gcov_exit_merge_gcda): Add crc32 parameter.
6954 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6955 do not account run if it was already accounted.
6956 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6957 (gcov_exit): Initialize all_prg; update.
6958
6959 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6960
6961 * configure: Regenerate.
6962
6963 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6964 Alan Modra <amodra@gmail.com>
6965
6966 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6967 (frob_update_context): Use it.
6968
6969 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6970 Alan Modra <amodra@gmail.com>
6971
6972 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6973 (trampoline_initial): Provide ELFv2 variant.
6974 (__trampoline_setup): Likewise.
6975
6976 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6977 check for AIX indirect function call sequence if _CALL_ELF == 2.
6978
6979 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6980 Alan Modra <amodra@gmail.com>
6981
6982 * config/rs6000/linux-unwind.h (get_regs): Do not support
6983 old kernel versions if _CALL_ELF == 2.
6984 (frob_update_context): Do not support PLT stub variants only
6985 generated by old linkers if _CALL_ELF == 2.
6986
6987 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6988 Alan Modra <amodra@gmail.com>
6989
6990 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6991 location of CR save area for 64-bit little-endian systems.
6992
6993 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6994
6995 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6996 in tmake_file.
6997 * config/arm/t-vxworks: Delete.
6998
6999 2013-11-10 Kai Tietz <ktietz@redhat.com>
7000
7001 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7002 Increment load-count on use of LIBGCC_SONAME DLL.
7003 (hmod_libgcc): New static variable to hold handle of
7004 LIBGCC_SONAME DLL.
7005 (__gcc_deregister_frame): Decrement load-count of
7006 LIBGCC_SONAME DLL.
7007
7008 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7009
7010 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7011 availability.
7012 * configure: Regenerate
7013
7014 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
7015
7016 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7017 FP_EX_DENORM. Store result to volatile location after SSE division
7018 to close interrupt window. Remove unneeded fwait after x87
7019 division since interrupt window will be closed by emitted fstp.
7020 Rewrite FP_EX_INEXACT handling.
7021
7022 2013-11-06 Joseph Myers <joseph@codesourcery.com>
7023
7024 * soft-fp/README: Update.
7025 * soft-fp/adddf3.c: Update from glibc.
7026 * soft-fp/addsf3.c: Likewise.
7027 * soft-fp/addtf3.c: Likewise.
7028 * soft-fp/divdf3.c: Likewise.
7029 * soft-fp/divsf3.c: Likewise.
7030 * soft-fp/divtf3.c: Likewise.
7031 * soft-fp/double.h: Likewise.
7032 * soft-fp/eqdf2.c: Likewise.
7033 * soft-fp/eqsf2.c: Likewise.
7034 * soft-fp/eqtf2.c: Likewise.
7035 * soft-fp/extenddftf2.c: Likewise.
7036 * soft-fp/extended.h: Likewise.
7037 * soft-fp/extendsfdf2.c: Likewise.
7038 * soft-fp/extendsftf2.c: Likewise.
7039 * soft-fp/extendxftf2.c: Likewise.
7040 * soft-fp/fixdfdi.c: Likewise.
7041 * soft-fp/fixdfsi.c: Likewise.
7042 * soft-fp/fixdfti.c: Likewise.
7043 * soft-fp/fixsfdi.c: Likewise.
7044 * soft-fp/fixsfsi.c: Likewise.
7045 * soft-fp/fixsfti.c: Likewise.
7046 * soft-fp/fixtfdi.c: Likewise.
7047 * soft-fp/fixtfsi.c: Likewise.
7048 * soft-fp/fixtfti.c: Likewise.
7049 * soft-fp/fixunsdfdi.c: Likewise.
7050 * soft-fp/fixunsdfsi.c: Likewise.
7051 * soft-fp/fixunsdfti.c: Likewise.
7052 * soft-fp/fixunssfdi.c: Likewise.
7053 * soft-fp/fixunssfsi.c: Likewise.
7054 * soft-fp/fixunssfti.c: Likewise.
7055 * soft-fp/fixunstfdi.c: Likewise.
7056 * soft-fp/fixunstfsi.c: Likewise.
7057 * soft-fp/fixunstfti.c: Likewise.
7058 * soft-fp/floatdidf.c: Likewise.
7059 * soft-fp/floatdisf.c: Likewise.
7060 * soft-fp/floatditf.c: Likewise.
7061 * soft-fp/floatsidf.c: Likewise.
7062 * soft-fp/floatsisf.c: Likewise.
7063 * soft-fp/floatsitf.c: Likewise.
7064 * soft-fp/floattidf.c: Likewise.
7065 * soft-fp/floattisf.c: Likewise.
7066 * soft-fp/floattitf.c: Likewise.
7067 * soft-fp/floatundidf.c: Likewise.
7068 * soft-fp/floatundisf.c: Likewise.
7069 * soft-fp/floatunditf.c: Likewise.
7070 * soft-fp/floatunsidf.c: Likewise.
7071 * soft-fp/floatunsisf.c: Likewise.
7072 * soft-fp/floatunsitf.c: Likewise.
7073 * soft-fp/floatuntidf.c: Likewise.
7074 * soft-fp/floatuntisf.c: Likewise.
7075 * soft-fp/floatuntitf.c: Likewise.
7076 * soft-fp/gedf2.c: Likewise.
7077 * soft-fp/gesf2.c: Likewise.
7078 * soft-fp/getf2.c: Likewise.
7079 * soft-fp/ledf2.c: Likewise.
7080 * soft-fp/lesf2.c: Likewise.
7081 * soft-fp/letf2.c: Likewise.
7082 * soft-fp/muldf3.c: Likewise.
7083 * soft-fp/mulsf3.c: Likewise.
7084 * soft-fp/multf3.c: Likewise.
7085 * soft-fp/negdf2.c: Likewise.
7086 * soft-fp/negsf2.c: Likewise.
7087 * soft-fp/negtf2.c: Likewise.
7088 * soft-fp/op-1.h: Likewise.
7089 * soft-fp/op-2.h: Likewise.
7090 * soft-fp/op-4.h: Likewise.
7091 * soft-fp/op-8.h: Likewise.
7092 * soft-fp/op-common.h: Likewise.
7093 * soft-fp/quad.h: Likewise.
7094 * soft-fp/single.h: Likewise.
7095 * soft-fp/soft-fp.h: Likewise.
7096 * soft-fp/subdf3.c: Likewise.
7097 * soft-fp/subsf3.c: Likewise.
7098 * soft-fp/subtf3.c: Likewise.
7099 * soft-fp/truncdfsf2.c: Likewise.
7100 * soft-fp/trunctfdf2.c: Likewise.
7101 * soft-fp/trunctfsf2.c: Likewise.
7102 * soft-fp/trunctfxf2.c: Likewise.
7103 * soft-fp/unorddf2.c: Likewise.
7104 * soft-fp/unordsf2.c: Likewise.
7105 * soft-fp/unordtf2.c: Likewise.
7106
7107 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
7108
7109 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7110 (_FP_MUL_MEAT_D): Ditto.
7111 (_FP_DIV_MEAT_S): Ditto.
7112 (_FP_DIV_MEAT_D): Ditto.
7113 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7114 t-softfp-sfdf and t-softfp to tmake_file.
7115
7116 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
7117
7118 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7119 * config/i386/crtprec.c: Ditto.
7120
7121 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7122 Shiva Chen <shiva0217@gmail.com>
7123
7124 * config.host (nds32*-elf*): Add nds32 target.
7125 * config/nds32 : New directory and files.
7126
7127 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
7128
7129 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7130 * config.host (cpu_type) <Setting default>: Add entry for
7131 crisv32-*-*.
7132 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7133 <crisv32-*-linux*>: Adjust.
7134 * longlong.h: Wrap the whole CRIS section in a single
7135 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7136 and sub_ddmmss.
7137 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7138 defined.
7139 [__CRIS__] (__umulsidi3): Define.
7140 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7141 * config/cris/sfp-machine.h: New file.
7142 * config/cris/umulsidi3.S: New file.
7143 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7144 * config/cris/arit.c (SIGNMULT): New macro.
7145 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7146 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7147 saving 3 out of originally 33 cycles from the fastest
7148 path, 3 out of 54 from the medium path and one from the longest
7149 path. Improve comments.
7150
7151 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7152
7153 * sync.c: Remove static aliases and define each function directly
7154 under its real name.
7155
7156 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
7157
7158 * config.host (hppa*64*-*-linux*): Define extra_parts.
7159 (hppa*-*-linux*): Likewise.
7160
7161 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7162
7163 * config/arc/crtgend.S: Add 2013 to Copyright years.
7164 * config/arc/gmon/atomic.h: Likewise.
7165 * config/arc/gmon/auxreg.h: Likewise.
7166 * config/arc/gmon/sys/gmon_out.h: Likewise.
7167 * config/arc/gmon/sys/gmon.h: Likewise.
7168 * config/arc/gmon/prof-freq.c: Likewise.
7169 * config/arc/gmon/mcount.c: Likewise.
7170 * config/arc/gmon/prof-freq-stub.S: Likewise.
7171 * config/arc/gmon/gmon.c: Likewise.
7172 * config/arc/gmon/machine-gmon.h: Likewise.
7173 * config/arc/gmon/profil.S: Likewise.
7174 * config/arc/gmon/dcache_linesz.S: Likewise.
7175 * config/arc/crtg.S: Likewise.
7176 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7177 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7178 * config/arc/ieee-754/adddf3.S: Likewise.
7179 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7180 * config/arc/ieee-754/fixsfsi.S: Likewise.
7181 * config/arc/ieee-754/gtsf2.S: Likewise.
7182 * config/arc/ieee-754/floatsisf.S: Likewise.
7183 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7184 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7185 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7186 * config/arc/ieee-754/fixdfsi.S: Likewise.
7187 * config/arc/ieee-754/addsf3.S: Likewise.
7188 * config/arc/ieee-754/gesf2.S: Likewise.
7189 * config/arc/ieee-754/floatsidf.S: Likewise.
7190 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7191 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7192 * config/arc/ieee-754/gtdf2.S: Likewise.
7193 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7194 * config/arc/ieee-754/uneqdf2.S: Likewise.
7195 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7196 * config/arc/ieee-754/uneqsf2.S: Likewise.
7197 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7198 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7199 * config/arc/ieee-754/eqdf2.S: Likewise.
7200 * config/arc/ieee-754/ordsf2.S: Likewise.
7201 * config/arc/ieee-754/divsf3.S: Likewise.
7202 * config/arc/ieee-754/divdf3.S: Likewise.
7203 * config/arc/ieee-754/floatunsidf.S: Likewise.
7204 * config/arc/ieee-754/orddf2.S: Likewise.
7205 * config/arc/ieee-754/eqsf2.S: Likewise.
7206 * config/arc/ieee-754/gedf2.S: Likewise.
7207 * config/arc/crtn.S: Likewise.
7208 * config/arc/crti.S: Likewise.
7209 * config/arc/t-arc700-uClibc: Likewise.
7210 * config/arc/asm.h: Likewise.
7211 * config/arc/libgcc-excl.ver: Likewise.
7212 * config/arc/t-arc-newlib: Likewise.
7213 * config/arc/divtab-arc700.c: Likewise.
7214 * config/arc/initfini.c: Likewise.
7215 * config/arc/fp-hack.h: Likewise.
7216
7217 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7218 Diego Novillo <dnovillo@google.com>
7219
7220 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
7221 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7222 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7223 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
7224
7225 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7226 Brendan Kehoe <brendan@zen.org>
7227 Simon Cook <simon.cook@embecosm.com>
7228
7229 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7230 * config/arc: New directory.
7231 * longlong.h [__arc__] (umul_ppmm): Remove.
7232 [__arc__] (__umulsidi3): Define.
7233 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7234 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7235
7236 2013-09-17 Jacek Caban <jacek@codeweavers.com>
7237
7238 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7239 CreateSemaphoreA.
7240 * config/i386/gthr-win32.h: Likewise.
7241
7242 2013-09-16 DJ Delorie <dj@redhat.com>
7243
7244 * config/rl78/vregs.h: Add G10 register definitions.
7245 * config/rl78/lib2mul.c: Enable for RL78/G10.
7246 * config/rl78/lib2div.c: Likewise.
7247 * config/rl78/lshrsi3.S: Use vregs.h.
7248 * config/rl78/cmpsi2.S: Likewise.
7249 * config/rl78/trampoline.S: Likewise.
7250 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7251
7252 2013-09-14 DJ Delorie <dj@redhat.com>
7253 Nick Clifton <nickc@redhat.com>
7254
7255 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7256 * config/rl78/vregs.h: New.
7257 * config/rl78/signbit.S: New file. Implements signbit function.
7258 * config/rl78/divmodsi.S: New.
7259 * config/rl78/divmodhi.S: New.
7260 * config/rl78/divmodqi.S: New.
7261 * config/rl78/t-rl78: Build them here...
7262 * config/rl78/lib2div.c: ...but not here.
7263
7264 2013-09-12 DJ Delorie <dj@redhat.com>
7265
7266 * config.host (msp*-*-elf): New.
7267 * config/msp430/: New port.
7268
7269 2013-08-18 Iain Sandoe <iain@codesourcery.com>
7270
7271 PR gcov-profile/58127
7272 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7273 __thread var for emulated TLS.
7274 (__gcov_indirect_call_counters): Likewise.
7275
7276 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
7277 Catherine Moore <clm@codesourcery.com>
7278 Richard Sandiford <rdsandiford@googlemail.com>
7279
7280 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7281 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7282 (CALL_STUB_NO_RET): Likewise.
7283 (CALL_STUB_RET): Likewise.
7284 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7285 __mips16_ret call/return stub symbols.
7286 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7287 to tmake_file.
7288
7289 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7290
7291 * config.host <mips*-*-linux*>: Remove a stray comment.
7292
7293 2013-08-10 Jan Hubicka <jh@suse.cz>
7294
7295 Work around binutils PR14342
7296 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7297 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7298 (L_gcov_indirect_call_profiler_v2): New.
7299
7300 2013-08-06 Jan Hubicka <jh@suse.cz>
7301
7302 * libgcov.c (__gcov_indirect_call_callee,
7303 __gcov_indirect_call_counters): New global vars.
7304 (__gcov_indirect_call_profiler): replace by ...
7305 (__gcov_indirect_call_profiler_v2) ... this one.
7306
7307 2013-08-06 Caroline Tice <cmtice@google.com>
7308
7309 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
7310 vtv_start_preinit.o and vtv_end_preinit.o.
7311 * configure.ac: Add code to check/set enable_vtable_verify.
7312 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7313 true.
7314 * vtv_start_preinit.c: New file.
7315 * vtv_end_preinit.c: New file.
7316 * vtv_start.c: New file.
7317 * vtv_end.c: New file.
7318 * configure: Regenerated.
7319
7320 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7321
7322 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7323 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7324 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7325 GPL-3.0-with-GCC-exception.
7326
7327 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7328
7329 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7330 ISA and up.
7331
7332 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7333
7334 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7335 mapping for FPRs when creating the fallback framestate.
7336
7337 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
7338
7339 PR target/57516
7340 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7341 (__round_s2_const, __round_u2_const)
7342 (__round_s4_const, __round_u4_const, __round_x8):
7343 Saturate result if addition result cannot be represented.
7344
7345 2013-07-15 Matthias Klose <doko@ubuntu.com>
7346
7347 * libgcc2.c: Don't include <limits.h>.
7348
7349 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
7350
7351 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7352
7353 2013-07-06 Jakub Jelinek <jakub@redhat.com>
7354
7355 PR target/29776
7356 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7357
7358 2013-06-28 Jakub Jelinek <jakub@redhat.com>
7359
7360 PR middle-end/36041
7361 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7362 Define.
7363 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7364 instead of table lookups.
7365 (__popcountDI2): Likewise.
7366
7367 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7368
7369 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7370 correctly.
7371
7372 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7373
7374 PR other/53317
7375 * soft-fp/adddf3.c: Update from glibc.
7376 * soft-fp/addsf3.c: Likewise.
7377 * soft-fp/addtf3.c: Likewise.
7378 * soft-fp/divdf3.c: Likewise.
7379 * soft-fp/divsf3.c: Likewise.
7380 * soft-fp/divtf3.c: Likewise.
7381 * soft-fp/double.h: Likewise.
7382 * soft-fp/eqdf2.c: Likewise.
7383 * soft-fp/eqsf2.c: Likewise.
7384 * soft-fp/eqtf2.c: Likewise.
7385 * soft-fp/extenddftf2.c: Likewise.
7386 * soft-fp/extended.h: Likewise.
7387 * soft-fp/extendsfdf2.c: Likewise.
7388 * soft-fp/extendsftf2.c: Likewise.
7389 * soft-fp/fixdfdi.c: Likewise.
7390 * soft-fp/fixdfsi.c: Likewise.
7391 * soft-fp/fixsfdi.c: Likewise.
7392 * soft-fp/fixsfsi.c: Likewise.
7393 * soft-fp/fixtfdi.c: Likewise.
7394 * soft-fp/fixtfsi.c: Likewise.
7395 * soft-fp/fixunsdfdi.c: Likewise.
7396 * soft-fp/fixunsdfsi.c: Likewise.
7397 * soft-fp/fixunssfdi.c: Likewise.
7398 * soft-fp/fixunssfsi.c: Likewise.
7399 * soft-fp/fixunstfdi.c: Likewise.
7400 * soft-fp/fixunstfsi.c: Likewise.
7401 * soft-fp/floatdidf.c: Likewise.
7402 * soft-fp/floatdisf.c: Likewise.
7403 * soft-fp/floatditf.c: Likewise.
7404 * soft-fp/floatsidf.c: Likewise.
7405 * soft-fp/floatsisf.c: Likewise.
7406 * soft-fp/floatsitf.c: Likewise.
7407 * soft-fp/floatundidf.c: Likewise.
7408 * soft-fp/floatundisf.c: Likewise.
7409 * soft-fp/floatunditf.c: Likewise.
7410 * soft-fp/floatunsidf.c: Likewise.
7411 * soft-fp/floatunsisf.c: Likewise.
7412 * soft-fp/floatunsitf.c: Likewise.
7413 * soft-fp/gedf2.c: Likewise.
7414 * soft-fp/gesf2.c: Likewise.
7415 * soft-fp/getf2.c: Likewise.
7416 * soft-fp/ledf2.c: Likewise.
7417 * soft-fp/lesf2.c: Likewise.
7418 * soft-fp/letf2.c: Likewise.
7419 * soft-fp/muldf3.c: Likewise.
7420 * soft-fp/mulsf3.c: Likewise.
7421 * soft-fp/multf3.c: Likewise.
7422 * soft-fp/negdf2.c: Likewise.
7423 * soft-fp/negsf2.c: Likewise.
7424 * soft-fp/negtf2.c: Likewise.
7425 * soft-fp/op-1.h: Likewise.
7426 * soft-fp/op-2.h: Likewise.
7427 * soft-fp/op-4.h: Likewise.
7428 * soft-fp/op-8.h: Likewise.
7429 * soft-fp/op-common.h: Likewise.
7430 * soft-fp/quad.h: Likewise.
7431 * soft-fp/single.h: Likewise.
7432 * soft-fp/soft-fp.h: Likewise.
7433 * soft-fp/subdf3.c: Likewise.
7434 * soft-fp/subsf3.c: Likewise.
7435 * soft-fp/subtf3.c: Likewise.
7436 * soft-fp/truncdfsf2.c: Likewise.
7437 * soft-fp/trunctfdf2.c: Likewise.
7438 * soft-fp/trunctfsf2.c: Likewise.
7439 * soft-fp/unorddf2.c: Likewise.
7440 * soft-fp/unordsf2.c: Likewise.
7441 * soft-fp/unordtf2.c: Likewise.
7442 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7443 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7444 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7445 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7446 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7447 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7448 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7449 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7450 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7451 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7452 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7453 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7454
7455 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7456
7457 * config/mips/lib2funcs.c: New file.
7458 * config/mips/t-mips (LIB2ADD_ST): Add it.
7459
7460 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7461
7462 PR target/6526
7463 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7464 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7465
7466 2013-06-08 Walter Lee <walt@tilera.com>
7467
7468 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7469 Replace int64_t with long long. Add __extension__ where
7470 appropriate.
7471 * config/tilepro/atomic.c: Include config.h.
7472
7473 2013-06-06 Douglas B Rupp <rupp@adacore.com>
7474
7475 * config.host (arm-wrs-vxworks): Configure with other soft float.
7476
7477 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7478
7479 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7480 (mips64r5900el-*-elf*): New configurations.
7481
7482 2013-06-04 Alan Modra <amodra@gmail.com>
7483
7484 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7485
7486 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7487
7488 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7489
7490 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7491
7492 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7493 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7494 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7495
7496 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7497
7498 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7499 (powerpc-wrs-vxworks): Likewise.
7500
7501 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7502
7503 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7504 signal frames as well.
7505 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7506 STACK_BIAS to the CFA offset.
7507
7508 2013-05-17 Richard Henderson <rth@redhat.com>
7509
7510 PR target/49146
7511 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7512 (execute_cfa_program): Use it when storing to fs->regs.
7513
7514 2013-05-08 Kai Tietz <ktietz@redhat.com>
7515
7516 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7517 (__deregister_frame_info): Likewise.
7518
7519 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7520
7521 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7522 NaN's payload.
7523
7524 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7525
7526 2013-04-25 Alan Modra <amodra@gmail.com>
7527
7528 * config.host: Match little-endian powerpc-linux.
7529
7530 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7531
7532 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7533 as 'unsigned long long' instead of 'unsigned long'.
7534 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7535 'signed long'.
7536
7537 2013-04-10 Julian Brown <julian@codesourcery.com>
7538
7539 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7540 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7541 unsigned char/unsigned short.
7542 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7543
7544 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7545
7546 PR other/55274
7547 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7548
7549 2013-04-04 Meador Inge <meadori@codesourcery.com>
7550
7551 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7552 computing the location of the link register.
7553 (aeabi_uldivmod): Ditto.
7554
7555 2013-03-27 Kai Tietz <ktietz@redhat.com>
7556
7557 * config.host: Add support for cygwin x64 target.
7558 * configure: Regenerated.
7559
7560 2013-03-26 Walter Lee <walt@tilera.com>
7561
7562 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7563 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7564
7565 2013-03-25 Kai Tietz <ktietz@redhat.com>
7566
7567 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7568
7569 2013-03-20 Robert Mason <rbmj@verizon.net>
7570
7571 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7572 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7573 (__gthread_leave_tsd_dtor_context): Add prototypes.
7574 (tls_delete_hook): Update.
7575
7576 2013-03-20 Catherine Moore <clm@codesourcery.com>
7577 Joseph Myers <joseph@codesourcery.com>
7578 Chao-ying Fu <fu@mips.com>
7579
7580 * config/mips/mips16.S: Don't build for microMIPS.
7581 * config/mips/linux-unwind.h: Handle microMIPS frame.
7582 * config/mips/crtn.S (fini, init): New labels.
7583
7584 2013-03-14 Jakub Jelinek <jakub@redhat.com>
7585
7586 PR tree-optimization/53265
7587 * unwind-dw2.c (execute_cfa_program): Avoid
7588 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7589 on targets with DWARF_FRAME_REGISTERS < 32.
7590
7591 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7592
7593 PR target/49880
7594 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7595 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7596
7597 2013-03-07 Sriraman Tallam <tmsriram@google.com>
7598
7599 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7600 sandybridge processors.
7601
7602 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7603
7604 PR target/56529
7605 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7606 inclusion list.
7607
7608 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7609
7610 * config/microblaze/crti.S: Setup stack protection at entry
7611
7612 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
7613
7614 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7615 (__rotldi3): Shift bytewise if applicable.
7616
7617 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7618
7619 * config/aarch64/sync-cache.c
7620 (__aarch64_sync_cache_range): Silence warnings.
7621
7622 2013-02-25 Catherine Moore <clm@codesourcery.com>
7623
7624 Revert:
7625 2013-02-24 Catherine Moore <clm@codesourcery.com>
7626 Joseph Myers <joseph@codesourcery.com>
7627 Chao-ying Fu <fu@mips.com>
7628
7629 * config/mips/mips16.S: Don't build for microMIPS.
7630 * config/mips/linux-unwind.h: Handle microMIPS frame.
7631 * config/mips/crtn.S (fini, init): New labels.
7632
7633 2013-02-24 Catherine Moore <clm@codesourcery.com>
7634 Joseph Myers <joseph@codesourcery.com>
7635 Chao-ying Fu <fu@mips.com>
7636
7637 * config/mips/mips16.S: Don't build for microMIPS.
7638 * config/mips/linux-unwind.h: Handle microMIPS frame.
7639 * config/mips/crtn.S (fini, init): New labels.
7640
7641 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7642 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7643 as dividend.
7644
7645 2013-02-16 Alan Modra <amodra@gmail.com>
7646
7647 PR target/55431
7648 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7649 (ppc_fallback_frame_state): Always set up save locations for fp
7650 and altivec. Don't bother with non-callee-saved regs, r0-r13
7651 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7652
7653 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
7654
7655 PR target/54222
7656 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7657 _ssmulHA, _ssmulSA.
7658 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7659 _ssmulha3, _usmulusa3, _ssmulsa3.
7660 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7661 (__muldi3): XCALL __muldi3_6 instead of rcall.
7662 (__umulsidi3, __mulsidi3): New functions.
7663 (do_prologue_saves, do_epilogue_restores): New .macros.
7664 (__divdi3_moddi3): Use them.
7665 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7666 (__usmulusa3, __ssmulsa3): New functions.
7667
7668 2013-02-11 Iain Sandoe <iain@codesourcery.com>
7669 Jack Howarth <howarth@bromo.med.uc.edu>
7670 Patrick Marlier <patrick.marlier@gmail.com>
7671
7672 PR libitm/55693
7673 * config/darwin-crt-tm.c: Remove dummy functions hack.
7674
7675 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
7676
7677 PR target/54222
7678 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7679 * config/avr/lib2-object.mk: New iterator to build objects from it.
7680 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7681 lib2funcs.c.
7682 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7683 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7684 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7685 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7686 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7687 * config/avr/lib1funcs-fixed.S: Implement them.
7688
7689 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7690
7691 Update copyright years.
7692
7693 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
7694
7695 PR target/54601
7696 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7697 Add crtcxa to extra_parts.
7698 * config/rs6000/exit.h: New file.
7699 * config/rs6000/cxa_atexit.c: New file.
7700 * config/rs6000/cxa_finalize.c: New file.
7701 * config/rs6000/crtcxa.c: New file.
7702 * config/rs6000/t-aix-cxa: New file.
7703 * config/rs6000/libgcc-aix-cxa.ver: New file.
7704
7705 2013-01-31 Nick Clifton <nickc@redhat.com>
7706
7707 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7708 variant.
7709
7710 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
7711
7712 PR target/54222
7713 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7714 _mulQQ, _mulHQ, _mulHA, _mulSA,
7715 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7716 _divQQ, _divHQ, _divHA, _divSA,
7717 _divUQQ, _divUHQ, _divUHA, _divUSA.
7718
7719 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
7720
7721 * config.host(microblaze*-linux*): tmake_file: Remove
7722 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7723 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7724 to exclude functions from being built with libgcc.c and use
7725 the microblaze assembly.
7726
7727 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7728
7729 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7730 extra_parts.
7731
7732 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7733
7734 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7735 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7736 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7737 alignment operation.
7738
7739 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7740
7741 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7742 loop start address for cache clearing.
7743
7744 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7745
7746 * config/avr/lib1funcs.S: Remove trailing blanks.
7747 * config/avr/lib1funcs-fixed.S: Ditto.
7748
7749 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7750
7751 * config/avr/avr-lib.h: Add GPL copyright notice.
7752
7753 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7754
7755 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7756 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7757 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7758 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7759
7760 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
7761
7762 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7763 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7764
7765 2013-01-04 Nick Clifton <nickc@redhat.com>
7766
7767 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7768 the CALLT instruction is supported.
7769
7770 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7771
7772 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7773 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7774
7775 2012-12-13 John Tytgat <John@bass-software.com>
7776
7777 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7778 is 25.
7779
7780 2012-12-12 Jakub Jelinek <jakub@redhat.com>
7781
7782 PR libgcc/55451
7783 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7784 undefined signed overflows.
7785
7786 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
7787
7788 PR target/55344
7789 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7790
7791 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
7792
7793 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7794 (FP_TRAPPING_EXCEPTIONS): Define.
7795 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7796 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7797
7798 2012-12-04 Richard Henderson <rth@redhat.com>
7799
7800 PR bootstrap/55571
7801 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7802
7803 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7804
7805 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7806 (FP_EX_SHIFT): Define.
7807 (FP_TRAPPING_EXCEPTIONS): Define.
7808
7809 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7810
7811 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7812 (FP_ROUNDMODE): Use FP_RND_MASK.
7813 * config/aarch64/sfp-exceptions.c: New.
7814 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7815 Use __sfp_handle_exceptions.
7816
7817 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
7818
7819 * config.host: (arm*-*-freebsd*): Remove.
7820 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7821 (arm*-*-elf*): Remove.
7822 (arm*-*-wince-pe*): Remove.
7823 * arm/unwind-arm.c (struct fpa_reg): Delete.
7824 (struct fpa_regs): Delete.
7825 (phase1_vrs): Remove fpa element.
7826 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7827 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7828 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7829 * ieee754-sf.S (floatundisf): Remove FPA support.
7830 (floatdisf): Likewise.
7831 * ieee75f-df.S (floatundidf): Likewise.
7832 (floatdidf): Likewise.
7833
7834 2012-11-29 Kai Tietz <ktietz@redhat.com>
7835
7836 PR target/55445
7837 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7838 * unwind-generic.h: Likewise.
7839 * unwind-seh.c: Likewise.
7840
7841 2012-11-28 Richard Henderson <rth@redhat.com>
7842
7843 PR libgcc/48076
7844 * emutls.c (__emutls_get_address): Avoid race condition between
7845 obj->loc.offset read and emutls_key initialization.
7846
7847 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
7848
7849 Adjust decimal point of signed accum mode to GCC default.
7850
7851 PR target/54222
7852 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7853 _divqq_helper.
7854 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7855 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7856 (__mulha3, __mulsa3)
7857 (__divqq3, __divha3, __divsa3): Adjust to new position of
7858 decimal point of signed accum types.
7859
7860 (__mulusa3_round): New function.
7861 (__mulusa3): Use it.
7862 (__divqq_helper): New function.
7863 (__udivuqq3): Use it.
7864
7865 2012-11-20 Jakub Jelinek <jakub@redhat.com>
7866
7867 PR bootstrap/55370
7868 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7869
7870 2012-11-18 Teresa Johnson <tejohnson@google.com>
7871
7872 PR bootstrap/55051
7873 * libgcov.c (gcov_exit): Remove merged program summary
7874 comparison unless !GCOV_LOCKED.
7875
7876 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7877
7878 * soft-fp: Updated from glibc upstream.
7879
7880 2012-11-06 Ian Lance Taylor <iant@google.com>
7881
7882 * generic-morestack.c (__generic_morestack): Align the returned
7883 stack pointer to a 32 byte boundary.
7884 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7885 increment the return address until we have decided that we don't
7886 have a varargs function.
7887 (__morestack) [32-bit]: Align stack correctly when calling C
7888 functions.
7889 (__morestack) [64-bit]: Likewise.
7890
7891 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7892
7893 * configure: Regenerate.
7894
7895 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7896
7897 PR target/55175
7898 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7899 * config/i386/sfp-machine.h: Guard exception handling
7900 code with _SOFT_FLOAT.
7901 * config/i386/32/sfp-machine.h: Guard rounding handling
7902 code with _SOFT_FLOAT.
7903 * config/i386/64/sfp-machine.h: Ditto.
7904
7905 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7906
7907 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7908 as extra_parts.
7909
7910 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7911
7912 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7913 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7914 when appropriate. Correct structure element types.
7915 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7916 -minline-all-stringops from compile flags.
7917
7918 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7919
7920 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7921
7922 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7923
7924 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7925
7926 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7927
7928 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7929 tmake_file.
7930
7931 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7932 Jim MacArthur <jim.macarthur@arm.com>
7933 Marcus Shawcroft <marcus.shawcroft@arm.com>
7934 Nigel Stephens <nigel.stephens@arm.com>
7935 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7936 Richard Earnshaw <rearnsha@arm.com>
7937 Sofiane Naci <sofiane.naci@arm.com>
7938 Stephen Thomas <stephen.thomas@arm.com>
7939 Tejas Belagod <tejas.belagod@arm.com>
7940 Yufeng Zhang <yufeng.zhang@arm.com>
7941
7942 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7943 * config/aarch64/crti.S: New file.
7944 * config/aarch64/crtn.S: New file.
7945 * config/aarch64/linux-unwind.h: New file.
7946 * config/aarch64/sfp-machine.h: New file.
7947 * config/aarch64/sync-cache.c: New file.
7948 * config/aarch64/t-aarch64: New file.
7949 * config/aarch64/t-softfp: New file.
7950
7951 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7952
7953 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7954 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7955 no-longer-needed LDBU insns.
7956
7957 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7958
7959 * config.host
7960 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7961 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7962
7963 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7964
7965 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7966
7967 2012-10-15 Matthias Klose <doko@ubuntu.com>
7968
7969 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7970
7971 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7972
7973 * configure: Regenerate.
7974 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7975
7976 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7977
7978 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7979 instructions for 64bit targets only.
7980
7981 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7982
7983 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7984 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7985 * config/i386/32/sfp-machine.h: ... here.
7986 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7987 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7988 New defines.
7989
7990 2012-10-07 Matthias Klose <doko@ubuntu.com>
7991
7992 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7993 as unused.
7994 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7995
7996 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7997
7998 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7999 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8000 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8001 (ElfW): Likewise.
8002
8003 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8004
8005 PR other/53889
8006 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8007 Fix parameter names.
8008
8009 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8010
8011 PR target/33135
8012 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8013 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8014 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8015
8016 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8017
8018 PR target/50457
8019 * config/sh/linux-atomic.S: Delete.
8020 * config/sh/linux-atomic.c: New.
8021 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8022 linux-atomic.c. Add cflags to disable warnings.
8023
8024 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8025
8026 PR other/53889
8027 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8028 function.
8029 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8030 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8031 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8032 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8033 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8034 Likewise.
8035 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8036 Likewise.
8037 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8038 Likewise.
8039 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8040 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8041
8042 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
8043
8044 * config.host (hppa-*-openbsd*): New target.
8045 * config/pa/t-openbsd: New file.
8046
8047 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
8048
8049 PR target/54222
8050 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8051 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8052 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8053 (__divsa3): Use __negsi2 to negate r_quoL.
8054 * config/avr/lib1funcs.S (FALIAS): New macro.
8055 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8056 (__negsi2): ...this new function.
8057 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8058 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8059 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8060 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8061 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8062 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8063
8064 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8065
8066 PR target/54089
8067 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8068 (lshrsi3): Reimplement as lshrsi3_r0.
8069
8070 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8071
8072 PR target/46191
8073 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8074 of libgcc.a.
8075
8076 2012-09-07 Teresa Johnson <tejohnson@google.com>
8077
8078 PR gcov-profile/54487
8079 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8080 differences.
8081
8082 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
8083
8084 PR target/54461
8085 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8086 not configured --with-avrlibc=no.
8087 * config/avr/t-avrlibc: New file.
8088 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8089 (DPBIT_FUNCS): Ditto.
8090 (TPBIT_FUNCS): Ditto.
8091
8092 2012-09-04 Teresa Johnson <tejohnson@google.com>
8093
8094 * libgcov.c (struct gcov_summary_buffer): New structure.
8095 (gcov_histogram_insert): New function.
8096 (gcov_compute_histogram): Ditto.
8097 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8098 histograms during summary merging.
8099
8100 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
8101
8102 * config.host (x86_64-*-openbsd*): New target.
8103
8104 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8105
8106 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8107 attribute.
8108
8109 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8110
8111 PR target/54222
8112 * config/avr/t-avr (conv_X): Rename to func_X.
8113
8114 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8115
8116 PR target/54222
8117 * config/avr/lib1funcs-fixed.S: New file.
8118 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8119 after they are used.
8120 (neg2, neg4): New macros.
8121 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8122 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8123 (__umulhisi3): Speed up MUL variant if there is enough flash.
8124 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8125 avr-modes.def.
8126 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8127 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8128 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8129 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8130 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8131 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8132 (LIB2FUNCS_EXCLUDE): Add supported functions.
8133
8134 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
8135
8136 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8137 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8138 libgcc-s-objects.
8139 * fixed-obj.mk: Only expand dependency if $o is not in
8140 LIB2FUNCS_EXCLUDE.
8141
8142 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8143
8144 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8145
8146 2012-08-22 Joseph Myers <joseph@codesourcery.com>
8147
8148 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8149 depend on --enable-shared.
8150 ($(lib1asmfuncs-o)): Use %.vis files independent of
8151 --enable-shared.
8152 * static-object.mk ($(base)$(objext), $(base).vis)
8153 ($(base)_s$(objext)): Use same rules for visibility handling as in
8154 shared-object.mk.
8155
8156 2012-08-21 Ian Lance Taylor <iant@google.com>
8157
8158 * config/i386/morestack.S (__morestack_non_split): Increase amount
8159 of space allocated for non-split code stack.
8160
8161 2012-08-19 Joseph Myers <joseph@codesourcery.com>
8162
8163 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8164 even if inhibit_libc.
8165
8166 2012-08-17 Julian Brown <julian@codesourcery.com>
8167
8168 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8169 -fexceptions -fnon-call-exceptions if not defined.
8170 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8171 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8172
8173 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8174
8175 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8176 type.
8177
8178 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
8179
8180 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8181 rs6000/t-slibgcc-aix.
8182
8183 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8184
8185 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8186
8187 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8188
8189 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8190
8191 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8192
8193 PR driver/54171
8194 * Makefile.in (version): Replace top_srcdir with srcdir.
8195
8196 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8197
8198 * Makefile.in (version): set to BASE-VER file from gcc directory.
8199
8200 2012-08-01 Nick Clifton <nickc@redhat.com>
8201
8202 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8203 Implements __clrsb for an HImode argument.
8204
8205 2012-07-31 Nick Clifton <nickc@redhat.com>
8206
8207 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8208 Implements __clrsb for an HImode argument.
8209 * config/stormy16/clrsbhi2.c: New file:
8210 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8211
8212 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8213
8214 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8215
8216 2012-07-19 Tristan Gingold <gingold@adacore.com>
8217 Richard Henderson <rth@redhat.com>
8218
8219 * unwind-seh.c: New file.
8220 * unwind-generic.h: Include windows.h for SEH.
8221 (_Unwind_Exception): Use 6 private fields for SEH.
8222 (_GCC_specific_handler): Declare.
8223 * unwind-c.c (__gcc_personality_seh0): New function.
8224 Adjust for SEH.
8225 * config/i386/libgcc-cygming.ver: New file.
8226 * config/i386/t-seh-eh: New file.
8227 * config.host (x86_64-*-mingw*): Default to seh.
8228
8229 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8230
8231 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8232
8233 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
8234
8235 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8236 __builtin_expect when checking for exceptions.
8237 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8238
8239 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8240
8241 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8242 function declaration.
8243 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8244 (FP_RND_MASK): New.
8245 * config/ia64/sfp-exceptions.c: New.
8246 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
8247
8248 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8249
8250 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8251 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8252 * config/i386/64/sfp-machine: ... (delete here) ...
8253 * config/i386/sfp-machine.h: ... to here.
8254 (FP_EX_MASK): Remove.
8255 (FP_RND_MASK): New.
8256 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8257
8258 2012-06-11 Sriraman Tallam <tmsriram@google.com>
8259
8260 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8261 * config/i386/libgcc-sol2.ver: Ditto.
8262 * config/i386/libgcc-glibc.ver: Ditto.
8263
8264 2012-06-11 Roland McGrath <mcgrathr@google.com>
8265
8266 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8267 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8268 pthread_cancel.
8269
8270 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
8271
8272 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8273 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8274 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8275 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8276 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8277 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8278 * config/i386/64/sfp-machine: ... (delete here) ...
8279 * config/i386/sfp-machine.h: ... to here.
8280 (FP_EX_MASK): New.
8281 (__sfp_handle_exceptions): New function declaration.
8282 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8283 * config/i386/sfp-exceptions.c: New.
8284 * config/i386/t-softfp: New.
8285 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8286 i386/t-softfp to tmake_file.
8287
8288 2012-06-03 David S. Miller <davem@davemloft.net>
8289
8290 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8291 change.
8292
8293 2012-05-31 David S. Miller <davem@davemloft.net>
8294
8295 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8296 multiply and divide instructions on 32-bit when V9.
8297 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8298
8299 2012-05-29 Joseph Myers <joseph@codesourcery.com>
8300
8301 * config/arm/ieee754-df.S: Fix typos.
8302 * config/arm/ieee754-sf.S: Fix typos.
8303 * config/c6x/libunwind.S: Fix typos.
8304 * config/epiphany/udivsi3-float.c: Fix typos.
8305 * config/microblaze/muldi3_hard.S: Fix typos.
8306 * config/picochip/adddi3.S: Fix typos.
8307 * config/picochip/ashlsi3.S: Fix typos.
8308 * config/picochip/ashrsi3.S: Fix typos.
8309 * config/picochip/clzsi2.S: Fix typos.
8310 * config/picochip/cmpsi2.S: Fix typos.
8311 * config/picochip/divmod15.S: Fix typos.
8312 * config/picochip/divmodhi4.S: Fix typos.
8313 * config/picochip/divmodsi4.S: Fix typos.
8314 * config/picochip/longjmp.S: Fix typos.
8315 * config/picochip/lshrsi3.S: Fix typos.
8316 * config/picochip/parityhi2.S: Fix typos.
8317 * config/picochip/popcounthi2.S: Fix typos.
8318 * config/picochip/setjmp.S: Fix typos.
8319 * config/picochip/subdi3.S: Fix typos.
8320 * config/picochip/ucmpsi2.S: Fix typos.
8321 * config/picochip/udivmodhi4.S: Fix typos.
8322 * config/picochip/udivmodsi4.S: Fix typos.
8323 * config/spu/divv2df3.c: Fix typos.
8324 * config/spu/mfc_multi_tag_release.c: Fix typos.
8325 * config/spu/mfc_tag_release.c: Fix typos.
8326 * configure.ac: Fix typos.
8327 * configure: Regenerate.
8328
8329 2012-05-25 Ian Lance Taylor <iant@google.com>
8330
8331 * config/i386/morestack.S (__morestack_non_split): Check whether
8332 caller is varargs and needs %bp to hold the stack frame on return.
8333
8334 2012-05-25 Olivier Hainque <hainque@adacore.com>
8335
8336 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8337 sequence in the non pic case on VxWorks.
8338
8339 2012-05-24 Olivier Hainque <hainque@adacore.com>
8340
8341 * Makefile.in: Move dependency on install-unwind_h from
8342 "install-leaf" to "install".
8343
8344 2012-05-24 Olivier Hainque <hainque@adacore.com>
8345
8346 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8347 Use a separate command for stamp removals.
8348
8349 2012-05-21 Andrew Pinski <apinski@cavium.com>
8350
8351 PR bootstrap/53183
8352 * configure.ac: Define the default includes to being none.
8353 * configure: Regenerate.
8354
8355 2012-05-16 Olivier Hainque <hainque@adacore.com>
8356
8357 * Makefile.in (install-unwind_h): Rename into ...
8358 (install-unwind_h-forbuild): New target.
8359 (all): Use it instead of the former install-unwind_h.
8360 (install-unwind_h): Reinstate, copy to user install destination
8361 for include files, not to the internal gcc object directory one.
8362 (install-leaf): Depend on it.
8363
8364 2012-05-15 Olivier Hainque <hainque@adacore.com>
8365
8366 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8367 register numbers. LR_REGNO replaces R_LR.
8368 (ucontext_for): New, helper for ...
8369 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8370 and 5.3 of ...
8371 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8372
8373 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8374
8375 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8376 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8377 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8378 i386/t-cpuinfo ...
8379 (i[34567]86-*-*, x86_64-*-*): ... here.
8380
8381 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8382 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8383
8384 * config/i386/i386-cpuinfo.c: Rename to ...
8385 * config/i386/cpuinfo.c: ... this.
8386 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8387
8388 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8389 (libgcc_cv_init_priority): New test.
8390 * configure: Regenerate.
8391 * config.in: New file.
8392 * Makefile.in (clean): Rename config.h to auto-target.h.
8393 (config.h): Likewise.
8394 (stamp-h): Likewise.
8395
8396 * config/i386/cpuinfo.c (auto-target.h): Include.
8397 (CONSTRUCTOR_PRIORITY): Define.
8398 (__cpu_indicator_init): Use it.
8399
8400 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8401
8402 * longlong.h: Use a URL instead of an FSF postal address.
8403 Replace spaces with tab.
8404
8405 2012-05-08 Teresa Johnson <tejohnson@google.com>
8406
8407 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8408 (__gcov_dump): Ditto.
8409 (gcov_dump_complete): New global variable.
8410 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8411 (__gcov_flush): Outline functionality now in gcov_clear.
8412 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8413
8414 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8415
8416 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8417 (mips*-*-linux*): Include mips/t-tpbit when long double is
8418 16 bytes long.
8419
8420 2012-04-25 Sriraman Tallam <tmsriram@google.com>
8421
8422 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8423 (get_available_features): New argument. Check for AVX2.
8424 (__cpu_indicator_init): Modify call to get_available_features.
8425
8426 2012-04-25 Alan Modra <amodra@gmail.com>
8427
8428 * config/rs6000/crtsavevr.S: New file.
8429 * config/rs6000/crtrestvr.S: New file.
8430 * config/rs6000/t-savresfgpr: Build the above.
8431 * config/rs6000/t-netbsd: Likewise.
8432
8433 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8434
8435 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8436
8437 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8438
8439 * libgcc/config/i386/i386-cpuinfo.c: New file.
8440 * libgcc/config/i386/t-cpuinfo: New file.
8441 * libgcc/config.host: Include t-cpuinfo.
8442 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8443
8444 2012-04-24 Chao-ying Fu <fu@mips.com>
8445
8446 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8447
8448 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8449
8450 struct siginfo vs. siginfo_t
8451
8452 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8453 siginfo_t instead of struct siginfo.
8454 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8455 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8456 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8457 (ia64_handle_unwabi): Likewise.
8458 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8459 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8460 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8461 (sh_fallback_frame_state): Likewise.
8462 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8463 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8464
8465 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8466
8467 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8468 system call number.
8469
8470 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8471
8472 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8473 if it hasn't been previously saved.
8474
8475 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8476
8477 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8478 only for glibc.
8479
8480 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
8481
8482 PR target/52737
8483 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8484 instead of __AVR_HAVE_8BIT_SP__.
8485
8486 2012-03-26 Tristan Gingold <gingold@adacore.com>
8487
8488 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8489 (unw_table_entry): Use unw_word instead of unsigned long.
8490 (_Unwind_FindTableEntry): Likewise.
8491 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8492 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8493 (_Unwind_FindTableEntry): Likewise.
8494 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8495 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8496 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8497 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8498 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8499 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8500 (uw_init_context_1, uw_install_context): Likewise.
8501 (unw_word): Move to unwind-ia64.h
8502
8503 2012-03-26 Tristan Gingold <gingold@adacore.com>
8504
8505 * config/vms/vms-ucrt0.c: Update copyright years.
8506 Add a sanity check.
8507 (___gcc_main_flags): Declare.
8508 (__main): Check flags to remap argv and exit code.
8509 * config.host (*-*-*vms*): Adjust extra_parts.
8510 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8511 (crt0.o): Add.
8512
8513 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
8514
8515 * arm/lib1funcs.asm (ctzsi2): New function.
8516 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8517 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8518 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8519 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8520 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8521 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8522
8523 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
8524
8525 * config.host: Add bits to support powerpc64-*-freebsd*.
8526 * config/rs6000/freebsd-unwind.h: New file.
8527 * config/rs6000/t-freebsd64: New file.
8528
8529 2012-03-20 Richard Guenther <rguenther@suse.de>
8530
8531 PR gcov-profile/52627
8532 * libgcov.c (init_mx): Fix mutex name.
8533
8534 2012-03-16 Tristan Gingold <gingold@adacore.com>
8535
8536 * config/ia64/vms-unwind.h: Remove ulong (and replace
8537 it by unw_reg where used). Define unw_reg with __int64.
8538
8539 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8540
8541 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8542 Solaris 8 handling.
8543 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8544 Solaris 8 handling.
8545 (sparc_is_sighandler): Likewise.
8546
8547 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8548
8549 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8550 <= saved reg size.
8551
8552 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8553
8554 * config/arm/crtn.S: Fix typo.
8555
8556 2012-03-13 Richard Guenther <rguenther@suse.de>
8557
8558 * libgcov.c: Remove stdio.h include and NULL un-define.
8559
8560 2012-03-13 Richard Guenther <rguenther@suse.de>
8561
8562 PR target/52569
8563 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8564
8565 2012-03-13 Richard Guenther <rguenther@suse.de>
8566
8567 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8568
8569 2012-03-13 Richard Guenther <rguenther@suse.de>
8570
8571 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8572 and __gthread_mutex_init_function definitions.
8573
8574 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8575
8576 * config.host (mips*-*-openbsd*): Remove.
8577
8578 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8579
8580 * config.host: Remove alpha*-dec-osf5.1* handling.
8581 * config/alpha/gthr-posix.c: Remove.
8582 * config/alpha/libgcc-osf5.ver: Remove.
8583 * config/alpha/osf5-unwind.h: Remove.
8584 * config/alpha/t-osf-pthread: Remove.
8585 * config/alpha/t-slibgcc-osf: Remove.
8586 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8587 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8588 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8589 * mkmap-flat.awk: Remove osf_export handling.
8590
8591 2012-03-12 Richard Guenther <rguenther@suse.de>
8592
8593 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8594 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8595 (__gthread_mutex_init_function): New function.
8596 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8597
8598 PR gcov/49484
8599 * libgcov.c: Include gthr.h.
8600 (__gcov_flush_mx): New global variable.
8601 (init_mx, init_mx_once): New functions.
8602 (__gcov_flush): Protect self with a mutex.
8603 (__gcov_fork): Re-initialize mutex after forking.
8604 * unwind-dw2-fde.c: Change condition under which to use
8605 __GTHREAD_MUTEX_INIT_FUNCTION.
8606
8607 2012-03-12 Tristan Gingold <gingold@adacore.com>
8608
8609 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8610 * config/ia64/t-vms: Likewise.
8611
8612 2012-03-11 Michael Hope <michael.hope@linaro.org>
8613
8614 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8615 for Thumb-2.
8616
8617 2012-03-07 Walter Lee <walt@tilera.com>
8618
8619 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8620 "arch_atomic_".
8621 (atomic_xor): Rename and move definition to
8622 config/tilepro/atomic.h.
8623 (atomic_nand): Ditto.
8624 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8625 "arch_atomic_".
8626 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8627 (arch_atomic_nand): Ditto.
8628
8629 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8630
8631 PR target/52507
8632 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8633
8634 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8635
8636 PR target/52505
8637 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8638 from RAM.
8639
8640 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8641
8642 PR target/52461
8643 PR target/52508
8644 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8645 if RAMPZ affects reading from RAM.
8646 (__tablejump_elpm__): Ditto.
8647 (.xload): Ditto.
8648 (__movmemx_hi): Ditto.
8649 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8650 (__do_global_dtors): Ditto.
8651 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8652 (__movmemx_hi): Ditto.
8653
8654 2012-03-05 Richard Henderson <rth@redhat.com>
8655
8656 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8657 [ARM] (count_trailing_zeros): Use the builtin.
8658
8659 2012-03-01 Kai Tietz <ktietz@redhat.com>
8660
8661 * soft-fp: Imported from glibc upstream.
8662
8663 2012-02-28 Kai Tietz <ktietz@redhat.com>
8664
8665 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8666 for mingw-targets as attribute gcc_struct.
8667
8668 2012-02-28 Ian Lance Taylor <iant@google.com>
8669
8670 * generic-morestack.c (__splitstack_releasecontext): Correct call
8671 to __morestack_release_segments.
8672
8673 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8674
8675 PR target/52390
8676 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8677 for __linux__ when removing signals from __morestack_fullmask.
8678
8679 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
8680
8681 PR target/52261
8682 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8683
8684 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8685
8686 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8687 instead of HAVE_INITFINI_ARRAY.
8688 * config/ia64/crtend.S: Likewise.
8689
8690 2012-02-20 Kai Tietz <ktietz@redhat.com>
8691
8692 PR libstdc++/52300
8693 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8694
8695 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8696 to w32-unwind.h header.
8697
8698 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8699
8700 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8701 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8702 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8703 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8704
8705 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8706
8707 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8708
8709 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8710
8711 PR libitm/52220
8712 * config/darwin-crt-tm.c: Correct typo.
8713
8714 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8715 Patrick Marlier <patrick.marlier@gmail.com>
8716
8717 PR libitm/52220
8718 * config/darwin-crt-tm.c: Generate dummy functions.
8719
8720 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8721 Patrick Marlier <patrick.marlier@gmail.com>
8722
8723 PR libitm/52042
8724 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8725 (__doTMRegistrations): Call it.
8726 (__doTMdeRegistrations): Likewise.
8727
8728 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
8729 Anatoly Sokolov <aesok@post.ru>
8730 Eric Weddington <eric.weddington@atmel.com>
8731
8732 PR target/52261
8733 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8734 (__epilogue_restores__): Ditto.
8735
8736 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8737
8738 PR target/51921
8739 PR target/52205
8740 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8741 Solaris 11 and slightly reformat.
8742 (sparc_is_sighandler): Likewise.
8743
8744 2012-02-14 Walter Lee <walt@tilera.com>
8745
8746 * config.host: Handle tilegx and tilepro.
8747 * config/tilegx/sfp-machine.h: New file.
8748 * config/tilegx/sfp-machine32.h: New file.
8749 * config/tilegx/sfp-machine64.h: New file.
8750 * config/tilegx/t-crtstuff: New file.
8751 * config/tilegx/t-softfp: New file.
8752 * config/tilegx/t-tilegx: New file.
8753 * config/tilepro/atomic.c: New file.
8754 * config/tilepro/atomic.h: New file.
8755 * config/tilepro/linux-unwind.h: New file.
8756 * config/tilepro/sfp-machine.h: New file.
8757 * config/tilepro/softdivide.c: New file.
8758 * config/tilepro/softmpy.S: New file.
8759 * config/tilepro/t-crtstuff: New file.
8760 * config/tilepro/t-tilepro: New file.
8761
8762 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8763
8764 PR libstdc++/51296
8765 PR libstdc++/51906
8766 * gthr-posix.h: Allow static initializer macros to be disabled.
8767 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8768
8769 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8770
8771 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8772 Add t-slibgcc-libgcc to tmake_file.
8773 * config/mips/libgcc-mips16.ver: Revert previous patch.
8774 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8775
8776 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8777 Jayant R Sonar <jayant.sonar@kpitcummins.com>
8778
8779 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8780 * config/cr16/crti.S: New file.
8781 * config/cr16/crtlibid.S: New file.
8782 * config/cr16/crtn.S: New file.
8783 * config/cr16/lib1funcs.S: New file.
8784 * config/cr16/t-cr16: New file.
8785 * config/cr16/t-crtlibid: New file.
8786 * config/cr16/unwind-dw2.h: New file.
8787 * config/cr16/unwind-cr16.c: New file.
8788 * config/cr16/divmodhi3.c: New file.
8789
8790 2012-01-25 Alan Modra <amodra@gmail.com>
8791
8792 * config/rs6000/t-linux64: Delete. Move..
8793 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8794 * config/rs6000/t-linux: ..and libgcc flags to here.
8795
8796 2012-01-22 Douglas B Rupp <rupp@gnat.com>
8797
8798 * config.host (i[34567]86-*-interix3*):
8799 Change triplet to i[34567]86-*-interix[3-9]*.
8800 * configure: Regenerate.
8801
8802 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8803 Richard Sandiford <rdsandiford@googlemail.com>
8804
8805 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8806 * config/mips/mips16.S (__mips16_rdhwr): New function.
8807 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8808
8809 2012-01-11 Nathan Sidwell <nathan@acm.org>
8810
8811 * libgcov.c (__gcov_init): Ignore objects with no functions.
8812
8813 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
8814
8815 PR target/49868
8816 Extend __pgmx semantics to linearize memory.
8817 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8818 * config/avr/lib1funcs.S (__xload_1): New function.
8819 (__movmemx_qi, __movmemx_hi): New functions.
8820 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8821 semantics.
8822
8823 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8824
8825 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8826 purported sigacthandler address isn't null before dereferencing it.
8827 (sparc_is_sighandler): Likewise.
8828
8829 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8830
8831 PR ada/41929
8832 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8833 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8834 (sparc_is_sighandler): Likewise.
8835 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8836
8837 2012-01-06 Tristan Gingold <gingold@adacore.com>
8838
8839 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8840 compatibility thunks...
8841 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8842 (crtbeginS.o, crtendS.o): ... and these to ...
8843 * config/ia64/t-ia64-elf: ... this new file.
8844 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8845 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8846
8847 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8848
8849 * configure: Regenerate.
8850 * config/s390/t-crtstuff: Remove -fPIC.
8851
8852 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8853
8854 PR bootstrap/51006
8855 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8856 for NetBSD.
8857
8858 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8859
8860 PR target/51345
8861 * config/avr/lib1funcs.S: Remove FIXME comments.
8862 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8863
8864 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8865
8866 Implement light-weight DImode support.
8867 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8868 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8869 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8870 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8871
8872 2011-12-30 Nathan Sidwell <nathan@acm.org>
8873
8874 * libgcov.c (gcov_crc32): Remove global var.
8875 (free_fn_data): New function.
8876 (buffer_fn_data): Pass in filename, more robust error recovery.
8877 (crc32_unsigned): New function.
8878 (gcov_exit): More robust detection of new program. More robust
8879 error recovery.
8880 (__gcov_init): Do not update program's crc here.
8881
8882 2011-12-21 Tristan Gingold <gingold@adacore.com>
8883
8884 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8885
8886 2011-12-21 Ian Lance Taylor <iant@google.com>
8887
8888 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8889
8890 2011-12-20 Ian Lance Taylor <iant@google.com>
8891
8892 * config/i386/morestack.S (__morestack_non_split): If there is
8893 enough stack space already, don't split. Ask for more stack space
8894 than we required.
8895
8896 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8897
8898 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8899 `sys/sdt.h'.
8900 (_Unwind_DebugHook): New function.
8901 (uw_restore_core_regs): New define.
8902 (unwind_phase2): Use uw_restore_core_regs instead of
8903 restore_core_regs.
8904 (unwind_phase2_forced): Likewise.
8905 (__gnu_Unwind_Resume): Likewise.
8906
8907 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8908
8909 * config/alpha/linux-unwind.h: Update copyright years.
8910 (MD_FROB_UPDATE_CONTEXT): New define.
8911 (alpha_frob_update_context): New function.
8912
8913 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8914
8915 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8916 tmake_file rather replacing it.
8917
8918 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8919
8920 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8921 function is not used for PPC64.
8922 (save_world): Amend comments. Update the VRsave mask to reflect the
8923 saved regs.
8924 (rest_world): Update comments, do not clobber r10, do not use r8.
8925 (eh_rest_world_r10): Amend comments, do not use r8.
8926 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8927 no longer used, move restore of CR and target address to the end of
8928 the routine.
8929
8930 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8931
8932 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8933 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8934
8935 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8936
8937 PR target/49313
8938 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8939 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8940
8941 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8942
8943 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8944
8945 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8946
8947 PR target/49313
8948 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8949 * config/avr/lib1funcs.S (__muldi3): New function.
8950
8951 2011-12-06 Andrew Pinski <apinski@cavium.com>
8952
8953 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8954 size of func_ptr.
8955 (__frame_dummy_init_array_entry): Likewise.
8956
8957 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8958
8959 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8960
8961 PR target/51345
8962 PR target/51002
8963 * config/avr/lib1funcs.S (__prologue_saves__,
8964 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8965 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8966
8967 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8968
8969 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8970
8971 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8972
8973 PR other/51272
8974 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8975 (_ITM_deregisterTMCloneTable): Likewise.
8976 (__register_frame_info): Fix unused warning.
8977 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8978 pthread_default_stacksize_np): Likewise.
8979 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8980
8981 2011-11-29 DJ Delorie <dj@redhat.com>
8982
8983 * config.host (rl78-*-elf): New case.
8984 * config/rl78: New directory for the Renesas RL78.
8985
8986 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8987
8988 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8989 formatting.
8990
8991 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8992
8993 PR other/51022
8994 * config/rs6000/t-savresfgpr: New file.
8995 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8996 $(srcdir)/config/rs6000/eabi.S.
8997 * config/rs6000/t-ppccomm-ldbl: Remove.
8998 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8999 tmake_file.
9000 (powerpc-*-eabispe*): Likewise.
9001 (powerpc-*-eabi*): Likewise.
9002 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9003 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9004 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9005 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9006 tmake_file.
9007 (powerpc-*-eabisim*): Likewise.
9008 (powerpc-*-elf*): Likewise.
9009 (powerpc-*-eabialtivec*): Likewise.
9010 (powerpc-xilinx-eabi*): Likewise.
9011 (powerpc-*-rtems*): Likewise.
9012 (powerpcle-*-elf*): Likewise.
9013 (powerpcle-*-eabisim*): Likewise.
9014 (powerpcle-*-eabi*): Likewise.
9015
9016 2011-11-27 Ian Lance Taylor <iant@google.com>
9017
9018 * generic-morestack.c (__splitstack_find): Check for NULL old
9019 stack value.
9020 (__splitstack_resetcontext): New function.
9021 (__splitstack_releasecontext): New function.
9022 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9023
9024 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9025
9026 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9027
9028 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9029
9030 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9031
9032 2011-11-26 Richard Henderson <rth@redhat.com>
9033
9034 * config/m68k/linux-atomic.c: New file.
9035 * config/m68k/t-linux: New file.
9036 * config.host (m68k-uclinux, m68k-linux): Use it.
9037
9038 2011-11-26 Richard Henderson <rth@redhat.com>
9039
9040 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9041 (__TMC_END__): Only declare if hidden is available; in the definition,
9042 if hidden is unavailable add a null record.
9043 (deregister_tm_clones, register_tm_clones): New.
9044 (__do_global_dtors_aux, frame_dummy): Use them.
9045 (__do_global_dtors, __do_global_ctors_1): Likewise.
9046
9047 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9048
9049 * config/darwin-crt-tm.c: New file.
9050 * config.host (darwin): Build crttms.o crttme.o to provide
9051 startup and shutdown for tm clones.
9052 * config/t-darwin (crttms.o): New build rule.
9053 (crttme.o): Likewise.
9054
9055 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
9056
9057 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9058 et al.
9059
9060 2011-11-21 Richard Henderson <rth@redhat.com>
9061
9062 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9063 (__TMC_LIST__, __TMC_END__): New.
9064 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9065 (__do_global_dtors): Likewise.
9066 (frame_dummy): Call _ITM_registerTMCloneTable.
9067 (__do_global_ctors_1): Likewise.
9068
9069 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9070
9071 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9072 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9073 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9074 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9075 * config/i386/t-darwin64: Remove.
9076 * config/sh/t-netbsd (LIB2ADD): Remove.
9077
9078 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
9079
9080 PR target/49313
9081 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9082 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9083 * config/avr/lib1funcs.S (wmov): New assembler macro.
9084 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9085 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9086 (__udivmod64): New function.
9087 (__negdi2): New function.
9088
9089 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9090
9091 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9092 *-*-freebsd*aout*): Remove.
9093
9094 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
9095
9096 * static-object.mk (c_flags-$o): Save c_flags.
9097 ($(base)$(objext)): Use it.
9098
9099 2011-11-18 Steve Ellcey <sje@cup.hp.com>
9100
9101 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9102
9103 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
9104
9105 PR target/49868
9106 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9107 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9108 New functions.
9109
9110 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9111
9112 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9113 functions.
9114 (aeabi_uidivmod): Likewise.
9115 (umodsi3): Likewise.
9116 (divsi3): Likewise.
9117 (aeabi_idivmod): Likewise.
9118 (modsi3): Likewise.
9119
9120 2011-11-16 Tristan Gingold <gingold@adacore.com>
9121
9122 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9123
9124 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
9125
9126 PR target/49868
9127 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9128 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9129
9130 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9131
9132 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9133 tmake_file list.
9134 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9135 * config/pa/t-stublib64: Delete.
9136
9137 2011-11-12 Richard Henderson <rth@redhat.com>
9138
9139 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9140 cast the pointer argument to _Unwind_SetGRPtr.
9141
9142 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9143
9144 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9145
9146 2011-11-09 Ian Lance Taylor <iant@google.com>
9147
9148 * generic-morestack.c: Include <string.h>.
9149 (uintptr_type): Define.
9150 (struct initial_sp): Add dont_block_signals field. Reduce size of
9151 extra array by 1.
9152 (allocate_segment): Set prev field to NULL. Don't set
9153 __morestack_current_segment or __morestack_segments.
9154 (__generic_morestack): Update current->prev and *pp after calling
9155 allocate_segment.
9156 (__morestack_block_signals): Don't do anything if
9157 dont_block_signals is set.
9158 (__morestack_unblock_signals): Likewise.
9159 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9160 uintptr_type.
9161 (__splitstack_block_signals): New function.
9162 (enum __splitstack_content_offsets): Define.
9163 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9164 (__splitstack_makecontext): New function.
9165 (__splitstack_block_signals_context): New function.
9166 (__splitstack_find_context): New function.
9167 * config/i386/morestack.S (__morestack_get_guard): New function.
9168 (__morestack_set_guard, __morestack_make_guard): New functions.
9169 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9170
9171 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9172
9173 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9174 (i[34567]86-*-mingw*): ... here.
9175 (x86_64-*-mingw*): ... here.
9176
9177 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9178
9179 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9180
9181 2011-11-07 Nathan Sidwell <nathan@acm.org>
9182
9183 * libgcov.c (struct gcov_fn_buffer): New struct.
9184 (buffer_fn_data): New helper.
9185 (gcov_exit): Rework for new gcov data structures.
9186
9187 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
9188
9189 PR target/49313
9190 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9191
9192 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9193
9194 * config.host (tmake_file): Correct comment.
9195 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9196 t-libgcc-pic.
9197 (bfin*-uclinux*): Likewise.
9198 (bfin*-linux-uclibc*): Likewise.
9199 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9200
9201 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9202 assigning.
9203 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9204 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9205 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9206 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9207 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9208 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9209 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9210 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9211 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9212 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9213 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9214 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9215 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9216
9217 * config/bfin/t-elf: Remove.
9218 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9219
9220 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9221
9222 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9223 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9224 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9225 (lm32-*-elf*): ... this.
9226 (lm32-*-rtems*): ... and this.
9227 Add to tmake_file.
9228 (m32r-*-rtems*): Add to tmake_file.
9229 (moxie-*-rtems*): Likewise.
9230 (sparc-*-rtems*): Likewise.
9231 Remove t-rtems from tmake_file.
9232 (sparc64-*-rtems*): Likewise.
9233 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9234 instead.
9235
9236 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9237
9238 PR bootstrap/50982
9239 * config/gthr-posix.h: Move ...
9240 * gthr-posix.h: ... here.
9241 * config/gthr-lynx.h: Reflect this.
9242 * config/gthr-vxworks.h: Likewise.
9243 * config/rs6000/gthr-aix.h: Likewise.
9244 * configure.ac (target_thread_file): Likewise.
9245 * configure: Regenerate.
9246
9247 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9248
9249 * config.host (arm*-*-rtemseabi*): New target.
9250
9251 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9252
9253 PR other/50991
9254 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9255 extra-parts.
9256
9257 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9258
9259 * config.host (epiphany-*-elf*): New configuration.
9260 * config/epiphany: New Directory.
9261
9262 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9263
9264 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9265 * config/avr/t-rtems: New.
9266 Filter out _exit from LIB1ASMFUNCS.
9267
9268 2011-11-04 David S. Miller <davem@davemloft.net>
9269
9270 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9271 * configure: Rebuild.
9272
9273 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9274
9275 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9276 variable.
9277
9278 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
9279
9280 PR target/50931
9281 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9282 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9283
9284 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9285
9286 PR target/50989
9287 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9288
9289 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9290
9291 * config/c6x/t-elf (LIB2ADDEH): Set.
9292 * config/c6x/t-c6x-elf: Remove.
9293
9294 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9295
9296 * config/i386/sol2-ci.S: Rename to ...
9297 * config/i386/crti.S: ... this.
9298 * config/i386/sol2-cn.S: Rename to ...
9299 * config/i386/crtn.S: ... this.
9300 * config/sparc/sol2-ci.S: Rename to ...
9301 * config/sparc/crti.S: ... this.
9302 * config/sparc/sol2-cn.S: Rename to ...
9303 * config/sparc/crtn.S: ... this.
9304 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9305 (crti.o, crtn.o): Remove.
9306
9307 2011-11-04 Tristan Gingold <gingold@adacore.com>
9308
9309 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9310
9311 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9312
9313 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9314
9315 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
9316
9317 * config.host (crisv32-*-none, cris-*-none): Remove.
9318 (crisv32-*-elf): Append to tmake_file, don't just set it.
9319 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9320
9321 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9322
9323 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9324 (ecrtn$(objext)): Likewise.
9325 (ncrti$(objext)): Likewise.
9326 (ncrtn$(objext)): Likewise.
9327
9328 2011-11-03 Andreas Schwab <schwab@redhat.com>
9329
9330 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9331
9332 2011-11-02 David S. Miller <davem@davemloft.net>
9333
9334 * configure.ac: Set host_address on sparc too.
9335 * configure: Regenerate.
9336 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9337 based upon host_address.
9338 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9339
9340 2011-11-02 Jason Merrill <jason@redhat.com>
9341
9342 * config/rs6000/t-ppccomm: Add missing \.
9343
9344 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9345
9346 * gthr-single.h, gthr.h: New files.
9347 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9348 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9349 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9350 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9351 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9352 * configure.ac (thread_header): New variable.
9353 Set it depending on target_thread_file.
9354 (gthr-default.h): Link from $thread_header.
9355 * configure: Regenerate.
9356 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9357
9358 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9359
9360 * configure.ac (tm_file_): New variable.
9361 Determine from tm_file.
9362 (tm_file, tm_defines): Substitute.
9363 * configure: Regenerate.
9364 * mkheader.sh: New file.
9365 * Makefile.in (clean): Remove libgcc_tm.h.
9366 ($(objects)): Depend on libgcc_tm.h.
9367 (libgcc_tm_defines, libgcc_tm_file): New variables.
9368 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9369 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9370 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9371 ($(extra-parts)): Depend on libgcc_tm.h.
9372 * config.host (tm_defines, tm_file): New variable.
9373 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9374 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9375 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9376 (avr-*-rtems*): Likewise.
9377 (avr-*-*): Likewise.
9378 (frv-*-elf): Likewise.
9379 (frv-*-*linux*): Likewise.
9380 (h8300-*-rtems*): Likewise.
9381 (h8300-*-elf*): Likewise.
9382 (i[34567]86-*-darwin*): Likewise.
9383 (x86_64-*-darwin*): Likewise.
9384 (rx-*-elf): Likewise.
9385 (tic6x-*-uclinux): Likewise.
9386 (tic6x-*-elf): Likewise.
9387 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9388 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9389 * config/i386/cygming-crtbegin.c: Likewise.
9390 * config/i386/cygming-crtend.c: Likewise.
9391 * config/ia64/fde-vms.c: Likewise.
9392 * config/ia64/unwind-ia64.c: Likewise.
9393 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9394 * config/rs6000/darwin-fallback.c: Likewise.
9395 * config/stormy16/lib2funcs.c: Likewise.
9396 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9397 * crtstuff.c: Likewise.
9398 * dfp-bit.h: Likewise.
9399 * emutls.c: Likewise.
9400 * fixed-bit.c: Likewise.
9401 * fp-bit.c: Likewise.
9402 * generic-morestack-thread.c: Likewise.
9403 * generic-morestack.c: Likewise.
9404 * libgcc2.c: Likewise.
9405 * libgcov.c: Likewise.
9406 * unwind-dw2-fde-dip.c: Likewise.
9407 * unwind-dw2-fde.c: Likewise.
9408 * unwind-dw2.c: Likewise.
9409 * unwind-sjlj.c: Likewise.
9410
9411 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9412
9413 * configure.ac: Include ../config/picflag.m4.
9414 (GCC_PICFLAG): Call it.
9415 Substitute.
9416 * configure: Regenerate.
9417 * Makefile.in (gcc_srcdir): Remove.
9418 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9419 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9420 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9421 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9422 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9423 Use $<.
9424 Remove comment.
9425 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9426 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9427 to refer to libgcc2.c.
9428 Use $<.
9429 * config/darwin-64.c: New file.
9430 * config/darwin-crt3.c: Remove comment.
9431 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9432 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9433 config/udivmodsi4.c: New files.
9434 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9435 config/memset.c: New files.
9436 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9437 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9438 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9439 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9440 * config/t-openbsd-thread: New file.
9441 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9442 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9443 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9444 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9445 qrnnd.S.
9446 Adapt filename.
9447 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9448 to refer to gthr-posix.c.
9449 * config/alpha/t-vms (LIB2ADD): Set.
9450 * config/alpha/vms-gcc_shell_handler.c: New file.
9451 * config/arm/bpabi.c, config/arm/fp16.c,
9452 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9453 config/arm/unaligned-funcs.c: New files.
9454 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9455 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9456 * config/arm/t-linux: Likewise.
9457 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9458 * config/arm/t-netbsd: New file.
9459 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9460 * config/arm/t-symbian (LIB2ADD_ST): Set.
9461 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9462 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9463 * config/bfin/t-elf: New file.
9464 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9465 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9466 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9467 config/c6x/ltf.c: New files.
9468 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9469 (HOST_LIBGCC2_CFLAGS): Set.
9470 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9471 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9472 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9473 New files.
9474 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9475 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9476 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9477 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9478 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9479 files.
9480 * config/frv/t-frv (LIB2ADD): Set.
9481 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9482 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9483 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9484 config/h8300/popcounthi2.c: New files.
9485 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9486 * config/i386/gthr-win32.c: New file.
9487 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9488 * config/i386/t-cygwin: Likewise.
9489 * config/i386/t-darwin, config/i386/t-darwin64,
9490 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9491 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9492 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9493 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9494 * config/ia64/quadlib.c: New file.
9495 * config/ia64/t-hpux (LIB2ADD): Set.
9496 * config/ia64/t-ia64: Add comment.
9497 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9498 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9499 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9500 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9501 * config/m32c/t-m32c (LIB2ADD): Set.
9502 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9503 * config/m32r/t-m32r: Likewise.
9504 * config/m68k/fpgnulib.c: New file.
9505 * config/m68k/t-floatlib (LIB2ADD): Set.
9506 (xfgnulib.c): New target.
9507 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9508 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9509 * config/mep/t-mep (LIB2ADD): Set.
9510 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9511 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9512 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9513 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9514 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9515 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9516 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9517 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9518 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9519 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9520 New files.
9521 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9522 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9523 * config/pa/fptr.c, config/pa/lib2funcs.S,
9524 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9525 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9526 (LIB2ADD, LIB2ADD_ST): Set.
9527 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9528 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9529 Set.
9530 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9531 * config/pdp11/t-pdp11: New file.
9532 * config/picochip/libgccExtras/adddi3.S,
9533 config/picochip/libgccExtras/ashlsi3.S,
9534 config/picochip/libgccExtras/ashrsi3.S,
9535 config/picochip/libgccExtras/clzsi2.S,
9536 config/picochip/libgccExtras/cmpsi2.S,
9537 config/picochip/libgccExtras/divmod15.S,
9538 config/picochip/libgccExtras/divmodhi4.S,
9539 config/picochip/libgccExtras/divmodsi4.S,
9540 config/picochip/libgccExtras/lshrsi3.S,
9541 config/picochip/libgccExtras/parityhi2.S,
9542 config/picochip/libgccExtras/popcounthi2.S,
9543 config/picochip/libgccExtras/subdi3.S,
9544 config/picochip/libgccExtras/ucmpsi2.S,
9545 config/picochip/libgccExtras/udivmodhi4.S,
9546 config/picochip/libgccExtras/udivmodsi4.S: New files.
9547 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9548 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9549 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9550 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9551 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9552 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9553 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9554 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9555 files.
9556 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9557 (HOST_LIBGCC2_CFLAGS): Set.
9558 * config/rs6000/t-darwin64: New file.
9559 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9560 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9561 * config/rs6000/t-ppccomm (LIB2ADD): Add
9562 $(srcdir)/config/rs6000/tramp.S.
9563 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9564 Add $(srcdir)/config/rs6000/eabi.S.
9565 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9566 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9567 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9568 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9569 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9570 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9571 * config/rs6000/tramp.S: New file.
9572 * config/s390/t-tpf: Remove.
9573 * config/sh/linux-atomic.S: New file.
9574 * config/sh/t-linux (LIB2ADD): Set.
9575 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9576 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9577 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9578 to unwind-dw2.c.
9579 (HOST_LIBGCC2_CFLAGS): Set.
9580 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9581 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9582 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9583 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9584 config/spu/mfc_multi_tag_release.c,
9585 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9586 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9587 config/spu/multi3.c: New files.
9588 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9589 (HOST_LIBGCC2_CFLAGS): Set.
9590 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9591 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9592 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9593 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9594 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9595 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9596 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9597 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9598 config/stormy16/umodsi3.c: New files.
9599 * config/xtensa/lib2funcs.S: New file.
9600 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9601 * config/xtensa/t-xtensa (LIB2ADD): Set.
9602 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9603 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9604 Add t-freebsd-thread to tmake_file for posix threads.
9605 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9606 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9607 (*-*-lynxos*): Likewise.
9608 (*-*-netbsd*): Likewise.
9609 (*-*-openbsd*): Likewise.
9610 Add t-openbsd-thread to tmake_file for posix threads.
9611 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9612 (*-*-vxworks*): Set tmake_file.
9613 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9614 (alpha*-*-freebsd*): Likewise.
9615 (alpha*-*-netbsd*): Likewise.
9616 (alpha*-*-openbsd*): Likewise.
9617 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9618 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9619 (alpha*-dec-*vms*): Likewise.
9620 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9621 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9622 (bfin*-uclinux*): Likewise.
9623 (bfin*-linux-uclibc*): Likewise.
9624 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9625 (crisv32-*-none): Likewise.
9626 (cris-*-elf): Likewise.
9627 (cris-*-none): Likewise.
9628 (cris-*-linux*, crisv32-*-linux*): Likewise.
9629 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9630 tmake_file.
9631 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9632 tmake_file.
9633 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9634 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9635 (x86_64-*-elf*): Likewise.
9636 (i[34567]86-*-nto-qnx*): Likewise.
9637 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9638 win32 threads.
9639 (x86_64-*-mingw*): Likewise.
9640 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9641 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9642 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9643 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9644 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9645 tmake_file.
9646 (mipsisa64sr71k-*-elf*): Likewise.
9647 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9648 (mips-*-elf*, mipsel-*-elf*): Likewise.
9649 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9650 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9651 (mips*-*-rtems*): Likewise.
9652 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9653 to tmake_file.
9654 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9655 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9656 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9657 (spu-*-elf*): Likewise.
9658 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9659
9660 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9661
9662 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9663 $(srcdir) to refer to $(LIB1ASMSRC).
9664 Use $<.
9665 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9666 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9667 config/arm/lib1funcs.S: New files.
9668 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9669 * config/arm/t-arm: New file.
9670 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9671 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9672 config/arm/t-strongarm-elf: New files.
9673 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9674 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9675 * config/avr/lib1funcs.S: New file.
9676 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9677 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9678 * config/c6x/lib1funcs.S: New file.
9679 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9680 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9681 * config/frv/lib1funcs.S: New file.
9682 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9683 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9684 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9685 * config/ia64/__divxf3.asm: Rename to ...
9686 * config/ia64/__divxf3.S: ... this.
9687 Adapt lib1funcs.asm filename.
9688 * config/ia64/_fixtfdi.asm: Rename to ...
9689 * config/ia64/_fixtfdi.S: ... this.
9690 Adapt lib1funcs.asm filename.
9691 * config/ia64/_fixunstfdi.asm: Rename to ...
9692 * config/ia64/_fixunstfdi.S: ... this.
9693 Adapt lib1funcs.asm filename.
9694 * config/ia64/_floatditf.asm: Rename to ...
9695 * config/ia64/_floatditf.S: ... this.
9696 Adapt lib1funcs.asm filename.
9697 * config/ia64/lib1funcs.S: New file.
9698 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9699 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9700 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9701 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9702 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9703 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9704 * config/mep/lib1funcs.S: New file.
9705 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9706 * config/mips/mips16.S: New file.
9707 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9708 * config/pa/milli64.S: New file.
9709 * config/pa/t-linux, config/pa/t-linux64: New files.
9710 * config/picochip/lib1funcs.S: New file.
9711 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9712 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9713 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9714 * config/sh/t-netbsd: New file.
9715 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9716 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9717 * config/sh/t-sh64: New file.
9718 * config/sparc/lb1spc.S: New file.
9719 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9720 filename.
9721 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9722 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9723 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9724 config/xtensa/lib1funcs.S: New files.
9725 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9726 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9727 tmake_file.
9728 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9729 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9730 (arm*-*-linux*): Likewise.
9731 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9732 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9733 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9734 (arm*-*-ecos-elf): Likewise.
9735 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9736 (arm*-*-rtems*): Likewise.
9737 (arm*-*-elf): Likewise.
9738 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9739 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9740 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9741 (bfin*-uclinux*): Likewise.
9742 (bfin*-linux-uclibc*): Likewise.
9743 (bfin*-rtems*): Likewise.
9744 (bfin*-*): Likewise.
9745 (fido-*-elf): Merge into m68k-*-elf*.
9746 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9747 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9748 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9749 (h8300-*-elf*): Likewise.
9750 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9751 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9752 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9753 (i[34567]86-*-mingw*): Likewise.
9754 (x86_64-*-mingw*): Likewise.
9755 (i[34567]86-*-interix3*): Likewise.
9756 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9757 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9758 (m68k-*-elf*): Also handle fido-*-elf.
9759 Add m68k/t-floatlib to tmake_file.
9760 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9761 (m68k-*-linux*): Likewise.
9762 (m68k-*-rtems*): Likewise.
9763 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9764 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9765 sh64*-*-*.
9766 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9767 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9768 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9769 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9770 sh/t-netbsd to tmake_file.
9771 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9772 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9773 (sh-wrs-vxworks): Likewise.
9774 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9775 *-leon[3-9]*.
9776 (v850*-*-*): Add v850/t-v850 to tmake_file.
9777 (vax-*-linux*): Add vax/t-linux to tmake_file.
9778 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9779
9780 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9781
9782 * crtstuff.c: New file.
9783 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9784 (CRTSTUFF_T_CFLAGS): Define.
9785 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9786 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9787 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9788 crtstuff.c.
9789 Use $<.
9790 (crtbeginT.o): Use $(objext).
9791 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9792 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9793 (gcc-extra-parts): Remove.
9794 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9795 Set extra_parts.
9796 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9797 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9798 Add t-crtstuff-pic to tmake_file.
9799 (*-*-lynxos*): New case.
9800 Set tmake_file, extra_parts.
9801 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9802 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9803 *-*-netbsdelf[2-9]*.
9804 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9805 (*-*-rtems*): Set extra_parts.
9806 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9807 (*-*-uclinux*): New case.
9808 Set extra_parts.
9809 (*-*-vms*): New case.
9810 Set tmake_file, extra_parts.
9811 (*-*-elf): Set extra_parts.
9812 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9813 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9814 vms/t-vms64.
9815 Set extra_parts.
9816 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9817 Set extra_parts.
9818 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9819 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9820 (arm-wrs-vxworks): Append to tmake_file.
9821 Set extra_parts.
9822 (arm*-*-uclinux*): Set extra_parts.
9823 (arm*-*-ecos-elf): Likewise.
9824 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9825 arm*-*-eabi*.
9826 (arm*-*-rtems*): Set extra_parts.
9827 (arm*-*-elf): Likewise.
9828 (avr-*-rtems*): Clear extra_parts.
9829 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9830 Set extra_parts.
9831 (bfin*-uclinux*): Likewise.
9832 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9833 (bfin*-rtems*): Append to tmake_file.
9834 Set extra_parts.
9835 (bfin*-*): Likewise.
9836 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9837 (crisv32-*-elf): ... this.
9838 (crisv32-*-none): ... this.
9839 (cris-*-elf, cris-*-none): New cases.
9840 Add cris/t-elfmulti to tmake_file.
9841 (fr30-*-elf): Append to tmake_file.
9842 Set extra_parts.
9843 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9844 Set extra_parts.
9845 (h8300-*-rtems*): Append to tmake_file.
9846 Set extra_parts.
9847 (h8300-*-elf*): Likewise.
9848 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9849 Set extra_parts.
9850 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9851 Set extra_parts.
9852 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9853 (x86_64-*-elf*): Likewise.
9854 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9855 (x86_64-*-freebsd*): Likewise.
9856 (x86_64-*-netbsd*): Likewise.
9857 (i[34567]86-*-linux*): Likewise.
9858 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9859 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9860 (x86_64-*-linux*): Likewise.
9861 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9862 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9863 tmake_file.
9864 Set extra_parts.
9865 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9866 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9867 Append to extra_parts, remove crtbegin.o, crtend.o.
9868 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9869 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9870 crtend.o, crtbeginS.o, crtendS.o.
9871 (ia64*-*-linux*): Comment extra_parts.
9872 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9873 Set extra_parts.
9874 (iq2000*-*-elf*): Clear extra_parts.
9875 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9876 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9877 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9878 (m32r-*-rtems*): ... this.
9879 Add m32r/t-m32r to tmake_file.
9880 (m68k-*-elf*): Add t-crtin to tmake_file.
9881 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9882 (mcore-*-elf): Likewise.
9883 (microblaze*-*-*): Set extra_parts.
9884 (mips*-sde-elf*): New case.
9885 Set tmake_file, extra_parts.
9886 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9887 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9888 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9889 tmake_file.
9890 Set extra_parts.
9891 (mipsisa64sr71k-*-elf*): Likewise.
9892 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9893 (mips-*-elf*, mipsel-*-elf*): Likewise.
9894 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9895 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9896 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9897 (mips*-*-rtems*): Likewise.
9898 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9899 (moxie-*-*): Split into ...
9900 (moxie-*-elf, moxie-*-uclinux*): ... this.
9901 Add to extra_parts, remove crtbegin.o, crtend.o.
9902 (moxie-*-rtems*): New case.
9903 Set tmake_file.
9904 Clear extra_parts.
9905 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9906 Set extra_parts.
9907 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9908 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9909 tmake_file.
9910 Set extra_parts.
9911 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9912 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9913 Set extra_parts.
9914 (powerpc-*-eabisim*): Likewise.
9915 (powerpc-*-elf*): Likewise.
9916 (powerpc-*-eabialtivec*): Likewise.
9917 (powerpc-xilinx-eabi*): Likewise.
9918 (powerpc-*-eabi*): Likewise.
9919 (powerpc-*-rtems*): Likewise.
9920 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9921 tmake_file.
9922 Set extra_parts.
9923 (powerpc-*-lynxos*): Add to tmake_file.
9924 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9925 rs6000/t-crtstuff, t-crtstuff-pic.
9926 Set extra_parts.
9927 (powerpcle-*-eabisim*): Likewise.
9928 (powerpcle-*-eabi*): Likewise.
9929 (rx-*-elf): Remove extra_parts.
9930 (s390x-ibm-tpf*): Set extra_parts.
9931 (score-*-elf): Set extra_parts.
9932 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9933 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9934 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9935 (sh64l*-*-netbsd*): Split into ...
9936 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9937 Add t-crtstuff-pic to tmake_file.
9938 Set extra_parts.
9939 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9940 Set extra_parts.
9941 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9942 (sparc-*-elf*): Remove t-crtin from tmake_file.
9943 Add to extra_parts, remove crtbegin.o, crtend.o.
9944 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9945 (sparc64-*-linux*): Likewise.
9946 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9947 Add to extra_parts, remove crtbegin.o, crtend.o.
9948 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9949 Add to extra_parts, remove crtbegin.o, crtend.o.
9950 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9951 Add to extra_parts, remove crtbegin.o, crtend.o.
9952 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9953 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9954 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9955 Set extra_parts.
9956 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9957 Set extra_parts.
9958 (tic6x-*-*): Change to ...
9959 (tic6x-*-elf): ... this.
9960 Set extra_parts.
9961 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9962 Set extra_parts.
9963 (am33_2.0-*-linux*): Add comment.
9964 (mep*-*-*): Add mep/t-mep to tmake_file.
9965 Set extra_parts.
9966 * config/alpha/t-vms: New file.
9967 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9968 * config/arm/crti.S, config/arm/crtn.S: New files.
9969 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9970 * config/bfin/crtlibid.S: New file.
9971 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9972 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9973 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9974 (crti.o, crtin.o): New rules.
9975 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9976 * config/c6x/t-uclinux: New file.
9977 * config/cris/t-elfmulti: New file.
9978 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9979 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9980 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9981 * config/frv/t-frv: New file.
9982 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9983 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9984 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9985 New files.
9986 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9987 refer to cygming-crtbegin.c, cygming-crtend.c.
9988 Use $<.
9989 * config/i386/t-nto: New file.
9990 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9991 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9992 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9993 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9994 Use .S extension.
9995 Use $<.
9996 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9997 (crtinitS.o): New rule.
9998 * config/ia64/vms-crtinit.S: New file.
9999 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10000 * config/m32r/initfini.c: New file.
10001 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10002 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10003 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10004 * config/mep/t-mep: New file.
10005 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10006 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10007 * config/mips/crti.S, config/mips/crtn.S: New files.
10008 * config/mips/t-crtstuff: New file.
10009 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10010 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10011 (CUSTOM_CRTIN): Set.
10012 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10013 dependencies.
10014 Use $(srcdir) to refer to crti.S, crtn.S.
10015 Use .S extension, $<.
10016 * config/moxie/crti.asm: Rename to ...
10017 * config/moxie/crti.S: ... this.
10018 * config/moxie/crtn.asm: Rename to ...
10019 * config/moxie/crtn.S: ... this.
10020 * config/moxie/t-moxie: Remove.
10021 * config/pa/stublib.c: New file.
10022 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10023 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10024 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10025 * config/rs6000/t-crtstuff: New file.
10026 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10027 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10028 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10029 Make output file explicit.
10030 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10031 Make output file explicit.
10032 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10033 Make output file explicit.
10034 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10035 Make output file explicit.
10036 * config/score/crti.S, config/score/crtn.S: New files.
10037 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10038 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10039 files.
10040 * config/sh/t-sh, config/sh/t-superh: New files.
10041 * config/sparc/t-linux64: New file.
10042 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10043 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10044 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10045 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10046 * config/t-crtin: Remove.
10047 * config/t-crtstuff-pic: New file.
10048 * config/t-sol2 (CUSTOM_CRTIN): Set.
10049 (crti.o, crtn.o): New rules.
10050 * config/vms/t-vms: New file.
10051 * config/vms/vms-ucrt0.c: New file.
10052 * config/xtensa/t-elf: New file.
10053
10054 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10055
10056 * Makefile.in (SHLIB_NM_FLAGS): Set.
10057 * mkmap-flat.awk, mkmap-symver.awk: New files.
10058 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10059 exceptions.
10060 * configure: Regenerate.
10061 * config/libgcc-glibc.ver: New file.
10062 * config/libgcc-libsystem.ver: New file.
10063 * config/t-libunwind (SHLIB_LC): Set.
10064 * config/t-linux: New file.
10065 * config/t-slibgcc (INSTALL_SHLIB): New.
10066 (SHLIB_INSTALL): Use it.
10067 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10068 to mkmap-symver.awk.
10069 (SHLIB_MAPFILES): Don't append, adapt pathname.
10070 (SHLIB_VERPFX): Set.
10071 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10072 to mkmap-symver.awk.
10073 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10074 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10075 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10076 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10077 to mkmap-flat.awk.
10078 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10079 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10080 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10081 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10082 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10083 * config/i386/libgcc-darwin.10.4.ver,
10084 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10085 New files.
10086 * config/i386/t-darwin: Remove.
10087 * config/i386/t-darwin64: Likewise.
10088 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10089 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10090 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10091 * config/i386/t-linux: New file.
10092 * config/i386/t-mingw32: New file.
10093 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10094 * config/ia64/t-glibc: Rename to ...
10095 * config/ia64/t-linux: ... this.
10096 (SHLIB_MAPFILES): Set.
10097 * config/ia64/t-glibc-libunwind: Rename to ...
10098 * config/ia64/t-linux-libunwind: ... this.
10099 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10100 * config/ia64/t-slibgcc-hpux: New file.
10101 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10102 * config/m68k/t-slibgcc-elf-ver: New file.
10103 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10104 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10105 to mkmap-flat.awk.
10106 * config/pa/t-slibgcc-hpux: New file.
10107 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10108 files.
10109 * config/rs6000/libgcc-darwin.10.4.ver,
10110 config/rs6000/libgcc-darwin.10.5.ver: New files.
10111 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10112 config/rs6000/libgcc-glibc.ver.
10113 * config/rs6000/libgcc-ppc64.ver: Rename to
10114 config/rs6000/libgcc-ibm-ldouble.ver.
10115 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10116 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10117 * config/rs6000/t-ldbl128: Rename to ...
10118 * config/rs6000/t-linux: ... this.
10119 (SHLIB_MAPFILES): Adapt filename.
10120 * config/rs6000/t-slibgcc-aix: New file.
10121 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10122 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10123 libgcc-excl.ver, libgcc-glibc.ver.
10124 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10125 * config/sparc/libgcc-glibc.ver: New file.
10126 * config/sparc/t-linux: New file.
10127 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10128 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10129 t-slibgcc-elf-ver to tmake_file.
10130 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10131 *-*-freebsd[34].
10132 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10133 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10134 t-slibgcc-elf-ver, t-linux to tmake_file.
10135 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10136 tmake_file.
10137 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10138 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10139 (alpha*-dec-*vms*): Likewise.
10140 (arm*-*-freebsd*): Append to tmake_file.
10141 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10142 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10143 arm*-*-linux-*eabi.
10144 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10145 tmake_file for arm*-*-symbianelf*.
10146 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10147 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10148 cris/t-linux.
10149 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10150 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10151 pa/t-slibgcc-dwarf-ver to tmake_file.
10152 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10153 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10154 (hppa*64*-*-hpux11*): Likewise.
10155 (hppa[12]*-*-hpux11*): Likewise.
10156 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10157 i386/t-crtpc, i386/t-crtfm.
10158 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10159 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10160 to tmake_file.
10161 Add i386/t-cygwin to tmake_file.
10162 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10163 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10164 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10165 to tmake_file.
10166 Add i386/t-mingw32 to tmake_file.
10167 (x86_64-*-mingw*): Likewise.
10168 (ia64*-*-freebsd*): Append to tmake_file.
10169 (ia64*-*-linux*): Append to tmake_file.
10170 Replace ia64/t-glibc by ia64/t-linux.
10171 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10172 system libunwind.
10173 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10174 t-slibgcc-hpux to tmake_file.
10175 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10176 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10177 (m32rle-*-linux*): Likewise.
10178 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10179 sjlj exceptions.
10180 (microblaze*-linux*): New case.
10181 Append to tmake_file, add t-slibgcc-nolc-override.
10182 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10183 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10184 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10185 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10186 rs6000/t-slibgcc-aix to tmake_file.
10187 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10188 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10189 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10190 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10191 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10192 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10193 sh*-*-linux*.
10194 (sparc-*-linux*): Append to tmake_file for *-leon*.
10195 Add sparc/t-linux to tmake_file for non-Leon targets.
10196 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10197 (tic6x-*-uclinux): New case.
10198 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10199 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10200 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10201 (am33_2.0-*-linux*): Append to tmake_file.
10202 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10203 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10204 x86_64-*-kfreebsd*-gnu.
10205 Add i386/t-linux to tmake_file.
10206
10207 2011-10-28 Ian Lance Taylor <iant@google.com>
10208
10209 * config/i386/morestack.S: Correct CFI information to do proper
10210 returns throughout function. In 32-bit mode, save %ebx so that it
10211 is restored on unwind.
10212
10213 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10214
10215 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10216 case where B3 isn't the return register.
10217
10218 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10219 logic for doubleword pops.
10220
10221 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
10222
10223 * config/rs6000/t-freebsd: Add wildcard.
10224
10225 2011-10-21 Paul Brook <paul@codesourcery.com>
10226
10227 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10228
10229 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
10230 Eric Botcazou <ebotcazou@adacore.com>
10231
10232 PR target/50737
10233 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10234 fs->signal_frame to 1.
10235
10236 2011-10-07 Ian Lance Taylor <iant@google.com>
10237
10238 * generic-morestack-thread.c: #include <errno.h>.
10239
10240 2011-10-07 Ian Lance Taylor <iant@google.com>
10241
10242 PR target/46093
10243 * generic-morestack.c (__generic_morestack): Make sure the segment
10244 is large enough for both the stack frame and the copied
10245 parameters.
10246
10247 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10248
10249 PR bootstrap/49804
10250 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10251 extra_parts.
10252
10253 2011-09-28 Nick Clifton <nickc@redhat.com>
10254
10255 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10256 64-bit doubles are not enabled.
10257 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10258 and floatunsisf functions.
10259
10260 2011-09-13 Paul Brook <paul@codesourcery.com>
10261
10262 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10263 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10264 * unwind-arm-common.inc: New file.
10265 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10266 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10267 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10268 * config/c6x/libunwind.S: New file.
10269 * config/c6x/pr-support.c: New file.
10270 * config/c6x/unwind-c6x.c: New file.
10271 * config/c6x/unwind-c6x.h: New file.
10272 * config/c6x/t-c6x-elf: New file.
10273
10274 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
10275
10276 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10277 (ASM_DIVZERO): Ditto.
10278 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10279
10280 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10281
10282 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10283
10284 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10285
10286 PR target/50090
10287 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10288 instead of an assembly one.
10289
10290 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
10291
10292 PR bootstrap/50047
10293 * Makefile.in (install-unwind_h): Create
10294 $(gcc_objdir)/include/unwind.h atomically.
10295
10296 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10297
10298 * Makefile.in (install-unwind_h): Remove destination file first.
10299
10300 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10301
10302 * sync.c: New file.
10303 * config/mips/t-mips16: New file.
10304 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10305 (mips*-*-linux*): Likewise.
10306 (mips*-sde-elf*): Likewise.
10307 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10308 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10309 Add mips/t-mips16 to tmake_file.
10310 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10311 (mips-*-elf*): Likewise.
10312 (mips64-*-elf*): Likewise.
10313 (mips64orion-*-elf*): Likewise.
10314 (mips*-*-rtems*): Likewise.
10315 (mipstx39-*-elf*): Likewise.
10316 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10317 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10318 LIBGCC_SYNC_CFLAGS.
10319 Use $(srcdir) to refer to sync.c.
10320 Use $<.
10321 ($(libgcc-sync-funcs-o)): Likewise.
10322 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10323 ($(libgcc-sync-funcs-s-o)): Likewise.
10324
10325 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10326
10327 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10328 t-libunwind.
10329
10330 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10331
10332 PR other/48007
10333 * config/i386/value-unwind.h: New.
10334
10335 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10336
10337 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10338 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10339 Add to tmake_file rather than overriding it.
10340
10341 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10342
10343 * config/t-softfp: Remove.
10344 * soft-fp: Moved from ../gcc/config.
10345 * soft-fp/README: Remove t-softfp reference.
10346 * soft-fp/t-softfp: Move to config/t-softfp.
10347 (softfp_machine_header): Remove.
10348 (softfp_file_list): Remove config subdir.
10349 (soft-fp-objects): New variable.
10350 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10351 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10352 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10353 * config/t-softfp-excl: New file.
10354 * config/t-softfp-sfdf: New file.
10355 * config/t-softfp-tf: New file.
10356 * config/no-sfp-machine.h: New file.
10357 * config/arm/sfp-machine.h: New file.
10358 * config/arm/t-softfp: New file.
10359 * config/c6x/sfp-machine.h: New file.
10360 * config/i386/32/t-fprules-softfp: Rename to ...
10361 * config/i386/32/t-softfp: ... this.
10362 (tifunctions, LIB2ADD): Remove.
10363 (softfp_int_modes): Override.
10364 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10365 subdir.
10366 * config/i386/64/eqtf2.c: Likewise.
10367 * config/i386/64/getf2.c: Likewise.
10368 * config/i386/64/letf2.c: Likewise.
10369 * config/ia64/sft-machine.h: New file.
10370 * config/ia64/t-fprules-softfp: Rename to ...
10371 * config/ia64/t-softfp: ... this.
10372 * config/lm32/sfp-machine.h: New file.
10373 * config/moxie/t-moxie-softfp: Remove.
10374 * config/rs6000/ibm-ldouble-format: New file.
10375 * config/rs6000/ibm-ldouble.c: New file.
10376 * config/rs6000/libgcc-ppc-glibc.ver: New file
10377 * config/rs6000/libgcc-ppc64.ver: New file
10378 * config/rs6000/sfp-machine.h: New file.
10379 * config/rs6000/t-freebsd: New file.
10380 * config/rs6000/t-ibm-ldouble: New file.
10381 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10382 libgcc-ppc-glibc.ver.
10383 * config/rs6000/t-linux64: New file.
10384 * config/rs6000/t-ppccomm (LIB2ADD): Add
10385 $(srcdir)/config/rs6000/ibm-ldouble.c.
10386 * config/rs6000/t-ppccomm-ldbl: New file.
10387 * config/score/sfp-machine.h: New file.
10388 * config.host (sfp_machine_header): Explain.
10389 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10390 t-softfp to tmake_file.
10391 (arm*-*-uclinux*): Likewise.
10392 (arm*-*-ecos-elf): Likewise.
10393 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10394 (arm*-*-rtems*): Likewise.
10395 (arm*-*-elf): Likewise.
10396 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10397 in tmake_file.
10398 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10399 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10400 (lm32-*-uclinux*): Likewise.
10401 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10402 t-softfp-excl, t-softfp.
10403 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10404 (powerpc64-*-darwin*): Likewise.
10405 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10406 to tmake_file.
10407 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10408 tmake_file.
10409 (powerpc-*-eabisim*): Likewise.
10410 (powerpc-*-elf*): Likewise.
10411 (powerpc-*-eabialtivec*): Likewise.
10412 (powerpc-xilinx-eabi*): Likewise.
10413 (powerpc-*-rtems*): Likewise.
10414 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10415 t-softfp-excl, t-softfp to tmake_file.
10416 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10417 rs6000/t-ppccomm-ldbl to tmake_file.
10418 (powerpcle-*-elf*): Likewise.
10419 (powerpcle-*-eabisim*): Likewise.
10420 (powerpcle-*-eabi*): Likewise.
10421 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10422 rs6000/t-ibm-ldouble to tmake_file.
10423 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10424 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10425 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10426 (tic6x-*-*): Likewise.
10427 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10428 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10429 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10430 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10431 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10432 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10433 t-softfp to tmake_file.
10434 * configure.ac (sfp_machine_header): Provide default if unset.
10435 Substitute.
10436 Link sfp-machine.h to config/$sfp_machine_header.
10437 * configure: Regenerate.
10438
10439 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10440
10441 * Makefile.in (double_type_size, long_double_type_size): Set.
10442 Remove $(fpbit-in-libgcc) support.
10443 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10444 (fpbit-src): New variable.
10445 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10446 Compile with -DFLOAT $(FPBIT_CFLAGS).
10447 Use $<.
10448 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10449 Compile with $(FPBIT_CFLAGS).
10450 Use $<.
10451 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10452 Compile with -DFLOAT $(TPBIT_CFLAGS).
10453 Use $<.
10454 * configure.ac (double_type_size, long_double_type_size):
10455 Determine and substitute.
10456 * configure: Regenerate.
10457 * fp-bit.c, fp-bit.h: New files.
10458 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10459 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10460 * config/mips/t-mips: New file.
10461 * config/mips/t-sdemtk: New file.
10462 * config/rs6000/ppc64-fp.c: New file.
10463 * config/rs6000/t-darwin (LIB2ADD): Add
10464 $(srcdir)/config/rs6000/ppc64-fp.c.
10465 * config/rs6000/t-ppc64-fp: New file.
10466 * config/rx/rx-lib.h: New file.
10467 * config/rx/t-rx (FPBIT): Set to true.
10468 ($(gcc_objdir)/fp-bit.c): Remove.
10469 (DPBIT): Set to true only with -m64bit-doubles.
10470 ($(gcc_objdir)/dp-bit.c): Remove.
10471 * config/sparc/t-softfp: Remove.
10472 * config/spu/t-elf: New file.
10473 * config/t-fdpbit, config/t-fpbit: New files.
10474 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10475 (mips*-*-*): Likewise.
10476 (arm-wrs-vxworks): Likewise.
10477 (arm*-*-freebsd*): Likewise.
10478 (avr-*-rtems*): Add t-fpbit to tmake_file.
10479 (avr-*-*): Likewise.
10480 (bfin*-elf*): Add t-fdpbit to tmake_file.
10481 (bfin*-uclinux*): Likewise.
10482 (bfin*-linux-uclibc*): Likewise.
10483 (bfin*-rtems*): New case.
10484 Add t-fdpbit to tmake_file.
10485 (bfin*-*): Add t-fdpbit to tmake_file.
10486 (crisv32-*-elf): Likewise.
10487 (cris-*-linux*): Likewise.
10488 (fr30-*-elf): Likewise.
10489 (frv-*-elf, frv-*-*linux*): Likewise.
10490 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10491 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10492 (m32r-*-elf*): Likewise.
10493 (m32rle-*-elf*): Likewise.
10494 (m32r-*-linux*): Likewise.
10495 (m32rle-*-linux*): Likewise.
10496 (mcore-*-elf): Add t-fdpbit to tmake_file.
10497 (microblaze*-*-*): Likewise.
10498 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10499 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10500 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10501 Fix typo.
10502 Add mips/t-tpbit to tmake-file.
10503 (mips*-*-linux*): Fix typo.
10504 (mips*-sde-elf*): New case
10505 Add mips/t-sdemtk unless using newlib.
10506 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10507 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10508 (mn10300-*-*): Likewise.
10509 (pdp11-*-*): Likewise.
10510 (picochip-*-*): Add t-fpbit to tmake_file.
10511 (powerpc-*-eabisimaltivec*): Likewise.
10512 (powerpc-*-eabisim*): Likewise.
10513 (powerpc-*-elf*): Likewise.
10514 (powerpc-*-eabialtivec*): Likewise.
10515 (powerpc-xilinx-eabi*): New case.
10516 Add t-fdpbit to tmake_file.
10517 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10518 (powerpc-*-rtems*): Likewise.
10519 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10520 tmake_file.
10521 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10522 tmake_file.
10523 (powerpc-*-lynxos*): Likewise.
10524 (powerpcle-*-elf*): Likewise.
10525 (powerpcle-*-eabisim*): Likewise.
10526 (powerpcle-*-eabi*): Likewise.
10527 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10528 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10529 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10530 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10531 (rx-*-elf): Add t-fdpbit to tmake_file.
10532 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10533 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10534 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10535 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10536 sh*-*-netbsd*.
10537 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10538 (sh-wrs-vxworks): Likewise.
10539 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10540 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10541 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10542 (sparc64-*-rtems*): ... new case.
10543 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10544 (spu-*-elf*): Likewise.
10545 Add spu/t-elf to tmake_file.
10546 (v850*-*-*): Add t-fdpbit to tmake_file.
10547 (xstormy16-*-elf): Likewise.
10548 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10549 (mep*-*-*): Likewise.
10550
10551 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10552
10553 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10554 variables.
10555 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10556 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10557 (install-unwind_h): New target.
10558 (all): Depend on it.
10559 * config.host (unwind_header): New variable.
10560 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10561 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10562 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10563 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10564 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10565 Set unwind_header.
10566 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10567 Set unwind_header.
10568 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10569 arm*-*-eabi*.
10570 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10571 Set unwind_header.
10572 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10573 (ia64*-*-freebsd*): Likewise.
10574 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10575 tmake_file.
10576 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10577 $with_system_libunwind.
10578 (ia64*-*-hpux*): Set tmake_file.
10579 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10580 (picochip-*-*): Set tmake_file.
10581 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10582 md_unwind_header.
10583 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10584 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10585 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10586 (xtensa*-*-elf*): Set tmake_file.
10587 (xtensa*-*-linux*): Likewise.
10588 * configure.ac: Include ../config/unwind_ipinfo.m4.
10589 Call GCC_CHECK_UNWIND_GETIPINFO.
10590 Link unwind.h to $unwind_header.
10591 * configure: Regenerate.
10592 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10593 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10594 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10595 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10596 * config/unwind-dw2-fde-darwin.c: New file.
10597 * config/arm/libunwind.S, config/arm/pr-support.c,
10598 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10599 config/arm/unwind-arm.h,: New files.
10600 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10601 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10602 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10603 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10604 config/ia64/unwind-ia64.h: New files.
10605 * config/picochip/t-picochip: New file.
10606 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10607 files.
10608 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10609 * config/s390/t-tpf (LIB2ADDEH): Remove.
10610 * config/t-darwin (LIB2ADDEH): Set.
10611 * config/t-eh-dw2-dip: New file.
10612 * config/t-libunwind, config/t-libunwind-elf: New files.
10613 * config/t-sol2 (LIB2ADDEH): Remove.
10614 * config/xtensa/t-xtensa: New file.
10615
10616 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10617
10618 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10619 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10620 long long to check rt_sigreturn syscall.
10621
10622 2011-08-02 Alan Modra <amodra@gmail.com>
10623
10624 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10625 Restore for indirect call bcrtl from correct stack slot, and only
10626 if cfa+40 isn't valid.
10627
10628 2011-08-01 Julian Brown <julian@codesourcery.com>
10629
10630 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10631 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10632 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10633
10634 2011-08-01 Julian Brown <julian@codesourcery.com>
10635
10636 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10637 (libgcc-std.ver.in): Use above.
10638 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10639 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10640 throughout file.
10641 * config/t-fixedpoint-gnu-prefix: New file.
10642 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10643 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10644 instead of __PFX__.
10645
10646 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10647
10648 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10649 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10650 for x86-64. Properly check __x86_64__ and __LP64__.
10651
10652 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10653
10654 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10655 version.
10656 (_FP_WS_TYPE): Likewise.
10657 (_FP_I_TYPE): Likewise.
10658
10659 2011-07-28 Alan Modra <amodra@gmail.com>
10660
10661 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10662 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10663 in a plt call stub. Do restore r2 if stopped on bctrl.
10664
10665 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10666
10667 * config.host (i[3456x]86-*-netware*): Remove.
10668 * config/i386/netware-crt0.c, config/i386/t-nwld,
10669 config/i386/t-slibgcc-nwld: Remove.
10670
10671 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10672
10673 * config.host: Handle tic6x-*-*.
10674 * config/c6x/c6x-abi.h: New file.
10675
10676 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10677
10678 * config/i386/crtprec.c: New file.
10679 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10680 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10681 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10682 (x86_64-*-darwin*): Likewise.
10683 (i[34567]86-*-solaris2*: Likewise.
10684
10685 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10686
10687 * config/alpha/crtfastmath.c: New file.
10688 * config/i386/crtfastmath.c: New file.
10689 * config/ia64/crtfastmath.c: New file.
10690 * config/mips/crtfastmath.c: New file.
10691 * config/sparc/crtfastmath.c: New file.
10692
10693 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10694 crtfastmath.c.
10695 Add -frandom-seed=gcc-crtfastmath.
10696 * config/alpha/t-crtfm: Remove.
10697 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10698 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10699
10700 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10701 (alpha*-dec-osf5.1*): Likewise.
10702 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10703 Add crtfastmath.o to extra_parts.
10704 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10705 Add crtfastmath.o to extra_parts.
10706 (x86_64-*-darwin*): Likewise.
10707 (x86_64-*-mingw*): Likewise.
10708 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10709 (ia64*-*-freebsd*): Likewise.
10710 (ia64*-*-linux*): Likewise.
10711 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10712 Add crtfastmath.o to extra_parts.
10713
10714 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10715
10716 * config/darwin-crt3.o: New file.
10717 * config/rs6000/darwin-crt2.c: New file.
10718 * config/t-darwin: New file.
10719 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10720 (crt2.o): New rule.
10721 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10722 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10723 (powerpc64-*-darwin*): Likewise.
10724
10725 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10726
10727 * config/i386/netware-crt0.c: New file.
10728 * config/i386/t-nwld: Rename to ...
10729 * config/i386/t-slibgcc-nwld: ... this.
10730 * config/i386/t-nwld: New file.
10731 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10732 tmake_file.
10733 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10734 extra_parts.
10735
10736 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10737
10738 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10739 i386/t-crtstuff.
10740 * configure: Regenerate.
10741
10742 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10743
10744 * dfp-bit.c, dfp-bit.h: New files.
10745 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10746 variables.
10747 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10748 ($(d64pbit-o)): Likewise.
10749 ($(d128pbit-o)): Likewise.
10750 * config/t-dfprules: New file.
10751 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10752 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10753 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10754 (x86_64-*-linux*): Likewise.
10755 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10756 (i[34567]86-*-cygwin*): Likewise.
10757 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10758 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10759
10760 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10761
10762 * Makfile.in (LIBGCOV): New variable.
10763 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10764 * libgcov.c: New file.
10765
10766 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10767
10768 * fixed-bit.c, fixed-bit.h: New files.
10769 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10770 refer to fixed-bit.c.
10771
10772 2011-07-07 Joseph Myers <joseph@codesourcery.com>
10773
10774 * config.host (*local*): Remove.
10775
10776 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10777
10778 PR target/39150
10779 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10780 like i?86-*-solaris2.1[0-9]*.
10781 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10782 * configure.ac (i?86-*-solaris2*): Likewise.
10783 * configure: Regenerate.
10784
10785 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
10786
10787 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10788 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10789 md_unwind_header by splitting out of...
10790 (i[34567]86-*-linux*): ... this.
10791 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10792 Remove md_unwind_header by splitting out of...
10793 (x86_64-*-linux*): ... this.
10794
10795 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
10796
10797 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10798
10799 2011-06-28 Nick Clifton <nickc@redhat.com>
10800
10801 * config.host: Recognize all V850 variants.
10802
10803 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
10804
10805 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10806
10807 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10808
10809 * shared-object.mk (c_flags-$o): Save c_flags.
10810 ($(base)$(objext)): Use it.
10811 ($(base)_s$(objext)): Likewise.
10812
10813 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10814
10815 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10816 * libgcc-std.ver.in (GCC_4.7.0): New section.
10817
10818 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
10819
10820 PR target/49313
10821 PR target/29524
10822 * config/avr/t-avr: Fix line endings.
10823 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10824 _parityXX2.
10825
10826 2011-06-14 Olivier Hainque <hainque@adacore.com>
10827 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10828
10829 * config/mips/irix6-unwind.h: New file.
10830 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10831
10832 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10833
10834 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10835 (sparc64_fallback_frame_state): Use it.
10836 (sparc64_frob_update_context): Further adjust context.
10837 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10838 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10839 * config/sparc/sol2-cn.S: Likewise.
10840
10841 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10842
10843 * enable-execute-stack-empty.c: New file.
10844 * enable-execute-stack-mprotect.c: New file.
10845 * config/i386/enable-execute-stack-mingw32.c: New file.
10846 * config.host (enable_execute_stack): New variable.
10847 Select appropriate variants.
10848 * configure.ac: Link enable-execute-stack.c to
10849 $enable_execute_stack.
10850 * configure: Regenerate.
10851 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10852 (lib2funcs): Remove _enable_execute_stack.
10853
10854 2011-06-09 David S. Miller <davem@davemloft.net>
10855 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10856
10857 * config.host (sparc-*-linux*): Correct md_unwind_header
10858 filename.
10859 (s390x-ibm-tpf*): Fix typo.
10860
10861 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10862
10863 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10864 Add crtfastmath.o to extra_parts.
10865 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10866 mips/t-crtfm.
10867 * config/mips/t-crtfm: Remove.
10868
10869 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10870
10871 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10872
10873 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10874
10875 * config.host (sh*-*-linux*): Fix typo.
10876
10877 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10878
10879 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10880 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10881 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10882 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10883 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10884 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10885 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10886 Wrap in !__MINGW64__.
10887 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10888 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10889 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10890 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10891 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10892 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10893 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10894 Wrap in !__LP64__.
10895 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10896 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10897 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10898 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10899 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10900 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10901 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10902 * config/no-unwind.h: New file.
10903 * config.host (md_unwind_header): Document.
10904 Define.
10905 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10906 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10907 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10908 hppa[12]*-*-hpux11*): Set md_unwind_header.
10909 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10910 Set md_unwind_header.
10911 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10912 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10913 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10914 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10915 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10916 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10917 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10918 md_unwind_header.
10919 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10920 * configure: Regenerate.
10921
10922 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10923
10924 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10925 Set tmake_file, extra_parts.
10926 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10927 Remove O32 support.
10928 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10929 Remove O32 support.
10930 * config/mips/t-irix6: New file.
10931 * config/mips/t-slibgcc-irix: New file.
10932
10933 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10934
10935 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10936 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10937
10938 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10939
10940 * configure.ac (target_thread_file): Determine thread model.
10941 * configure: Regenerate.
10942 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10943 * config/alpha/t-alpha: New file.
10944 * config/alpha/t-crtfm: Use $<.
10945 * config/alpha/t-ieee: New file.
10946 * config/alpha/t-osf-pthread: New file.
10947 * config/alpha/t-slibgcc-osf: New file.
10948 * config/alpha/libgcc-osf5.ver: New file.
10949
10950 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10951
10952 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10953 tmake_file.
10954 Add crtfastmath.o to extra_parts.
10955
10956 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10957
10958 * config/gmon-sol2.c: Reindent.
10959 Cleanup comments.
10960 Remove, correct casts.
10961 Use STDERR_FILENO, NULL.
10962 (BASEADDRESS): Remove.
10963 (minbrk): Remove.
10964 (errno, sbrk): Remove declarations.
10965 (monstartup) [hp300]: Remove.
10966 (mcount): Remove.
10967
10968 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10969
10970 * Makefile.in (cpu_type): Define.
10971 * config.host (i[34567]86-*-rtems*): Handle it.
10972 (i[34567]86-*-solaris2*): Move body ...
10973 (*-*-solaris2*): ... here.
10974 New case, generalize.
10975 (sparc-*-elf*): Handle it.
10976 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10977 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10978 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10979 Fold into ...
10980 (sparc*-*-solaris2*): ... this.
10981 New case.
10982 (sparc64-*-elf*): Handle it.
10983 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10984 Merge ../gcc/config/i386/gmon-sol2.c.
10985 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10986 Use C comments.
10987 Merge ../gcc/config/i386/sol2-gc1.asm.
10988 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10989 Use C comments.
10990 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10991 Use C comments.
10992 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10993 * config/i386/t-crtstuff: New file.
10994 * config/i386/t-softfp: New file.
10995 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10996 $(T)crti.o, $(T)crtn.o): Remove.
10997 (gcrt1.o): New rule.
10998 (TARGET_LIBGCC2_CFLAGS): Remove.
10999 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11000 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11001 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11002 * config/sparc/t-sol2: New file.
11003 * config/sparc/t-crtfm: Move to ...
11004 * config/t-crtfm: ... this.
11005 Use $(cpu_type), $<.
11006 * config/t-crtin: New file.
11007 * config/sparc/t-softfp: New file.
11008 * config/sparc/t-softmul: New file.
11009 * config/t-rtems: New file.
11010 * config/t-slibgcc: New file.
11011 * config/t-slibgcc-elf-ver: New file.
11012 * config/t-slibgcc-gld: New file.
11013 * config/t-slibgcc-sld: New file.
11014 * config/t-sol2: New file.
11015 * configure.ac: Include ../config/lib-ld.m4.
11016 Call AC_LIB_PROG_LD_GNU.
11017 Substitute cpu_type.
11018 * configure: Regenerate.
11019
11020 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11021
11022 PR bootstrap/49173
11023 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11024 libgcc-std.ver in the build directory.
11025 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11026 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11027
11028 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11029
11030 * libgcc-std.ver.in: New file.
11031 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11032 variables.
11033 (libgcc-std.ver): New rule.
11034 * config/t-gnu-prefix: New file.
11035
11036 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11037
11038 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11039
11040 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11041
11042 * config/i386/darwin-lib.h: New file.
11043
11044 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11045
11046 * config/arm/symbian-lib.h: New.
11047
11048 2011-05-04 Chris Demetriou <cgd@google.com>
11049
11050 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11051 (__x86.get_pc_thunk.bx): ...this.
11052 (__morestack): Adjust for rename, remove undef of __i686.
11053
11054 2011-05-03 Chris Demetriou <cgd@google.com>
11055
11056 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11057
11058 2011-03-22 Joseph Myers <joseph@codesourcery.com>
11059
11060 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11061 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11062 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11063 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11064 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11065 Remove cases.
11066
11067 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
11068
11069 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11070 Adjust copyright year.
11071
11072 2011-03-07 Ian Lance Taylor <iant@google.com>
11073
11074 * generic-morestack.c (__splitstack_find): Adjust returned stack
11075 pointer to include all registers pushed by __morestack.
11076
11077 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11078
11079 PR target/40125
11080 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11081 (toolexecdir): Calculate and AC_SUBST.
11082 (toolexeclibdir): Likewise.
11083 * Makefile.in (target_noncanonical): Import.
11084 (toolexecdir): Likewise.
11085 (toolexeclibdir): Likewise.
11086 * configure: Regenerate.
11087
11088 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11089
11090 PR target/46040
11091 * config/arm/bpabi.h: Rename to...
11092 * config/arm/bpabi-lib.h: ...this.
11093
11094 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11095
11096 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11097 appropriate.
11098 * configure: Regenerate.
11099
11100 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11101
11102 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11103 __FLOAT_WORD_ORDER__.
11104 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11105 Delete.
11106
11107 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11108
11109 PR other/46202
11110 * Makefile.in (install-strip): New phony target.
11111
11112 2010-11-07 Ian Lance Taylor <iant@google.com>
11113
11114 PR target/46089
11115 * config/i386/morestack.S (__morestack_large_model): New
11116 function.
11117
11118 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11119
11120 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11121 Delete.
11122 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11123
11124 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11125
11126 * config/arm/bpabi.h: New file.
11127 * config/frv/frv-abi.h: New file.
11128
11129 2010-10-01 Ian Lance Taylor <iant@google.com>
11130
11131 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11132 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11133
11134 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11135
11136 PR target/45858
11137 * config.host: Add the missing `$'.
11138
11139 2010-09-30 Michael Eager <eager@eagercon.com>
11140
11141 * config.host: Add microblaze*-*-*.
11142 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11143 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11144 udivsi3.asm,umodsi3.asm}: New.
11145
11146 2010-09-28 Ian Lance Taylor <iant@google.com>
11147
11148 * configure.ac: Adjust CFI test to test assembler directly rather
11149 than checking gcc preprocessor macro.
11150 * configure: Rebuild.
11151
11152 2010-09-27 Ian Lance Taylor <iant@google.com>
11153
11154 * configure.ac: Test whether assembler supports CFI directives.
11155 * config.host: Only add t-stack and i386/t-stack-i386 to
11156 tmake_file if libgcc_cv_cfi is "yes".
11157 * configure: Rebuild.
11158
11159 2010-09-27 Ian Lance Taylor <iant@google.com>
11160
11161 * generic-morestack.h: New file.
11162 * generic-morestack.c: New file.
11163 * generic-morestack-thread.c: New file.
11164 * config/i386/morestack.S: New file.
11165 * config/t-stack: New file.
11166 * config/i386/t-stack-i386: New file.
11167 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11168 i386/t-stack-i386 to tmake_file.
11169
11170 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11171
11172 * Makefile.in (libgcc-extra-parts): Check for static archives and
11173 invoke ranlib after installing them.
11174 (gcc-extra-parts): Likewise.
11175 (install-leaf): Likewise.
11176
11177 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11178
11179 * configure: Regenerated.
11180
11181 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
11182
11183 * configure: Regenerated.
11184
11185 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11186 Andrew Pinski <pinskia@gmail.com>
11187
11188 PR target/40959
11189 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11190
11191 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11192
11193 PR target/45524
11194 * configure: Regenerated.
11195
11196 2010-09-06 Andreas Schwab <schwab@redhat.com>
11197
11198 * configure: Regenerate.
11199
11200 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11201
11202 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11203 64bit targets.
11204 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11205 for 64bit targets.
11206
11207 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11208 Iain Sandoe <iains@gcc.gnu.org>
11209
11210 PR target/45476
11211 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11212 LIB2FUNCS_EXCLUDE functions.
11213
11214 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11215
11216 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11217 Include dfp.m4.
11218 * configure: Regenerate.
11219
11220 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
11221
11222 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11223 i386/t-freebsd to tmake_file.
11224 * config/i386/t-freebsd: New file.
11225 * config/i386/libgcc-bsd.ver: New file.
11226
11227 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11228
11229 * config.host (powerpc*-eabispe*): Set tmake_file.
11230 (powerpc*-eabi*): Likewise.
11231 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11232 crtbeginS, crtendS, crtbeginT.
11233
11234 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
11235
11236 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11237 to tmake_file. Add crtfastmath.o to extra_parts.
11238 * config/mips/t-crtfm: New.
11239
11240 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
11241
11242 * config.host (sparc64-*-rtems*): New target.
11243
11244 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11245
11246 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11247 assembler syntax.
11248
11249 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11250
11251 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11252
11253 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11254
11255 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11256 alpha-dec-osf5.0* support.
11257
11258 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
11259
11260 * config.host: Add lm32-*-rtems*.
11261
11262 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11263 Uros Bizjak <ubizjak@gmail.com>
11264
11265 PR target/39048
11266 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11267 like other remaining 32-bit x86 OSes.
11268 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11269 assembler syntax.
11270 * config/i386/libgcc-sol2.ver: New file.
11271 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11272
11273 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
11274
11275 PR c/43553
11276 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11277 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11278 is used and substitute set_use_emutls.
11279 * configure: Regenerated.
11280
11281 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11282
11283 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11284
11285 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11286
11287 PR target/38085
11288 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11289 MULTILIB_CFLAGS.
11290 ($(T)gcrt1.o): Likewise.
11291 ($(T)crt1.o): Likewise.
11292 ($(T)crti.o): Likewise.
11293 ($(T)crtn.o): Likewise.
11294
11295 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11296
11297 PR other/42980
11298 * Makefile.in (install): Use $(MAKE) string in rule, for
11299 parallel make.
11300
11301 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11302
11303 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11304 * config/mmix/t-mmix: New file.
11305 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11306
11307 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11308
11309 PR java/41991
11310 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11311 SHLIB_MAPFILES.
11312
11313 2010-01-04 Anthony Green <green@moxielogic.com>
11314
11315 * config/moxie/crti.asm, config/moxie/crtn.asm,
11316 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11317 config/moxie/t-moxie: New files.
11318 * config.host: Add t-moxie-softfp reference.
11319
11320 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
11321
11322 PR other/39888
11323 * config/t-slibgcc-darwin: Fix embedded rpaths for
11324 --enable-version-specific-runtime-libs, build extension stub
11325 libs exposing features available from current libgcc_s.
11326
11327 2009-11-11 Jon Beniston <jon@beniston.com>
11328
11329 * config.host: Add lm32 targets.
11330 * config/lm32: New directory.
11331 * config/lm32/libgcc_lm32.h: New file.
11332 * config/lm32/_mulsi3.c: New file.
11333 * config/lm32/_udivmodsi4.c: New file.
11334 * config/lm32/_divsi3.c: New file.
11335 * config/lm32/_modsi3.c: New file.
11336 * config/lm32/_udivsi3.c: New file.
11337 * config/lm32/_umodsi3.c: New file.
11338 * config/lm32/_lshrsi3.S: New file.
11339 * config/lm32/_ashrsi3.S: New file.
11340 * config/lm32/_ashlsi3.S: New file.
11341 * config/lm32/crti.S: New file.
11342 * config/lm32/crtn.S: New file.
11343 * config/lm32/t-lm32: New file.
11344 * config/lm32/t-elf: New file.
11345 * config/lm32/t-uclinux: New file.
11346
11347 2009-10-26 Nick Clifton <nickc@redhat.com>
11348
11349 * config.host: Add support for RX target.
11350 * config/rx: New directory.
11351 * config/rx/rx-abi-functions.c: New file. Supplementary
11352 functions for libgcc to support the RX ABI.
11353 * config/rx/rx-abi.h: New file. Supplementary header file for
11354 libgcc RX ABI functions.
11355 * config/rx/t-rx: New file: Makefile fragment for building
11356 libgcc for the RX.
11357
11358 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
11359
11360 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11361 constraint of y0 to "g".
11362
11363 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11364
11365 * config.host: Include the s390 makefile fragments.
11366 * config/s390/32/_fixdfdi.c: New file.
11367 * config/s390/32/_fixsfdi.c: New file.
11368 * config/s390/32/_fixtfdi.c: New file.
11369 * config/s390/32/_fixunsdfdi.c: New file.
11370 * config/s390/32/_fixunssfdi.c: New file.
11371 * config/s390/32/_fixunstfdi.c: New file.
11372 * config/s390/32/t-floattodi: New file.
11373 * config/s390/libgcc-glibc.ver: New file.
11374 * config/s390/t-crtstuff: New file.
11375 * config/s390/t-linux: New file.
11376 * config/s390/t-tpf: New file.
11377
11378 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11379
11380 * configure.ac (AC_PREREQ): Bump to 2.64.
11381
11382 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11383
11384 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11385
11386 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11387
11388 * configure: Regenerate.
11389
11390 2009-08-09 Douglas B Rupp <rupp@gnat.com>
11391
11392 * config.host (ia64-hp-*vms*): New target.
11393 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11394 with ia64-hp-*vms*.
11395
11396 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11397
11398 * configure.ac: Add snippet for maintainer-mode.
11399 * configure: Regenerate.
11400 * Makefile.in (AUTOCONF, configure_deps): New variables.
11401 ($(srcdir)/configure)): New rule, active only with maintainer
11402 mode turned on.
11403
11404 2009-06-23 DJ Delorie <dj@redhat.com>
11405
11406 Add MeP port.
11407 * config.host: Add mep support.
11408
11409 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
11410
11411 * config.host: Add i386/${host_address}/t-fprules-softfp and
11412 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11413
11414 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11415 for mingw targets.
11416 * config/i386/64/_multc3.c: Likewise.
11417 * config/i386/64/_powitf2.c: Likewise.
11418 * config/i386/64/eqtf2.c: Likewise.
11419 * config/i386/64/getf2.c: Likewise.
11420 * config/i386/64/letf2.c: Likewise.
11421 * config/i386/64/letf2.c: Likewise.
11422 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11423 unsigned long long for x64 mingw targets.
11424 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11425 (_FP_I_TYPE): Define as long long for x64 mingw target.
11426
11427 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11428
11429 * config.host (vax-*-linux*): New.
11430
11431 2009-05-31 Anthony Green <green@moxielogic.com>
11432
11433 * config.host: Add moxie support.
11434 * config/moxie/t-moxie: New file.
11435
11436 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
11437
11438 * config.host: Add i386/${host_address}/t-fprules-softfp and
11439 t-softfp to tmake_file for i[34567]86-*-cygwin*.
11440
11441 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11442
11443 * config.host: Add i386/${host_address}/t-fprules-softfp to
11444 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11445
11446 2009-04-09 Nick Clifton <nickc@redhat.com>
11447
11448 * config/ia64/tf-signs.c: Change copyright header to refer to
11449 version 3 of the GNU General Public License with version 3.1
11450 of the GCC Runtime Library Exception and to point readers at
11451 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11452 web page.
11453 * config/i386/32/tf-signs.c: Likewise.
11454 * config/libbid/_addsub_dd.c: Likewise.
11455 * config/libbid/_addsub_sd.c: Likewise.
11456 * config/libbid/_addsub_td.c: Likewise.
11457 * config/libbid/_dd_to_df.c: Likewise.
11458 * config/libbid/_dd_to_di.c: Likewise.
11459 * config/libbid/_dd_to_sd.c: Likewise.
11460 * config/libbid/_dd_to_sf.c: Likewise.
11461 * config/libbid/_dd_to_si.c: Likewise.
11462 * config/libbid/_dd_to_td.c: Likewise.
11463 * config/libbid/_dd_to_tf.c: Likewise.
11464 * config/libbid/_dd_to_udi.c: Likewise.
11465 * config/libbid/_dd_to_usi.c: Likewise.
11466 * config/libbid/_dd_to_xf.c: Likewise.
11467 * config/libbid/_df_to_dd.c: Likewise.
11468 * config/libbid/_df_to_sd.c: Likewise.
11469 * config/libbid/_df_to_td.c: Likewise.
11470 * config/libbid/_di_to_dd.c: Likewise.
11471 * config/libbid/_di_to_sd.c: Likewise.
11472 * config/libbid/_di_to_td.c: Likewise.
11473 * config/libbid/_div_dd.c: Likewise.
11474 * config/libbid/_div_sd.c: Likewise.
11475 * config/libbid/_div_td.c: Likewise.
11476 * config/libbid/_eq_dd.c: Likewise.
11477 * config/libbid/_eq_sd.c: Likewise.
11478 * config/libbid/_eq_td.c: Likewise.
11479 * config/libbid/_ge_dd.c: Likewise.
11480 * config/libbid/_ge_sd.c: Likewise.
11481 * config/libbid/_ge_td.c: Likewise.
11482 * config/libbid/_gt_dd.c: Likewise.
11483 * config/libbid/_gt_sd.c: Likewise.
11484 * config/libbid/_gt_td.c: Likewise.
11485 * config/libbid/_isinfd128.c: Likewise.
11486 * config/libbid/_isinfd32.c: Likewise.
11487 * config/libbid/_isinfd64.c: Likewise.
11488 * config/libbid/_le_dd.c: Likewise.
11489 * config/libbid/_le_sd.c: Likewise.
11490 * config/libbid/_le_td.c: Likewise.
11491 * config/libbid/_lt_dd.c: Likewise.
11492 * config/libbid/_lt_sd.c: Likewise.
11493 * config/libbid/_lt_td.c: Likewise.
11494 * config/libbid/_mul_dd.c: Likewise.
11495 * config/libbid/_mul_sd.c: Likewise.
11496 * config/libbid/_mul_td.c: Likewise.
11497 * config/libbid/_ne_dd.c: Likewise.
11498 * config/libbid/_ne_sd.c: Likewise.
11499 * config/libbid/_ne_td.c: Likewise.
11500 * config/libbid/_sd_to_dd.c: Likewise.
11501 * config/libbid/_sd_to_df.c: Likewise.
11502 * config/libbid/_sd_to_di.c: Likewise.
11503 * config/libbid/_sd_to_sf.c: Likewise.
11504 * config/libbid/_sd_to_si.c: Likewise.
11505 * config/libbid/_sd_to_td.c: Likewise.
11506 * config/libbid/_sd_to_tf.c: Likewise.
11507 * config/libbid/_sd_to_udi.c: Likewise.
11508 * config/libbid/_sd_to_usi.c: Likewise.
11509 * config/libbid/_sd_to_xf.c: Likewise.
11510 * config/libbid/_sf_to_dd.c: Likewise.
11511 * config/libbid/_sf_to_sd.c: Likewise.
11512 * config/libbid/_sf_to_td.c: Likewise.
11513 * config/libbid/_si_to_dd.c: Likewise.
11514 * config/libbid/_si_to_sd.c: Likewise.
11515 * config/libbid/_si_to_td.c: Likewise.
11516 * config/libbid/_td_to_dd.c: Likewise.
11517 * config/libbid/_td_to_df.c: Likewise.
11518 * config/libbid/_td_to_di.c: Likewise.
11519 * config/libbid/_td_to_sd.c: Likewise.
11520 * config/libbid/_td_to_sf.c: Likewise.
11521 * config/libbid/_td_to_si.c: Likewise.
11522 * config/libbid/_td_to_tf.c: Likewise.
11523 * config/libbid/_td_to_udi.c: Likewise.
11524 * config/libbid/_td_to_usi.c: Likewise.
11525 * config/libbid/_td_to_xf.c: Likewise.
11526 * config/libbid/_tf_to_dd.c: Likewise.
11527 * config/libbid/_tf_to_sd.c: Likewise.
11528 * config/libbid/_tf_to_td.c: Likewise.
11529 * config/libbid/_udi_to_dd.c: Likewise.
11530 * config/libbid/_udi_to_sd.c: Likewise.
11531 * config/libbid/_udi_to_td.c: Likewise.
11532 * config/libbid/_unord_dd.c: Likewise.
11533 * config/libbid/_unord_sd.c: Likewise.
11534 * config/libbid/_unord_td.c: Likewise.
11535 * config/libbid/_usi_to_dd.c: Likewise.
11536 * config/libbid/_usi_to_sd.c: Likewise.
11537 * config/libbid/_usi_to_td.c: Likewise.
11538 * config/libbid/_xf_to_dd.c: Likewise.
11539 * config/libbid/_xf_to_sd.c: Likewise.
11540 * config/libbid/_xf_to_td.c: Likewise.
11541 * config/libbid/bid128.c: Likewise.
11542 * config/libbid/bid128_2_str.h: Likewise.
11543 * config/libbid/bid128_2_str_macros.h: Likewise.
11544 * config/libbid/bid128_2_str_tables.c: Likewise.
11545 * config/libbid/bid128_add.c: Likewise.
11546 * config/libbid/bid128_compare.c: Likewise.
11547 * config/libbid/bid128_div.c: Likewise.
11548 * config/libbid/bid128_fma.c: Likewise.
11549 * config/libbid/bid128_logb.c: Likewise.
11550 * config/libbid/bid128_minmax.c: Likewise.
11551 * config/libbid/bid128_mul.c: Likewise.
11552 * config/libbid/bid128_next.c: Likewise.
11553 * config/libbid/bid128_noncomp.c: Likewise.
11554 * config/libbid/bid128_quantize.c: Likewise.
11555 * config/libbid/bid128_rem.c: Likewise.
11556 * config/libbid/bid128_round_integral.c: Likewise.
11557 * config/libbid/bid128_scalb.c: Likewise.
11558 * config/libbid/bid128_sqrt.c: Likewise.
11559 * config/libbid/bid128_string.c: Likewise.
11560 * config/libbid/bid128_to_int16.c: Likewise.
11561 * config/libbid/bid128_to_int32.c: Likewise.
11562 * config/libbid/bid128_to_int64.c: Likewise.
11563 * config/libbid/bid128_to_int8.c: Likewise.
11564 * config/libbid/bid128_to_uint16.c: Likewise.
11565 * config/libbid/bid128_to_uint32.c: Likewise.
11566 * config/libbid/bid128_to_uint64.c: Likewise.
11567 * config/libbid/bid128_to_uint8.c: Likewise.
11568 * config/libbid/bid32_to_bid128.c: Likewise.
11569 * config/libbid/bid32_to_bid64.c: Likewise.
11570 * config/libbid/bid64_add.c: Likewise.
11571 * config/libbid/bid64_compare.c: Likewise.
11572 * config/libbid/bid64_div.c: Likewise.
11573 * config/libbid/bid64_fma.c: Likewise.
11574 * config/libbid/bid64_logb.c: Likewise.
11575 * config/libbid/bid64_minmax.c: Likewise.
11576 * config/libbid/bid64_mul.c: Likewise.
11577 * config/libbid/bid64_next.c: Likewise.
11578 * config/libbid/bid64_noncomp.c: Likewise.
11579 * config/libbid/bid64_quantize.c: Likewise.
11580 * config/libbid/bid64_rem.c: Likewise.
11581 * config/libbid/bid64_round_integral.c: Likewise.
11582 * config/libbid/bid64_scalb.c: Likewise.
11583 * config/libbid/bid64_sqrt.c: Likewise.
11584 * config/libbid/bid64_string.c: Likewise.
11585 * config/libbid/bid64_to_bid128.c: Likewise.
11586 * config/libbid/bid64_to_int16.c: Likewise.
11587 * config/libbid/bid64_to_int32.c: Likewise.
11588 * config/libbid/bid64_to_int64.c: Likewise.
11589 * config/libbid/bid64_to_int8.c: Likewise.
11590 * config/libbid/bid64_to_uint16.c: Likewise.
11591 * config/libbid/bid64_to_uint32.c: Likewise.
11592 * config/libbid/bid64_to_uint64.c: Likewise.
11593 * config/libbid/bid64_to_uint8.c: Likewise.
11594 * config/libbid/bid_b2d.h: Likewise.
11595 * config/libbid/bid_binarydecimal.c: Likewise.
11596 * config/libbid/bid_conf.h: Likewise.
11597 * config/libbid/bid_convert_data.c: Likewise.
11598 * config/libbid/bid_decimal_data.c: Likewise.
11599 * config/libbid/bid_decimal_globals.c: Likewise.
11600 * config/libbid/bid_div_macros.h: Likewise.
11601 * config/libbid/bid_dpd.c: Likewise.
11602 * config/libbid/bid_flag_operations.c: Likewise.
11603 * config/libbid/bid_from_int.c: Likewise.
11604 * config/libbid/bid_functions.h: Likewise.
11605 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11606 * config/libbid/bid_inline_add.h: Likewise.
11607 * config/libbid/bid_internal.h: Likewise.
11608 * config/libbid/bid_round.c: Likewise.
11609 * config/libbid/bid_sqrt_macros.h: Likewise.
11610
11611 2009-04-09 Jakub Jelinek <jakub@redhat.com>
11612
11613 * Makefile.in: Change copyright header to refer to version
11614 3 of the GNU General Public License and to point readers at the
11615 COPYING3 file and the FSF's license web page.
11616 * config.host: Likewise.
11617
11618 2009-04-07 Alan Modra <amodra@bigpond.net.au>
11619
11620 * config.host: Reorder and merge to match config.gcc change.
11621
11622 2009-04-03 Alan Modra <amodra@bigpond.net.au>
11623
11624 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11625
11626 2009-03-28 Joseph Myers <joseph@codesourcery.com>
11627
11628 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11629 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11630 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11631 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11632
11633 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
11634
11635 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11636 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11637
11638 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11639
11640 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11641 ia64/t-softfp-compat to tmake_file.
11642
11643 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11644
11645 * config/ia64/__divxf3.asm: New.
11646 * config/ia64/_fixtfdi.asm: Likewise.
11647 * config/ia64/_fixunstfdi.asm: Likewise.
11648 * config/ia64/_floatditf.asm: Likewise.
11649 * config/ia64/t-fprules-softfp: Likewise.
11650 * config/ia64/t-softfp-compat: Likewise.
11651 * config/ia64/tf-signs.c: Likewise.
11652
11653 2009-01-18 Ben Elliston <bje@au.ibm.com>
11654
11655 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11656
11657 2009-01-16 Ben Elliston <bje@au.ibm.com>
11658
11659 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11660 to tmake_file.
11661
11662 2009-01-13 Ben Elliston <bje@au.ibm.com>
11663
11664 * config/t-softfp: New file.
11665 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11666 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11667
11668 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
11669
11670 * config.host: Add m32r*-*-rtems*.
11671
11672 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
11673
11674 * config.host: Add m32c*-*-rtems*.
11675
11676 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11677
11678 PR bootstrap/33100
11679 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11680 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11681 * configure: Regenerate.
11682 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11683 tmake_file here from gcc/config.gcc.
11684 Move extra_parts here from gcc/config.gcc.
11685 * config/i386/t-sol2: Move here from gcc/config/i386.
11686 Use gcc_srcdir instead of srcdir.
11687
11688 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11689
11690 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11691 case.
11692
11693 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11694
11695 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11696
11697 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11698
11699 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11700
11701 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11702
11703 Add picoChip port.
11704 * config.host: Add picochip-*-*.
11705
11706 2008-08-06 Bob Wilson <bob.wilson@acm.org>
11707
11708 * config.host: Match more processor names for Xtensa.
11709
11710 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11711
11712 * config/i386/64/t-softfp-compat: Update comments.
11713
11714 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11715
11716 * config/i386/64/_divtc3-compat.c: Moved to ...
11717 * config/i386/64/_divtc3.c: Here.
11718
11719 * config/i386/64/_multc3-compat.c: Moved to ...
11720 * config/i386/64/_multc3.c: Here.
11721
11722 * config/i386/64/_powitf2-compat.c: Moved to ...
11723 * config/i386/64/_powitf2.c: Here.
11724
11725 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11726 .c suffix instead of -compat.c.
11727
11728 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
11729
11730 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11731 (_FP_MUL_MEAT_D): Ditto.
11732 (_FP_DIV_MEAT_S): Ditto.
11733 (_FP_DIV_MEAT_D): Ditto.
11734
11735 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11736
11737 * Makefile.in: Add support for __sync_* libgcc functions.
11738
11739 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11740
11741 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11742
11743 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11744
11745 PR boostrap/36702
11746 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11747 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11748
11749 * config/i386/64/t-fprules-softfp: Moved to ...
11750 * config/i386/64/t-softfp-compat: This. New.
11751
11752 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
11753
11754 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11755 Initialize f with 0.0.
11756
11757 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11758
11759 PR target/36669
11760 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11761
11762 * config/i386/64/_divtc3-compat.c: New.
11763 * config/i386/64/_multc3-compat.c: Likewise.
11764 * config/i386/64/_powitf2-compat.c: Likewise.
11765 * config/i386/64/eqtf2.c: Likewise.
11766 * config/i386/64/getf2.c: Likewise.
11767 * config/i386/64/letf2.c: Likewise.
11768 * config/i386/64/t-fprules-softfp: Likewise.
11769
11770 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11771
11772 * config.host: Add i386/${host_address}/t-fprules-softfp to
11773 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11774 i[34567]86-*-linux*, x86_64-*-linux*.
11775
11776 * configure.ac: Set host_address to 64 or 32 for x86.
11777 * configure: Regenerated.
11778
11779 * Makefile.in (config.status): Also depend on
11780 $(srcdir)/config.host.
11781
11782 * config/i386/32/t-fprules-softfp: New.
11783 * config/i386/32/tf-signs.c: Likewise.
11784
11785 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11786
11787 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11788 Uros Bizjak <ubizjak@gmail.com>
11789
11790 * config/i386/32/sfp-machine.h: New.
11791
11792 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11793
11794 * config/rs6000/t-ppccomm: Remove rules that conflict with
11795 auto-generated rules.
11796
11797 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11798
11799 * configure.ac: sinclude override.m4.
11800 * configure: Regenerate.
11801
11802 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11803
11804 * configure: Regenerate.
11805
11806 2008-06-10 Joseph Myers <joseph@codesourcery.com>
11807
11808 * Makefile.in (DECNUMINC): Remove
11809 -I$(MULTIBUILDTOP)../../libdecnumber.
11810 * gstdint.h: New.
11811
11812 2008-06-07 Joseph Myers <joseph@codesourcery.com>
11813
11814 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11815 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11816 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11817 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11818 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11819 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11820 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11821 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11822 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11823 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11824 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11825 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11826 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11827 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11828
11829 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11830
11831 * config.host (sh2[lbe]*-*-linux*): Allow target.
11832
11833 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11834
11835 * config/rs6000/t-ppccomm: Add build rules for new files.
11836 (LIB2ADD_ST): New variable.
11837
11838 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11839
11840 PR target/34210
11841 PR target/35508
11842 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11843 * config/t-avr: New file. Build 16bit libgcc functions.
11844
11845 2008-03-02 Jakub Jelinek <jakub@redhat.com>
11846
11847 PR target/35401
11848 * config/t-slibgcc-darwin: Make install-leaf dependent on
11849 install-darwin-libgcc-stubs instead of install.
11850
11851 2008-01-25 Joseph Myers <joseph@codesourcery.com>
11852
11853 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11854 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11855 sh-*-rtemscoff*): Remove cases.
11856
11857 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11858
11859 * Makefile.in (all): Use install-leaf rather than install.
11860 (install): Split most of the rule into...
11861 (install-leaf): ...this new one.
11862
11863 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
11864 Paolo Bonzini <bonzini@gnu.org>
11865
11866 PR target/30572
11867 * Makefile.in: Use @shlib_slibdir@ substitution to get
11868 correct install name on darwin.
11869 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11870
11871 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
11872
11873 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11874 cris-*-elf and cris-*-none.
11875 (crisv32-*-linux*): Similar, as cris-*-linux*.
11876
11877 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11878
11879 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11880
11881 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11882
11883 PR regression/33926
11884 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11885 * configure: Regenerated.
11886
11887 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11888
11889 * Makefile.in (dfp-filenames): Replace decimal_globals,
11890 decimal_data, binarydecimal and convert_data with
11891 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11892 and bid_convert_data, respectively.
11893
11894 2007-09-17 Chao-ying Fu <fu@mips.com>
11895 Nigel Stephens <nigel@mips.com>
11896
11897 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11898 * Makefile.in (fixed_point): Define.
11899 Check if fixed_point is yes to build support functions.
11900 * configure.ac: Check for fixed_point support.
11901 * configure: Regenerated.
11902 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11903 funcs, modes, from, to.
11904
11905 2007-09-11 Janis Johnson <janis187@us.ibm.com
11906
11907 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11908
11909 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11910
11911 * Makefile.in (dfp-filenames): Remove decUtility, add
11912 decDouble, decPacked, decQuad, decSingle.
11913
11914 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11915
11916 * config.host : Add x86_64-elf target.
11917
11918 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11919
11920 * configure.ac (set_have_cc_tls): Add a missing =.
11921 * configure: Regenerated.
11922
11923 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11924
11925 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11926 and x86_64-*-linux*.
11927
11928 * config/t-tls: New file.
11929
11930 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11931
11932 * configure.ac: Include ../config/enable.m4 and
11933 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11934 supports TLS and substitute set_have_cc_tls.
11935 * configure: Regenerated.
11936
11937 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11938
11939 * Makefile.in: Use libbid for DFP when BID is enabled.
11940
11941 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11942
11943 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11944 extra_parts. Add config/i386/t-cygming to tmake_file.
11945 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11946
11947 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11948 Danny Smith <dannysmith@users.sourceforge.net>
11949
11950 PR target/29498
11951 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11952 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11953 * config/i386/t-crtfm: Compile crtfastmath.o with
11954 -minline-all-stringops.
11955
11956 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11957
11958 * config.host (sparc-wrs-vxworks): New target.
11959
11960 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11961
11962 * config.host: Recognize fido.
11963
11964 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11965
11966 * configure: Check host, not target, for decimal float support.
11967
11968 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11969
11970 * config/i386/t-crtpc: New file.
11971 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11972 (x86_64-*-linux*): Ditto.
11973
11974 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11975
11976 * config.host (x86_64-*-mingw*): New target.
11977
11978 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11979 H.J. Lu <hongjiu.lu@intel.com>
11980
11981 * Makefile.in (enable_decimal_float): New.
11982 (DECNUMINC): Add
11983 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11984 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11985 (decbits-filenames): This.
11986 (decbits-objects): New.
11987 (libgcc-objects): Add $(decbits-objects).
11988
11989 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11990 Substitute enable_decimal_float.
11991 * configure: Regenerated.
11992
11993 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11994
11995 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11996
11997 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11998
11999 * Makefile.in (install-info): New dummy target.
12000
12001 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12002
12003 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12004
12005 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12006
12007 * Makefile.in: Add install-html and install-pdf dummy
12008 targets.
12009
12010 2007-02-05 Roger Sayle <roger@eyesopen.com>
12011 Daniel Jacobowitz <dan@codesourcery.com>
12012
12013 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12014 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12015 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12016
12017 2007-01-29 Janis Johnson <janis187@us.ibm.com>
12018
12019 * Makefile.in (dec-filenames): Add decExcept.
12020
12021 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12022
12023 PR bootstrap/30469
12024 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12025 -fprofile-use.
12026
12027 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12028
12029 * configure.ac: Add --enable-version-specific-runtime-libs.
12030 Correct $slibdir default.
12031 * configure: Regenerated.
12032
12033 2007-01-23 Joseph Myers <joseph@codesourcery.com>
12034
12035 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12036
12037 2007-01-21 Andrew Pinski <pinskia@gmail.com>
12038
12039 PR target/30519
12040 * config.host (alpha*-*-linux*): Set extra_parts.
12041
12042 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12043
12044 * config/sh/t-linux: New.
12045 * config.host (sh*-*-linux*): Set tmake_file.
12046
12047 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12048
12049 * Makefile.in (install): Handle multilibs.
12050
12051 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12052
12053 * Makefile.in: Added .PHONY entry for documentation targets.
12054
12055 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12056
12057 * Makefile.in: Add empty info, html, dvi, pdf targets.
12058
12059 2007-01-04 Mike Stump <mrs@apple.com>
12060
12061 * Makefile.in (MAKEINFO): Remove.
12062 (PERL): Likewise.
12063
12064 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
12065
12066 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12067 * configure: Regenerate.
12068 * Makefile.in (host_subdir): Substitute it.
12069 (gcc_objdir): Use it.
12070
12071 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12072
12073 * config.host (ia64*-*-linux*): Set tmake_file.
12074
12075 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12076
12077 * Makefile.in (version): Define.
12078
12079 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12080 Paolo Bonzini <bonzini@gnu.org>
12081
12082 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12083 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12084 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12085 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12086 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12087 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12088 * configure: Generated.
12089 \f
12090 Copyright (C) 2007-2022 Free Software Foundation, Inc.
12091
12092 Copying and distribution of this file, with or without modification,
12093 are permitted in any medium without royalty provided the copyright
12094 notice and this notice are preserved.