]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
323d9aff 12018-08-11 John David Anglin <danglin@gcc.gnu.org>
2
3 * config/pa/linux-atomic.c: Update comment.
4 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
5 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
6 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
7 __ATOMIC_RELAXED for atomic loads.
8 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
9 unordered store to release lock.
10 (__sync_lock_release_8): Likewise.
11 (SYNC_LOCK_RELEASE_2): Remove define.
12
5ad4bc86 132018-08-02 Nicolas Pitre <nico@fluxnic.net>
14
15 PR libgcc/86512
16 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
17 exponent goes negative. Update my email address.
18 * config/arm/ieee754-sf.S: Likewise.
19
874612dc 202018-08-01 Martin Liska <mliska@suse.cz>
21
22 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
23 check that __gcov_indirect_call_callee is non-null.
24
5a8d2bfe 252018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
26
27 * config/arm/ieee754-df.S: Fix comment for code working on
28 architectures >= 4.
29 * config/arm/ieee754-sf.S: Likewise.
30
d9a49803 312018-07-27 H.J. Lu <hongjiu.lu@intel.com>
32
33 PR libgcc/85334
34 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
35 Removed.
36
90503e19 372018-07-05 James Clarke <jrtc27@jrtc27.com>
38
39 * configure: Regenerated.
40
06f3e75c 412018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
42
43 * Makefile.in (install_leaf): Use enable_gcov instead of
44 enable_libgcov.
45
bab25aa4 462018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
47
48 * configure.ac: Add --disable-gcov option.
49 * configure: Regenerate.
50 * Makefile.in: Honour @enable_gcov@.
51
bd071ec6 522018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
53
54 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
55 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
56 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
57 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
58 __ARM_ARCH__.
59 * config/arm/ieee754-sf.S: Likewise.
60 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
61
93dd1a25 622018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
63
64 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
65 longer supported.
66 * config/arm/ieee754-sf.S: Likewise.
67
a9ee5a85 682018-06-20 Than McIntosh <thanm@google.com>
69
70 PR libgcc/86213
71 * generic-morestack.c (allocate_segment): Move calls to getenv and
72 getpagesize to __morestack_load_mmap.
73 (__morestack_load_mmap) Initialize static_pagesize and
74 use_guard_page here so as to avoid clobbering SSE regs during a
75 __morestack call.
76
23b5c810 772018-06-18 Michael Meissner <meissner@linux.ibm.com>
78
79 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
80 support modules with -mno-gnu-attribute.
81 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
82
3206b643 832018-06-07 Olivier Hainque <hainque@adacore.com>
84
85 * config/t-vxworks (LIBGCC_INCLUDES): Add
86 -I$(MULTIBUILDTOP)../../gcc/include.
87 * config/t-vxworks7: Likewise. Reformat a bit to match
88 the t-vxworks layout.
89
f1522980 902018-06-07 Olga Makhotina <olga.makhotina@intel.com>
91
92 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
93
6b9cd917 942018-06-07 Martin Liska <mliska@suse.cz>
95
96 * libgcov-driver.c: Rename cs_all to all and assign it from
97 all_prg.
98
5b24ad4b 992018-06-07 Martin Liska <mliska@suse.cz>
100
101 PR bootstrap/86057
102 * libgcov-driver-system.c (replace_filename_variables): Use
103 memcpy instead of mempcpy.
104 (allocate_filename_struct): Do not allocate filename, allocate
105 prefix and set it.
106 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
107 here and properly copy content into it.
108 * libgcov-driver.c (struct gcov_filename): Remove max_length
109 field, change prefix from size_t into char *.
110 (compute_summary): Do not calculate longest filename.
111 (gcov_do_dump): Release memory of gf.filename after each file.
112 * libgcov-util.c (compute_summary): Use new signature of
113 compute_summary.
114 (calculate_overlap): Likewise.
115
945d4d55 1162018-06-05 Martin Liska <mliska@suse.cz>
117
118 PR gcov-profile/47618
119 * libgcov-driver-system.c (replace_filename_variables): New
120 function.
121 (gcov_exit_open_gcda_file): Use it.
122
5860b185 1232018-06-05 Martin Liska <mliska@suse.cz>
124
125 * libgcov-driver.c (gcov_compute_histogram): Remove usage
126 of gcov_ctr_summary.
127 (compute_summary): Do it just for a single summary.
128 (merge_one_data): Likewise.
129 (merge_summary): Simplify as we read just single summary.
130 (dump_one_gcov): Pass proper argument.
131 * libgcov-util.c (compute_one_gcov): Simplify as we have just
132 single summary.
133 (gcov_info_count_all_cold): Likewise.
134 (calculate_overlap): Likewise.
135
a5a22b4f 1362018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
137 Monk Chiang <sh.chiang04@gmail.com>
138
139 * config.host (nds32*-linux*): New.
140 * config/nds32/linux-atomic.c: New file.
141 * config/nds32/linux-unwind.h: New file.
142
3e80679d 1432018-05-31 Uros Bizjak <ubizjak@gmail.com>
144
145 PR target/85591
146 * config/i386/cpuinfo.c (get_amd_cpu): Return
147 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
148
edb0bd05 1492018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
150
151 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
152
5522d934 1532018-05-29 Martin Liska <mliska@suse.cz>
154
155 PR gcov-profile/85759
156 * libgcov-driver-system.c (gcov_error): Introduce usage of
157 GCOV_EXIT_AT_ERROR env. variable.
158 * libgcov-driver.c (merge_one_data): Print error that we
159 overwrite a gcov file with a different timestamp.
160
8e33a4d3 1612018-05-23 Kalamatee <kalamatee@gmail.com>
162
163 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
164 path to Lf$finfty.
165
51b16492 1662018-05-18 Kito Cheng <kito.cheng@gmail.com>
167 Monk Chiang <sh.chiang04@gmail.com>
168 Jim Wilson <jimw@sifive.com>
169
170 * config/riscv/save-restore.S: Add support for rv32e.
171
b232e6b5 1722018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
173
174 * config/arm/libunwind.S: Update comment relating to armv5.
175
5e15443c 1762018-05-17 Jerome Lambourg <lambourg@adacore.com>
177
178 * config/arm/cmse.c (cmse_check_address_range): Replace
179 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
180
6ebd326d 1812018-05-17 Olga Makhotina <olga.makhotina@intel.com>
182
183 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
184 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
185
4db2b348 1862018-05-08 Olga Makhotina <olga.makhotina@intel.com>
187
188 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
189 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
190
ab55f7db 1912018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
192
193 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
194
c5243565 1952018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
196 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
197
198 PR libgcc/84292
199 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
200 op_and_fetch to return the right result.
201
f0aaf758 2022018-04-27 Alan Modra <amodra@gmail.com>
203
204 PR libgcc/85532
205 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
206 -fno-asynchronous-unwind-tables.
207
4cccab88 2082018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
209
210 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
211 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
212
6174c788 2132018-04-24 H.J. Lu <hongjiu.lu@intel.com>
214
215 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
216 when including "config/i386/shadow-stack-unwind.h".
217
6726651f 2182018-04-24 H.J. Lu <hongjiu.lu@intel.com>
219
220 * configure: Regenerated.
221
9d42920b 2222018-04-20 Michael Meissner <meissner@linux.ibm.com>
223
224 PR target/85456
225 * config/rs6000/_powikf2.c: New file. Add support for the
226 __builtin_powil function when long double is IEEE 128-bit floating
227 point.
228 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
229 __powikf2 support.
230 (__powikf2): Likewise.
231 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
232 (__powikf2_hw): Likewise.
233 (__powikf2): Likewise.
234 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
235 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
236 (_powikf2-hw.c): Likewise.
237
20d1a075 2382018-04-19 H.J. Lu <hongjiu.lu@intel.com>
239
240 PR libgcc/85334
241 * unwind-generic.h (_Unwind_Frames_Increment): New.
242 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
243 Likewise.
244 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
245 count with _Unwind_Frames_Increment.
246 (_Unwind_ForcedUnwind_Phase2): Likewise.
247
07f8c7a4 2482018-04-19 H.J. Lu <hongjiu.lu@intel.com>
249
250 PR libgcc/85379
251 * config/i386/morestack.S (__stack_split_initialize): Add
252 _CET_ENDBR.
253
ee8fea81 2542018-04-19 Jakub Jelinek <jakub@redhat.com>
255
256 * configure: Regenerated.
257
124c259e 2582018-04-18 David Malcolm <dmalcolm@redhat.com>
259
260 PR jit/85384
261 * configure: Regenerate.
262
402140be 2632018-04-16 Jakub Jelinek <jakub@redhat.com>
264
265 PR target/84945
266 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
267 -Wdangling-else warnings. Mask shift counts to avoid
268 -Wshift-count-negative and -Wshift-count-overflow false positives.
269
7ea6a647 2702018-04-06 Ruslan Bukin <br@bsdpad.com>
271
272 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
273
0251a2a7 2742018-03-29 H.J. Lu <hongjiu.lu@intel.com>
275
276 PR target/85100
277 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
278 (XSTATE_FP): Likewise.
279 (XSTATE_SSE): Likewise.
280 (XSTATE_YMM): Likewise.
281 (XSTATE_OPMASK): Likewise.
282 (XSTATE_ZMM): Likewise.
283 (XSTATE_HI_ZMM): Likewise.
284 (XCR_AVX_ENABLED_MASK): Likewise.
285 (XCR_AVX512F_ENABLED_MASK): Likewise.
286 (get_available_features): Enable AVX and AVX512 features only
287 if their states are supported by OSXSAVE.
288
5cc47d53 2892018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
290
291 PR target/85025
292 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
293 Fix a typo, tmp => 255.
294
2e630204 2952018-03-20 Jakub Jelinek <jakub@redhat.com>
296
297 PR target/84945
298 * config/i386/cpuinfo.h (__cpu_features2): Declare.
299 * config/i386/cpuinfo.c (__cpu_features2): New variable for
300 ifndef SHARED only.
301 (set_feature): Define.
302 (get_available_features): Use set_feature macro. Set __cpu_features2
303 to the second word of features ifndef SHARED.
304
bae42e37 3052018-03-15 Julia Koval <julia.koval@intel.com>
306
307 * config/i386/cpuinfo.c (get_available_features): Add
308 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
309 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
310 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
311 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
312 FEATURE_AVX512BITALG.
313
8e9da9da 3142018-03-14 Julia Koval <julia.koval@intel.com>
315
316 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
317 icelake client and icelake server.
318
94fc4b64 3192018-03-06 John David Anglin <danglin@gcc.gnu.org>
320
321 * config/pa/fptr.c (_dl_read_access_allowed): New.
322 (__canonicalize_funcptr_for_compare): Use it.
323
0b118d5b 3242018-02-28 Jakub Jelinek <jakub@redhat.com>
325
326 PR debug/83917
327 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
328 $asm_hidden_op if visibility ("hidden") attribute works.
329 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
330 * config/i386/i386-asm.h: Don't include auto-host.h.
331 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
332 PACKAGE_URL): Don't undefine.
333 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
334 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
335 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
336 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
337 definition instead of hardcoded .hidden.
338 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
339 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
340 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
341 (USE_GAS_CFI_DIRECTIVES): Don't define.
342 * configure: Regenerated.
343 * config.in: Likewise.
344
9e8a86cf 3452018-02-26 Jakub Jelinek <jakub@redhat.com>
346
347 PR debug/83917
348 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
349 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
350 inclusion of auto-target.h and auto-host.h.
351 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
352 __GCC_HAVE_DWARF2_CFI_ASM.
353 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
354 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
355 cfi_pop): Define.
356 * config/i386/cygwin.S: Don't include auto-host.h here, just
357 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
358 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
359 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
360 * config/i386/resms64fx.h: Add cfi_* directives.
361 * config/i386/resms64x.h: Likewise.
362
372da7cd 3632018-02-20 Max Filippov <jcmvbkbc@gmail.com>
364
365 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
366 .literal_position directive.
367 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
368
5611e648 3692018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
370
371 PR target/84148
372 * configure: Regenerate.
373
d4f2cbd8 3742018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
375
376 PR target/84239
377 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
378 Include cetintrin.h not x86intrin.h.
379
1c9aa9c6 3802018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
381
382 PR target/84239
d4f2cbd8 383 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1c9aa9c6 384 Use new _get_ssp and _inc_ssp intrinsics.
385
102dd700 3862018-02-02 Julia Koval <julia.koval@intel.com>
387
388 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
389
eddd4dd0 3902018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
391
392 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
393 option.
394 (__divsi3): Use RF16 safe registers.
395 (__modsi3): Likewise.
396
3815462d 3972018-01-23 Max Filippov <jcmvbkbc@gmail.com>
398
399 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
400 (__divsf3): Make NaN return value quiet.
401 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
402 (__divdf3): Make NaN return value quiet.
403
e1192dcf 4042018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
405
406 * config/rl78/anddi3.S: New assembly file.
407 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
408
a2618819 4092018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
410
411 * config/rl78/umindi3.S: New assembly file.
412 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
413
14920f56 4142018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
415
416 * config/rl78/smindi3.S: New assembly file.
417 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
418
de5538ce 4192018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
420
421 * config/rl78/smaxdi3.S: New assembly file.
422 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
423
de0f3de6 4242018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
f77335d9 425
426 * config/rl78/umaxdi3.S: New assembly file.
427 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
428
fb437997 4292018-01-21 John David Anglin <danglin@gcc.gnu.org>
430
431 PR lto/83452
432 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
433 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
434
599c8d3e 4352018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
436
437 * config/aarch64/value-unwind.h (aarch64_vg): New function.
438 (DWARF_LAZY_REGISTER_VALUE): Define.
439 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
440 to provide a fallback register value.
441
2d295049 4422018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
443
444 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
445 __ibm128, instead of trying to use long double.
446 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
447 accomidate -mabi=ieeelongdouble multilibs.
448 (CVT_IBM128_TO_FLOAT128): Likewise.
449 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
450 the appropriate IBM extended double type.
451 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
452 (__gcc_qsub): Likewise.
453 (__gcc_qmul): Likewise.
454 (__gcc_qdiv): Likewise.
455 (pack_ldouble): Likewise.
456 (__gcc_qneg): Likewise.
457 (__gcc_qeq): Likewise.
458 (__gcc_qne): Likewise.
459 (__gcc_qge): Likewise.
460 (__gcc_qle): Likewise.
461 (__gcc_stoq): Likewise.
462 (__gcc_dtoq): Likewise.
463 (__gcc_itoq): Likewise.
464 (__gcc_utoq): Likewise.
465 (__gcc_qunord): Likewise.
466 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
467 quad-float128.h for the definitions.
468 (COPYSIGN): Use the f128 version instead of the q version.
469 (INFINITY): Likewise.
470 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
471 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
472 quad-float128.h for the definitions.
473 (COPYSIGN): Use the f128 version instead of the q version.
474 (INFINITY): Likewise.
475 (FABS): Likewise.
476 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
477 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
478 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
479
1c579c0e 4802018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
481
482 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
483 configuration.
484
8e8f6434 4852018-01-03 Jakub Jelinek <jakub@redhat.com>
486
487 Update copyright years.
488
4892017-12-12 Kito Cheng <kito.cheng@gmail.com>
26efd270 490
491 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
492 * config/riscv/multi3.c: New file.
493 * config/riscv/multi3.S: Remove.
494
1817431e 4952017-12-08 Jim Wilson <jimw@sifive.com>
496
497 * config/riscv/div.S: Use FUNC_* macros.
498 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
499 * config/riscv/save-restore.S: Likewise.
500 * config/riscv/riscv-asm.h: New.
501
0aba9567 5022017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
503
c78aa1b3 504 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
505 * config/rs6000/_divkc3.c (__divkc3): Likewise.
506
0aba9567 507 PR libgcc/83112
508 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
509 correct type for all ifunc resolvers to silence -Wattribute-alias
510 warnings. Eliminate the forward declaration of the resolver
511 functions which is no longer needed.
512 (__subkf3_resolve): Likewise.
513 (__mulkf3_resolve): Likewise.
514 (__divkf3_resolve): Likewise.
515 (__negkf2_resolve): Likewise.
516 (__eqkf2_resolve): Likewise.
517 (__nekf2_resolve): Likewise.
518 (__gekf2_resolve): Likewise.
519 (__gtkf2_resolve): Likewise.
520 (__lekf2_resolve): Likewise.
521 (__ltkf2_resolve): Likewise.
522 (__unordkf2_resolve): Likewise.
523 (__extendsfkf2_resolve): Likewise.
524 (__extenddfkf2_resolve): Likewise.
525 (__trunckfsf2_resolve): Likewise.
526 (__trunckfdf2_resolve): Likewise.
527 (__fixkfsi_resolve): Likewise.
528 (__fixkfdi_resolve): Likewise.
529 (__fixunskfsi_resolve): Likewise.
530 (__fixunskfdi_resolve): Likewise.
531 (__floatsikf_resolve): Likewise.
532 (__floatdikf_resolve): Likewise.
533 (__floatunsikf_resolve): Likewise.
534 (__floatundikf_resolve): Likewise.
535 (__extendkftf2_resolve): Likewise.
536 (__trunctfkf2_resolve): Likewise.
537
538 PR libgcc/83103
539 * config/rs6000/quad-float128.h (TF): Don't define if long double
540 is IEEE 128-bit floating point.
541 (TCtype): Define as either TCmode or KCmode, depending on whether
542 long double is IEEE 128-bit floating point.
543 (__mulkc3_sw): Add declarations for software/hardware versions of
544 complex multiply/divide.
545 (__divkc3_sw): Likewise.
546 (__mulkc3_hw): Likewise.
547 (__divkc3_hw): Likewise.
548 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
549 handlers to switch between using software emulation and hardware
550 float128 instructions, build the complex multiply/divide functions
551 for both software and hardware support.
552 * config/rs6000/_divkc3.c (_divkc3): Likewise.
553 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
554 (__divkc3_resolve): Likewise.
555 (__mulkc3): Likewise.
556 (__divkc3): Likewise.
557 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
558 (fp128_hw_src): Likewise.
559 (fp128_hw_static_obj): Likewise.
560 (fp128_hw_shared_obj): Likewise.
561 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
562 _mulkc3.c and _divkc3.c, changing the function name.
563 (_divkc3-hw.c): Likewise.
564 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
565 and _divkc3-hw.c.
566
87d7483a 5672017-11-26 Julia Koval <julia.koval@intel.com>
568
569 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
570 * config/i386/cpuinfo.h (processor_subtypes): Add
571 INTEL_COREI7_CANNONLAKE.
572
7c242f24 5732017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
574
575 PR bootstrap/83015
576 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
577 parameter.
578 * config/xtensa/unwind-dw2-xtensa.c: Likewise
579 * config/ia64/unwind-ia64.c: Add frames parameter.
580 * unwind-sjlj.c: Likewise.
581
c05f99c6 5822017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
583
584 * config/i386/linux-unwind.h: Include
585 config/i386/shadow-stack-unwind.h.
586 * config/i386/shadow-stack-unwind.h: New file.
587 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
588 pass it to _Unwind_Frames_Extra.
589 * unwind-generic.h (_Unwind_Frames_Extra): New.
590 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
591 parameter. Add local variable frames to count number of frames.
592 (_Unwind_ForcedUnwind_Phase2): Likewise.
593 (_Unwind_RaiseException): Add local variable frames to count
594 number of frames, pass it to _Unwind_RaiseException_Phase2 and
595 uw_install_context.
596 (_Unwind_ForcedUnwind): Likewise.
597 (_Unwind_Resume): Likewise.
598 (_Unwind_Resume_or_Rethrow): Likewise.
599
5f42446c 6002017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
601
602 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
603 (CET_FLAGS): New.
604 * config/i386/morestack.S: Include <cet.h>.
605 (__morestack_large_model): Add _CET_ENDBR at function entrance.
606 * config/i386/resms64.h: Include <cet.h>.
607 * config/i386/resms64f.h: Likewise.
608 * config/i386/resms64fx.h: Likewise.
609 * config/i386/resms64x.h: Likewise.
610 * config/i386/savms64.h: Likewise.
611 * config/i386/savms64f.h: Likewise.
612 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
613 (CRTSTUFF_T_CFLAGS): Likewise.
614 * configure.ac: Include ../config/cet.m4.
615 Set and substitute CET_FLAGS.
616 * configure: Regenerated.
617
9273bda7 6182017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
619
620 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
621 renaming.
622 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
623 * configure.ac (libgcc_cv_solaris_crts): Likewise.
624 * configure: Regenerate.
625
bdcb436d 6262017-11-07 Tom de Vries <tom@codesourcery.com>
627
628 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
629 after "do {} while (0)".
630
1ad21aef 6312017-11-07 Tom de Vries <tom@codesourcery.com>
632
633 PR other/82784
634 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
635 semicolon after "do {} while (0)".
636 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
637 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
638 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
639 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
640
c76a96ef 6412017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
642
643 PR libgcc/82635
644 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
645 sysctl to determine whether we're in a trampoline.
646 Keep the pattern matching method for systems without
647 KERN_PROC_SIGTRAMP sysctl.
648
e892f4fa 6492017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
650 Vineet Gupta <vgupta@synopsys.com>
651
652 * config.host (arc*-*-linux*): Set md_unwind_header variable.
653 * config/arc/linux-unwind-reg.def: New file.
654 * config/arc/linux-unwind-reg.h: Likewise.
655
020b1a05 6562017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
657
658 * config/rl78/subdi3.S: New assembly file.
659 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
660
99efc84b 6612017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
662
663 * config/rl78/adddi3.S: New assembly file.
664 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
665
4bed1b09 6662017-10-13 Jakub Jelinek <jakub@redhat.com>
667
668 PR target/82274
669 * libgcc2.c (__mulvDI3): If both operands have
670 the same highpart of -1 and the topmost bit of lowpart is 0,
671 multiplication overflows even if both lowparts are 0.
672
d56894aa 6732017-09-28 James Bowman <james.bowman@ftdichip.com>
674
675 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
676
cb442ed3 6772017-09-26 Joseph Myers <joseph@codesourcery.com>
678
679 * config/microblaze/crti.S, config/microblaze/crtn.S,
680 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
681 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
682 config/microblaze/mulsi3.S,
683 config/microblaze/stack_overflow_exit.S,
684 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
685 config/pa/milli64.S: Add .note.GNU-stack section.
686
4d6bb87e 6872017-09-23 Daniel Santos <daniel.santos@pobox.com>
688
689 * configure.ac: Add Check for HAVE_AS_AVX.
690 * config.in: Regenerate.
691 * configure: Likewise.
692 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
693 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
694 Correct out-of-date comments.
695
df4660d3 6962017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
697
698 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
699 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
700
39143cf7 7012017-09-17 Daniel Santos <daniel.santos@pobox.com>
702
df4660d3 703 * config/i386/i386-asm.h (PASTE2): New macro.
39143cf7 704 (ASMNAME): Modify to use PASTE2.
705 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
706 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
df4660d3 707 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
39143cf7 708 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
df4660d3 709 * config/i386/resms64f.S: Likewise.
710 * config/i386/resms64fx.S: Likewise.
711 * config/i386/resms64x.S: Likewise.
712 * config/i386/savms64.S: Likewise.
713 * config/i386/savms64f.S: Likewise.
714 * config/i386/avx_resms64.S: New file that only defines a macro and
39143cf7 715 includes it's corresponding header file.
df4660d3 716 * config/i386/avx_resms64f.S: Likewise.
717 * config/i386/avx_resms64fx.S: Likewise.
718 * config/i386/avx_resms64x.S: Likewise.
719 * config/i386/avx_savms64.S: Likewise.
720 * config/i386/avx_savms64f.S: Likewise.
721 * config/i386/sse_resms64.S: Likewise.
722 * config/i386/sse_resms64f.S: Likewise.
723 * config/i386/sse_resms64fx.S: Likewise.
724 * config/i386/sse_resms64x.S: Likewise.
725 * config/i386/sse_savms64.S: Likewise.
726 * config/i386/sse_savms64f.S: Likewise.
727 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
39143cf7 728
0c11960e 7292017-09-01 Olivier Hainque <hainque@adacore.com>
0c11960e 730 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
731
061339f2 7322017-08-31 Olivier Hainque <hainque@adacore.com>
733
734 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
735 match as powerpc-wrs-vxworks*.
736
6a000628 7372017-08-07 Jonathan Yong <10walls@gmail.com>
738
739 * config.host (*-cygwin): Include file from mingw
740 config/i386/enable-execute-stack-mingw32.c
741
17a98fea 7422017-08-01 Jerome Lambourg <lambourg@adacore.com>
743 Doug Rupp <rupp@adacore.com>
744 Olivier Hainque <hainque@adacore.com>
745
746 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
747 as well as arm-wrs-vxworks.
748 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
749 LIB2ADDEH.
750 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
751 __exidx_start and __exidx_end for downloadable modules.
752
fffdea9e 7532017-08-01 Olivier Hainque <hainque@adacore.com>
754
755 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
756 * config/t-vxworks7: Likewise.
757
b9454236 7582017-08-01 Olivier Hainque <hainque@adacore.com>
759
760 * config/t-vxworks: Instead of redefining LIB2ADD,
761 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
762
f16062f7 7632017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
764
765 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
766
65e1ae67 7672017-07-24 Daniel Santos <daniel.santos@pobox.com>
768
769 PR testsuite/80759
770 * config.host: include i386/t-msabi for darwin and solaris.
771 * config/i386/i386-asm.h
772 (ELFFN): Rename to FN_TYPE.
773 (FN_SIZE): New macro.
774 (FN_HIDDEN): Likewise.
775 (ASMNAME): Likewise.
776 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
777 .globl.
778 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
779 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
780 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
781 .macro.
782 * config/i386/resms64f.S: Likewise.
783 * config/i386/resms64fx.S: Likewise.
784 * config/i386/resms64x.S: Likewise.
785 * config/i386/savms64.S: Likewise.
786 * config/i386/savms64f.S: Likewise.
787
25e4634a 7882017-07-19 John Marino <gnugcc@marino.st>
789
790 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
791
9f6dc184 7922017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
793
794 PR target/81193
795 * configure.ac (PowerPC float128 hardware support): Test whether
796 we can use __builtin_cpu_supports before enabling the ifunc
797 handler.
798 * configure: Regenerate.
799
927c0132 8002017-07-10 Vineet Gupta <vgupta@synopsys.com>
801
802 * config.host: Remove uclibc from arc target spec.
803
63d551af 8042017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
805
806 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
807
378ca53a 8082017-07-07 Peter Bergner <bergner@vnet.ibm.com>
809
810 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
811 (have_ieee_hw_p): Delete function.
812 (SW_OR_HW) Use __builtin_cpu_supports().
813
9b32089e 8142017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
815
816 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
817
e6c95d8f 8182017-07-03 Olivier Hainque <hainque@adacore.com>
819
378ca53a 820 * config/t-vxworks7: New file, really.
e6c95d8f 821
5266910f 8222017-06-28 Joseph Myers <joseph@codesourcery.com>
823
824 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
825 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
826 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
827 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
828 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
829 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
830 config/pa/linux-unwind.h (pa32_fallback_frame_state),
831 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
832 config/sh/linux-unwind.h (sh_fallback_frame_state),
833 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
834 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
835 ucontext_t instead of struct ucontext.
836
0e50554f 8372017-06-27 Jerome Lambourg <lambourg@adacore.com>
838
839 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
840 (x86_64-wrs-vxworks7): Likewise.
841
899cdd88 8422017-06-27 Olivier Hainque <hainque@adacore.com>
843
844 * config/t-vxworks7: New file.
845 * config.host (*-*-vxworks7): Use it.
846
a4721bd0 8472017-06-22 Matt Turner <mattst88@gmail.com>
848
849 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
850 skylake case.
851
27182bcd 8522017-06-21 Richard Biener <rguenther@suse.de>
853
854 PR gcov-profile/81080
855 * configure.ac: Add AC_SYS_LARGEFILE.
856 * libgcov.h: Include auto-target.h before tsystem.h to pick
857 up _FILE_OFFSET_BITS which might differ for multilibs.
858 * config.in: Regenerate.
859 * configure: Likewise.
860
73c72cdf 8612017-06-16 Richard Earnshaw <rearnsha@arm.com>
862
863 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
864
696ee0c7 8652017-06-09 Martin Liska <mliska@suse.cz>
866
867 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
868 Reset __gcov_indirect_call_callee to NULL.
869
e7fcec67 8702017-06-08 Olivier Hainque <hainque@adacore.com>
871
872 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
873 the set of -I options, support for direct inclusions of net/uio.h
874 by VxWorks header files via ioLib.h.
875
69bf76d9 8762017-06-07 Tony Reix <tony.reix@atos.net>
877 Matthieu Sarter <matthieu.sarter.external@atos.net>
878 David Edelsohn <dje.gcc@gmail.com>
879
880 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
881 unconditionally.
882 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
883 AIX 7.2 support.
884
b0e6722b 8852017-06-02 Olivier Hainque <hainque@adacore.com>
886
887 * config/vxlib.c (__gthread_once): Add missing value to
888 return statement.
889
78d07aaf 8902017-05-30 Olivier Hainque <hainque@adacore.com>
891
892 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
893 dollar sign before $(MULTIDIR).
894
1e9944f4 8952017-05-26 Richard Henderson <rth@redhat.com>
896
897 PR libgcc/80037
898 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
899
874dff1a 9002017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
901
902 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
903 _Unwind_SetIP available as functions for arm*-*-freebsd*.
904 * config/arm/unwind-arm.c: Implement the above.
905
c57508a3 9062017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
907
908 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
909 section for a non-executable stack.
910
7303090d 9112017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
912
913 PR target/80600
914 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
915
e67d3d38 9162017-05-14 Daniel Santos <daniel.santos@pobox.com>
917
918 * config.host: Add i386/t-msabi to i386/t-linux file list.
919 * config/i386/i386-asm.h: New file.
920 * config/i386/resms64.S: New file.
921 * config/i386/resms64f.S: New file.
922 * config/i386/resms64fx.S: New file.
923 * config/i386/resms64x.S: New file.
924 * config/i386/savms64.S: New file.
925 * config/i386/savms64f.S: New file.
926 * config/i386/t-msabi: New file.
927
8b9c62ca 9282017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
929
930 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
931 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
932
9b859c0a 9332017-05-05 Joshua Conner <joshconner@google.com>
934
935 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
936 pc-relative indirect handling for fuchsia.
937 * config/t-slibgcc-fuchsia: New file.
938 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
e67d3d38 939 x86_64-*-fuchsia*): Add definitions.
9b859c0a 940
44d47185 9412017-04-19 Martin Liska <mliska@suse.cz>
942
943 PR gcov-profile/80435
944 * Makefile.in: Install gcov.h.
945 * gcov.h: New file.
946 * libgcov.h: Use the header and make __gcov_flush publicly
947 visible.
948
6db59335 9492017-04-18 Martin Liska <mliska@suse.cz>
950
951 PR gcov-profile/78783
952 * libgcov-driver.c (gcov_get_filename): New function.
953
726cec5c 9542017-04-07 Jeff Law <law@redhat.com>
955
956 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
957 target makefile fragment.
958 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
959
47ad90e7 9602017-04-07 Alan Modra <amodra@gmail.com>
961
962 PR target/45053
963 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
964
2fbe7a32 9652017-04-03 Jonathan Wakely <jwakely@redhat.com>
966
967 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
968
e69e67d4 9692017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
970
971 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
972
319901d0 9732017-03-10 John Marino <gnugcc@marino.st>
974
975 * config/aarch64/freebsd-unwind.h: New file.
976 * config.host: Add aarch64-*-freebsd unwinder.
977
b97c2c61 9782017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
979
980 * config/rs6000/crtrestvr.s: Use .machine altivec.
981 * config/rs6000/crtsavevr.s: Ditto.
982
8828c0f0 9832017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
984
985 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
986 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
987 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
988 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
989 * configure: Regenerate.
990 * config.in: Regenerate.
991
b7714375 9922017-03-02 Jonathan Yong <10walls@gmail.com>
993
994 * config/i386/gthr-win32.h: Define NOGDI before
995 windows.h include to prevent w32api CC_NONE macro
996 clash with libgfortran.
997
3a39f4cf 9982017-03-02 Jonathan Yong <10walls@gmail.com>
999
1000 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1001
9c0ca8b6 10022017-02-16 Andrew Pinski <apinski@cavium.com>
1003
1004 * config/aarch64/value-unwind.h: New file.
1005 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1006 to tm_file.
1007
36387fad 10082017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1009
1010 * config.host: Add RISC-V tuples.
1011 * config/riscv/atomic.c: New file.
1012 * config/riscv/crti.S: Likewise.
1013 * config/riscv/crtn.S: Likewise.
1014 * config/riscv/div.S: Likewise.
1015 * config/riscv/linux-unwind.h: Likewise.
1016 * config/riscv/muldi3.S: Likewise.
1017 * config/riscv/multi3.S: Likewise.
1018 * config/riscv/save-restore.S: Likewise.
1019 * config/riscv/sfp-machine.h: Likewise.
1020 * config/riscv/t-elf: Likewise.
1021 * config/riscv/t-elf32: Likewise.
1022 * config/riscv/t-elf64: Likewise.
1023 * config/riscv/t-softfp32: Likewise.
1024 * config/riscv/t-softfp64: Likewise.
1025
e8c55c95 10262017-01-24 Jakub Jelinek <jakub@redhat.com>
1027
1028 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1029 /* FALLTHRU */ comments.
1030
a0e066ed 10312017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1032
1033 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1034
58c979ed 10352017-01-20 Jiong Wang <jiong.wang@arm.com>
1036
1037 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1038 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1039 DW_CFA_GNU_window_save for AArch64 and LP64.
1040
8657c382 10412017-01-20 Jiong Wang <jiong.wang@arm.com>
1042
1043 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1044
d10c58fd 10452017-01-19 Jiong Wang <jiong.wang@arm.com>
1046
1047 * config/aarch64/aarch64-unwind.h: New file.
1048 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1049 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1050 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1051 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1052 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1053 (aarch64_post_extract_frame_addr): New function.
1054 (aarch64_post_frob_eh_handler_addr): New function.
1055 (aarch64_frob_update_context): New function.
1056 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1057 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1058 aarch64*-*-freebsd*):
1059 Initialize md_unwind_header to include aarch64-unwind.h.
1060 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1061 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1062 __aarch64__.
1063 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1064 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1065 (uw_frob_return_addr): New function.
1066 (uw_install_context): Use uw_frob_return_addr.
1067
0812bb06 10682017-01-17 Jakub Jelinek <jakub@redhat.com>
1069
1070 PR other/79046
1071 * configure.ac: Add GCC_BASE_VER.
1072 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1073 version from BASE-VER file.
1074 * configure: Regenerated.
1075
fd961cec 10762017-01-13 Joe Seymour <joe.s@somniumtech.com>
1077
1078 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1079 libmul_f5.a): Filter archived prerequisites.
1080
e0aa57d6 10812017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1082
1083 * config/i386/cpuinfo.h (processor_features): Add
1084 FEATURE_AVX512VPOPCNTDQ.
1085 * config/i386/cpuinfo.c (get_available_features): Habdle new
1086 feature.
1087
4ed499e5 10882017-01-04 Joseph Myers <joseph@codesourcery.com>
1089
1090 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1091 payload if [__mips_nan2008].
1092
cb7a0f1d 10932017-01-04 Alan Modra <amodra@gmail.com>
1094
1095 * Makefile.in (configure_deps): Update.
1096 * configure: Regenerate.
1097
aad93da1 10982017-01-01 Jakub Jelinek <jakub@redhat.com>
1099
1100 Update copyright years.
1101
9834d450 11022016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1103
1104 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1105 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1106 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1107
1eff8c97 11082016-12-17 Matthias Klose <doko@ubuntu.com>
1109
1110 * config/arc/gmon: Remove empty directory.
1111
8df543e1 11122016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1113
1114 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1115 crtgend.
1116 (arc*-*-elf*): Likewise.
1117 * config/arc/t-arc: Remove old gmon lib targets.
1118 * config/arc/crtg.S: Remove.
1119 * config/arc/crtgend.S: Likewise.
1120 * config/arc/gmon/atomic.h: Likewise.
1121 * config/arc/gmon/auxreg.h: Likewise.
1122 * config/arc/gmon/dcache_linesz.S: Likewise.
1123 * config/arc/gmon/gmon.c: Likewise.
1124 * config/arc/gmon/machine-gmon.h: Likewise.
1125 * config/arc/gmon/mcount.c: Likewise.
1126 * config/arc/gmon/prof-freq-stub.S: Likewise.
1127 * config/arc/gmon/prof-freq.c: Likewise.
1128 * config/arc/gmon/profil.S: Likewise.
1129 * config/arc/gmon/sys/gmon.h: Likewise.
1130 * config/arc/gmon/sys/gmon_out.h: Likewise.
1131 * config/arc/t-arc-newlib: Likewise.
1132 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1133
489174fc 11342016-12-12 George Spelvin <linux@sciencehorizons.net>
1135
1136 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1137
4d1d4dad 11382016-12-12 George Spelvin <linux@sciencehorizons.net>
1139
1140 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1141 R16 instead of push + pop.
1142 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1143
a1928e5c 11442016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1145
1146 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1147 tmake_file.
1148
74d8fa14 11492016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1150
1151 * config.host (arc*-*-linux-uclibc*): Use default extra
1152 objects. Include linux-android header.
1153 * config/arc/crti.S (_init): Declare symbol as function.
1154 (_fini): Likewise.
1155
25df644f 11562016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1157
1158 PR fortran/78379
1159 * config/i386/cpuinfo.c: Move denums for processor vendors,
1160 processor type, processor subtypes and declaration of
1161 struct __processor_model into
1162 * config/i386/cpuinfo.h: New header file.
1163
2d3a01a7 11642016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1165 Thomas Preud'homme <thomas.preudhomme@arm.com>
1166
1167 * config/arm/cmse_nonsecure_call.S: New.
1168 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1169
0120ae30 11702016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1171 Thomas Preud'homme <thomas.preudhomme@arm.com>
1172
1173 * config/arm/t-arm (HAVE_CMSE): New.
1174 * config/arm/cmse.c: New.
1175
6c8f362e 11762016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1177
966d046c 1178 PR gcc/74748
1179 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1180 use generic linker version information on Blackfin.
1181
6c8f362e 1182 PR gcc/74748
1183 * libgcc/mkmap-symver.awk: add support for skip_underscore
1184
aaa50706 11852016-11-27 Iain Sandoe <iain@codesourcery.com>
1186 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1187
1188 PR target/67710
1189 * config/t-darwin: Default builds to 10.5 codegen.
1190
a5987adb 11912016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1192
1193 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1194 (_FP_NANSIGN_H): Likewise.
1195 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1196 (softfp_truncations): Add tfhf.
1197 (softfp_extras): Add required conversion functions.
1198
9f58227e 11992016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1200 Matthew Wahab <matthew.wahab@arm.com>
1201
1202 * config/arm/fp16.c (binary64): New.
1203 (__gnu_d2h_internal): New.
1204 (__gnu_d2h_ieee): New.
1205 (__gnu_d2h_alternative): New.
1206
684b17ed 12072016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1208 Matthew Wahab <matthew.wahab@arm.com>
1209
1210 * config/arm/fp16.c (struct format): New.
1211 (binary32): New.
1212 (__gnu_float2h_internal): New. Body moved from
1213 __gnu_f2h_internal and generalize.
1214 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1215 Call it with binary32.
1216
d1b857ae 12172016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1218
1219 * soft-fp/extendhftf2.c: Update from glibc.
1220 * soft-fp/fixhfti.c: Likewise.
1221 * soft-fp/fixunshfti.c: Likewise.
1222 * soft-fp/floattihf.c: Likewise.
1223 * soft-fp/floatuntihf.c: Likewise.
1224 * soft-fp/half.h: Likewise.
1225 * soft-fp/trunctfhf2.c: Likewise.
1226
7dbfd9e6 12272016-11-20 Marc Glisse <marc.glisse@inria.fr>
1228
1229 PR libgcc/77813
1230 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1231 __TMC_END__ behind a passthrough asm.
1232
6bf644d1 12332016-11-18 Walter Lee <walt@tilera.com>
1234
7dbfd9e6 1235 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
6bf644d1 1236
a28d23f0 12372016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1238
1239 * config/i386/cpuinfo.c (processor_features): Add
1240 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1241
732a947a 12422016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1243
1244 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1245 (__ARC_NORM__): Use instead ARC_OPTFPE.
1246 * config/arc/fp-hack.h: Likewise.
1247 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1248 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1249
7fce8768 12502016-11-16 Alexander Monakov <amonakov@ispras.ru>
1251
1252 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1253 * config/nvptx/mgomp.c: New file.
1254 * config/nvptx/t-nvptx: Add mgomp.c
1255
397d0e43 12562016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1257
1258 PR libgcc/68468
1259 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1260
44618e46 12612016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1262
1263 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1264 of checking for cpus.
1265 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1266 (__modsi3, __clzsi2): Likewise.
1267
6e6c7fc1 12682016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1269
1270 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1271 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1272 * config/i386/t-cpuinfo-static: New.
1273
36ffeeaf 12742016-11-03 Martin Liska <mliska@suse.cz>
1275
1276 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1277 (__gcov_time_profiler_atomic): Likewise.
1278
9769a02b 12792016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1280
1281 PR libgcc/78067
1282 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1283 count_leading_zeros.
1284
2743281b 12852016-11-02 Uros Bizjak <ubizjak@gmail.com>
1286
1287 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1288 * libgcc2.c (__divmoddi4): New function.
1289 * libgcc2.h (__divmoddi4): Declare.
1290 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1291 and __PFX_divmodti4.
1292
7829b1ae 12932016-10-24 Florian Weimer <fweimer@redhat.com>
1294
1295 PR libgcc/78064
1296 * unwind-c.c: Include auto-target.h.
1297
677e8b73 12982016-10-19 John David Anglin <danglin@gcc.gnu.org>
1299
2743281b 1300 * config/pa/pa64-hpux-lib.h: New file.
677e8b73 1301 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1302 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1303 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1304 hppa*64*-*-hpux11*.
1305
5dc8060e 13062016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1307
1308 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1309 definition.
1310 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1311 definition.
1312 * config/xtensa/t-windowed (LIB2ADDEH): Use
1313 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1314 or xtensa/t-linux.
1315
2b7e7fc4 13162016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1317
1318 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1319 __ieee754_sqrt): New functions.
1320 (__divdf3): Add implementation with new FPU instructions under
1321 #if XCHAL_HAVE_DFP_DIV.
1322 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1323 __ieee754_sqrtf): New functions.
1324 (__divsf3): Add implementation with new FPU instructions under
1325 #if XCHAL_HAVE_FP_DIV.
1326 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1327 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1328
ad7b10a2 13292016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1330
1331 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1332 equivalent.
1333 * config/tilepro/atomic.c: Likewise and stop casting model to
1334 enum memmodel.
1335
dff001ee 13362016-10-10 Joseph Myers <joseph@codesourcery.com>
1337
1338 PR target/77586
1339 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1340 soft-fp.
1341
88afddbc 13422016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1343
1344 * config.host: Add support for aarch64-*-freebsd*.
1345
7667e10d 13462016-10-05 Andreas Schwab <schwab@suse.de>
1347
1348 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1349 (.section .init_array): Don't call __do_jv_register_classes.
1350 (.section .init): Likewise.
1351
bc6b11a7 13522016-10-04 Jakub Jelinek <jakub@redhat.com>
1353
1354 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1355 (__JCR_LIST__): Remove.
1356 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1357 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1358 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1359 * config/ia64/crtend.S (__JCR_END__): Remove.
1360 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1361 conditionals.
1362 (__JCR_LIST__, __JCR_END__): Remove.
1363 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1364 (__do_global_ctors_1): Likewise.
1365
4785ab74 13662015-09-28 Uros Bizjak <ubizjak@gmail.com>
1367
1368 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1369 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1370
db46bcd3 13712016-09-27 Martin Liska <mliska@suse.cz>
1372
1373 PR gcov-profile/7970
1374 PR gcov-profile/16855
1375 PR gcov-profile/44779
1376 * libgcov-driver.c (__gcov_init): Do not register a atexit
1377 handler.
1378 (__gcov_exit): Rename from gcov_exit.
1379 * libgcov.h (__gcov_exit): Declare.
1380
1e849229 13812016-09-27 Martin Liska <mliska@suse.cz>
1382
1383 PR bootstrap/77749
1384 * Makefile.in: Remove _gcov_merge_delta.
1385 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1386 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1387 * libgcov.h: Remove declaration of __gcov_merge_delta.
1388
c678023a 13892016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1390
1391 * configure.ac: Do not create links, only substitute the filenames.
1392 * configure: Regenerate.
1393 * Makefile.in: Assign the substitution results to variables.
1394 (LIBGCC_LINKS): Define.
1395 (enable-execute-stack.c): New rule.
1396 (unwind.h): Likewise.
1397 (md-unwind-support.h): Likewise.
1398 (sfp-machine.h): Likewise.
1399 (gthr-default.h): Likewise.
1400 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1401 unwind.h as prerequisite of install-unwind_h-forbuild.
1402
69ea9908 14032016-09-16 Jakub Jelinek <jakub@redhat.com>
1404
1405 PR libgcc/71744
1406 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1407 is not the primary registry and atomics are available.
1408 (any_objects_registered): New variable.
1409 (__register_frame_info_bases, __register_frame_info_table_bases):
1410 Atomically store 1 to any_objects_registered after registering first
1411 unwind info.
1412 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1413
d1c9b60c 14142016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1415
1416 PR target/63250
1417 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1418 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1419 (HFtype): Likewise.
1420 (HCtype): Likewise.
1421 (__divhc3): Likewise.
1422 (__mulhc3): Likewise.
1423 * libgcc2.c: Support _mulhc3 and _divhc3.
1424
86d9b5ed 14252016-09-07 Joseph Myers <joseph@codesourcery.com>
1426
1427 PR libgcc/77519
1428 * libgcc2.c (NOTRUNC): Invert settings.
1429
4c790ba8 14302016-09-06 Martin Liska <mliska@suse.cz>
1431
1432 PR gcov-profile/77378
1433 PR gcov-profile/77466
1434 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1435 conditionaly enable/disable *_atomic functions.
1436
ac34f4bd 14372016-08-26 Joseph Myers <joseph@codesourcery.com>
1438
1439 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1440 where not already enabled.
1441
9cd45037 14422016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1443
1444 * config/mips/linux-unwind.h: Use sys/syscall.h.
1445
de41fc22 14462016-08-16 Joseph Myers <joseph@codesourcery.com>
1447
1448 PR libgcc/77265
1449 * soft-fp/adddf3.c: Update from glibc.
1450 * soft-fp/addsf3.c: Likewise.
1451 * soft-fp/addtf3.c: Likewise.
1452 * soft-fp/divdf3.c: Likewise.
1453 * soft-fp/divsf3.c: Likewise.
1454 * soft-fp/divtf3.c: Likewise.
1455 * soft-fp/double.h: Likewise.
1456 * soft-fp/eqdf2.c: Likewise.
1457 * soft-fp/eqsf2.c: Likewise.
1458 * soft-fp/eqtf2.c: Likewise.
1459 * soft-fp/extenddftf2.c: Likewise.
1460 * soft-fp/extended.h: Likewise.
1461 * soft-fp/extendsfdf2.c: Likewise.
1462 * soft-fp/extendsftf2.c: Likewise.
1463 * soft-fp/extendxftf2.c: Likewise.
1464 * soft-fp/fixdfdi.c: Likewise.
1465 * soft-fp/fixdfsi.c: Likewise.
1466 * soft-fp/fixdfti.c: Likewise.
1467 * soft-fp/fixsfdi.c: Likewise.
1468 * soft-fp/fixsfsi.c: Likewise.
1469 * soft-fp/fixsfti.c: Likewise.
1470 * soft-fp/fixtfdi.c: Likewise.
1471 * soft-fp/fixtfsi.c: Likewise.
1472 * soft-fp/fixtfti.c: Likewise.
1473 * soft-fp/fixunsdfdi.c: Likewise.
1474 * soft-fp/fixunsdfsi.c: Likewise.
1475 * soft-fp/fixunsdfti.c: Likewise.
1476 * soft-fp/fixunssfdi.c: Likewise.
1477 * soft-fp/fixunssfsi.c: Likewise.
1478 * soft-fp/fixunssfti.c: Likewise.
1479 * soft-fp/fixunstfdi.c: Likewise.
1480 * soft-fp/fixunstfsi.c: Likewise.
1481 * soft-fp/fixunstfti.c: Likewise.
1482 * soft-fp/floatdidf.c: Likewise.
1483 * soft-fp/floatdisf.c: Likewise.
1484 * soft-fp/floatditf.c: Likewise.
1485 * soft-fp/floatsidf.c: Likewise.
1486 * soft-fp/floatsisf.c: Likewise.
1487 * soft-fp/floatsitf.c: Likewise.
1488 * soft-fp/floattidf.c: Likewise.
1489 * soft-fp/floattisf.c: Likewise.
1490 * soft-fp/floattitf.c: Likewise.
1491 * soft-fp/floatundidf.c: Likewise.
1492 * soft-fp/floatundisf.c: Likewise.
1493 * soft-fp/floatunditf.c: Likewise.
1494 * soft-fp/floatunsidf.c: Likewise.
1495 * soft-fp/floatunsisf.c: Likewise.
1496 * soft-fp/floatunsitf.c: Likewise.
1497 * soft-fp/floatuntidf.c: Likewise.
1498 * soft-fp/floatuntisf.c: Likewise.
1499 * soft-fp/floatuntitf.c: Likewise.
1500 * soft-fp/gedf2.c: Likewise.
1501 * soft-fp/gesf2.c: Likewise.
1502 * soft-fp/getf2.c: Likewise.
1503 * soft-fp/ledf2.c: Likewise.
1504 * soft-fp/lesf2.c: Likewise.
1505 * soft-fp/letf2.c: Likewise.
1506 * soft-fp/muldf3.c: Likewise.
1507 * soft-fp/mulsf3.c: Likewise.
1508 * soft-fp/multf3.c: Likewise.
1509 * soft-fp/negdf2.c: Likewise.
1510 * soft-fp/negsf2.c: Likewise.
1511 * soft-fp/negtf2.c: Likewise.
1512 * soft-fp/op-1.h: Likewise.
1513 * soft-fp/op-2.h: Likewise.
1514 * soft-fp/op-4.h: Likewise.
1515 * soft-fp/op-8.h: Likewise.
1516 * soft-fp/op-common.h: Likewise.
1517 * soft-fp/quad.h: Likewise.
1518 * soft-fp/single.h: Likewise.
1519 * soft-fp/soft-fp.h: Likewise.
1520 * soft-fp/subdf3.c: Likewise.
1521 * soft-fp/subsf3.c: Likewise.
1522 * soft-fp/subtf3.c: Likewise.
1523 * soft-fp/truncdfsf2.c: Likewise.
1524 * soft-fp/trunctfdf2.c: Likewise.
1525 * soft-fp/trunctfsf2.c: Likewise.
1526 * soft-fp/trunctfxf2.c: Likewise.
1527 * soft-fp/unorddf2.c: Likewise.
1528 * soft-fp/unordsf2.c: Likewise.
1529 * soft-fp/unordtf2.c: Likewise.
1530
196b8968 15312016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1532
1533 PR gcov-profile/67097
1534 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1535
2d2b4107 15362016-08-10 Martin Liska <mliska@suse.cz>
1537
1538 PR gcov-profile/58306
1539 * Makefile.in: New functions (modules) are added.
1540 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1541 function.
1542 (__gcov_pow2_profiler_atomic): New function.
1543 (__gcov_one_value_profiler_body): New argument is instroduced.
1544 (__gcov_one_value_profiler): Call with the new argument.
1545 (__gcov_one_value_profiler_atomic): Likewise.
1546 (__gcov_indirect_call_profiler_v2): Likewise.
1547 (__gcov_time_profiler_atomic): New function.
1548 (__gcov_average_profiler_atomic): Likewise.
1549 (__gcov_ior_profiler_atomic): Likewise.
1550 * libgcov.h: Declare the aforementioned functions.
1551
ba662a81 15522016-08-09 Martin Liska <mliska@suse.cz>
1553
1554 * libgcov-util.c: Fix typo and GNU coding style.
1555
2d917abb 15562016-08-09 Martin Liska <mliska@suse.cz>
1557
1558 * Makefile.in: Remove __gcov_indirect_call_profiler.
1559 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1560 function.
1561 * libgcov.h: And the declaration of the function.
1562
defa7026 15632016-08-09 Martin Liska <mliska@suse.cz>
1564
1565 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1566 power of two.
1567
cc308618 15682016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1569
1570 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1571 * config/rs6000/_mulkc3.c: Likewise.
1572
33d428f0 15732016-07-29 Georg-Johann Lay <avr@gjlay.de>
1574
1575 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1576 zero_reg as previous call to __umulhisi3 already cleared it.
1577
04aca775 15782016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1579
1580 PR target/59833
1581 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1582
78c81e30 15832016-07-19 Nick Clifton <nickc@redhat.com>
1584
1585 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1586 Add crtinit.o and crtfini.o to extra_parts.
1587
244f142f 15882016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1589
1590 * config/rs6000/_divkc3.c: New.
1591 * config/rs6000/_mulkc3.c: New.
1592 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1593 and _divkc3.
1594 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1595 fp128_ppc_funcs.
1596
4623d929 15972016-07-11 Hale Wang <hale.wang@arm.com>
1598 Andre Vieira <andre.simoesdiasvieira@arm.com>
1599
1600 * config/arm/lib1funcs.S: Add new wrapper.
1601
2d079cbf 16022016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1603
1604 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1605
baea7c0c 16062016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1607
1608 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1609 and ARMv5t* rather than for a fixed list of architectures.
1610
9e6f4af4 16112016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1612
1613 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1614 implementation suitable for.
1615 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1616 for all Thumb-1 only targets.
1617 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1618 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1619 __ARM_ARCH_6M__.
1620 (EQUIV): Likewise.
1621 (ARM_FUNC_ALIAS): Likewise.
1622 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1623 version.
1624 (modsi3): Likewise.
1625 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1626 (clzdi2): Likewise.
1627 (ctzsi2): Likewise.
1628 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1629 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1630 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1631 __ARM_ARCH_6M__ and add comment to indicate the connection between
1632 this condition and the one in gcc/config/arm/elf.h.
1633 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1634 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1635 * config/arm/t-softfp: Likewise.
1636
286a203d 16372016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1638
1639 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1640 CTOR_LISTS_DEFINED_EXTERNALLY.
1641
dabe3026 16422016-06-28 Walter Lee <walt@tilera.com>
1643
1644 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1645 asm/unistd.h.
1646 (SPR_CMPEXCH_VALUE): Define for tilegx.
1647 (__NR_FAST_cmpxchg): Define for tilepro.
1648 (__NR_FAST_atomic_update): Define for tilepro.
1649 (__NR_FAST_cmpxchg64): Define for tilepro.
1650
21ecea39 16512016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1652
2743281b 1653 * config.host: Add suport for arm*-*-phoenix* targets.
21ecea39 1654
03fee1f8 16552016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1656
1657 * config.host: Remove support for mep-*.
1658 * config/mep/lib1funcs.S: Remove.
1659 * config/mep/lib2funcs.c: Remove.
1660 * config/mep/t-mep: Remove.
1661 * config/mep/tramp.c: Remove.
1662
0f7d9ee5 16632016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1664
1665 * config.host: Remove support for avr-rtems.
1666 * config/avr/t-rtems: Remove.
1667
13c64cbf 16682016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1669
1670 * config.host: Remove m32r-rtems support.
1671
dac5da06 16722016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1673
1674 * config.host: Remove h8300-rtems support.
1675
79573034 16762016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1677
1678 * config.host: Remove support for knetbsd.
1679
b79c0f5e 16802016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1681
1682 * config.host: Remove support for openbsd 2 and 3.
1683
6905db52 16842016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1685
1686 * config.host: Remove interix support.
1687 * config/i386/t-interix: Remove.
1688
433e4812 16892016-06-18 John David Anglin <danglin@gcc.gnu.org>
1690
1691 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1692 least-significant bit in function pointer for fixup.
1693
5d4123dc 16942016-06-05 Aaron Conole <aconole@redhat.com>
1695 Nathan Sidwell <nathan@acm.org>
1696
1697 PR libgcc/71400
1698 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1699 (get_gcov_error_file): Check __gcov_error_file before trying to
1700 initialize it.
1701 (gcov_error): Always use get_gcov_error_file.
1702
3237fc56 17032016-06-02 Aaron Conole <aconole@redhat.com>
1704
1705 * libgcov-driver-system.c (__gcov_error_file): New.
1706 (get_gcov_error_file): New.
1707 (gcov_error): Use and set __gcov_error_file.
1708 (gcov_error_exit): New.
1709 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1710
16dbe651 17112016-05-26 Nathan Sidwell <nathan@acm.org>
1712
1713 * config/nvptx/free.asm: Delete.
1714 * config/nvptx/malloc.asm: Delete.
1715 * config/nvptx/realloc.c: Delete.
1716 * t-nvptx: Update.
1717
f6871bbd 17182016-05-25 Nathan Sidwell <nathan@acm.org>
1719
1720 * config/nvptx/crt0.s: Delete.
1721 * config/nvptx/crt0.c: New.
1722 * t-nvptx: Update.
1723
51d42eb1 17242016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1725
61958e92 1726 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
51d42eb1 1727 dw2/seh configuration.
1728 [x86_64-*-mingw*]: Likewise.
1729
ffdf58db 17302016-05-10 Joel Sherrill <joel@rtems.org>
1731
1732 PR libgcc/70720
1733 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1734 targets so the same extra_parts are built. Also have tmake_file add
1735 on to its value rather than override.
1736
9a9b5abf 17372016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1738
1739 * config.host: Remove SH5 support.
1740 * configure: Likewise.
1741
f6fac0a1 17422016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1743
1744 * config/sh/crt1.S: Remove SH5 support.
1745 * config/sh/crti.S: Likewise.
1746 * config/sh/crtn.S: Likewise.
1747 * config/sh/lib1funcs-4-300.S: Likewise.
1748 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1749 * config/sh/lib1funcs.S: Likewise.
1750 * config/sh/linux-unwind.h: Likewise.
1751 * config/sh/t-sh64: Delete.
1752
7238c72c 17532016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1754
1755 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1756
5caa55b9 17572016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1758 Joern Rennecke <joern.rennecke@embecosm.com>
1759
1760 * config/arc/crttls.S: New file.
1761 * config/arc/t-arc: New rule.
1762 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1763
10dd6506 17642016-04-25 Nick Clifton <nickc@redhat.com>
1765
1766 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1767 (__mspabi_cmpd): Likewise.
1768 * config/msp430/floathidf.c (__floathidf): Likewise.
1769 * config/msp430/floathisf.c (__floathisf): Likewise
1770 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1771 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1772 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1773 second parameter.
1774 (__ashrsi3): Likewise.
1775
1701058d 17762016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1777
1778 * config/m68k/linux-atomic.c: Do not include unistd.h
1779
9703b760 17802016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1781
1782 * config/arm/ieee754-df.S: Fix typos in comments.
1783
62735984 17842016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1785
1786 PR target/70381
1787 * configure.ac (powerpc*-*-linux*): Rework tests to build
1788 __float128 emulation routines to not depend on using #pragma GCC
1789 target to enable -mfloat128.
1790 * configure: Regnerate.
1791
1c934c58 17922016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1793
1794 PR target/67172
1795 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1796 __MINGW32__ is defined.
1797
28a5f334 17982016-03-28 James Bowman <james.bowman@ftdichip.com>
1799
61958e92 1800 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
28a5f334 1801
88a2143c 18022016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1803
1804 PR libgcc/70363
1805 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1806 built with an assembler that does not support ISA 3.0
1807 instructions, rename __extendkftf2_sw to __extendkftf2.
1808
ed3d624c 18092016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1810
1811 PR target/38239
1812 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1813 call-clobbered registers.
1814 (internal_mcount): Remove __i386__ handling.
1815
1e085786 18162016-02-26 Joel Sherrill <joel@rtems.org>
1817
1818 * config.host: Add x86_64-*-rtems*.
1819
05ea12a2 18202016-02-26 Joel Sherrill <joel@rtems.org>
1821
1822 * libgcc/config.host: Add aarch64-*-rtems*.
1823
9b71efb9 18242016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1825 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1826
1827 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1828 union of u64 and double.
1829 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1830 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1831 value.
1832 (FP_ROUNDMODE): Update the usage of _fpscr.
1833
e59c8b12 18342016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1835
1836 PR driver/68463
1837 * Makefile.in (crtoffloadtable$(objext)): New rule.
1838 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1839 enable_offload_targets is not empty.
1840 * configure: Regenerate.
1841 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1842 crtoffloadtable.
1843
1fa780ac 18442016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1845
1846 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1847 .literal_position before the function.
1848 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1849 Likewise.
1850
c6d481f7 18512016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1852
1853 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1854 * config/s390/morestack.S: New file.
1855 * config/s390/t-stack-s390: New file.
1856 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1857
d58f7073 18582016-02-12 Walter Lee <walt@tilera.com>
1859
1860 * config.host (tilegx*-*-linux*): remove ti from
1861 softfp_int_modes for 32-bit configs.
1862
43cfc88a 18632016-02-10 Ian Lance Taylor <iant@google.com>
1864
1865 PR go/68562
1866 * config/i386/morestack.S (__stack_split_initialize): Align
1867 stack.
1868
ad2fe514 18692016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1870
1871 PR bootstrap/69611
1872 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1873 __FLOAT128__ to compile only for __float128 capable targets.
1874
92e91d03 18752016-01-25 Jakub Jelinek <jakub@redhat.com>
1876
1877 PR target/69444
1878 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1879 instead of ___NO_FPRS__.
1880
d99eec2c 18812016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 1882 Steven Munroe <munroesj@linux.vnet.ibm.com>
1883 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
d99eec2c 1884
1885 * config/rs6000/float128-sed: New files to convert TF names to KF
1886 names for PowerPC IEEE 128-bit floating point support.
1887 * config/rs6000/float128-sed-hw: Likewise.
1888
1889 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1890 floating point hardware support.
1891
1892 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1893 128-bit floating point software emulation or use ISA 3.0 hardware
1894 support if it is available.
1895
1896 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1897 floating point.
1898
1899 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1900 floating point to IBM extended double.
1901
1902 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1903 double to IEEE 128-bit floating point.
1904
1905 * config/rs6000/t-float128: New Makefile fragments to enable
1906 building __float128 emulation support.
1907 * config/rs6000/t-float128-hw: Likewise.
1908
1909 * config/rs6000/sfp-exceptions.c: New file to provide exception
1910 support for IEEE 128-bit floating point.
1911
1912 * config/rs6000/floattikf.c: New files for converting between IEEE
1913 128-bit floating point and signed/unsigned 128-bit integers.
1914 * config/rs6000/fixunskfti.c: Likewise.
1915 * config/rs6000/fixkfti.c: Likewise.
1916 * config/rs6000/floatuntikf.c: Likewise.
1917
1918 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1919 when building on 64-bit systems, or when VSX is enabled.
1920 (_FP_W_TYPE): Likewise.
1921 (_FP_WS_TYPE): Likewise.
1922 (_FP_I_TYPE): Likewise.
1923 (TItype): Define on 64-bit systems.
1924 (UTItype): Likewise.
1925 (TI_BITS): Likewise.
1926 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1927 (_FP_MUL_MEAT_Q): Likewise.
1928 (_FP_DIV_MEAT_D): Likewise.
1929 (_FP_DIV_MEAT_Q): Likewise.
1930 (_FP_NANFRAC_D): Likewise.
1931 (_FP_NANFRAC_Q): Likewise.
1932 (ISA_BIT): Add exception support if we are being compiled on a
1933 machine with hardware floating point support to build the IEEE
1934 128-bit emulation functions.
1935 (FP_EX_INVALID): Likewise.
1936 (FP_EX_OVERFLOW): Likewise.
1937 (FP_EX_UNDERFLOW): Likewise.
1938 (FP_EX_DIVZERO): Likewise.
1939 (FP_EX_INEXACT): Likewise.
1940 (FP_EX_ALL): Likewise.
1941 (__sfp_handle_exceptions): Likewise.
1942 (FP_HANDLE_EXCEPTIONS): Likewise.
1943 (FP_RND_NEAREST): Likewise.
1944 (FP_RND_ZERO): Likewise.
1945 (FP_RND_PINF): Likewise.
1946 (FP_RND_MINF): Likewise.
1947 (FP_RND_MASK): Likewise.
1948 (_FP_DECL_EX): Likewise.
1949 (FP_INIT_ROUNDMODE): Likewise.
1950 (FP_ROUNDMODE): Likewise.
1951
1952 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1953 VSX code, enable IEEE 128-bit floating point. If the compiler can
1954 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1955 floating point hardware instructions and it supports declaring
1956 functions with the ifunc attribute, enable ifunc functions to
1957 switch between software and hardware support.
1958 * configure.ac (powerpc*-*-linux*): Likewise.
1959 * configure: Regenerate.
1960
f557f14d 19612016-01-15 Nick Clifton <nickc@redhat.com>
1962
1963 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1964 dependency as the source file to be compiled.
1965 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1966 (lib2hw_mul_f5.o): Likewise.
1967
0e0d3ecb 19682016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1969
1970 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1971 * libgcc/config/rs6000/fixkfti.c: Likewise.
1972 * libgcc/config/rs6000/fixunskfti.c: Likewise.
1973 * libgcc/config/rs6000/float128-hw.c: Likewise.
1974 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1975 * libgcc/config/rs6000/float128-sed: Likewise.
1976 * libgcc/config/rs6000/floattikf.c: Likewise.
1977 * libgcc/config/rs6000/floatuntikf.c: Likewise.
1978 * libgcc/config/rs6000/quad-float128.h: Likewise.
1979 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1980 * libgcc/config/rs6000/sfp-machine.h: Likewise.
1981 * libgcc/config/rs6000/t-float128: Likewise.
1982 * libgcc/config/rs6000/t-float128-hw: Likewise.
1983 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1984 * libgcc/config.host: Likewise.
1985 * libgcc/configure: Likewise.
1986 * libgcc/configure.ac: Likewise.
1987
398368d8 19882016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 1989 Steven Munroe <munroesj@linux.vnet.ibm.com>
1990 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
398368d8 1991
1992 * config/rs6000/sfp-exceptions.c: New file to provide exception
1993 support for IEEE 128-bit floating point.
1994
1995 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1996 floating point hardware support.
1997
1998 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1999 point conversions.
2000 * config/rs6000/fixunskfti.c: Likewise.
2001 * config/rs6000/fixkfti.c: Likewise.
2002 * config/rs6000/floatuntikf.c: Likewise.
2003 * config/rs6000/extendkftf2-sw.c: Likewise.
2004 * config/rs6000/trunctfkf2-sw.c: Likewise.
2005
2006 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2007 128-bit floating point software emulation or use ISA 3.0 hardware
2008 support if it is available.
2009
2010 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2011 floating point.
2012
2013 * config/rs6000/t-float128: New Makefile fragments to enable
2014 building __float128 emulation support.
2015 * config/rs6000/t-float128-hw: Likewise.
2016
2017 * config/rs6000/float128-sed: New file to convert TF names to KF
2018 names for PowerPC IEEE 128-bit floating point support.
2019
2020 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2021 when building on 64-bit systems, or when VSX is enabled.
2022 (_FP_W_TYPE): Likewise.
2023 (_FP_WS_TYPE): Likewise.
2024 (_FP_I_TYPE): Likewise.
2025 (TItype): Define on 64-bit systems.
2026 (UTItype): Likewise.
2027 (TI_BITS): Likewise.
2028 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2029 (_FP_MUL_MEAT_Q): Likewise.
2030 (_FP_DIV_MEAT_D): Likewise.
2031 (_FP_DIV_MEAT_Q): Likewise.
2032 (_FP_NANFRAC_D): Likewise.
2033 (_FP_NANFRAC_Q): Likewise.
2034 (ISA_BIT): Add exception support if we are being compiled on a
2035 machine with hardware floating point support to build the IEEE
2036 128-bit emulation functions.
2037 (FP_EX_INVALID): Likewise.
2038 (FP_EX_OVERFLOW): Likewise.
2039 (FP_EX_UNDERFLOW): Likewise.
2040 (FP_EX_DIVZERO): Likewise.
2041 (FP_EX_INEXACT): Likewise.
2042 (FP_EX_ALL): Likewise.
2043 (__sfp_handle_exceptions): Likewise.
2044 (FP_HANDLE_EXCEPTIONS): Likewise.
2045 (FP_RND_NEAREST): Likewise.
2046 (FP_RND_ZERO): Likewise.
2047 (FP_RND_PINF): Likewise.
2048 (FP_RND_MINF): Likewise.
2049 (FP_RND_MASK): Likewise.
2050 (_FP_DECL_EX): Likewise.
2051 (FP_INIT_ROUNDMODE): Likewise.
2052 (FP_ROUNDMODE): Likewise.
2053
2054 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2055 compiler can do __float128.
2056 * configure: Regenerate.
2057
2058 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2059 VSX code, enable IEEE 128-bit floating point.
2060
25cbccba 20612016-01-05 Olivier Hainque <hainque@adacore.com>
2062
2063 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
398368d8 2064 specificities.
25cbccba 2065
f1717362 20662016-01-04 Jakub Jelinek <jakub@redhat.com>
2067
2068 Update copyright years.
2069
444b6906 20702015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2071
2072 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
398368d8 2073 soft-fp targets.
444b6906 2074
9ff93578 20752015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2076
2077 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2078 instead of abort to avoid dependency on stdlib.h.
2079
a59e6fa6 20802015-12-09 John David Anglin <danglin@gcc.gnu.org>
2081
2082 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2083 to initialize call to __dl_fixup once.
2084
7ed86ba5 20852015-12-04 Nick Clifton <nickc@redhat.com>
2086
2087 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2088 Allow for the second argument being negative.
2089 * config.host (extra_parts): Define for MSP430. Create separate
2090 libraries for each of the hardware multiply formats.
2091 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2092 that are needed.
2093 * config/msp430/lib2mul.c: Likewise.
2094 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2095 Add rules to build hardware multiply libraries.
2096 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2097 __mspabi_divul function.
2098 (__mspabi_divllu): New stub function.
2099
2ec62878 21002015-12-01 John David Anglin <danglin@gcc.gnu.org>
2101
2102 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2103 fixup values if saved GOT address doesn't match runtime address.
2104 (fixup_branch_offset): Reorder list.
2105
08de21a4 21062015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2107
2108 * Makefile.in (VTV_CFLAGS): New variable.
2109 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2110 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2111 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2112 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2113 to extra_parts if $enable_vtable_verify = yes.
2114
7824e89a 21152015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2116
2117 PR target/68059
2118 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2119 (write): ...this and fix the return type.
2120
c0b6819e 21212015-11-19 DJ Delorie <dj@redhat.com>
2122
2123 * config/msp430/lib2hw_mul.S: Fix alignment.
2124
1927fff5 21252015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2126
2127 * config/nvptx/reduction.c: New.
2128 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2129
5bbad880 21302015-11-15 David Edelsohn <dje.gcc@gmail.com>
2131
2132 * config/rs6000/on_exit.c: New file.
2133 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2134 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2135
0c4d7986 21362015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2137
2138 * config/arc/dp-hack.h: Add support for ARCHS.
2139 * config/arc/ieee-754/divdf3.S: Likewise.
2140 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2141 * config/arc/ieee-754/muldf3.S: Likewise.
2142 * config/arc/ieee-754/mulsf3.S: Likewise
2143 * config/arc/lib1funcs.S: Likewise
2144 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2145 for ARCv2 cores.
2146 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2147 for ARCv2 cores.
2148 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2149 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2150 cores.
2151
4fa8daf5 21522015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2153
2154 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2155 value.
2156 * config/ia64/crtend.S: Likewise.
2157
d2dc729f 21582015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2159
2160 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2161 __CHAR_BIT__ instead of BITS_PER_UNIT.
2162 * fixed-bit.h: Likewise.
2163 * fp-bit.h: Likewise.
2164 * libgcc2.c (__popcountSI2): Likewise.
2165 (__popcountDI2): Likewise.
2166 * libgcc2.h: Likewise.
2167 * libgcov.h: Likewise.
2168
69de5ea9 21692015-11-07 David Edelsohn <dje.gcc@gmail.com>
2170
2171 * config/rs6000/atexit.c: New file.
2172 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2173 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2174 * config/rs6000/cxa_finalize.c
2175 (catomic_compare_and_exchange_bool_acq): Negate return value.
2176
47ce082f 21772015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2178
2179 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2180 (processor_subtypes): Add znver1.
2181 (get_amd_cpu): Detect znver1.
2182
18e98669 21832015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2184
2185 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2186 Include crtfastmath.o.
2187
9003096f 21882015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2189
2190 PR libgcc/66883
2191 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
18e98669 2192
2ee6cfdb 21932015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2194
2195 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2196 * config/rl78/divmodsi.S: Update return register to r8.
2197 * config/rl78/divmodhi.S: Update return register to r8,r9.
2198 Branch to main_loop_done_himode to pop registers before return.
2199
92e91d03 22002015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5814084e 2201
2202 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2203 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2204
6c1b774a 22052015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2206
2207 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2208
e3c15dbe 22092015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2210
2211 * config.host (xtensa*-*-uclinux*): New configuration.
2212
767110dd 22132015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2214
61958e92 2215 * config/i386/cpuinfo.c (processor_features): Add
767110dd 2216 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2217
b576f5d8 22182015-09-28 Joseph Myers <joseph@codesourcery.com>
2219
2220 * soft-fp/adddf3.c: Update from glibc.
2221 * soft-fp/addsf3.c: Likewise.
2222 * soft-fp/addtf3.c: Likewise.
2223 * soft-fp/divdf3.c: Likewise.
2224 * soft-fp/divsf3.c: Likewise.
2225 * soft-fp/divtf3.c: Likewise.
2226 * soft-fp/double.h: Likewise.
2227 * soft-fp/eqdf2.c: Likewise.
2228 * soft-fp/eqsf2.c: Likewise.
2229 * soft-fp/eqtf2.c: Likewise.
2230 * soft-fp/extenddftf2.c: Likewise.
2231 * soft-fp/extended.h: Likewise.
2232 * soft-fp/extendsfdf2.c: Likewise.
2233 * soft-fp/extendsftf2.c: Likewise.
2234 * soft-fp/extendxftf2.c: Likewise.
2235 * soft-fp/fixdfdi.c: Likewise.
2236 * soft-fp/fixdfsi.c: Likewise.
2237 * soft-fp/fixdfti.c: Likewise.
2238 * soft-fp/fixsfdi.c: Likewise.
2239 * soft-fp/fixsfsi.c: Likewise.
2240 * soft-fp/fixsfti.c: Likewise.
2241 * soft-fp/fixtfdi.c: Likewise.
2242 * soft-fp/fixtfsi.c: Likewise.
2243 * soft-fp/fixtfti.c: Likewise.
2244 * soft-fp/fixunsdfdi.c: Likewise.
2245 * soft-fp/fixunsdfsi.c: Likewise.
2246 * soft-fp/fixunsdfti.c: Likewise.
2247 * soft-fp/fixunssfdi.c: Likewise.
2248 * soft-fp/fixunssfsi.c: Likewise.
2249 * soft-fp/fixunssfti.c: Likewise.
2250 * soft-fp/fixunstfdi.c: Likewise.
2251 * soft-fp/fixunstfsi.c: Likewise.
2252 * soft-fp/fixunstfti.c: Likewise.
2253 * soft-fp/floatdidf.c: Likewise.
2254 * soft-fp/floatdisf.c: Likewise.
2255 * soft-fp/floatditf.c: Likewise.
2256 * soft-fp/floatsidf.c: Likewise.
2257 * soft-fp/floatsisf.c: Likewise.
2258 * soft-fp/floatsitf.c: Likewise.
2259 * soft-fp/floattidf.c: Likewise.
2260 * soft-fp/floattisf.c: Likewise.
2261 * soft-fp/floattitf.c: Likewise.
2262 * soft-fp/floatundidf.c: Likewise.
2263 * soft-fp/floatundisf.c: Likewise.
2264 * soft-fp/floatunditf.c: Likewise.
2265 * soft-fp/floatunsidf.c: Likewise.
2266 * soft-fp/floatunsisf.c: Likewise.
2267 * soft-fp/floatunsitf.c: Likewise.
2268 * soft-fp/floatuntidf.c: Likewise.
2269 * soft-fp/floatuntisf.c: Likewise.
2270 * soft-fp/floatuntitf.c: Likewise.
2271 * soft-fp/gedf2.c: Likewise.
2272 * soft-fp/gesf2.c: Likewise.
2273 * soft-fp/getf2.c: Likewise.
2274 * soft-fp/ledf2.c: Likewise.
2275 * soft-fp/lesf2.c: Likewise.
2276 * soft-fp/letf2.c: Likewise.
2277 * soft-fp/muldf3.c: Likewise.
2278 * soft-fp/mulsf3.c: Likewise.
2279 * soft-fp/multf3.c: Likewise.
2280 * soft-fp/negdf2.c: Likewise.
2281 * soft-fp/negsf2.c: Likewise.
2282 * soft-fp/negtf2.c: Likewise.
2283 * soft-fp/op-1.h: Likewise.
2284 * soft-fp/op-2.h: Likewise.
2285 * soft-fp/op-4.h: Likewise.
2286 * soft-fp/op-8.h: Likewise.
2287 * soft-fp/op-common.h: Likewise.
2288 * soft-fp/quad.h: Likewise.
2289 * soft-fp/single.h: Likewise.
2290 * soft-fp/soft-fp.h: Likewise.
2291 * soft-fp/subdf3.c: Likewise.
2292 * soft-fp/subsf3.c: Likewise.
2293 * soft-fp/subtf3.c: Likewise.
2294 * soft-fp/truncdfsf2.c: Likewise.
2295 * soft-fp/trunctfdf2.c: Likewise.
2296 * soft-fp/trunctfsf2.c: Likewise.
2297 * soft-fp/trunctfxf2.c: Likewise.
2298 * soft-fp/unorddf2.c: Likewise.
2299 * soft-fp/unordsf2.c: Likewise.
2300 * soft-fp/unordtf2.c: Likewise.
2301
0ed0ef69 23022015-09-24 Richard Earnshaw <rearnsha@arm.com>
2303
2304 PR libgcc/67624
2305 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2306
80fc7cb7 23072015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2308
2309 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2310 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2311 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2312 messages.
2313 (internal_mcount): Likewise.
2314 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2315 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2316
ba24ad38 23172015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2318
2319 * configure.ac (libgcc_cv_solaris_crts): New test.
2320 * configure: Regenerate.
2321 * config.in: Regenerate.
2322 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2323 * config/gmon-sol2.c: Rename to ...
2324 * config/sol2/gmon.c: ... this.
2325 Include auto-target.h.
2326 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2327 * config/t-sol2: Rename to ...
2328 * config/sol2/t-sol2: ... this.
2329 (gmon.o): Reflect renaming.
2330 (crtp.o, crtpg.o): New rules.
2331 * config.host (*-*-solaris2*): Reflect renaming.
2332 Use system CRTs if present.
2333 Remove default CRT case.
2334
c2ab7513 23352015-09-23 John David Anglin <danglin@gcc.gnu.org>
2336
2337 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2338 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2339 __kernel_cmpxchg2.
2340 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2341 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2342 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2343 (__sync_lock_test_and_set_##WIDTH): Likewise.
2344 (__sync_lock_release_##WIDTH): Likewise.
2345 (__sync_fetch_and_##OP##_4): Change result to match type of
2346 __kernel_cmpxchg.
2347 (__sync_##OP##_and_fetch_4): Likewise.
2348 (__sync_val_compare_and_swap_4): Likewise.
2349 (__sync_bool_compare_and_swap_4): likewise.
2350 (__sync_lock_test_and_set_4): Likewise.
2351 (__sync_lock_release_4): Likewise.
2352 (FETCH_AND_OP_2): Add long long variants.
2353 (OP_AND_FETCH_2): Likewise.
2354 (COMPARE_AND_SWAP_2 ): Likewise.
2355 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2356 (SYNC_LOCK_RELEASE_2): Likewise.
2357 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2358
92e91d03 23592015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
f96d88a8 2360
2361 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2362 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2363 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2364 (get_available_features): Habdle new features.
2365
672cc719 23662015-09-21 James Bowman <james.bowman@ftdichip.com>
2367
2368 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2369 memory layout. Deal correctly with BSS region larger than 32K.
2370 Handle a watchdog reset like a power-on reset. Clean up unused
2371 code.
2372
552a60d3 23732015-09-18 Andrew Dixie <andrewd@gentrack.com>
2374 David Edelsohn <dje.gcc@gmail.com>
2375
2376 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2377 * config/rs6000/crtdbase.S: New file.
2378 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2379
f12cf9f4 23802015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2381
2382 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2383 Add support for call0 ABI.
2384
9d8ce924 23852015-09-13 John David Anglin <danglin@gcc.gnu.org>
2386
2387 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2388
196c8383 23892015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2390
2391 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2392 (__GTHREAD_HAS_COND): Likewise.
2393 (__gthread_t): Likewise.
2394 (__gthread_cond_t): Likewise.
2395 (__gthread_time_t): Likewise.
2396 (__GTHREAD_MUTEX_INIT): Likewise.
2397 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2398 (__GTHREAD_COND_INIT): Likewise.
2399 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2400 (__GTHREAD_TIME_INIT): Likewise.
2401 (__gthread_create): Likewise.
2402 (__gthread_join): Likewise.
2403 (__gthread_detach): Likewise.
2404 (__gthread_equal): Likewise.
2405 (__gthread_self): Likewise.
2406 (__gthread_yield): Likewise.
2407 (__gthread_cond_broadcast): Likewise.
2408 (__gthread_cond_signal): Likewise.
2409 (__gthread_cond_wait): Likewise.
2410 (__gthread_cond_timedwait): Likewise.
2411 (__gthread_cond_wait_recursive): Likewise.
2412 (__gthread_cond_destroy): Likewise.
2413 (rtems_gxx_once): Delete.
2414 (rtems_gxx_key_create): Likewise.
2415 (rtems_gxx_key_delete): Likewise.
2416 (rtems_gxx_getspecific): Likewise.
2417 (rtems_gxx_setspecific): Likewise.
2418 (rtems_gxx_mutex_init): Likewise.
2419 (rtems_gxx_mutex_destroy): Likewise.
2420 (rtems_gxx_mutex_lock): Likewise.
2421 (rtems_gxx_mutex_trylock): Likewise.
2422 (rtems_gxx_mutex_unlock): Likewise.
2423 (rtems_gxx_recursive_mutex_init): Likewise.
2424 (rtems_gxx_recursive_mutex_lock): Likewise.
2425 (rtems_gxx_recursive_mutex_trylock): Likewise.
2426 (rtems_gxx_recursive_mutex_unlock): Likewise.
2427 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2428 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2429 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2430 (__gthread_once): Likewise.
2431 (__gthread_key_create): Likewise.
2432 (__gthread_key_delete): Likewise.
2433 (__gthread_getspecific): Likewise.
2434 (__gthread_setspecific): Likewise.
2435 (__gthread_key_t): Use <pthread.h> type.
2436 (__gthread_once_t): Likewise
2437 (__gthread_mutex_t): Use <sys/lock.h> type.
2438 (__gthread_recursive_mutex_t): Likewise
2439 (__gthread_mutex_lock): Use <sys/lock.h> function.
2440 (__gthread_mutex_trylock): Likewise.
2441 (__gthread_mutex_timedlock): Likewise.
2442 (__gthread_mutex_unlock): Likewise.
2443 (__gthread_mutex_destroy): Likewise.
2444 (__gthread_recursive_mutex_lock): Likewise.
2445 (__gthread_recursive_mutex_trylock): Likewise.
2446 (__gthread_recursive_mutex_timedlock): Likewise.
2447 (__gthread_recursive_mutex_unlock): Likewise.
2448 (__gthread_recursive_mutex_destroy): Likewise.
2449
15b21d23 24502015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2451
2452 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2453 context->sp instead of context->cfa.
2454
8a596a77 24552015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2456
2457 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2458 with unwind-dw2-fde-dip.
2459
863356ea 24602015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2461
2462 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2463 CALL12 followed by series of ENTRY to spill windowed registers.
2464 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2465 instead of making linux spill syscall.
2466
58bb1dbe 24672015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2468
2469 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2470 (get_intel_cpu): Likewise.
2471
cba3f034 24722015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2475 (get_intel_cpu): Add Knights Landing support.
2476
aca0ff16 24772015-08-11 Uros Bizjak <ubizjak@gmail.com>
2478
2479 PR target/66954
2480 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2481 (get_available_features): Handle FEATURE_PCLMUL.
2482
71b19c56 24832015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2484
2485 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2486 Broadwell.
2487
ff285c74 24882015-07-22 Uros Bizjak <ubizjak@gmail.com>
2489
2490 PR target/66954
2491 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2492 (get_available_features): Handle FEATURE_AES.
2493
a46441d0 24942015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2495
2496 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2497 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2498
4e985e0f 24992015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2500
2501 * offloadstuff.c: Constify host data.
2502
c780eb05 25032015-07-17 Jan Beulich <jbeulich@suse.com>
2504
2505 * config/t-softfp: Split up "else ifneq".
2506
70425b26 25072015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2508 Cesar Philippidis <cesar@codesourcery.com>
2509 Chung-Lin Tang <cltang@codesourcery.com>
2510
2511 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2512 for __nios2_arch__ level.
2513
6c8a3242 25142015-07-13 John Marino <gnugcc@marino.st>
2515
2516 * config/i386/t-dragonfly: New.
2517
d277282f 25182015-07-01 John David Anglin <danglin@gcc.gnu.org>
2519
2520 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2521 better match light-weight syscall argument order.
2522 (__kernel_cmpxchg2): Likewise.
2523 Adjust callers.
2524
146896ec 25252015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2526
2527 * config.host: Support i[34567]86-*-elfiamcu target.
2528 * config/t-softfp-sfdftf: New file.
2529 * config/i386/32/t-iamcu: Likewise.
2530 * configure: Regenerated.
2531
58ddcdad 25322015-06-23 James Lemke <jwlemke@codesourcery.com>
2533
2534 libgcc/config/arm/
2535 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2536
e9abca4f 25372015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2538
2539 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2540
92e91d03 25412015-05-27 John Marino <gnugcc@marino.st>
328976ed 2542
2543 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2544 md_unwind_header
2545 * config/i386/freebsd-unwind.h: New.
2546
2a8549e0 25472015-05-22 Uros Bizjak <ubizjak@gmail.com>
2548
2549 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2550 i386/t-crtfm to tmake_file.
2551 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2552 (set_fast_math): Use set_fast_math_sse for SSE targets.
2553 * config/i386/t-crtfm: Remove.
2554
b5d18737 25552015-05-21 Alan Modra <amodra@gmail.com>
2556
2557 PR libgcc/66225
2558 * config/rs6000/morestack.S: Remove ".abiversion 1".
2559
ec3f28c9 25602015-05-20 Alan Modra <amodra@gmail.com>
2561
2562 * config/rs6000/morestack.S: New.
2563 * config/rs6000/t-stack-rs6000: New.
2564 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2565 to tmake_file.
2566 * generic-morestack.c: Don't build for powerpc 32-bit.
2567
11087c28 25682015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2569
2570 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2571 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2572
f29929b5 25732015-05-16 James Bowman <james.bowman@ftdichip.com>
2574
2575 * config.host: FT32 target added.
2576 * config/ft32/*: New files for FT32 target.
2577
ce86a36a 25782015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2579
61958e92 2580 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2581 New macros.
2582 * config/arm/ieee754-df.S: Add CFI directives.
2583 * config/arm/ieee754-sf.S: Add CFI directives.
ce86a36a 2584
177cc56c 25852015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2586
2587 * configure.ac: Include config/sjlj.m4.
2588 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2589 * config.in: Regenerate.
2590 * configure: Likewise.
2591 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2592
a8a5046c 25932015-05-12 Uros Bizjak <ubizjak@gmail.com>
2594
2595 * libgcov-util.c: Add space between string literal and macro name.
2596
1ddaa252 25972015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2598 Chris Jones <chrisj@nvidia.com>
2599 Joshua Conner <jconner@nvidia.com>
2600
2601 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2602 (arm*-*-uclinux*): Likewise.
2603 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2604 * config/arm/crtfastmath.c: New file.
2605
162f9d1e 26062014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2607
2608 * Makefile.in (real_host_noncanonical): New variable.
2609 (libsubdir): Use it.
2610 * configure.ac (real_host_noncanonical): Compute. Remove special
2611 case for intelmicemul.
2612 * configure: Regenerate.
2613
005a5ef5 26142015-04-28 Uros Bizjak <ubizjak@gmail.com>
2615
2616 * config/frv/elf-lib.h: New file.
2617 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2618 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2619 to tm_file.
2620
26212015-04-28 Uros Bizjak <ubizjak@gmail.com>
2622
2623 * config/frv/frvbengin.c: Do not include defaults.h
2624 * config/frv/frvend.c: Ditto.
2625
acff2768 26262015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2627
2628 * config.host: Add h8300-*-linux
2629 * config/h8300/t-linux: New file.
2630 * config/h8300/lib1funs.s: Change symbol prefix.
2631 * config/h8300/sfp-machine.h: 64bit double support.
2632
a2e31d06 26332015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2634 Szabolcs Nagy <szabolcs.nagy@arm.com>
2635
2636 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2637 Linux if target provides dl_iterate_phdr.
2638
4b5fb32a 26392015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2640
2641 PR target/65612
2642 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2643 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2644 (__cpu_indicator_init@GCC_4.8.0): New.
2645 (__cpu_model@GCC_4.8.0): Likewise.
2646 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2647 -DUSE_ELF_SYMVER.
2648
e98e1692 26492015-04-16 Nick Clifton <nickc@redhat.com>
2650
2651 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2652 and __modhi3 functions.
2653 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2654 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2655
a0093a4f 26562015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2657
2658 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2659 do-while loop as macro body to avoid warnings.
2660
fb5ccd6d 26612015-04-10 Jakub Jelinek <jakub@redhat.com>
2662 Iain Sandoe <iain@codesourcery.com>
2663
2664 PR target/65351
2665 * configure: Regenerate.
2666
b1b085e0 26672015-04-07 Jakub Jelinek <jakub@redhat.com>
2668 Iain Sandoe <iain@codesourcery.com>
2669
2670 PR target/65351
2671 * configure: Regenerate.
2672
7ca58a65 26732015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2674
2675 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2676
b89c671b 26772015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7ca58a65 2678
b89c671b 2679 Implement call0 ABI for xtensa
2680 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2681 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2682 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2683 use ret in call0 ABI.
2684 * config/xtensa/t-windowed: New file.
2685 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2686 * libgcc/configure: Regenerated.
2687 * libgcc/configure.ac: Check if xtensa target is configured for
2688 windowed ABI and thus needs to use custom unwind code.
2689
69831bb2 26902015-02-12 Jonathan Wakely <jwakely@redhat.com>
2691
2692 PR libgcc/64885
2693 * gthr-single.h: Use __unused__ attribute instead of unused.
2694 * config/gthr-vxworks.h: Likewise.
2695 * config/i386/gthr-win32.h: Likewise.
2696
c905381f 26972015-02-27 Kai Tietz <ktietz@redhat.com>
2698
2699 PR target/65038
2700 * config.in: Regenerated.
2701 * configure: Likewise.
2702 * configure.ac (AC_HEADER_STDC): Added explicit.
2703 (AC_CHECK_HEADERS): Check for default headers plus
2704 for ftw.h header.
2705 * libgcov-util.c (gcov_read_profile_dir): Disable use
2706 of ftw-function, if header is not found.
2707 (ftw_read_file): Likewise.
2708
0853f8db 27092015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2710
2711 PR target/65181
2712 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2713 -Dinhibit_libc.
2714
1c55a862 27152015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2716
2717 * config/arm/bpabi.S (test_div_by_zero): Make label names
2718 consistent between thumb2 and arm mode cases. Separate the
2719 signed comparison on the high word of the numerator from the
2720 unsigned comparison on the low word.
2721 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2722 signed comparison.
2723
6014aff2 27242015-02-17 Joseph Myers <joseph@codesourcery.com>
2725
2726 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2727 and <string.h>.
2728 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2729
a698bcaa 27302015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2731
2732 PR gcov-profile/61889
3083dd2f 2733 * libgcov-driver-system.c: undefine clashing macro for mkdir.
a698bcaa 2734
889a65e7 27352015-02-02 Nick Clifton <nickc@redhat.com>
2736
2737 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2738 rounding up the fraction.
2739
f3b68f27 27402015-01-31 John David Anglin <danglin@gcc.gnu.org>
2741
2742 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2743 oldval and newval to const void *. Fix typo.
2744 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2745 (FETCH_AND_OP_WORD): Likewise.
2746 (OP_AND_FETCH_WORD): Likewise.
2747 (COMPARE_AND_SWAP_2): Likewise.
2748 (__sync_val_compare_and_swap_4): Likewise.
2749 (__sync_lock_test_and_set_4): Likewise.
2750 (SYNC_LOCK_RELEASE_2): Likewise.
2751 Remove support for long long atomic operations.
2752
5be42fa9 27532015-01-27 Caroline Tice <cmtice@google.com>
2754
2755 Committing VTV Cywin/Ming patch for Patrick Wollgast
2756 * Makefile.in: Move rules to build vtv_*.o out of the check
2757 for CUSTOM_CRTSTUFF.
2758 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2759 i[34567]86-*-mingw*)
2760 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2761 enable_vtable_verify.
2762
45e05b5a 27632015-01-27 Nick Clifton <nickc@redhat.com>
2764
2765 * config/rl78/cmpsi2.S: Use function start and end macros.
2766 (__gcc_bcmp): New function.
2767 * config/rl78/lshrsi3.S: Use function start and end macros.
2768 * config/rl78/mulsi3.S: Add support for G10.
2769 (__mulqi3): New function for G10.
2770 * config/rl78/signbit.S: Use function start and end macros.
2771 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2772 fpmath-sf.S.
2773 (LIB2FUNCS_EXCLUDE): Define.
2774 (LIB2FUNCS_ST): Define.
2775 * config/rl78/trampoline.S: Use function start and end macros.
2776 * config/rl78/vregs.h (START_FUNC): New macro.
2777 (START_ANOTHER_FUNC): New macro.
2778 (END_FUNC): New macro.
2779 (END_ANOTHER_FUNC): New macro.
2780 * config/rl78/bit-count.S: New file. Contains assembler
2781 implementations of the bit counting functions: ___clzhi2,
2782 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2783 __paritysi2, __popcounthi2 and __popcountsi2.
2784 * config/rl78/fpbit-sf.S: New file. Contains assembler
2785 implementationas of the math functions: __negsf2, __cmpsf2,
2786 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2787 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2788 * config/rl78/fpmath-sf.S: New file. Contains assembler
2789 implementations of the math functions: __subsf3, __addsf3,
2790 __mulsf3 and __divsf3
2791
43cbcd84 27922015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2793
2794 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2795 Add i386/elf-lib.h to tm_file.
2796 * config/i386/elf-lib.h: Fix comment.
2797 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2798 && __sun__ && __svr4__]: Remove workaround.
2799
f8956357 28002015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2801
2802 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2803 FEATURE_BMI2.
2804 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2805
1b738d4d 28062015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2807
2808 * config/i386/cpuinfo.c (processor_subtypes): Add
2809 INTEL_COREI7_BROADWELL.
2810 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2811 model numbers.
2812
58ca7445 28132015-01-23 Uros Bizjak <ubizjak@gmail.com>
2814
2815 * config/i386/elf-lib.h: New file.
2816 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2817 Wrap definition in #ifdef __i386__.
2818 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2819 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2820 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2821 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2822 to tm_file.
2823
d4c9c88d 28242015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2825
2826 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2827 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2828
c46389f0 28292015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2830
2831 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2832 Update rt_sigframe format and address for current Nios II
2833 Linux conventions.
2834
275d0a7c 28352015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2836
2837 * config.host (arm*-*-freebsd*): Add new configuration for
2838 arm*-*-freebsd*.
2839 * config/arm/freebsd-atomic.c: New file.
2840 * config/arm/t-freebsd: Likewise.
2841 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2842 'PC-relative indirect' OS's.
2843
8992df51 28442015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2845
2846 * config.host: Add Visium support.
2847 * config/visium: New directory.
2848
d353bf18 28492015-01-05 Jakub Jelinek <jakub@redhat.com>
2850
2851 Update copyright years.
2852
78645e70 28532014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2854
2855 * config.host: Support mipsisa32r6 and mipsisa64r6.
2856 * config/mips/mips16.S: Do not build for R6.
2857
14cc370b 28582014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2859
2860 * config/sh/crt.h: New.
2861 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2862 symbols.
2863 * config/sh/crt1.S: Likewise.
2864
06f29f53 28652014-12-15 Uros Bizjak <ubizjak@gmail.com>
2866
2867 PR libgcc/63832
2868 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2869 func_ptr *dtor_list temporary variable to avoid "array subscript
2870 is above array bounds" warnings.
2871
92e91d03 28722014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4c87b50c 2873
2874 * Makefile.in (with_aix_soname): Define.
2875 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2876 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2877 * configure: Recreate.
2878
c0235a33 28792014-12-05 Olivier Hainque <hainque@adacore.com>
2880
2881 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2882 now provided by defaults.h.
2883
273fffd6 28842014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2885
84cf4824 2886 PR target/55351
273fffd6 2887 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2888 whether it's defined.
2889
ffbfc7c5 28902014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2891
2892 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2893 * config/i386/cpuinfo.c (get_available_features): Detect it.
2894
ae22ef60 28952014-11-27 Tony Wang <tony.wang@arm.com>
2896
2897 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2898 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2899 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2900
a532bc30 29012014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2902
2903 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2904
e88ebd91 29052014-11-24 John David Anglin <danglin@gcc.gnu.org>
2906
2907 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2908 instead.
2909
422aeca3 29102014-11-21 Guy Martin <gmsoft@tuxicoman.be>
2911 John David Anglin <danglin@gcc.gnu.org>
2912
2913 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2914 (FETCH_AND_OP_2): New. Use for subword and double word operations.
2915 (OP_AND_FETCH_2): Likewise.
2916 (COMPARE_AND_SWAP_2): Likewise.
2917 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2918 (SYNC_LOCK_RELEASE_2): Likewise.
2919 (SUBWORD_SYNC_OP): Remove.
2920 (SUBWORD_VAL_CAS): Likewise.
2921 (SUBWORD_BOOL_CAS): Likewise.
2922 (FETCH_AND_OP_WORD): Update.
2923 Consistently use signed types.
005a5ef5 2924
a3d93be3 29252014-11-13 Bernd Schmidt <bernds@codesourcery.com>
2926 Thomas Schwinge <thomas@codesourcery.com>
2927 Ilya Verbin <ilya.verbin@intel.com>
2928 Andrey Turetskiy <andrey.turetskiy@intel.com>
2929
2930 * Makefile.in (crtoffloadbegin$(objext)): New rule.
2931 (crtoffloadend$(objext)): Likewise.
2932 * configure: Regenerate.
2933 * configure.ac (accel_dir_suffix): Compute new variable.
2934 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2935 if enable_offload_targets is not empty.
2936 * offloadstuff.c: New file.
2937
97a36a5b 29382014-11-13 Nick Clifton <nickc@redhat.com>
2939
2940 * config/rl78/divmodhi.S: Add support for the G10 architecture.
2941 Use START_FUNC and END_FUNC macros to enable linker garbage
2942 collection.
2943 * config/rl78/divmodqi.S: Likewise.
2944 * config/rl78/divmodsi.S: Likewise.
2945 * config/rl78/mulsi3.S: Likewise.
2946 * config/rl78/lib2div.c: Remove G10 functions.
2947 * config/rl78/lib2muls.c: Likewise.
2948 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2949 * config/rl78/vregs.h (START_FUNC): New macro.
2950 (END_FUNC): New macro.
2951
f2b55aea 29522014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
2953
2954 * config/mips/mips16.S: Set .module when supported. Update O32
2955 FP64 calling convention and use for FPXX when possible. Add FPXX
2956 calling convention fallback case.
2957
8ce80784 29582014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2959
2960 * config.host: Handle nvptx-*-*.
2961 * shared-object.mk (as-flags-$o): Define.
2962 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2963 -xassembler-with-cpp.
2964 * static-object.mk: Identical changes.
2965 * config/nvptx/t-nvptx: New file.
2966 * config/nvptx/crt0.s: New file.
2967 * config/nvptx/free.asm: New file.
2968 * config/nvptx/malloc.asm: New file.
2969 * config/nvptx/realloc.c: New file.
2970
0e36a0d7 29712014-10-30 Joseph Myers <joseph@codesourcery.com>
2972
2973 * Makefile.in (libgcc.map.in): New target.
2974 (libgcc.map): Use libgcc.map.in.
2975 * config/t-softfp (softfp_compat): New variable to be set by
2976 users.
2977 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2978 variables.
2979 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2980 directory.
2981 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2982 that use compat symbols and disable all code unless [SHARED].
2983 * config/t-softfp-compat: New file.
2984 * find-symver.awk: New file.
2985 * configure.ac (--with-glibc-version): New configure option.
2986 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2987 * configure: Regenerate.
2988 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2989 soft-float and e500.
2990
d9b5cf5c 29912014-10-29 Joseph Myers <joseph@codesourcery.com>
2992
2993 * config/t-hardfp (hardfp_exclusions): Document new variable for
2994 user to define.
2995 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2996 * config/t-softfp (softfp_extras): Document new variable for user
2997 to define.
2998 (softfp_func_list): Add functions from $(softfp_extras).
2999 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3000 * config.host (powerpc*-*-linux*): For e500v1, use
3001 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3002 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3003 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3004
2de51200 30052014-10-26 John David Anglin <danglin@gcc.gnu.org>
3006
3007 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3008 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3009 memory read accesses are ok.
3010
fd1eaa27 30112014-10-25 Joseph Myers <joseph@codesourcery.com>
3012
3013 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3014 * configure: Regenerate.
3015 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3016 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3017 of soft-fp for 32-bit classic hard float. Do not use
3018 t-softfp-excl for soft float.
3019
e707b8cc 30202014-10-22 Joseph Myers <joseph@codesourcery.com>
3021
3022 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3023 configurations.
3024 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3025 Remove variables.
3026
6ce12a35 30272014-10-22 Georg-Johann Lay <avr@gjlay.de>
3028
3029 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3030 introduced with 2014-10-21 trunk r216525.
3031
b4e6d2e2 30322014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
92e91d03 3033 Vidya Praveen <vidya.praveen@atmel.com>
3034 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3035 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3036 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
b4e6d2e2 3037
3038 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3039 order.
3040
3041 Updated library functions for AVRTINY arch.
3042 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3043 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3044 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3045 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3046 wsubi/wadi macors.
3047 (__mulsi3_helper): Update stack, preserve callee saved regs and
3048 argument from stack. Restore callee save registers.
3049 (__mulpsi3): Likewise.
3050 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3051 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6ce12a35 3052 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
b4e6d2e2 3053 AVRTINY.
3054 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3055 (__do_copy_data): Added new definition for AVRTINY.
3056 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3057 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3058 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3059 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3060 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3061 macors.
6ce12a35 3062 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
b4e6d2e2 3063 AVRTINY.
3064
6ce12a35 3065 Fix broken long multiplication on tiny arch.
b4e6d2e2 3066
d9bbc5ef 30672014-10-09 Joseph Myers <joseph@codesourcery.com>
3068
3069 * soft-fp/double.h: Update from glibc.
3070 * soft-fp/eqdf2.c: Likewise.
3071 * soft-fp/eqsf2.c: Likewise.
3072 * soft-fp/eqtf2.c: Likewise.
3073 * soft-fp/extenddftf2.c: Likewise.
3074 * soft-fp/extended.h: Likewise.
3075 * soft-fp/extendsfdf2.c: Likewise.
3076 * soft-fp/extendsftf2.c: Likewise.
3077 * soft-fp/extendxftf2.c: Likewise.
3078 * soft-fp/gedf2.c: Likewise.
3079 * soft-fp/gesf2.c: Likewise.
3080 * soft-fp/getf2.c: Likewise.
3081 * soft-fp/ledf2.c: Likewise.
3082 * soft-fp/lesf2.c: Likewise.
3083 * soft-fp/letf2.c: Likewise.
3084 * soft-fp/op-1.h: Likewise.
3085 * soft-fp/op-2.h: Likewise.
3086 * soft-fp/op-4.h: Likewise.
3087 * soft-fp/op-8.h: Likewise.
3088 * soft-fp/op-common.h: Likewise.
3089 * soft-fp/quad.h: Likewise.
3090 * soft-fp/single.h: Likewise.
3091 * soft-fp/soft-fp.h: Likewise.
3092 * soft-fp/unorddf2.c: Likewise.
3093 * soft-fp/unordsf2.c: Likewise.
3094 * soft-fp/unordtf2.c: Likewise.
3095 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3096 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3097 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3098 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3099 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3100 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3101 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3102 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3103 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3104 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3105
26054e0b 31062014-10-08 Rong Xu <xur@google.com>
3107
3108 * libgcov-util.c (read_gcda_file): Fix format.
3109 (find_match_gcov_info): Ditto.
3110 (calculate_2_entries): New.
3111 (compute_one_gcov): Ditto.
3112 (gcov_info_count_all_cold): Ditto.
3113 (gcov_info_count_all_zero): Ditto.
3114 (extract_file_basename): Ditto.
3115 (get_file_basename): Ditto.
3116 (set_flag): Ditto.
3117 (matched_gcov_info): Ditto.
3118 (calculate_overlap): Ditto.
3119 (gcov_profile_overlap): Ditto.
3120 * libgcov-driver.c (compute_summary): Make
3121 it avavilable for external calls.
3122
8a8f3988 31232014-10-06 Rong Xu <xur@google.com>
3124
3125 * Makefile.in: Ditto.
3126 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3127 (gcov_sort_icall_topn_counter): Ditto.
3128 (gcov_sort_topn_counter_arrays): Ditto.
3129 (dump_one_gcov): Sort indirect_call topn counters.
3130 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3131 function.
3132 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3133 utility function.
3134 (__gcov_indirect_call_topn_profiler): New profiler function.
3135 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3136 * libgcov.h: New decls.
3137
f230ef81 31382014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3139
3140 * config.host: Remove support for score-*.
3141
0cb69d12 31422014-09-22 Joseph Myers <joseph@codesourcery.com>
3143
3144 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3145 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3146 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3147 __LIBGCC_XF_MANT_DIG__.
3148 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3149 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3150 __LIBGCC_TF_MANT_DIG__.
3151 * libgcc2.c (NOTRUNC): Define in terms of
3152 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3153 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3154
acbb28e9 31552014-09-22 Joseph Myers <joseph@codesourcery.com>
3156
3157 PR target/63312
3158 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3159 New macros.
3160
d0eb4a95 31612014-09-22 Hans-Peter Nilsson <hp@axis.com>
3162
3163 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3164 override USE_PT_GNU_EH_FRAME.
3165 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3166 check USE_EH_FRAME_REGISTRY_ALWAYS against
3167 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3168 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3169 variable for substituted force_explicit_eh_registry.
3170 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3171 * configure.ac (explicit-exception-frame-registration):
3172 New AC_ARG_ENABLE.
3173 * configure: Regenerate.
3174
6c352a95 31752014-09-19 Olivier Hainque <hainque@adacore.com>
3176
3177 * config.host (powerpc-wrs-vxworksmils): New configuration,
3178 same as vxworksae.
3179
168dfbf0 31802014-09-18 Joseph Myers <joseph@codesourcery.com>
3181
3182 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3183
ca6c7c2e 31842014-09-18 Joseph Myers <joseph@codesourcery.com>
3185
3186 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3187 bits not set bits as indicating trapping exceptions.
3188
bc587267 31892014-09-17 Nathan sidwell <nathan@acm.org>
3190
3191 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3192 (LIBGCOV_DRIVER): ... here.
3193 * libgcov-driver.c (gcov_master): New.
3194 (gcov_exit): Remove from master chain.
3195 (__gcov_init): Add to master chain if version compatible. Don't
3196 clear the version.
3197 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3198 (gcov_reset_int): Clear master chain, if compatible.
3199 (gcov_dump_int): New internal interface. Dump master chain, if
3200 compatible.
3201 (gcov_dump): Alias for gcov_dump_int.
3202 * libgcov.h (struct gcov_root): Add next and prev fields.
3203 (struct gcov_master): New struct.
3204 (__gcov_master): New.
3205 (gcov_dump_int): Declare.
3206
0624d0c7 32072014-09-17 Olivier Hainque <hainque@adacore.com>
3208
3209 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3210 and crtbegin.o + crtend.o to extra_parts.
3211
d5957f0d 32122014-09-12 Joseph Myers <joseph@codesourcery.com>
3213
3214 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3215 __LIBGCC_HAS_SF_MODE__.
3216 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3217 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3218 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3219 * config/libbid/bid_gcc_intrinsics.h
3220 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3221 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3222 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3223 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3224 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3225 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3226
986b9a67 32272014-09-11 Georg-Johann Lay <avr@gjlay.de>
3228
3229 PR target/63223
3230 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3231 and R24 as needed. Make work for all devices and .text locations.
3232 (__do_global_ctors, __do_global_dtors): Use word addresses.
3233 (__tablejump__, __tablejump_elpm__): Remove functions.
3234 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3235 Add _tablejump2.
3236 (XICALL, XIJMP): New macros.
3237
8f908dc5 32382014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3239 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3240
3241 * config.host (aarch64*): Include crtfastmath.o and
3242 t-crtfm.
3243 * config/aarch64/crtfastmath.c: New file.
3244
f67c2dde 32452014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3246
3247 * config.host: Remove picochip support.
3248 * config/picochip/adddi3.S: Remove.
3249 * config/picochip/ashlsi3.S: Remove.
3250 * config/picochip/ashlsi3.c: Remove.
3251 * config/picochip/ashrsi3.S: Remove.
3252 * config/picochip/ashrsi3.c: Remove.
3253 * config/picochip/clzsi2.S: Remove.
3254 * config/picochip/cmpsi2.S: Remove.
3255 * config/picochip/divmod15.S: Remove.
3256 * config/picochip/divmodhi4.S: Remove.
3257 * config/picochip/divmodsi4.S: Remove.
3258 * config/picochip/lib1funcs.S: Remove.
3259 * config/picochip/longjmp.S: Remove.
3260 * config/picochip/lshrsi3.S: Remove.
3261 * config/picochip/lshrsi3.c: Remove.
3262 * config/picochip/parityhi2.S: Remove.
3263 * config/picochip/popcounthi2.S: Remove.
3264 * config/picochip/setjmp.S: Remove.
3265 * config/picochip/subdi3.S: Remove.
3266 * config/picochip/t-picochip: Remove.
3267 * config/picochip/ucmpsi2.S: Remove.
3268 * config/picochip/udivmodhi4.S: Remove.
3269 * config/picochip/udivmodsi4.S: Remove.
3270
b660d3c6 32712014-09-08 Joseph Myers <joseph@codesourcery.com>
3272
3273 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3274 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3275 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3276 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3277 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3278 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3279 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3280 defined and LIBGCC2_HAS_DF_MODE is defined.
3281 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3282 defined and LIBGCC2_HAS_XF_MODE is defined.
3283 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3284 defined and LIBGCC2_HAS_TF_MODE is defined.
3285
2aeea855 32862014-09-08 Joseph Myers <joseph@codesourcery.com>
3287
3288 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3289 and ROUND_TOWARDS_ZERO conditionals.
3290
a91625a6 32912014-09-07 Nathan sidwell <nathan@acm.org>
3292
3293 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3294 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3295
325b8c3c 32962014-09-05 Joseph Myers <joseph@codesourcery.com>
3297
3298 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3299 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3300 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3301 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3302 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3303 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3304 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3305 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3306 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3307 (DWARF_FRAME_REGISTERS): Change all uses to
3308 __LIBGCC_DWARF_FRAME_REGISTERS__.
3309 (EH_RETURN_STACKADJ_RTX): Change all uses to
3310 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3311 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3312 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3313 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3314 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3315 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3316 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3317 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3318 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3319 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3320 __LIBGCC_STACK_POINTER_REGNUM__.
3321 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3322 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3323 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3324 to __LIBGCC_STACK_POINTER_REGNUM__.
3325 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3326 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3327 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3328 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3329 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3330 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3331 (STACK_POINTER_REGNUM): Change all uses to
3332 __LIBGCC_STACK_POINTER_REGNUM__.
3333 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3334 use to __LIBGCC_STACK_POINTER_REGNUM__.
3335 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3336 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3337 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3338 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3339 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3340 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3341 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3342 to __LIBGCC_STACK_POINTER_REGNUM__.
3343 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3344 Remove conditional definition.
3345 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3346 __LIBGCC_TEXT_SECTION_ASM_OP__.
3347 (EH_FRAME_SECTION_NAME): Change all uses to
3348 __LIBGCC_EH_FRAME_SECTION_NAME__.
3349 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3350 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3351 (CTORS_SECTION_ASM_OP): Change all uses to
3352 __LIBGCC_CTORS_SECTION_ASM_OP__.
3353 (DTORS_SECTION_ASM_OP): Change all uses to
3354 __LIBGCC_DTORS_SECTION_ASM_OP__.
3355 (JCR_SECTION_NAME): Change all uses to
3356 __LIBGCC_JCR_SECTION_NAME__.
3357 (INIT_SECTION_ASM_OP): Change all uses to
3358 __LIBGCC_INIT_SECTION_ASM_OP__.
3359 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3360 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3361 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3362 __LIBGCC_STACK_GROWS_DOWNWARD__.
3363 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3364 __LIBGCC_INIT_SECTION_ASM_OP__.
3365 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3366 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3367 (EH_FRAME_SECTION_NAME): Change all uses to
3368 __LIBGCC_EH_FRAME_SECTION_NAME__.
3369 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3370 definitions. Change all uses to
3371 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3372 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3373 __LIBGCC_STACK_GROWS_DOWNWARD__.
3374 (DWARF_FRAME_REGISTERS): Change all uses to
3375 __LIBGCC_DWARF_FRAME_REGISTERS__.
3376 (EH_RETURN_STACKADJ_RTX): Change all uses to
3377 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3378 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3379 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3380 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3381 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3382 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3383
b12d2330 33842014-09-02 Nathan sidwell <nathan@acm.org>
3385
3386 * libgcov-interface.c (STRONG_ALIAS): New.
3387 (__gcov_flush): Call __gcov_reset_int.
3388 (__gcov_reset): Strong alias for ...
3389 (__gcov_reset_ing): ... this renamed hidden version.
3390 * libgcov.h (__gcov_reset_int): New declaration.
3391
827d5daf 33922014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3393
1db4f54b 3394 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3395 call from here...
3396 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3397 (__dso_handle): Define on Cygwin.
3398 * config/i386/t-cygming (crtbeginS.o): New rule.
3399 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3400
827d5daf 3401 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3402 declaration syntax.
3403
e3108d46 34042014-08-13 Steve Ellcey <sellcey@mips.com>
3405
3406 * crtstuff.c: Undef caddr_t.
3407
0898fffa 34082014-08-12 Steve Ellcey <sellcey@mips.com>
3409
3410 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3411
859fa1a9 34122014-08-07 Nathan Sidwell <nathan@acm.org>
3413
3414 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3415 (LIBGCOV_DRIVER): ... to here.
3416 * libgcov.h (gcov_do_dump): New #define.
3417 (struct gcov_root): New.
3418 (__gcov_root): New declaration.
3419 (__gcov_dump_one): Declare.
3420 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3421 run_accounted): Delete.
3422 (gcov_compute_histogram): Add LIST argument, adjust.
3423 (compute_summary): Adjust gcov_compute_histogram call.
3424 (gcov_do_dump): Not hidden, static in libgcov.
3425 (gcov_clear): Move to interface.c.
3426 (__gcov_dump_one): New, broken out of ...
3427 (gcov_exit): ... here. Make static.
3428 (__gcov_root): New.
3429 (__gcov_init): Adjust.
3430 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3431 declarations.
3432 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3433 (gcov_clear): Moved from driver.c. Add LIST argument.
3434 (__gcov_reset): Adjust for changed interfaces.
3435 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3436
3fa2798a 34372014-08-04 Rohit <rohitarulraj@freescale.com>
3438
3439 PR target/60102
3440 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6d88799a 3441 based on change in SPE high register numbers and 3 HTM registers.
3fa2798a 3442
cb3ea3de 34432014-08-01 Nathan Sidwell <nathan@acm.org>
3444
3445 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3446 LIBGCOV_INTERFACE): Reformat.
3447 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3448 IN_GCOV_TOOL.
3449 * libgcov-interface.c: Reformat some comments.
3450 (__gcov_flush_mx): Add declaration. Tidy up definition.
3451
bfd88f52 34522014-07-31 Alan Modra <amodra@gmail.com>
3453 Peter Bergner <bergner@vnet.ibm.com>
3454
3455 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3456 (pack_ldouble): New function.
3457 (__gcc_qadd): Use it.
3458 (__gcc_qmul): Likewise.
3459 (__gcc_qdiv): Likewise.
3460 (__gcc_qneg): Likewise.
3461 (__gcc_stoq): Likewise.
3462 (__gcc_dtoq): Likewise.
3463
bcd3133e 34642014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3465
3466 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3467 (__tpf_eh_return): Add original return address as second parameter.
3468 Handle cases where unwinder routines were called directly, instead
3469 of from within the C++ library.
3470
1186f97a 34712014-07-29 Nathan Sidwell <nathan@acm.org>
3472
3473 * libgcov.h: Move renaming of entry points to lib gcov specific
3474 portion.
3475 (gcov_do_dump): New rename.
3476 (gcov_rewrite): Remove inline, make HIDDEN.
3477 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3478 (gcov_exit_compute_summary): Rename to ...
3479 (compute_summary): ... here. Add LIST argument.
3480 (gcov_exit_merge_gcda): Rename to ...
3481 (merge_one_data): ... here.
3482 (gcov_exit_write_gcda): Rename to ...
3483 (write_one_data): ... here.
3484 (gcov_exit_merge_summary): Rename to ...
3485 (merge_summary): Add RUN_COUNTED argument.
3486 (gcov_exit_dump_gcov): Rename to ...
3487 (dump_one_gcov): Add RUN_COUNTED argument.
3488 (gcov_do_dump): New function, broken out of ...
3489 (gcov_exit): ... here. Call it.
3490
ab0c4d2e 34912014-07-27 Anthony Green <green@moxielogic.com>
3492
3493 * config.host: Add moxiebox configuration suppport.
3494
6401b74d 34952014-07-27 Nathan Sidwell <nathan@acm.org>
3496
3497 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3498 (struct gcov_filename): ... here. Include buffer and max length
3499 fields.
3500 (gcov_max_filename): Remove.
3501 (gi_filename): Remove.
3502 (gcov_exit_compute_summary): Compute max filename here.
3503 (gcov_exit_merge_gcda): Add filename parm, adjust.
3504 (gcov_exit_merge_summary): Likewise.
3505 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3506 (gcov_exit): Likewise.
3507 (__gcov_init): Don't calculate max length here.
3508 * libgcov_util.c (max_filename_len): Remove.
3509 (read_gcda_file): Don't calculate max length here.
3510 (gcov_read_profile_dir): Don't propagate here.
3511 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3512 struct gcov_filename changes.
3513 (gcov_exit_open_gcda_file): Likewise.
3514
0f768e5f 35152014-07-25 Nathan Sidwell <nathan@acm.org>
3516
3517 * libgcov-driver.c (set_gcov_dump_complete,
3518 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3519 functions polluting user's namespace.
3520 (gcov_exit): Set variable directly.
3521 (gcov_clear): Reset variable directly.
3522 * libgcov-interface.c (get_gcov_dymp_complete,
3523 reset_gov_dump_complete): Remove declarations.
3524 (__gcov_reset, __gcov_dump): Don't call them.
3525
2b333d82 35262014-07-24 DJ Delorie <dj@redhat.com>
3527
3528 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
0f768e5f 3529 (__gcc_deregister_frame): Move logic to detect deregister function
3530 to ...
3531 (__gcc_register_frame): here, so it's consistent with the register
3532 logic.
2b333d82 3533
145d88ea 35342014-07-23 Nathan Sidwell <nathan@acm.org>
3535
3536 * libgcov-driver.c (set_gcov_list): Remove.
3537 (gcov_list): Make non-static in GCOV_TOOL.
3538 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3539
307c2567 35402014-07-17 John David Anglin <danglin@gcc.gnu.org>
3541
3542 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3543 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3544 Don't use SYNC_LOCK_RELEASE for int type.
3545
3dc22a01 35462014-07-14 Richard Biener <rguenther@suse.de>
3547
3548 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3549
a60d8a99 35502014-07-11 Rong Xu <xur@google.com>
3551
3552 * libgcov-util.c (gcov_max_filename): Fix declartion.
3553
e76f6040 35542014-07-10 Rong Xu <xur@google.com>
3555
3556 Add gcov-tool: an offline gcda profile processing tool
3557 Support.
3558 * libgcov-driver.c (gcov_max_filename): Make available
3559 to gcov-tool.
3560 * libgcov-merge.c (__gcov_merge_add): Replace
3561 gcov_read_counter() with a Macro.
3562 (__gcov_merge_ior): Ditto.
3563 (__gcov_merge_time_profile): Ditto.
3564 (__gcov_merge_single): Ditto.
3565 (__gcov_merge_delta): Ditto.
3566 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3567 in the utility functions.
3568 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3569 gcov_list object link lists.
3570 (tag_function): Ditto.
3571 (tag_blocks): Ditto.
3572 (tag_arcs): Ditto.
3573 (tag_lines): Ditto.
3574 (tag_counters): Ditto.
3575 (tag_summary): Ditto.
3576 (read_gcda_finalize): Ditto.
3577 (read_gcda_file): Ditto.
3578 (ftw_read_file): Ditto.
3579 (read_profile_dir_init): Ditto.
3580 (gcov_read_profile_dir): Ditto.
3581 (gcov_read_counter_mem): Ditto.
3582 (gcov_get_merge_weight): Ditto.
3583 (merge_wrapper): A wrapper function that calls merging handler.
3584 (gcov_merge): Merge two gcov_info objects with weights.
3585 (find_match_gcov_info): Find the matched gcov_info in the list.
3586 (gcov_profile_merge): Merge two gcov_info object lists.
3587 (__gcov_add_counter_op): Process edge profile counter values.
3588 (__gcov_ior_counter_op): Process IOR profile counter values.
3589 (__gcov_delta_counter_op): Process delta profile counter values.
3590 (__gcov_single_counter_op): Process single profile counter values.
3591 (fp_scale): Callback function for float-point scaling.
005a5ef5 3592 (int_scale): Callback function for integer fraction scaling.
e76f6040 3593 (gcov_profile_scale): Scaling profile counters.
3594 (gcov_profile_normalize): Normalize profile counters.
3595 * libgcov.h: Add headers and functions for gcov-tool use.
3596 (gcov_get_counter): New.
3597 (gcov_get_counter_target): Ditto.
3598 (struct gcov_info): Make the functions field mutable in gcov-tool
3599 compilation.
3600
761d3cae 36012014-06-23 Kai Tietz <ktietz@redhat.com>
3602
3603 PR libgcc/61585
3604 * unwind-seh.c (_Unwind_GetGR): Check for proper
3605 index range.
3606 (_Unwind_SetGR): Likewise.
3607
b4187486 36082014-05-22 Nick Clifton <nickc@redhat.com>
3609
3610 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3611 -mhwmult=none.
3612
f1919901 36132014-05-22 Teresa Johnson <tejohnson@google.com>
3614
3615 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3616 include.
3617
463553db 36182014-05-20 John Marino <gnugcc@marino.st>
3619
3620 * config.host (*-*-dragonfly*): New target.
3621 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3622 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3623 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3624 * config/i386/dragonfly-unwind.h: New.
3625
17611fd9 36262014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3627
3628 PR libgcc/60166
3629 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3630 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3631
b061dab2 36322014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3633
3634 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3635 implementation.
3636
b81ef88d 36372014-05-12 Georg-Johann Lay <avr@gjlay.de>
3638
3639 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3640
d71975a6 36412014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3642
3643 PR libgcc/61097
3644 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3645 if --enable-shared.
3646
d3c4b980 36472014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3648
3649 Work around for current cygwin32 build problems.
3650 * config/i386/cygming-crtbegin.c (__register_frame_info,
3651 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3652 functions only for 64-bit systems.
3653
1f912f03 36542014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3655
3656 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3657 (sigill_caught, sigill_hdlr): Remove.
3658
3efb5d22 36592014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3660
3661 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3662 check.
3663 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3664 Solaris 9 single-threaded support.
3665 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3666 Solaris 9 single-threaded support. Add call_user_handler code
3667 sequences.
3668 (sparc_is_sighandler): Likewise.
3669
368b5b2c 36702014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3671
3672 * config.host: Append t-floattodi to tmake_file depending on
3673 host_address.
3674
0cdefccf 36752014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3676
c7285b71 3677 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
0cdefccf 3678
e5d692d7 36792014-03-10 Uros Bizjak <ubizjak@gmail.com>
3680
3681 PR libgcc/60472
3682 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
06f29f53 3683 variable to avoid "array subscript is above array bounds" warnings.
e5d692d7 3684 Use __builtin_expect when checking *jcr_list for NULL.
3685
ec5f5503 36862014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3687
3688 PR libgcc/59339
3689 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3690 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3691 vtv_*.o to extra_parts if enable_vtable_verify.
3692
6dd4126d 36932014-03-06 Nick Clifton <nickc@redhat.com>
3694
3695 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3696 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3697
c63fabc4 36982014-02-28 Joey Ye <joey.ye@arm.com>
3699
3700 PR libgcc/60166
3701 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3702 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3703 Set to zero.
3704
2da35515 37052014-02-24 Walter Lee <walt@tilera.com>
3706
3707 * config.host: Support "tilegx*" and "tilepro*" triplets.
3708 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3709 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3710
73e15dfc 37112014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3712 Chung-Lin Tang <cltang@codesourcery.com>
3713
3714 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3715 * config/nios2/crti.S: Remove .file directive.
3716 * config/nios2/crtn.S: Likewise.
3717
db5ce3d9 37182014-02-18 Kai Tietz <ktietz@redhat.com>
3719 Jonathan Schleifer <js@webkeks.org>
3720
3721 PR objc/56870
3722 * unwind-seh.c (_GCC_specific_handler): Pass proper
3723 value to unwind-handler.
3724
8f687340 37252014-02-12 Joseph Myers <joseph@codesourcery.com>
3726
3727 * soft-fp/adddf3.c: Update from glibc.
3728 * soft-fp/addsf3.c: Likewise.
3729 * soft-fp/addtf3.c: Likewise.
3730 * soft-fp/divdf3.c: Likewise.
3731 * soft-fp/divsf3.c: Likewise.
3732 * soft-fp/divtf3.c: Likewise.
3733 * soft-fp/double.h: Likewise.
3734 * soft-fp/eqdf2.c: Likewise.
3735 * soft-fp/eqsf2.c: Likewise.
3736 * soft-fp/eqtf2.c: Likewise.
3737 * soft-fp/extenddftf2.c: Likewise.
3738 * soft-fp/extended.h: Likewise.
3739 * soft-fp/extendsfdf2.c: Likewise.
3740 * soft-fp/extendsftf2.c: Likewise.
3741 * soft-fp/extendxftf2.c: Likewise.
3742 * soft-fp/fixdfdi.c: Likewise.
3743 * soft-fp/fixdfsi.c: Likewise.
3744 * soft-fp/fixdfti.c: Likewise.
3745 * soft-fp/fixsfdi.c: Likewise.
3746 * soft-fp/fixsfsi.c: Likewise.
3747 * soft-fp/fixsfti.c: Likewise.
3748 * soft-fp/fixtfdi.c: Likewise.
3749 * soft-fp/fixtfsi.c: Likewise.
3750 * soft-fp/fixtfti.c: Likewise.
3751 * soft-fp/fixunsdfdi.c: Likewise.
3752 * soft-fp/fixunsdfsi.c: Likewise.
3753 * soft-fp/fixunsdfti.c: Likewise.
3754 * soft-fp/fixunssfdi.c: Likewise.
3755 * soft-fp/fixunssfsi.c: Likewise.
3756 * soft-fp/fixunssfti.c: Likewise.
3757 * soft-fp/fixunstfdi.c: Likewise.
3758 * soft-fp/fixunstfsi.c: Likewise.
3759 * soft-fp/fixunstfti.c: Likewise.
3760 * soft-fp/floatdidf.c: Likewise.
3761 * soft-fp/floatdisf.c: Likewise.
3762 * soft-fp/floatditf.c: Likewise.
3763 * soft-fp/floatsidf.c: Likewise.
3764 * soft-fp/floatsisf.c: Likewise.
3765 * soft-fp/floatsitf.c: Likewise.
3766 * soft-fp/floattidf.c: Likewise.
3767 * soft-fp/floattisf.c: Likewise.
3768 * soft-fp/floattitf.c: Likewise.
3769 * soft-fp/floatundidf.c: Likewise.
3770 * soft-fp/floatundisf.c: Likewise.
3771 * soft-fp/floatunditf.c: Likewise.
3772 * soft-fp/floatunsidf.c: Likewise.
3773 * soft-fp/floatunsisf.c: Likewise.
3774 * soft-fp/floatunsitf.c: Likewise.
3775 * soft-fp/floatuntidf.c: Likewise.
3776 * soft-fp/floatuntisf.c: Likewise.
3777 * soft-fp/floatuntitf.c: Likewise.
3778 * soft-fp/gedf2.c: Likewise.
3779 * soft-fp/gesf2.c: Likewise.
3780 * soft-fp/getf2.c: Likewise.
3781 * soft-fp/ledf2.c: Likewise.
3782 * soft-fp/lesf2.c: Likewise.
3783 * soft-fp/letf2.c: Likewise.
3784 * soft-fp/muldf3.c: Likewise.
3785 * soft-fp/mulsf3.c: Likewise.
3786 * soft-fp/multf3.c: Likewise.
3787 * soft-fp/negdf2.c: Likewise.
3788 * soft-fp/negsf2.c: Likewise.
3789 * soft-fp/negtf2.c: Likewise.
3790 * soft-fp/op-1.h: Likewise.
3791 * soft-fp/op-2.h: Likewise.
3792 * soft-fp/op-4.h: Likewise.
3793 * soft-fp/op-8.h: Likewise.
3794 * soft-fp/op-common.h: Likewise.
3795 * soft-fp/quad.h: Likewise.
3796 * soft-fp/single.h: Likewise.
3797 * soft-fp/soft-fp.h: Likewise.
3798 * soft-fp/subdf3.c: Likewise.
3799 * soft-fp/subsf3.c: Likewise.
3800 * soft-fp/subtf3.c: Likewise.
3801 * soft-fp/truncdfsf2.c: Likewise.
3802 * soft-fp/trunctfdf2.c: Likewise.
3803 * soft-fp/trunctfsf2.c: Likewise.
3804 * soft-fp/trunctfxf2.c: Likewise.
3805 * soft-fp/unorddf2.c: Likewise.
3806 * soft-fp/unordsf2.c: Likewise.
3807 * soft-fp/unordtf2.c: Likewise.
3808 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3809 macro.
3810 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3811 Likewise.
3812 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3813 Likewise.
3814 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3815 Likewise.
3816 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3817 Likewise.
3818 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3819 Likewise.
3820 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3821 Likewise.
3822 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3823 Likewise.
3824 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3825 Likewise.
3826 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3827 Likewise.
3828 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3829 Likewise.
3830 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3831 Likewise.
3832 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3833 Likewise.
3834 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3835 Likewise.
3836 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3837 Likewise.
3838 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3839 Likewise.
3840
fc1cd012 38412014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3842
3843 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3844 cannot be represented.
3845 * config/s390/32/_fixsfdi.c: Likewise.
3846 * config/s390/32/_fixtfdi.c: Likewise.
3847 * config/s390/32/_fixunsdfdi.c: Likewise.
3848 * config/s390/32/_fixunssfdi.c: Likewise.
3849 * config/s390/32/_fixunstfdi.c: Likewise.
3850
4b366ca9 38512014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3852
3853 * configure.ac (libgcc_cv_mips_hard_float): New.
3854 * configure: Regenerate.
3855 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3856 t-softfp-sfdf for hard-float targets.
3857 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3858 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3859 (softfp_truncations, softfp_exclude_libgcc2): New.
3860 * config/t-hardfp: New file.
3861 * config/t-hardfp-sfdf: Likewise.
3862 * config/hardfp.c: Likewise.
3863
896dc54c 38642014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3865
3866 * config.host: Include t-floattodi also for s390x.
3867 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3868 * config/s390/32/_fixsfdi.c: Likewise.
3869 * config/s390/32/_fixtfdi.c: Likewise.
3870 * config/s390/32/_fixunsdfdi.c: Likewise.
3871 * config/s390/32/_fixunssfdi.c: Likewise.
3872 * config/s390/32/_fixunstfdi.c: Likewise.
3873
48118d02 38742014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3875
3876 PR target/59788
3877 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3878 (install-libgcc-unwind-map-forbuild): New target.
3879 (all): Depend on install-libgcc-unwind-map-forbuild.
3880 (install-libgcc-unwind-map): New target.
3881 (install): Depend on install-libgcc-unwind-map.
3882
1fa97c89 38832014-02-02 Sandra Loosemore <sandra@codesourcery.com>
3884
3885 * config/nios2/crti.S (_init): Initialize GOT pointer from
3886 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3887
9bcbf352 38882014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3889
3890 * configure.ac: Check __mips64 when setting host_address.
3891 * configure: Regenerate.
3892 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3893 mips/t-mips64 and t-softfp.
3894 (mips*-*-linux*): Don't add mips/t-tpbit.
3895 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3896 (DPBIT, DPBIT_CFLAGS): Delete.
3897 * config/mips/sfp-machine.h: New file.
3898 * config/mips/t-mips64: Likewise.
3899 * config/mips/t-softfp-tf: Likewise.
3900 * config/mips/t-tpbit: Delete.
3901
81b83e46 39022014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3903
3904 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3905 as long long.
3906
41766a5f 39072014-01-25 Walter Lee <walt@tilera.com>
3908
3909 * config/tilepro/atomic.c: Include tconfig.h. Don't include
3910 config.h or system.h.
3911 (bool) Define.
3912
c8d04645 39132014-01-25 Walter Lee <walt@tilera.com>
3914
3915 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3916 (post_atomic_barrier): Ditto.
3917 (__fetch_and_do): New macro.
3918 (__atomic_fetch_and_do): Use __fetch_and_do.
3919 (__sync_fetch_and_do): New macro.
3920 (__sync_fetch_and_add_4): New function.
3921 (__sync_fetch_and_sub_4): New function.
3922 (__sync_fetch_and_or_4): New function.
3923 (__sync_fetch_and_and_4): New function.
3924 (__sync_fetch_and_xor_4): New function.
3925 (__sync_fetch_and_nand_4): New function.
3926 (__sync_fetch_and_add_8): New function.
3927 (__sync_fetch_and_sub_8): New function.
3928 (__sync_fetch_and_or_8): New function.
3929 (__sync_fetch_and_and_8): New function.
3930 (__sync_fetch_and_xor_8): New function.
3931 (__sync_fetch_and_nand_8): New function.
3932 (__do_and_fetch): New macro.
3933 (__atomic_do_and_fetch): Use __do_and_fetch.
3934 (__sync_do_and_fetch): New macro.
3935 (__sync_add_and_fetch_4): New function.
3936 (__sync_sub_and_fetch_4): New function.
3937 (__sync_or_and_fetch_4): New function.
3938 (__sync_and_and_fetch_4): New function.
3939 (__sync_xor_and_fetch_4): New function.
3940 (__sync_nand_and_fetch_4): New function.
3941 (__sync_add_and_fetch_8): New function.
3942 (__sync_sub_and_fetch_8): New function.
3943 (__sync_or_and_fetch_8): New function.
3944 (__sync_and_and_fetch_8): New function.
3945 (__sync_xor_and_fetch_8): New function.
3946 (__sync_nand_and_fetch_8): New function.
3947 (__sync_exchange_methods): New macro.
3948 (__sync_val_compare_and_swap_4): New function.
3949 (__sync_bool_compare_and_swap_4): New function.
3950 (__sync_lock_test_and_test_4): New function.
3951 (__sync_val_compare_and_swap_8): New function.
3952 (__sync_bool_compare_and_swap_8): New function.
3953 (__sync_lock_test_and_test_8): New function.
3954 (__subword_cmpxchg_body): New macro.
3955 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3956 (__atomic_compare_exchange_2): Ditto.
3957 (__sync_subword_cmpxchg): New macro.
3958 (__sync_val_compare_and_swap_1): New function.
3959 (__sync_bool_compare_and_swap_1): New function.
3960 (__sync_val_compare_and_swap_2): New function.
3961 (__sync_bool_compare_and_swap_2): New function.
3962 (__atomic_subword): Rename to ...
3963 (__subword): ... New name.
3964 (__atomic_subword_fetch): Use __subword.
3965 (__sync_subword_fetch): New macro.
3966 (__sync_fetch_and_add_1): New function.
3967 (__sync_fetch_and_sub_1): New function.
3968 (__sync_fetch_and_or_1): New function.
3969 (__sync_fetch_and_and_1): New function.
3970 (__sync_fetch_and_xor_1): New function.
3971 (__sync_fetch_and_nand_1): New function.
3972 (__sync_fetch_and_add_2): New function.
3973 (__sync_fetch_and_sub_2): New function.
3974 (__sync_fetch_and_or_2): New function.
3975 (__sync_fetch_and_and_2): New function.
3976 (__sync_fetch_and_xor_2): New function.
3977 (__sync_fetch_and_nand_2): New function.
3978 (__sync_add_and_fetch_1): New function.
3979 (__sync_sub_and_fetch_1): New function.
3980 (__sync_or_and_fetch_1): New function.
3981 (__sync_and_and_fetch_1): New function.
3982 (__sync_xor_and_fetch_1): New function.
3983 (__sync_nand_and_fetch_1): New function.
3984 (__sync_add_and_fetch_2): New function.
3985 (__sync_sub_and_fetch_2): New function.
3986 (__sync_or_and_fetch_2): New function.
3987 (__sync_and_and_fetch_2): New function.
3988 (__sync_xor_and_fetch_2): New function.
3989 (__sync_nand_and_fetch_2): New function.
3990 (__atomic_subword_lock): Use __subword.
3991 (__sync_subword_lock): New macro.
3992 (__sync_lock_test_and_set_1): New function.
3993 (__sync_lock_test_and_set_2): New function.
3994
47bfa8ec 39952014-01-25 Walter Lee <walt@tilera.com>
3996
3997 * config/tilepro/atomic.c (BIT_OFFSET): Define.
3998 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3999 (__atomic_subword): Ditto.
4000
fcb4fe71 40012014-01-25 Walter Lee <walt@tilera.com>
4002
4003 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4004 a prefix op argument.
4005 (__atomic_nand_fetch_4): Add prefix op.
4006 (__atomic_nand_fetch_8): Ditto.
4007
92e91d03 40082014-01-21 Baruch Siach <barch@tkos.co.il>
382e1a72 4009
4010 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4011
9c50d275 40122014-01-09 Rong Xu <xur@google.com>
4013
4014 * libgcov-driver.c (this_prg): make it local to save
4015 bss space.
4016 (gcov_exit_compute_summary): Ditto.
4017 (gcov_exit_merge_gcda): Ditto.
4018 (gcov_exit_merge_summary): Ditto.
4019 (gcov_exit_dump_gcov): Ditto.
4020
005a5ef5 40212014-01-08 Rong Xu <xur@google.com>
67745126 4022
4023 * libgcov-driver.c: Use libgcov.h.
4024 (buffer_fn_data): Use xmalloc instead of malloc.
4025 (gcov_exit_merge_gcda): Ditto.
4026 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4027 * libgcov.h: New common header files for libgcov-*.h.
4028 * libgcov-interface.c: Use libgcov.h
4029 * libgcov-merge.c: Ditto.
4030 * libgcov-profiler.c: Ditto.
4031 * Makefile.in: Add dependence to libgcov.h
4032
acf40e7e 40332014-01-02 Joseph Myers <joseph@codesourcery.com>
4034
4035 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4036 case of small numerator and finite nonzero result.
4037
f9fb6ba0 40382014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4039
4040 Update copyright years
4041
e4f22041 40422014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4043
4044 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4045 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4046 config/arc/dp-hack.h, config/arc/fp-hack.h,
4047 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4048 config/arc/ieee-754/arc600-dsp/divdf3.S,
4049 config/arc/ieee-754/arc600-dsp/divsf3.S,
4050 config/arc/ieee-754/arc600-dsp/muldf3.S,
4051 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4052 config/arc/ieee-754/arc600-mul64/divdf3.S,
4053 config/arc/ieee-754/arc600-mul64/divsf3.S,
4054 config/arc/ieee-754/arc600-mul64/muldf3.S,
4055 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4056 config/arc/ieee-754/arc600/divsf3.S,
4057 config/arc/ieee-754/arc600/mulsf3.S,
4058 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4059 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4060 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4061 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4062 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4063 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4064 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4065 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4066 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4067 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4068 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4069 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4070 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4071 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4072 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4073 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4074 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4075 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4076 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4077 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4078 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4079 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4080 vtv_start_preinit.c: Use the standard form for the copyright notice.
4081
de65406d 40822013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4083 Chung-Lin Tang <cltang@codesourcery.com>
4084 Based on patches from Altera Corporation
4085
4086 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4087 * config/nios2/lib2-nios2.h: New file.
4088 * config/nios2/lib2-divmod-hi.c: New file.
4089 * config/nios2/linux-unwind.h: New file.
4090 * config/nios2/lib2-divmod.c: New file.
4091 * config/nios2/linux-atomic.c: New file.
4092 * config/nios2/t-nios2: New file.
4093 * config/nios2/crti.asm: New file.
4094 * config/nios2/t-linux: New file.
4095 * config/nios2/lib2-divtable.c: New file.
4096 * config/nios2/lib2-mul.c: New file.
4097 * config/nios2/tramp.c: New file.
4098 * config/nios2/crtn.asm: New file.
4099
a0f1278f 41002013-12-26 Uros Bizjak <ubizjak@gmail.com>
4101
4102 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4103 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4104 from cpuid.h to check vendor signatures.
4105
0337c8ef 41062013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4107
e5d692d7 4108 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
0337c8ef 4109 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4110 (get_amd_cpu): Likewise.
4111
03797e66 41122013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4113
4114 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4115 Haswell.
4116
8a5280dc 41172013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4118 H.J. Lu <hongjiu.lu@intel.com>
4119
ed1bc9a4 4120 PR target/59422
4121 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8a5280dc 4122 and AMD_JAGUAR.
4123 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4124 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4125 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4126 FEATURE_XOP and FEATURE_FMA.
4127 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4128 AMDFAM15H_BDVER3.
4129 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
ed1bc9a4 4130 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8a5280dc 4131 FEATURE_FMA4 and FEATURE_XOP.
4132
ccc305ff 41332013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4134
4135 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4136 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4137 (get_intel_cpu): Updated.
4138
4ef5912a 41392013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4140
4141 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4142
62f068c6 41432013-12-09 Uros Bizjak <ubizjak@gmail.com>
4144
4145 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2cc02024 4146 instructions when __SSE_MATH__ is defined.
62f068c6 4147
d742e92d 41482013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4149
4150 * config.host (microblaze-*-rtems*): New.
4151
706d62f5 41522013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4153
4154 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4155 architectures that do not have hardware divide instruction.
4156 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4157
81927967 41582013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4159
4160 * longlong.h: Delete (moved to include/).
4161
085d03cc 41622013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4163
4164 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4165 of normal number and qNaN to not raise an inexact exception.
4166
1f88bc79 41672013-11-28 Uros Bizjak <ubizjak@gmail.com>
4168
4169 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4170
41712013-11-28 Matthew Leach <matthew.leach@arm.com>
de12de96 4172
4173 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4174 for correct opcodes on BE.
4175
ea9697c4 41762013-11-27 Uros Bizjak <ubizjak@gmail.com>
4177
4178 * soft-fp/op-4.h: Update from glibc.
4179
b214253d 41802013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4181
4182 * libgcc2.c (__udivmoddi4): Define new implementation when
4183 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4184 divide instructions.
4185
334819e8 41862013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4187
4188 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4189
2b8d95bc 41902013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4191
4192 * config/t-softfp (soft-fp-objects-base): New variable.
4193 (soft-fp-objects): Use it.
4194
39da7440 41952013-11-23 David Edelson <dje.gcc@gmail.com>
4196 Andrew Dixie <andrewd@gentrack.com>
4197
4198 PR target/33704
4199 * config/rs6000/aixinitfini.c: New file.
4200 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4201 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4202 symbols.
4203
b848ffcd 42042013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4205
ea9697c4 4206 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
b848ffcd 4207
f75db2a8 42082013-11-18 Jan Hubicka <jh@suse.cz>
4209
5dbddbd9 4210 * libgcov-driver.c (run_accounted): Make global level static.
4211 (gcov_exit_merge_summary): Silence warning; do not clear
4212 run_accounted here.
4213 (gcov_exit): Clear it here.
4214
7a45fd9b 4215 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4216 run_accounted.
4217
f75db2a8 4218 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4219 (all_prg, crc32): Remove static vars.
4220 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4221 all_prg.
4222 (gcov_exit_merge_gcda): Add crc32 parameter.
4223 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4224 do not account run if it was already accounted.
4225 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4226 (gcov_exit): Initialize all_prg; update.
4227
822f2c1b 42282013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4229
4230 * configure: Regenerate.
4231
238f342d 42322013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4233 Alan Modra <amodra@gmail.com>
4234
4235 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4236 (frob_update_context): Use it.
4237
42382013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4239 Alan Modra <amodra@gmail.com>
4240
4241 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4242 (trampoline_initial): Provide ELFv2 variant.
4243 (__trampoline_setup): Likewise.
4244
4245 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4246 check for AIX indirect function call sequence if _CALL_ELF == 2.
4247
42482013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4249 Alan Modra <amodra@gmail.com>
4250
4251 * config/rs6000/linux-unwind.h (get_regs): Do not support
4252 old kernel versions if _CALL_ELF == 2.
4253 (frob_update_context): Do not support PLT stub variants only
4254 generated by old linkers if _CALL_ELF == 2.
4255
771a5362 42562013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4257 Alan Modra <amodra@gmail.com>
4258
4259 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4260 location of CR save area for 64-bit little-endian systems.
4261
f4f176bd 42622013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4263
4264 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4265 in tmake_file.
4266 * config/arm/t-vxworks: Delete.
4267
024d645a 42682013-11-10 Kai Tietz <ktietz@redhat.com>
4269
4270 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4271 Increment load-count on use of LIBGCC_SONAME DLL.
4272 (hmod_libgcc): New static variable to hold handle of
4273 LIBGCC_SONAME DLL.
4274 (__gcc_deregister_frame): Decrement load-count of
4275 LIBGCC_SONAME DLL.
4276
96ddb284 42772013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4278
4279 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4280 availability.
4281 * configure: Regenerate
4282
b4ad80db 42832013-11-07 Uros Bizjak <ubizjak@gmail.com>
4284
4285 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4286 FP_EX_DENORM. Store result to volatile location after SSE division
4287 to close interrupt window. Remove unneeded fwait after x87
4288 division since interrupt window will be closed by emitted fstp.
dc1dacdf 4289 Rewrite FP_EX_INEXACT handling.
b4ad80db 4290
589468a6 42912013-11-06 Joseph Myers <joseph@codesourcery.com>
4292
4293 * soft-fp/README: Update.
4294 * soft-fp/adddf3.c: Update from glibc.
4295 * soft-fp/addsf3.c: Likewise.
4296 * soft-fp/addtf3.c: Likewise.
4297 * soft-fp/divdf3.c: Likewise.
4298 * soft-fp/divsf3.c: Likewise.
4299 * soft-fp/divtf3.c: Likewise.
4300 * soft-fp/double.h: Likewise.
4301 * soft-fp/eqdf2.c: Likewise.
4302 * soft-fp/eqsf2.c: Likewise.
4303 * soft-fp/eqtf2.c: Likewise.
4304 * soft-fp/extenddftf2.c: Likewise.
4305 * soft-fp/extended.h: Likewise.
4306 * soft-fp/extendsfdf2.c: Likewise.
4307 * soft-fp/extendsftf2.c: Likewise.
4308 * soft-fp/extendxftf2.c: Likewise.
4309 * soft-fp/fixdfdi.c: Likewise.
4310 * soft-fp/fixdfsi.c: Likewise.
4311 * soft-fp/fixdfti.c: Likewise.
4312 * soft-fp/fixsfdi.c: Likewise.
4313 * soft-fp/fixsfsi.c: Likewise.
4314 * soft-fp/fixsfti.c: Likewise.
4315 * soft-fp/fixtfdi.c: Likewise.
4316 * soft-fp/fixtfsi.c: Likewise.
4317 * soft-fp/fixtfti.c: Likewise.
4318 * soft-fp/fixunsdfdi.c: Likewise.
4319 * soft-fp/fixunsdfsi.c: Likewise.
4320 * soft-fp/fixunsdfti.c: Likewise.
4321 * soft-fp/fixunssfdi.c: Likewise.
4322 * soft-fp/fixunssfsi.c: Likewise.
4323 * soft-fp/fixunssfti.c: Likewise.
4324 * soft-fp/fixunstfdi.c: Likewise.
4325 * soft-fp/fixunstfsi.c: Likewise.
4326 * soft-fp/fixunstfti.c: Likewise.
4327 * soft-fp/floatdidf.c: Likewise.
4328 * soft-fp/floatdisf.c: Likewise.
4329 * soft-fp/floatditf.c: Likewise.
4330 * soft-fp/floatsidf.c: Likewise.
4331 * soft-fp/floatsisf.c: Likewise.
4332 * soft-fp/floatsitf.c: Likewise.
4333 * soft-fp/floattidf.c: Likewise.
4334 * soft-fp/floattisf.c: Likewise.
4335 * soft-fp/floattitf.c: Likewise.
4336 * soft-fp/floatundidf.c: Likewise.
4337 * soft-fp/floatundisf.c: Likewise.
4338 * soft-fp/floatunditf.c: Likewise.
4339 * soft-fp/floatunsidf.c: Likewise.
4340 * soft-fp/floatunsisf.c: Likewise.
4341 * soft-fp/floatunsitf.c: Likewise.
4342 * soft-fp/floatuntidf.c: Likewise.
4343 * soft-fp/floatuntisf.c: Likewise.
4344 * soft-fp/floatuntitf.c: Likewise.
4345 * soft-fp/gedf2.c: Likewise.
4346 * soft-fp/gesf2.c: Likewise.
4347 * soft-fp/getf2.c: Likewise.
4348 * soft-fp/ledf2.c: Likewise.
4349 * soft-fp/lesf2.c: Likewise.
4350 * soft-fp/letf2.c: Likewise.
4351 * soft-fp/muldf3.c: Likewise.
4352 * soft-fp/mulsf3.c: Likewise.
4353 * soft-fp/multf3.c: Likewise.
4354 * soft-fp/negdf2.c: Likewise.
4355 * soft-fp/negsf2.c: Likewise.
4356 * soft-fp/negtf2.c: Likewise.
4357 * soft-fp/op-1.h: Likewise.
4358 * soft-fp/op-2.h: Likewise.
4359 * soft-fp/op-4.h: Likewise.
4360 * soft-fp/op-8.h: Likewise.
4361 * soft-fp/op-common.h: Likewise.
4362 * soft-fp/quad.h: Likewise.
4363 * soft-fp/single.h: Likewise.
4364 * soft-fp/soft-fp.h: Likewise.
4365 * soft-fp/subdf3.c: Likewise.
4366 * soft-fp/subsf3.c: Likewise.
4367 * soft-fp/subtf3.c: Likewise.
4368 * soft-fp/truncdfsf2.c: Likewise.
4369 * soft-fp/trunctfdf2.c: Likewise.
4370 * soft-fp/trunctfsf2.c: Likewise.
4371 * soft-fp/trunctfxf2.c: Likewise.
4372 * soft-fp/unorddf2.c: Likewise.
4373 * soft-fp/unordsf2.c: Likewise.
4374 * soft-fp/unordtf2.c: Likewise.
4375
8a3edb33 43762013-11-05 Uros Bizjak <ubizjak@gmail.com>
4377
4378 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4379 (_FP_MUL_MEAT_D): Ditto.
4380 (_FP_DIV_MEAT_S): Ditto.
4381 (_FP_DIV_MEAT_D): Ditto.
4382 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4383 t-softfp-sfdf and t-softfp to tmake_file.
4384
ea151fae 43852013-11-03 Uros Bizjak <ubizjak@gmail.com>
4386
4387 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4388 * config/i386/crtprec.c: Ditto.
4389
eae21ed1 43902013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4391 Shiva Chen <shiva0217@gmail.com>
4392
4393 * config.host (nds32*-elf*): Add nds32 target.
4394 * config/nds32 : New directory and files.
4395
b4294f67 43962013-10-16 Hans-Peter Nilsson <hp@axis.com>
4397
4398 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4399 * config.host (cpu_type) <Setting default>: Add entry for
4400 crisv32-*-*.
4401 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4402 <crisv32-*-linux*>: Adjust.
4403 * longlong.h: Wrap the whole CRIS section in a single
4404 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4405 and sub_ddmmss.
4406 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4407 defined.
4408 [__CRIS__] (__umulsidi3): Define.
4409 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4410 * config/cris/sfp-machine.h: New file.
4411 * config/cris/umulsidi3.S: New file.
4412 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4413 * config/cris/arit.c (SIGNMULT): New macro.
4414 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4415 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4416 saving 3 out of originally 33 cycles from the fastest
4417 path, 3 out of 54 from the medium path and one from the longest
4418 path. Improve comments.
4419
89432048 44202013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4421
4422 * sync.c: Remove static aliases and define each function directly
4423 under its real name.
4424
a99f9d91 44252013-10-02 John David Anglin <danglin@gcc.gnu.org>
4426
4427 * config.host (hppa*64*-*-linux*): Define extra_parts.
4428 (hppa*-*-linux*): Likewise.
4429
c6e92c43 44302013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4431
4432 * config/arc/crtgend.S: Add 2013 to Copyright years.
4433 * config/arc/gmon/atomic.h: Likewise.
4434 * config/arc/gmon/auxreg.h: Likewise.
4435 * config/arc/gmon/sys/gmon_out.h: Likewise.
4436 * config/arc/gmon/sys/gmon.h: Likewise.
4437 * config/arc/gmon/prof-freq.c: Likewise.
4438 * config/arc/gmon/mcount.c: Likewise.
4439 * config/arc/gmon/prof-freq-stub.S: Likewise.
4440 * config/arc/gmon/gmon.c: Likewise.
4441 * config/arc/gmon/machine-gmon.h: Likewise.
4442 * config/arc/gmon/profil.S: Likewise.
4443 * config/arc/gmon/dcache_linesz.S: Likewise.
4444 * config/arc/crtg.S: Likewise.
4445 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4446 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4447 * config/arc/ieee-754/adddf3.S: Likewise.
4448 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4449 * config/arc/ieee-754/fixsfsi.S: Likewise.
4450 * config/arc/ieee-754/gtsf2.S: Likewise.
4451 * config/arc/ieee-754/floatsisf.S: Likewise.
4452 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4453 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4454 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4455 * config/arc/ieee-754/fixdfsi.S: Likewise.
4456 * config/arc/ieee-754/addsf3.S: Likewise.
4457 * config/arc/ieee-754/gesf2.S: Likewise.
4458 * config/arc/ieee-754/floatsidf.S: Likewise.
4459 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4460 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4461 * config/arc/ieee-754/gtdf2.S: Likewise.
4462 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4463 * config/arc/ieee-754/uneqdf2.S: Likewise.
4464 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4465 * config/arc/ieee-754/uneqsf2.S: Likewise.
4466 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4467 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4468 * config/arc/ieee-754/eqdf2.S: Likewise.
4469 * config/arc/ieee-754/ordsf2.S: Likewise.
4470 * config/arc/ieee-754/divsf3.S: Likewise.
4471 * config/arc/ieee-754/divdf3.S: Likewise.
4472 * config/arc/ieee-754/floatunsidf.S: Likewise.
4473 * config/arc/ieee-754/orddf2.S: Likewise.
4474 * config/arc/ieee-754/eqsf2.S: Likewise.
4475 * config/arc/ieee-754/gedf2.S: Likewise.
4476 * config/arc/crtn.S: Likewise.
4477 * config/arc/crti.S: Likewise.
4478 * config/arc/t-arc700-uClibc: Likewise.
4479 * config/arc/asm.h: Likewise.
4480 * config/arc/libgcc-excl.ver: Likewise.
4481 * config/arc/t-arc-newlib: Likewise.
4482 * config/arc/divtab-arc700.c: Likewise.
4483 * config/arc/initfini.c: Likewise.
4484 * config/arc/fp-hack.h: Likewise.
4485
8abf21c0 44862013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4487 Diego Novillo <dnovillo@google.com>
4488
4489 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
29941397 4490 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4491 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4492 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8abf21c0 4493
8eaaaea3 44942013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4495 Brendan Kehoe <brendan@zen.org>
4496 Simon Cook <simon.cook@embecosm.com>
4497
4498 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4499 * config/arc: New directory.
4500 * longlong.h [__arc__] (umul_ppmm): Remove.
4501 [__arc__] (__umulsidi3): Define.
4502 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4503 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4504
5d7073ff 45052013-09-17 Jacek Caban <jacek@codeweavers.com>
4506
4507 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4508 CreateSemaphoreA.
4509 * config/i386/gthr-win32.h: Likewise.
4510
c5a0ae5e 45112013-09-16 DJ Delorie <dj@redhat.com>
4512
3feee9ae 4513 * config/rl78/vregs.h: Add G10 register definitions.
c5a0ae5e 4514 * config/rl78/lib2mul.c: Enable for RL78/G10.
4515 * config/rl78/lib2div.c: Likewise.
4516 * config/rl78/lshrsi3.S: Use vregs.h.
4517 * config/rl78/cmpsi2.S: Likewise.
4518 * config/rl78/trampoline.S: Likewise.
4519 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4520
03223f89 45212013-09-14 DJ Delorie <dj@redhat.com>
4522 Nick Clifton <nickc@redhat.com>
4523
4524 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4525 * config/rl78/vregs.h: New.
4526 * config/rl78/signbit.S: New file. Implements signbit function.
4527 * config/rl78/divmodsi.S: New.
4528 * config/rl78/divmodhi.S: New.
4529 * config/rl78/divmodqi.S: New.
4530 * config/rl78/t-rl78: Build them here...
4531 * config/rl78/lib2div.c: ...but not here.
4532
e4a25868 45332013-09-12 DJ Delorie <dj@redhat.com>
4534
4535 * config.host (msp*-*-elf): New.
4536 * config/msp430/: New port.
4537
f5f1a747 45382013-08-18 Iain Sandoe <iain@codesourcery.com>
4539
4540 PR gcov-profile/58127
4541 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4542 __thread var for emulated TLS.
4543 (__gcov_indirect_call_counters): Likewise.
4544
272552a3 45452013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
ea151fae 4546 Catherine Moore <clm@codesourcery.com>
92e91d03 4547 Richard Sandiford <rdsandiford@googlemail.com>
272552a3 4548
4549 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4550 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4551 (CALL_STUB_NO_RET): Likewise.
4552 (CALL_STUB_RET): Likewise.
4553 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4554 __mips16_ret call/return stub symbols.
4555 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4556 to tmake_file.
4557
26865d30 45582013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4559
4560 * config.host <mips*-*-linux*>: Remove a stray comment.
4561
4771c0ac 45622013-08-10 Jan Hubicka <jh@suse.cz>
4563
4564 Work around binutils PR14342
4565 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4566 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4567 (L_gcov_indirect_call_profiler_v2): New.
4568
fe37be54 45692013-08-06 Jan Hubicka <jh@suse.cz>
4570
4571 * libgcov.c (__gcov_indirect_call_callee,
4572 __gcov_indirect_call_counters): New global vars.
4573 (__gcov_indirect_call_profiler): replace by ...
4574 (__gcov_indirect_call_profiler_v2) ... this one.
4575
b710ec85 45762013-08-06 Caroline Tice <cmtice@google.com>
4577
62257207 4578 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
b710ec85 4579 vtv_start_preinit.o and vtv_end_preinit.o.
62257207 4580 * configure.ac: Add code to check/set enable_vtable_verify.
4581 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
b710ec85 4582 true.
62257207 4583 * vtv_start_preinit.c: New file.
4584 * vtv_end_preinit.c: New file.
4585 * vtv_start.c: New file.
4586 * vtv_end.c: New file.
4587 * configure: Regenerated.
b710ec85 4588
98997678 45892013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4590
4591 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4592 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4593 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4594 GPL-3.0-with-GCC-exception.
4595
b26b6f0d 45962013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4597
4598 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4599 ISA and up.
4600
e6270f6f 46012013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4602
4603 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4604 mapping for FPRs when creating the fallback framestate.
4605
fdbf5b19 46062013-07-19 Georg-Johann Lay <avr@gjlay.de>
4607
4608 PR target/57516
4609 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4610 (__round_s2_const, __round_u2_const)
4611 (__round_s4_const, __round_u4_const, __round_x8):
4612 Saturate result if addition result cannot be represented.
4613
6dcb849c 46142013-07-15 Matthias Klose <doko@ubuntu.com>
4615
4616 * libgcc2.c: Don't include <limits.h>.
4617
16348e18 46182013-07-09 Janis Johnson <janisjo@codesourcery.com>
4619
4620 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4621
64b5be08 46222013-07-06 Jakub Jelinek <jakub@redhat.com>
4623
4624 PR target/29776
4625 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4626
68a09193 46272013-06-28 Jakub Jelinek <jakub@redhat.com>
4628
4629 PR middle-end/36041
4630 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4631 Define.
4632 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4633 instead of table lookups.
4634 (__popcountDI2): Likewise.
4635
5fe358df 46362013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4637
4638 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4639 correctly.
4640
2511e9f1 46412013-06-21 Joseph Myers <joseph@codesourcery.com>
4642
4643 PR other/53317
4644 * soft-fp/adddf3.c: Update from glibc.
4645 * soft-fp/addsf3.c: Likewise.
4646 * soft-fp/addtf3.c: Likewise.
4647 * soft-fp/divdf3.c: Likewise.
4648 * soft-fp/divsf3.c: Likewise.
4649 * soft-fp/divtf3.c: Likewise.
4650 * soft-fp/double.h: Likewise.
4651 * soft-fp/eqdf2.c: Likewise.
4652 * soft-fp/eqsf2.c: Likewise.
4653 * soft-fp/eqtf2.c: Likewise.
4654 * soft-fp/extenddftf2.c: Likewise.
4655 * soft-fp/extended.h: Likewise.
4656 * soft-fp/extendsfdf2.c: Likewise.
4657 * soft-fp/extendsftf2.c: Likewise.
4658 * soft-fp/fixdfdi.c: Likewise.
4659 * soft-fp/fixdfsi.c: Likewise.
4660 * soft-fp/fixsfdi.c: Likewise.
4661 * soft-fp/fixsfsi.c: Likewise.
4662 * soft-fp/fixtfdi.c: Likewise.
4663 * soft-fp/fixtfsi.c: Likewise.
4664 * soft-fp/fixunsdfdi.c: Likewise.
4665 * soft-fp/fixunsdfsi.c: Likewise.
4666 * soft-fp/fixunssfdi.c: Likewise.
4667 * soft-fp/fixunssfsi.c: Likewise.
4668 * soft-fp/fixunstfdi.c: Likewise.
4669 * soft-fp/fixunstfsi.c: Likewise.
4670 * soft-fp/floatdidf.c: Likewise.
4671 * soft-fp/floatdisf.c: Likewise.
4672 * soft-fp/floatditf.c: Likewise.
4673 * soft-fp/floatsidf.c: Likewise.
4674 * soft-fp/floatsisf.c: Likewise.
4675 * soft-fp/floatsitf.c: Likewise.
4676 * soft-fp/floatundidf.c: Likewise.
4677 * soft-fp/floatundisf.c: Likewise.
4678 * soft-fp/floatunditf.c: Likewise.
4679 * soft-fp/floatunsidf.c: Likewise.
4680 * soft-fp/floatunsisf.c: Likewise.
4681 * soft-fp/floatunsitf.c: Likewise.
4682 * soft-fp/gedf2.c: Likewise.
4683 * soft-fp/gesf2.c: Likewise.
4684 * soft-fp/getf2.c: Likewise.
4685 * soft-fp/ledf2.c: Likewise.
4686 * soft-fp/lesf2.c: Likewise.
4687 * soft-fp/letf2.c: Likewise.
4688 * soft-fp/muldf3.c: Likewise.
4689 * soft-fp/mulsf3.c: Likewise.
4690 * soft-fp/multf3.c: Likewise.
4691 * soft-fp/negdf2.c: Likewise.
4692 * soft-fp/negsf2.c: Likewise.
4693 * soft-fp/negtf2.c: Likewise.
4694 * soft-fp/op-1.h: Likewise.
4695 * soft-fp/op-2.h: Likewise.
4696 * soft-fp/op-4.h: Likewise.
4697 * soft-fp/op-8.h: Likewise.
4698 * soft-fp/op-common.h: Likewise.
4699 * soft-fp/quad.h: Likewise.
4700 * soft-fp/single.h: Likewise.
4701 * soft-fp/soft-fp.h: Likewise.
4702 * soft-fp/subdf3.c: Likewise.
4703 * soft-fp/subsf3.c: Likewise.
4704 * soft-fp/subtf3.c: Likewise.
4705 * soft-fp/truncdfsf2.c: Likewise.
4706 * soft-fp/trunctfdf2.c: Likewise.
4707 * soft-fp/trunctfsf2.c: Likewise.
4708 * soft-fp/unorddf2.c: Likewise.
4709 * soft-fp/unordsf2.c: Likewise.
4710 * soft-fp/unordtf2.c: Likewise.
4711 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4712 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4713 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4714 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4715 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4716 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4717 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4718 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4719 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4720 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4721 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4722 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4723
0b4e9fcd 47242013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4725
4726 * config/mips/lib2funcs.c: New file.
4727 * config/mips/t-mips (LIB2ADD_ST): Add it.
4728
fe9c9e23 47292013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4730
4731 PR target/6526
4732 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4733 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4734
1c229e23 47352013-06-08 Walter Lee <walt@tilera.com>
4736
4737 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4738 Replace int64_t with long long. Add __extension__ where
4739 appropriate.
4740 * config/tilepro/atomic.c: Include config.h.
4741
1a7dfb13 47422013-06-06 Douglas B Rupp <rupp@adacore.com>
4743
4744 * config.host (arm-wrs-vxworks): Configure with other soft float.
4745
60b34f30 47462013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4747
4748 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4749 (mips64r5900el-*-elf*): New configurations.
4750
ebe9cbdb 47512013-06-04 Alan Modra <amodra@gmail.com>
4752
4753 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4754
fbcee6d1 47552013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4756
4757 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4758
aad33226 47592013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4760
4761 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4762 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4763 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4764
47ab8c10 47652013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4766
4767 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4768 (powerpc-wrs-vxworks): Likewise.
4769
34a60aa2 47702013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4771
4772 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4773 signal frames as well.
4774 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4775 STACK_BIAS to the CFA offset.
4776
be82f7a8 47772013-05-17 Richard Henderson <rth@redhat.com>
4778
4779 PR target/49146
4780 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4781 (execute_cfa_program): Use it when storing to fs->regs.
4782
bd89d2b6 47832013-05-08 Kai Tietz <ktietz@redhat.com>
4784
4785 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4786 (__deregister_frame_info): Likewise.
4787
9e849aff 47882013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4789
dfa9a36a 4790 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4791 NaN's payload.
4792
9e849aff 4793 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4794
d80dc920 47952013-04-25 Alan Modra <amodra@gmail.com>
4796
4797 * config.host: Match little-endian powerpc-linux.
4798
d359df0c 47992013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4800
4801 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4802 as 'unsigned long long' instead of 'unsigned long'.
4803 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4804 'signed long'.
4805
912507e5 48062013-04-10 Julian Brown <julian@codesourcery.com>
4807
4808 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4809 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4810 unsigned char/unsigned short.
4811 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4812
9dafcef4 48132013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4814
4815 PR other/55274
4816 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4817
11bec6e6 48182013-04-04 Meador Inge <meadori@codesourcery.com>
4819
4820 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4821 computing the location of the link register.
4822 (aeabi_uldivmod): Ditto.
4823
45d13ef4 48242013-03-27 Kai Tietz <ktietz@redhat.com>
4825
4826 * config.host: Add support for cygwin x64 target.
4827 * configure: Regenerated.
4828
cad8262b 48292013-03-26 Walter Lee <walt@tilera.com>
4830
4831 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4832 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4833
d2adc174 48342013-03-25 Kai Tietz <ktietz@redhat.com>
4835
4836 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4837
a5487e41 48382013-03-20 Robert Mason <rbmj@verizon.net>
4839
4840 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4841 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4842 (__gthread_leave_tsd_dtor_context): Add prototypes.
4843 (tls_delete_hook): Update.
4844
ff9c1bc1 48452013-03-20 Catherine Moore <clm@codesourcery.com>
4846 Joseph Myers <joseph@codesourcery.com>
4847 Chao-ying Fu <fu@mips.com>
4848
4849 * config/mips/mips16.S: Don't build for microMIPS.
4850 * config/mips/linux-unwind.h: Handle microMIPS frame.
4851 * config/mips/crtn.S (fini, init): New labels.
4852
228bf2b8 48532013-03-14 Jakub Jelinek <jakub@redhat.com>
4854
4855 PR tree-optimization/53265
4856 * unwind-dw2.c (execute_cfa_program): Avoid
4857 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4858 on targets with DWARF_FRAME_REGISTERS < 32.
4859
bb057878 48602013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4861
4862 PR target/49880
4863 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4864 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4865
a1b2a524 48662013-03-07 Sriraman Tallam <tmsriram@google.com>
4867
4868 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4869 sandybridge processors.
4870
9fe603c3 48712013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4872
4873 PR target/56529
4874 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4875 inclusion list.
4876
21ebaa24 48772013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
02f4bd0d 4878
4879 * config/microblaze/crti.S: Setup stack protection at entry
4880
958069e9 48812013-03-04 Georg-Johann Lay <avr@gjlay.de>
4882
4883 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4884 (__rotldi3): Shift bytewise if applicable.
4885
49be16da 48862013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4887
4888 * config/aarch64/sync-cache.c
4889 (__aarch64_sync_cache_range): Silence warnings.
4890
ca7a473f 48912013-02-25 Catherine Moore <clm@codesourcery.com>
4892
4893 Revert:
4894 2013-02-24 Catherine Moore <clm@codesourcery.com>
4895 Joseph Myers <joseph@codesourcery.com>
4896 Chao-ying Fu <fu@mips.com>
4897
4898 * config/mips/mips16.S: Don't build for microMIPS.
4899 * config/mips/linux-unwind.h: Handle microMIPS frame.
4900 * config/mips/crtn.S (fini, init): New labels.
4901
7fd93f9c 49022013-02-24 Catherine Moore <clm@codesourcery.com>
4903 Joseph Myers <joseph@codesourcery.com>
4904 Chao-ying Fu <fu@mips.com>
4905
4906 * config/mips/mips16.S: Don't build for microMIPS.
4907 * config/mips/linux-unwind.h: Handle microMIPS frame.
4908 * config/mips/crtn.S (fini, init): New labels.
4909
1859244f 49102012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
005a5ef5 4911 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1859244f 4912 as dividend.
4913
2a0bfd56 49142013-02-16 Alan Modra <amodra@gmail.com>
4915
4916 PR target/55431
4917 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4918 (ppc_fallback_frame_state): Always set up save locations for fp
4919 and altivec. Don't bother with non-callee-saved regs, r0-r13
4920 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4921
cfbcb7d5 49222013-02-12 Georg-Johann Lay <avr@gjlay.de>
4923
4924 PR target/54222
4925 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4926 _ssmulHA, _ssmulSA.
4927 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4928 _ssmulha3, _usmulusa3, _ssmulsa3.
4929 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4930 (__muldi3): XCALL __muldi3_6 instead of rcall.
4931 (__umulsidi3, __mulsidi3): New functions.
4932 (do_prologue_saves, do_epilogue_restores): New .macros.
4933 (__divdi3_moddi3): Use them.
4934 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4935 (__usmulusa3, __ssmulsa3): New functions.
4936
48b8e70a 49372013-02-11 Iain Sandoe <iain@codesourcery.com>
4938 Jack Howarth <howarth@bromo.med.uc.edu>
4939 Patrick Marlier <patrick.marlier@gmail.com>
4940
4941 PR libitm/55693
4942 * config/darwin-crt-tm.c: Remove dummy functions hack.
4943
eafea251 49442013-02-08 Georg-Johann Lay <avr@gjlay.de>
4945
4946 PR target/54222
4947 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4948 * config/avr/lib2-object.mk: New iterator to build objects from it.
4949 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4950 lib2funcs.c.
4951 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4952 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4953 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4954 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4955 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4956 * config/avr/lib1funcs-fixed.S: Implement them.
4957
64b7b462 49582013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4959
4960 Update copyright years.
4961
a8af2dd5 49622013-02-01 David Edelsohn <dje.gcc@gmail.com>
4963
4964 PR target/54601
4965 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4966 Add crtcxa to extra_parts.
4967 * config/rs6000/exit.h: New file.
4968 * config/rs6000/cxa_atexit.c: New file.
4969 * config/rs6000/cxa_finalize.c: New file.
4970 * config/rs6000/crtcxa.c: New file.
4971 * config/rs6000/t-aix-cxa: New file.
4972 * config/rs6000/libgcc-aix-cxa.ver: New file.
4973
9a5788ea 49742013-01-31 Nick Clifton <nickc@redhat.com>
4975
4976 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4977 variant.
4978
63c85bd5 49792013-01-29 Georg-Johann Lay <avr@gjlay.de>
4980
4981 PR target/54222
4982 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4983 _mulQQ, _mulHQ, _mulHA, _mulSA,
4984 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4985 _divQQ, _divHQ, _divHA, _divSA,
4986 _divUQQ, _divUHQ, _divUHA, _divUSA.
4987
21ebaa24 49882013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
c48df545 4989
9a5788ea 4990 * config.host(microblaze*-linux*): tmake_file: Remove
c48df545 4991 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4992 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4993 to exclude functions from being built with libgcc.c and use
4994 the microblaze assembly.
4995
21ebaa24 49962013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
98f2ac05 4997
4998 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4999 extra_parts.
5000
ee4d7d9e 50012013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5002
5003 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5004 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5005 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5006 alignment operation.
5007
7deea711 50082013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5009
5010 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5011 loop start address for cache clearing.
5012
0dff9558 50132013-01-14 Georg-Johann Lay <avr@gjlay.de>
5014
5015 * config/avr/lib1funcs.S: Remove trailing blanks.
5016 * config/avr/lib1funcs-fixed.S: Ditto.
5017
d8ff1e9a 50182013-01-14 Georg-Johann Lay <avr@gjlay.de>
5019
5020 * config/avr/avr-lib.h: Add GPL copyright notice.
5021
dd509879 50222013-01-14 Georg-Johann Lay <avr@gjlay.de>
5023
5024 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5025 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5026 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5027 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5028
6e029611 50292013-01-07 Mark Kettenis <kettenis@openbsd.org>
5030
5031 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5032 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
51918e06 5033
409ad634 50342013-01-04 Nick Clifton <nickc@redhat.com>
5035
5036 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5037 the CALLT instruction is supported.
5038
1d384e02 50392012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5040
5041 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5042 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5043
cc4b03ac 50442012-12-13 John Tytgat <John@bass-software.com>
5045
5046 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5047 is 25.
5048
990457e2 50492012-12-12 Jakub Jelinek <jakub@redhat.com>
5050
5051 PR libgcc/55451
5052 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5053 undefined signed overflows.
5054
db6a9a70 50552012-12-09 Uros Bizjak <ubizjak@gmail.com>
5056
5057 PR target/55344
5058 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5059
038a6cd9 50602012-12-06 Uros Bizjak <ubizjak@gmail.com>
5061
5062 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5063 (FP_TRAPPING_EXCEPTIONS): Define.
5064 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5065 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5066
ef5f15fb 50672012-12-04 Richard Henderson <rth@redhat.com>
5068
5069 PR bootstrap/55571
5070 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5071
92e91d03 50722012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
09ef8b8d 5073
038a6cd9 5074 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
09ef8b8d 5075 (FP_EX_SHIFT): Define.
5076 (FP_TRAPPING_EXCEPTIONS): Define.
5077
92e91d03 50782012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1caca546 5079
5080 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5081 (FP_ROUNDMODE): Use FP_RND_MASK.
5082 * config/aarch64/sfp-exceptions.c: New.
5083 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5084 Use __sfp_handle_exceptions.
5085
6a11e52b 50862012-12-04 Richard Earnshaw <rearnsha@arm.com>
5087
5088 * config.host: (arm*-*-freebsd*): Remove.
5089 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5090 (arm*-*-elf*): Remove.
5091 (arm*-*-wince-pe*): Remove.
5092 * arm/unwind-arm.c (struct fpa_reg): Delete.
5093 (struct fpa_regs): Delete.
5094 (phase1_vrs): Remove fpa element.
5095 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5096 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5097 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5098 * ieee754-sf.S (floatundisf): Remove FPA support.
5099 (floatdisf): Likewise.
5100 * ieee75f-df.S (floatundidf): Likewise.
5101 (floatdidf): Likewise.
5102
a92cf445 51032012-11-29 Kai Tietz <ktietz@redhat.com>
5104
5105 PR target/55445
5106 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5107 * unwind-generic.h: Likewise.
5108 * unwind-seh.c: Likewise.
5109
f0b6dfa6 51102012-11-28 Richard Henderson <rth@redhat.com>
5111
5112 PR libgcc/48076
5113 * emutls.c (__emutls_get_address): Avoid race condition between
5114 obj->loc.offset read and emutls_key initialization.
038a6cd9 5115
c8ec4eb6 51162012-11-22 Georg-Johann Lay <avr@gjlay.de>
5117
5118 Adjust decimal point of signed accum mode to GCC default.
5119
5120 PR target/54222
5121 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5122 _divqq_helper.
5123 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5124 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5125 (__mulha3, __mulsa3)
5126 (__divqq3, __divha3, __divsa3): Adjust to new position of
038a6cd9 5127 decimal point of signed accum types.
5128
c8ec4eb6 5129 (__mulusa3_round): New function.
5130 (__mulusa3): Use it.
5131 (__divqq_helper): New function.
5132 (__udivuqq3): Use it.
5133
ca8c4cb9 51342012-11-20 Jakub Jelinek <jakub@redhat.com>
5135
5136 PR bootstrap/55370
5137 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5138
5d2fca09 51392012-11-18 Teresa Johnson <tejohnson@google.com>
5140
5141 PR bootstrap/55051
5142 * libgcov.c (gcov_exit): Remove merged program summary
5143 comparison unless !GCOV_LOCKED.
5144
92e91d03 51452012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
bfc20a3e 5146
5147 * soft-fp: Updated from glibc upstream.
5148
20f6e7a3 51492012-11-06 Ian Lance Taylor <iant@google.com>
5150
5151 * generic-morestack.c (__generic_morestack): Align the returned
5152 stack pointer to a 32 byte boundary.
5153 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5154 increment the return address until we have decided that we don't
5155 have a varargs function.
5156 (__morestack) [32-bit]: Align stack correctly when calling C
5157 functions.
5158 (__morestack) [64-bit]: Likewise.
5159
97bd2465 51602012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5161
5162 * configure: Regenerate.
5163
d152ae90 51642012-11-02 Uros Bizjak <ubizjak@gmail.com>
5165
5166 PR target/55175
5167 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5168 * config/i386/sfp-machine.h: Guard exception handling
5169 code with _SOFT_FLOAT.
5170 * config/i386/32/sfp-machine.h: Guard rounding handling
5171 code with _SOFT_FLOAT.
5172 * config/i386/64/sfp-machine.h: Ditto.
5173
0cd8c088 51742012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5175
5176 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5177 as extra_parts.
5178
113702f6 51792012-10-26 Uros Bizjak <ubizjak@gmail.com>
5180
5181 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5182 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5183 when appropriate. Correct structure element types.
5184 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5185 -minline-all-stringops from compile flags.
5186
92e91d03 51872012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
00b706f9 5188
5189 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5190
92e91d03 51912012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
57380e33 5192
113702f6 5193 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
57380e33 5194
a2397d15 51952012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5196
5197 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5198 tmake_file.
5199
1b3d2097 52002012-10-23 Ian Bolton <ian.bolton@arm.com>
5201 Jim MacArthur <jim.macarthur@arm.com>
5202 Marcus Shawcroft <marcus.shawcroft@arm.com>
5203 Nigel Stephens <nigel.stephens@arm.com>
5204 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5205 Richard Earnshaw <rearnsha@arm.com>
5206 Sofiane Naci <sofiane.naci@arm.com>
5207 Stephen Thomas <stephen.thomas@arm.com>
5208 Tejas Belagod <tejas.belagod@arm.com>
5209 Yufeng Zhang <yufeng.zhang@arm.com>
5210
5211 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5212 * config/aarch64/crti.S: New file.
5213 * config/aarch64/crtn.S: New file.
5214 * config/aarch64/linux-unwind.h: New file.
5215 * config/aarch64/sfp-machine.h: New file.
5216 * config/aarch64/sync-cache.c: New file.
5217 * config/aarch64/t-aarch64: New file.
5218 * config/aarch64/t-softfp: New file.
5219
cfdcf688 52202012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5221
5222 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5223 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5224 no-longer-needed LDBU insns.
5225
92e91d03 52262012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
598ebe3d 5227
5228 * config.host
5229 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5230 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5231
530c2b2e 52322012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5233
5234 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5235
f49eb158 52362012-10-15 Matthias Klose <doko@ubuntu.com>
5237
5238 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5239
017f22df 52402012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5241
5242 * configure: Regenerate.
5243 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5244
da8b7497 52452012-10-10 Uros Bizjak <ubizjak@gmail.com>
5246
5247 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5248 instructions for 64bit targets only.
5249
19a23012 52502012-10-10 Uros Bizjak <ubizjak@gmail.com>
5251
5252 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5253 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5254 * config/i386/32/sfp-machine.h: ... here.
5255 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5256 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5257 New defines.
5258
a32dc74a 52592012-10-07 Matthias Klose <doko@ubuntu.com>
5260
5261 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5262 as unused.
5263 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5264
81ae3d37 52652012-10-06 Mark Kettenis <kettenis@openbsd.org>
5266
5267 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5268 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5269 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5270 (ElfW): Likewise.
5271
4e6a7cfc 52722012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5273
5274 PR other/53889
5275 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5276 Fix parameter names.
5277
7cc401e3 52782012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5279
5280 PR target/33135
5281 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5282 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5283 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5284
cfaba078 52852012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5286
5287 PR target/50457
5288 * config/sh/linux-atomic.S: Delete.
5289 * config/sh/linux-atomic.c: New.
5290 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5291 linux-atomic.c. Add cflags to disable warnings.
5292
4854adab 52932012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5294
5295 PR other/53889
5296 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5297 function.
5298 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5299 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5300 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5301 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4e6a7cfc 5302 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5303 Likewise.
4854adab 5304 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5305 Likewise.
5306 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5307 Likewise.
5308 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5309 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5310
07cf7615 53112012-09-19 Mark Kettenis <kettenis@openbsd.org>
5312
cfaba078 5313 * config.host (hppa-*-openbsd*): New target.
5314 * config/pa/t-openbsd: New file.
07cf7615 5315
b4ebb666 53162012-09-15 Georg-Johann Lay <avr@gjlay.de>
5317
5318 PR target/54222
5319 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5320 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5321 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5322 (__divsa3): Use __negsi2 to negate r_quoL.
5323 * config/avr/lib1funcs.S (FALIAS): New macro.
5324 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5325 (__negsi2): ...this new function.
5326 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5327 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5328 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5329 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5330 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5331 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5332
6e7c6395 53332012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5334
5335 PR target/54089
5336 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5337 (lshrsi3): Reimplement as lshrsi3_r0.
5338
5e847ded 53392012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5340
5341 PR target/46191
5342 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5343 of libgcc.a.
5344
7995ce5f 53452012-09-07 Teresa Johnson <tejohnson@google.com>
5346
cfaba078 5347 PR gcov-profile/54487
7995ce5f 5348 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
cfaba078 5349 differences.
7995ce5f 5350
fd28e216 53512012-09-05 Georg-Johann Lay <avr@gjlay.de>
5352
5353 PR target/54461
5354 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5355 not configured --with-avrlibc=no.
5356 * config/avr/t-avrlibc: New file.
5357 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5358 (DPBIT_FUNCS): Ditto.
5359 (TPBIT_FUNCS): Ditto.
5360
2688cb90 53612012-09-04 Teresa Johnson <tejohnson@google.com>
5362
5363 * libgcov.c (struct gcov_summary_buffer): New structure.
5364 (gcov_histogram_insert): New function.
5365 (gcov_compute_histogram): Ditto.
5366 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5367 histograms during summary merging.
5368
51796b3a 53692012-09-01 Mark Kettenis <kettenis@openbsd.org>
5370
5371 * config.host (x86_64-*-openbsd*): New target.
d152ae90 5372
d36db932 53732012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5374
5375 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5376 attribute.
5377
d87654c8 53782012-08-24 Georg-Johann Lay <avr@gjlay.de>
5379
5380 PR target/54222
5381 * config/avr/t-avr (conv_X): Rename to func_X.
5382
017c5b98 53832012-08-24 Georg-Johann Lay <avr@gjlay.de>
5384
5385 PR target/54222
5386 * config/avr/lib1funcs-fixed.S: New file.
5387 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5388 after they are used.
5389 (neg2, neg4): New macros.
5390 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5391 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5392 (__umulhisi3): Speed up MUL variant if there is enough flash.
5393 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5394 avr-modes.def.
5395 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5396 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5397 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5398 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5399 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5400 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5401 (LIB2FUNCS_EXCLUDE): Add supported functions.
5402
65bcd545 54032012-08-22 Georg-Johann Lay <avr@gjlay.de>
5404
5405 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5406 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5407 libgcc-s-objects.
5408 * fixed-obj.mk: Only expand dependency if $o is not in
5409 LIB2FUNCS_EXCLUDE.
5410
39166195 54112012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5412
5413 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5414
b78f422e 54152012-08-22 Joseph Myers <joseph@codesourcery.com>
5416
5417 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5418 depend on --enable-shared.
5419 ($(lib1asmfuncs-o)): Use %.vis files independent of
5420 --enable-shared.
5421 * static-object.mk ($(base)$(objext), $(base).vis)
5422 ($(base)_s$(objext)): Use same rules for visibility handling as in
5423 shared-object.mk.
5424
66ef0f44 54252012-08-21 Ian Lance Taylor <iant@google.com>
5426
5427 * config/i386/morestack.S (__morestack_non_split): Increase amount
5428 of space allocated for non-split code stack.
5429
93547515 54302012-08-19 Joseph Myers <joseph@codesourcery.com>
5431
5432 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5433 even if inhibit_libc.
5434
98d22b3c 54352012-08-17 Julian Brown <julian@codesourcery.com>
5436
5437 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5438 -fexceptions -fnon-call-exceptions if not defined.
5439 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5440 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5441
2076ec4b 54422012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5443
5444 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5445 type.
5446
c1420b84 54472012-08-16 David Edelsohn <dje.gcc@gmail.com>
5448
5449 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5450 rs6000/t-slibgcc-aix.
5451
ae5b70d0 54522012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5453
5454 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5455
4ff70f1c 54562012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5457
5458 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5459
464810a0 54602012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5461
5462 PR driver/54171
5463 * Makefile.in (version): Replace top_srcdir with srcdir.
5464
d2c6da38 54652012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5466
5467 * Makefile.in (version): set to BASE-VER file from gcc directory.
5468
a575acb2 54692012-08-01 Nick Clifton <nickc@redhat.com>
5470
5471 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5472 Implements __clrsb for an HImode argument.
5473
3a44f5e6 54742012-07-31 Nick Clifton <nickc@redhat.com>
5475
5476 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5477 Implements __clrsb for an HImode argument.
5478 * config/stormy16/clrsbhi2.c: New file:
5479 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5480
56b17dd7 54812012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5482
5483 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5484
8ad0b530 54852012-07-19 Tristan Gingold <gingold@adacore.com>
5486 Richard Henderson <rth@redhat.com>
5487
5488 * unwind-seh.c: New file.
5489 * unwind-generic.h: Include windows.h for SEH.
5490 (_Unwind_Exception): Use 6 private fields for SEH.
5491 (_GCC_specific_handler): Declare.
5492 * unwind-c.c (__gcc_personality_seh0): New function.
5493 Adjust for SEH.
5494 * config/i386/libgcc-cygming.ver: New file.
5495 * config/i386/t-seh-eh: New file.
5496 * config.host (x86_64-*-mingw*): Default to seh.
5497
017bf976 54982012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5499
5500 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5501
6f24586e 55022012-06-17 Uros Bizjak <ubizjak@gmail.com>
5503
5504 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5505 __builtin_expect when checking for exceptions.
5506 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5507
1927db1f 55082012-06-13 Uros Bizjak <ubizjak@gmail.com>
5509
7b9088d5 5510 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5511 function declaration.
5512 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5513 (FP_RND_MASK): New.
5514 * config/ia64/sfp-exceptions.c: New.
5515 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1927db1f 5516
c3576308 55172012-06-13 Uros Bizjak <ubizjak@gmail.com>
5518
5519 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5520 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5521 * config/i386/64/sfp-machine: ... (delete here) ...
5522 * config/i386/sfp-machine.h: ... to here.
5523 (FP_EX_MASK): Remove.
5524 (FP_RND_MASK): New.
5525 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5526
725b956c 55272012-06-11 Sriraman Tallam <tmsriram@google.com>
5528
5529 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5530 * config/i386/libgcc-sol2.ver: Ditto.
5531 * config/i386/libgcc-glibc.ver: Ditto.
5532
026e608e 55332012-06-11 Roland McGrath <mcgrathr@google.com>
5534
5535 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5536 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5537 pthread_cancel.
5538
2c223cf2 55392012-06-09 Uros Bizjak <ubizjak@gmail.com>
5540
5541 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5542 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5543 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5544 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5545 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5546 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5547 * config/i386/64/sfp-machine: ... (delete here) ...
5548 * config/i386/sfp-machine.h: ... to here.
5549 (FP_EX_MASK): New.
5550 (__sfp_handle_exceptions): New function declaration.
5551 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5552 * config/i386/sfp-exceptions.c: New.
5553 * config/i386/t-softfp: New.
5554 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5555 i386/t-softfp to tmake_file.
5556
620803f2 55572012-06-03 David S. Miller <davem@davemloft.net>
5558
5559 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5560 change.
5561
38ef0978 55622012-05-31 David S. Miller <davem@davemloft.net>
5563
5564 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5565 multiply and divide instructions on 32-bit when V9.
5566 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5567
e1c346e5 55682012-05-29 Joseph Myers <joseph@codesourcery.com>
5569
5570 * config/arm/ieee754-df.S: Fix typos.
5571 * config/arm/ieee754-sf.S: Fix typos.
5572 * config/c6x/libunwind.S: Fix typos.
5573 * config/epiphany/udivsi3-float.c: Fix typos.
5574 * config/microblaze/muldi3_hard.S: Fix typos.
5575 * config/picochip/adddi3.S: Fix typos.
5576 * config/picochip/ashlsi3.S: Fix typos.
5577 * config/picochip/ashrsi3.S: Fix typos.
5578 * config/picochip/clzsi2.S: Fix typos.
5579 * config/picochip/cmpsi2.S: Fix typos.
5580 * config/picochip/divmod15.S: Fix typos.
5581 * config/picochip/divmodhi4.S: Fix typos.
5582 * config/picochip/divmodsi4.S: Fix typos.
5583 * config/picochip/longjmp.S: Fix typos.
5584 * config/picochip/lshrsi3.S: Fix typos.
5585 * config/picochip/parityhi2.S: Fix typos.
5586 * config/picochip/popcounthi2.S: Fix typos.
5587 * config/picochip/setjmp.S: Fix typos.
5588 * config/picochip/subdi3.S: Fix typos.
5589 * config/picochip/ucmpsi2.S: Fix typos.
5590 * config/picochip/udivmodhi4.S: Fix typos.
5591 * config/picochip/udivmodsi4.S: Fix typos.
5592 * config/spu/divv2df3.c: Fix typos.
5593 * config/spu/mfc_multi_tag_release.c: Fix typos.
5594 * config/spu/mfc_tag_release.c: Fix typos.
5595 * configure.ac: Fix typos.
5596 * configure: Regenerate.
5597
4bb0c596 55982012-05-25 Ian Lance Taylor <iant@google.com>
5599
5600 * config/i386/morestack.S (__morestack_non_split): Check whether
5601 caller is varargs and needs %bp to hold the stack frame on return.
5602
05b6028a 56032012-05-25 Olivier Hainque <hainque@adacore.com>
5604
5605 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5606 sequence in the non pic case on VxWorks.
5607
de055a8b 56082012-05-24 Olivier Hainque <hainque@adacore.com>
5609
05c265fe 5610 * Makefile.in: Move dependency on install-unwind_h from
de055a8b 5611 "install-leaf" to "install".
5612
511797dd 56132012-05-24 Olivier Hainque <hainque@adacore.com>
5614
5615 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5616 Use a separate command for stamp removals.
5617
c05436a7 56182012-05-21 Andrew Pinski <apinski@cavium.com>
5619
5620 PR bootstrap/53183
5621 * configure.ac: Define the default includes to being none.
5622 * configure: Regenerate.
5623
0e0bcebd 56242012-05-16 Olivier Hainque <hainque@adacore.com>
5625
5626 * Makefile.in (install-unwind_h): Rename into ...
5627 (install-unwind_h-forbuild): New target.
5628 (all): Use it instead of the former install-unwind_h.
5629 (install-unwind_h): Reinstate, copy to user install destination
5630 for include files, not to the internal gcc object directory one.
5631 (install-leaf): Depend on it.
5632
4ea72f7b 56332012-05-15 Olivier Hainque <hainque@adacore.com>
5634
5635 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5636 register numbers. LR_REGNO replaces R_LR.
5637 (ucontext_for): New, helper for ...
5638 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5639 and 5.3 of ...
5640 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5641
98c9b52b 56422012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5643
5644 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5645 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5646 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5647 i386/t-cpuinfo ...
5648 (i[34567]86-*-*, x86_64-*-*): ... here.
5649
5650 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5651 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5652
5653 * config/i386/i386-cpuinfo.c: Rename to ...
5654 * config/i386/cpuinfo.c: ... this.
5655 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5656
5657 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5658 (libgcc_cv_init_priority): New test.
5659 * configure: Regenerate.
5660 * config.in: New file.
5661 * Makefile.in (clean): Rename config.h to auto-target.h.
5662 (config.h): Likewise.
5663 (stamp-h): Likewise.
5664
5665 * config/i386/cpuinfo.c (auto-target.h): Include.
5666 (CONSTRUCTOR_PRIORITY): Define.
5667 (__cpu_indicator_init): Use it.
5668
a7534247 56692012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5670
5671 * longlong.h: Use a URL instead of an FSF postal address.
5672 Replace spaces with tab.
5673
7b9088d5 56742012-05-08 Teresa Johnson <tejohnson@google.com>
4ef7becb 5675
5676 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5677 (__gcov_dump): Ditto.
5678 (gcov_dump_complete): New global variable.
5679 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5680 (__gcov_flush): Outline functionality now in gcov_clear.
5681 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5682
416e60e6 56832012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5684
4bb0c596 5685 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5686 (mips*-*-linux*): Include mips/t-tpbit when long double is
5687 16 bytes long.
416e60e6 5688
d79cfc15 56892012-04-25 Sriraman Tallam <tmsriram@google.com>
5690
5691 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5692 (get_available_features): New argument. Check for AVX2.
5693 (__cpu_indicator_init): Modify call to get_available_features.
5694
cef20746 56952012-04-25 Alan Modra <amodra@gmail.com>
5696
5697 * config/rs6000/crtsavevr.S: New file.
5698 * config/rs6000/crtrestvr.S: New file.
5699 * config/rs6000/t-savresfgpr: Build the above.
5700 * config/rs6000/t-netbsd: Likewise.
5701
0a166714 57022012-04-24 Sriraman Tallam <tmsriram@google.com>
5703
5704 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5705
f0fd108f 57062012-04-24 Sriraman Tallam <tmsriram@google.com>
5707
5708 * libgcc/config/i386/i386-cpuinfo.c: New file.
5709 * libgcc/config/i386/t-cpuinfo: New file.
5710 * libgcc/config.host: Include t-cpuinfo.
5711 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5712
394bef3f 57132012-04-24 Chao-ying Fu <fu@mips.com>
5714
5715 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5716
5617a3db 57172012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5718
5719 struct siginfo vs. siginfo_t
5720
5721 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5722 siginfo_t instead of struct siginfo.
5723 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5724 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5725 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5726 (ia64_handle_unwabi): Likewise.
5727 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5728 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5729 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5730 (sh_fallback_frame_state): Likewise.
5731 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5732 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5733
49a280b5 57342012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5735
5736 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5737 system call number.
5738
6c760a69 57392012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5740
5741 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5742 if it hasn't been previously saved.
5743
59e4072c 57442012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5745
5746 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5747 only for glibc.
5748
d32d7e3a 57492012-03-28 Georg-Johann Lay <avr@gjlay.de>
5750
5751 PR target/52737
5752 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5753 instead of __AVR_HAVE_8BIT_SP__.
5754
6aadb6e2 57552012-03-26 Tristan Gingold <gingold@adacore.com>
5756
5757 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5758 (unw_table_entry): Use unw_word instead of unsigned long.
5759 (_Unwind_FindTableEntry): Likewise.
5760 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5761 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5762 (_Unwind_FindTableEntry): Likewise.
5763 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5764 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5765 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5766 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5767 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5768 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5769 (uw_init_context_1, uw_install_context): Likewise.
5770 (unw_word): Move to unwind-ia64.h
5771
784576c7 57722012-03-26 Tristan Gingold <gingold@adacore.com>
5773
5774 * config/vms/vms-ucrt0.c: Update copyright years.
5775 Add a sanity check.
5776 (___gcc_main_flags): Declare.
5777 (__main): Check flags to remap argv and exit code.
5778 * config.host (*-*-*vms*): Adjust extra_parts.
5779 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5780 (crt0.o): Add.
5781
483ac460 57822012-03-22 Richard Earnshaw <rearnsha@arm.com>
5783
5784 * arm/lib1funcs.asm (ctzsi2): New function.
5785 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5786 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5787 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5788 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5789 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5790 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5791
bdd1ee48 57922012-03-21 Andreas Tobler <andreast@fgznet.ch>
5793
5794 * config.host: Add bits to support powerpc64-*-freebsd*.
5795 * config/rs6000/freebsd-unwind.h: New file.
5796 * config/rs6000/t-freebsd64: New file.
5797
df85f61c 57982012-03-20 Richard Guenther <rguenther@suse.de>
5799
5800 PR gcov-profile/52627
5801 * libgcov.c (init_mx): Fix mutex name.
5802
46da3ce5 58032012-03-16 Tristan Gingold <gingold@adacore.com>
5804
5805 * config/ia64/vms-unwind.h: Remove ulong (and replace
5806 it by unw_reg where used). Define unw_reg with __int64.
5807
264a5d11 58082012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5809
5810 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5811 Solaris 8 handling.
5812 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5813 Solaris 8 handling.
5814 (sparc_is_sighandler): Likewise.
5815
42b3e3d6 58162012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5817
5818 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5819 <= saved reg size.
5820
c2c4377d 58212012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5822
5823 * config/arm/crtn.S: Fix typo.
5824
3f2da048 58252012-03-13 Richard Guenther <rguenther@suse.de>
5826
5827 * libgcov.c: Remove stdio.h include and NULL un-define.
5828
b4e1521f 58292012-03-13 Richard Guenther <rguenther@suse.de>
5830
5831 PR target/52569
5832 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5833
1d110375 58342012-03-13 Richard Guenther <rguenther@suse.de>
5835
5836 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5837
0e6ad699 58382012-03-13 Richard Guenther <rguenther@suse.de>
5839
5840 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5841 and __gthread_mutex_init_function definitions.
5842
1f7e141e 58432012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5844
5845 * config.host (mips*-*-openbsd*): Remove.
5846
126b6848 58472012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5848
5849 * config.host: Remove alpha*-dec-osf5.1* handling.
5850 * config/alpha/gthr-posix.c: Remove.
5851 * config/alpha/libgcc-osf5.ver: Remove.
5852 * config/alpha/osf5-unwind.h: Remove.
5853 * config/alpha/t-osf-pthread: Remove.
5854 * config/alpha/t-slibgcc-osf: Remove.
5855 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5856 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5857 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5858 * mkmap-flat.awk: Remove osf_export handling.
5859
2e7d9be1 58602012-03-12 Richard Guenther <rguenther@suse.de>
5861
5862 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5863 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5864 (__gthread_mutex_init_function): New function.
5865 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5866
5867 PR gcov/49484
5868 * libgcov.c: Include gthr.h.
5869 (__gcov_flush_mx): New global variable.
5870 (init_mx, init_mx_once): New functions.
5871 (__gcov_flush): Protect self with a mutex.
5872 (__gcov_fork): Re-initialize mutex after forking.
5873 * unwind-dw2-fde.c: Change condition under which to use
5874 __GTHREAD_MUTEX_INIT_FUNCTION.
5875
8f852c44 58762012-03-12 Tristan Gingold <gingold@adacore.com>
5877
5878 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5879 * config/ia64/t-vms: Likewise.
5880
04d5d0ad 58812012-03-11 Michael Hope <michael.hope@linaro.org>
5882
7b9088d5 5883 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5884 for Thumb-2.
04d5d0ad 5885
3d14844b 58862012-03-07 Walter Lee <walt@tilera.com>
5887
5888 * config/tilepro/atomic.c: Rename "atomic_" prefix to
5889 "arch_atomic_".
5890 (atomic_xor): Rename and move definition to
5891 config/tilepro/atomic.h.
5892 (atomic_nand): Ditto.
5893 * config/tilepro/atomic.h: Rename "atomic_" prefix to
5894 "arch_atomic_".
5895 (arch_atomic_xor): Move from config/tilepro/atomic.c.
5896 (arch_atomic_nand): Ditto.
5897
3abce231 58982012-03-07 Georg-Johann Lay <avr@gjlay.de>
5899
5900 PR target/52507
5901 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5902
ee3ce577 59032012-03-07 Georg-Johann Lay <avr@gjlay.de>
5904
5905 PR target/52505
5906 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5907 from RAM.
5908
be20cbdd 59092012-03-07 Georg-Johann Lay <avr@gjlay.de>
5910
5911 PR target/52461
5912 PR target/52508
5913 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5914 if RAMPZ affects reading from RAM.
5915 (__tablejump_elpm__): Ditto.
5916 (.xload): Ditto.
5917 (__movmemx_hi): Ditto.
5918 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5919 (__do_global_dtors): Ditto.
5920 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5921 (__movmemx_hi): Ditto.
5922
e9b46b49 59232012-03-05 Richard Henderson <rth@redhat.com>
5924
5925 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5926 [ARM] (count_trailing_zeros): Use the builtin.
5927
2da7d23a 59282012-03-01 Kai Tietz <ktietz@redhat.com>
5929
5930 * soft-fp: Imported from glibc upstream.
5931
ed67de04 59322012-02-28 Kai Tietz <ktietz@redhat.com>
5933
5934 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5935 for mingw-targets as attribute gcc_struct.
5936
154b49cd 59372012-02-28 Ian Lance Taylor <iant@google.com>
5938
5939 * generic-morestack.c (__splitstack_releasecontext): Correct call
5940 to __morestack_release_segments.
5941
8d2259c8 59422012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5943
5944 PR target/52390
5945 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5946 for __linux__ when removing signals from __morestack_fullmask.
5947
97e18ae2 59482012-02-23 Georg-Johann Lay <avr@gjlay.de>
5949
5950 PR target/52261
5951 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5952
c3dd2023 59532012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5954
5955 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5956 instead of HAVE_INITFINI_ARRAY.
5957 * config/ia64/crtend.S: Likewise.
5958
7ed6dbef 59592012-02-20 Kai Tietz <ktietz@redhat.com>
5960
52cec843 5961 PR libstdc++/52300
5962 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5963
7ed6dbef 5964 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5965 to w32-unwind.h header.
5966
6a8f7b8b 59672012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5968
5969 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5970 (mips*-*-linux*): Remove t-slibgcc-libgcc.
5971 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5972 * config/mips/mips16.S (__mips16_rdhwr): Delete.
5973
7db87803 59742012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5975
5976 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5977
d114e642 59782012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5979
5980 PR libitm/52220
5981 * config/darwin-crt-tm.c: Correct typo.
154b49cd 5982
b8f45854 59832012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5984 Patrick Marlier <patrick.marlier@gmail.com>
5985
5986 PR libitm/52220
5987 * config/darwin-crt-tm.c: Generate dummy functions.
5988
621d0dd2 59892012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5990 Patrick Marlier <patrick.marlier@gmail.com>
5991
5992 PR libitm/52042
5993 * config/darwin-crt-tm.c (getTMCloneTable): New function.
5994 (__doTMRegistrations): Call it.
154b49cd 5995 (__doTMdeRegistrations): Likewise.
621d0dd2 5996
0b6cf66f 59972012-01-15 Georg-Johann Lay <avr@gjlay.de>
92e91d03 5998 Anatoly Sokolov <aesok@post.ru>
5999 Eric Weddington <eric.weddington@atmel.com>
0b6cf66f 6000
6001 PR target/52261
6002 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6003 (__epilogue_restores__): Ditto.
6004
99e0a0ad 60052012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6006
6007 PR target/51921
6008 PR target/52205
6009 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6010 Solaris 11 and slightly reformat.
6011 (sparc_is_sighandler): Likewise.
6012
7ce78e23 60132012-02-14 Walter Lee <walt@tilera.com>
6014
6015 * config.host: Handle tilegx and tilepro.
6016 * config/tilegx/sfp-machine.h: New file.
6017 * config/tilegx/sfp-machine32.h: New file.
6018 * config/tilegx/sfp-machine64.h: New file.
6019 * config/tilegx/t-crtstuff: New file.
6020 * config/tilegx/t-softfp: New file.
6021 * config/tilegx/t-tilegx: New file.
6022 * config/tilepro/atomic.c: New file.
6023 * config/tilepro/atomic.h: New file.
6024 * config/tilepro/linux-unwind.h: New file.
6025 * config/tilepro/sfp-machine.h: New file.
6026 * config/tilepro/softdivide.c: New file.
6027 * config/tilepro/softmpy.S: New file.
6028 * config/tilepro/t-crtstuff: New file.
6029 * config/tilepro/t-tilepro: New file.
6030
f47763a6 60312012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6032
6033 PR libstdc++/51296
6034 PR libstdc++/51906
6035 * gthr-posix.h: Allow static initializer macros to be disabled.
6036 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6037
674cb359 60382012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6039
6040 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6041 Add t-slibgcc-libgcc to tmake_file.
6042 * config/mips/libgcc-mips16.ver: Revert previous patch.
6043 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6044
92e91d03 60452012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6046 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b9fdd12b 6047
6048 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6049 * config/cr16/crti.S: New file.
6050 * config/cr16/crtlibid.S: New file.
6051 * config/cr16/crtn.S: New file.
6052 * config/cr16/lib1funcs.S: New file.
6053 * config/cr16/t-cr16: New file.
6054 * config/cr16/t-crtlibid: New file.
6055 * config/cr16/unwind-dw2.h: New file.
6056 * config/cr16/unwind-cr16.c: New file.
6057 * config/cr16/divmodhi3.c: New file.
6058
01cdc5b2 60592012-01-25 Alan Modra <amodra@gmail.com>
6060
6061 * config/rs6000/t-linux64: Delete. Move..
6062 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6063 * config/rs6000/t-linux: ..and libgcc flags to here.
6064
af8e12d0 60652012-01-22 Douglas B Rupp <rupp@gnat.com>
6066
6067 * config.host (i[34567]86-*-interix3*):
01cdc5b2 6068 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 6069 * configure: Regenerate.
6070
a657080a 60712012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6072 Richard Sandiford <rdsandiford@googlemail.com>
6073
6074 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6075 * config/mips/mips16.S (__mips16_rdhwr): New function.
6076 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6077
72e76fa0 60782012-01-11 Nathan Sidwell <nathan@acm.org>
6079
6080 * libgcov.c (__gcov_init): Ignore objects with no functions.
6081
ed2541ea 60822012-01-10 Georg-Johann Lay <avr@gjlay.de>
6083
6084 PR target/49868
6085 Extend __pgmx semantics to linearize memory.
6086 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6087 * config/avr/lib1funcs.S (__xload_1): New function.
6088 (__movmemx_qi, __movmemx_hi): New functions.
6089 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6090 semantics.
ddf97006 6091
6e647e51 60922012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6093
6094 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6095 purported sigacthandler address isn't null before dereferencing it.
6096 (sparc_is_sighandler): Likewise.
6097
af185b18 60982012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6099
6100 PR ada/41929
6101 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6102 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6103 (sparc_is_sighandler): Likewise.
6104 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6105
2ff958e6 61062012-01-06 Tristan Gingold <gingold@adacore.com>
6107
6108 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6109 compatibility thunks...
6110 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6111 (crtbeginS.o, crtendS.o): ... and these to ...
6112 * config/ia64/t-ia64-elf: ... this new file.
6113 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6114 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6115
ce94380e 61162012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6117
6118 * configure: Regenerate.
6119 * config/s390/t-crtstuff: Remove -fPIC.
6120
ca4c7704 61212012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6122
6123 PR bootstrap/51006
6124 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6125 for NetBSD.
6126
b32bc361 61272012-01-02 Georg-Johann Lay <avr@gjlay.de>
6128
6129 PR target/51345
6130 * config/avr/lib1funcs.S: Remove FIXME comments.
6131 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6132
83921eda 61332012-01-02 Georg-Johann Lay <avr@gjlay.de>
6134
6135 Implement light-weight DImode support.
6136 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6137 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6138 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6139 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6140
6071b85b 61412011-12-30 Nathan Sidwell <nathan@acm.org>
6142
6143 * libgcov.c (gcov_crc32): Remove global var.
6144 (free_fn_data): New function.
6145 (buffer_fn_data): Pass in filename, more robust error recovery.
6146 (crc32_unsigned): New function.
6147 (gcov_exit): More robust detection of new program. More robust
6148 error recovery.
6149 (__gcov_init): Do not update program's crc here.
6150
611b540a 61512011-12-21 Tristan Gingold <gingold@adacore.com>
6152
6153 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6154
ddf97006 61552011-12-21 Ian Lance Taylor <iant@google.com>
6156
6157 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6158
0d84f164 61592011-12-20 Ian Lance Taylor <iant@google.com>
6160
6161 * config/i386/morestack.S (__morestack_non_split): If there is
6162 enough stack space already, don't split. Ask for more stack space
6163 than we required.
6164
d77ac56d 61652011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6166
6167 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6168 `sys/sdt.h'.
6169 (_Unwind_DebugHook): New function.
6170 (uw_restore_core_regs): New define.
6171 (unwind_phase2): Use uw_restore_core_regs instead of
6172 restore_core_regs.
6173 (unwind_phase2_forced): Likewise.
6174 (__gnu_Unwind_Resume): Likewise.
6175
80898d14 61762011-12-20 Uros Bizjak <ubizjak@gmail.com>
6177
6178 * config/alpha/linux-unwind.h: Update copyright years.
6179 (MD_FROB_UPDATE_CONTEXT): New define.
6180 (alpha_frob_update_context): New function.
6181
20dbbfaf 61822011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6183
6184 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6185 tmake_file rather replacing it.
6186
d42ef213 61872011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6188
6189 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 6190 function is not used for PPC64.
d42ef213 6191 (save_world): Amend comments. Update the VRsave mask to reflect the
6192 saved regs.
6193 (rest_world): Update comments, do not clobber r10, do not use r8.
6194 (eh_rest_world_r10): Amend comments, do not use r8.
6195 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6196 no longer used, move restore of CR and target address to the end of
6197 the routine.
6198
3efc00f6 61992011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6200
6201 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6202 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6203
fa0431fa 62042011-12-14 Georg-Johann Lay <avr@gjlay.de>
6205
6206 PR target/49313
6207 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6208 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6209
18e6a060 62102011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6211
6212 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6213
0dcd7d21 62142011-12-09 Georg-Johann Lay <avr@gjlay.de>
6215
6216 PR target/49313
6217 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6218 * config/avr/lib1funcs.S (__muldi3): New function.
6219
a41e0f2d 62202011-12-06 Andrew Pinski <apinski@cavium.com>
6221
6222 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6223 size of func_ptr.
6224 (__frame_dummy_init_array_entry): Likewise.
6225
8c8193e1 62262011-12-06 Georg-Johann Lay <avr@gjlay.de>
6227
6228 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6229
6230 PR target/51345
6231 PR target/51002
6232 * config/avr/lib1funcs.S (__prologue_saves__,
6233 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6234 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6235
e2306166 62362011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6237
6238 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6239
61437698 62402011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6241
6242 PR other/51272
6243 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6244 (_ITM_deregisterTMCloneTable): Likewise.
6245 (__register_frame_info): Fix unused warning.
6246 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6247 pthread_default_stacksize_np): Likewise.
6248 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
80898d14 6249
78e515f7 62502011-11-29 DJ Delorie <dj@redhat.com>
6251
6252 * config.host (rl78-*-elf): New case.
6253 * config/rl78: New directory for the Renesas RL78.
6254
adce431d 62552011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6256
6257 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6258 formatting.
6259
738c50b8 62602011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6261
6262 PR other/51022
6263 * config/rs6000/t-savresfgpr: New file.
6264 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6265 $(srcdir)/config/rs6000/eabi.S.
6266 * config/rs6000/t-ppccomm-ldbl: Remove.
6267 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6268 tmake_file.
6269 (powerpc-*-eabispe*): Likewise.
6270 (powerpc-*-eabi*): Likewise.
6271 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6272 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6273 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6274 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6275 tmake_file.
6276 (powerpc-*-eabisim*): Likewise.
6277 (powerpc-*-elf*): Likewise.
6278 (powerpc-*-eabialtivec*): Likewise.
6279 (powerpc-xilinx-eabi*): Likewise.
6280 (powerpc-*-rtems*): Likewise.
6281 (powerpcle-*-elf*): Likewise.
6282 (powerpcle-*-eabisim*): Likewise.
6283 (powerpcle-*-eabi*): Likewise.
6284
bda4944f 62852011-11-27 Ian Lance Taylor <iant@google.com>
6286
6287 * generic-morestack.c (__splitstack_find): Check for NULL old
6288 stack value.
6289 (__splitstack_resetcontext): New function.
6290 (__splitstack_releasecontext): New function.
6291 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6292
00b708da 62932011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6294
6295 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6296
7c66781a 62972011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6298
6299 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6300
5bb27b7c 63012011-11-26 Richard Henderson <rth@redhat.com>
6302
6303 * config/m68k/linux-atomic.c: New file.
6304 * config/m68k/t-linux: New file.
6305 * config.host (m68k-uclinux, m68k-linux): Use it.
6306
d9ca835b 63072011-11-26 Richard Henderson <rth@redhat.com>
6308
6309 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6310 (__TMC_END__): Only declare if hidden is available; in the definition,
6311 if hidden is unavailable add a null record.
6312 (deregister_tm_clones, register_tm_clones): New.
6313 (__do_global_dtors_aux, frame_dummy): Use them.
6314 (__do_global_dtors, __do_global_ctors_1): Likewise.
6315
8f8ba4fc 63162011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6317
6318 * config/darwin-crt-tm.c: New file.
6319 * config.host (darwin): Build crttms.o crttme.o to provide
6320 startup and shutdown for tm clones.
6321 * config/t-darwin (crttms.o): New build rule.
6322 (crttme.o): Likewise.
6323
e426aa2b 63242011-11-21 Hans-Peter Nilsson <hp@axis.com>
6325
6326 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6327 et al.
6328
2d171408 63292011-11-21 Richard Henderson <rth@redhat.com>
6330
6331 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6332 (__TMC_LIST__, __TMC_END__): New.
6333 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6334 (__do_global_dtors): Likewise.
6335 (frame_dummy): Call _ITM_registerTMCloneTable.
6336 (__do_global_ctors_1): Likewise.
6337
08417926 63382011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6339
6340 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6341 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6342 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6343 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6344 * config/i386/t-darwin64: Remove.
6345 * config/sh/t-netbsd (LIB2ADD): Remove.
6346
cde39152 63472011-11-21 Georg-Johann Lay <avr@gjlay.de>
6348
6349 PR target/49313
6350 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6351 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6352 * config/avr/lib1funcs.S (wmov): New assembler macro.
6353 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6354 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6355 (__udivmod64): New function.
6356 (__negdi2): New function.
6357
30957bde 63582011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6359
6360 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6361 *-*-freebsd*aout*): Remove.
6362
a504f092 63632011-11-20 Hans-Peter Nilsson <hp@axis.com>
6364
6365 * static-object.mk (c_flags-$o): Save c_flags.
6366 ($(base)$(objext)): Use it.
6367
31da0b3d 63682011-11-18 Steve Ellcey <sje@cup.hp.com>
6369
6370 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6371
5bd39e93 63722011-11-18 Georg-Johann Lay <avr@gjlay.de>
6373
6374 PR target/49868
6375 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6376 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6377 New functions.
6378
a3bfd5b2 63792011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6380
6381 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6382 functions.
80898d14 6383 (aeabi_uidivmod): Likewise.
a3bfd5b2 6384 (umodsi3): Likewise.
6385 (divsi3): Likewise.
6386 (aeabi_idivmod): Likewise.
6387 (modsi3): Likewise.
6388
3512ee5b 63892011-11-16 Tristan Gingold <gingold@adacore.com>
6390
6391 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6392
4202ef11 63932011-11-15 Georg-Johann Lay <avr@gjlay.de>
6394
6395 PR target/49868
6396 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6397 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6398
ab4fdb3d 63992011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6400
6401 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6402 tmake_file list.
6403 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6404 * config/pa/t-stublib64: Delete.
6405
eee57ca7 64062011-11-12 Richard Henderson <rth@redhat.com>
6407
6408 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6409 cast the pointer argument to _Unwind_SetGRPtr.
6410
0c74e0e8 64112011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6412
6413 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6414
23371076 64152011-11-09 Ian Lance Taylor <iant@google.com>
6416
6417 * generic-morestack.c: Include <string.h>.
6418 (uintptr_type): Define.
6419 (struct initial_sp): Add dont_block_signals field. Reduce size of
6420 extra array by 1.
6421 (allocate_segment): Set prev field to NULL. Don't set
6422 __morestack_current_segment or __morestack_segments.
6423 (__generic_morestack): Update current->prev and *pp after calling
6424 allocate_segment.
6425 (__morestack_block_signals): Don't do anything if
6426 dont_block_signals is set.
6427 (__morestack_unblock_signals): Likewise.
6428 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6429 uintptr_type.
6430 (__splitstack_block_signals): New function.
6431 (enum __splitstack_content_offsets): Define.
6432 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6433 (__splitstack_makecontext): New function.
6434 (__splitstack_block_signals_context): New function.
6435 (__splitstack_find_context): New function.
6436 * config/i386/morestack.S (__morestack_get_guard): New function.
6437 (__morestack_set_guard, __morestack_make_guard): New functions.
6438 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6439
2d00fffd 64402011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6441
6442 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6443 (i[34567]86-*-mingw*): ... here.
6444 (x86_64-*-mingw*): ... here.
6445
6886ca41 64462011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6447
6448 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6449
5014df5d 64502011-11-07 Nathan Sidwell <nathan@acm.org>
6451
6452 * libgcov.c (struct gcov_fn_buffer): New struct.
6453 (buffer_fn_data): New helper.
6454 (gcov_exit): Rework for new gcov data structures.
6455
702a5eec 64562011-11-07 Georg-Johann Lay <avr@gjlay.de>
6457
6458 PR target/49313
6459 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6460
2219274c 64612011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6462
6463 * config.host (tmake_file): Correct comment.
6464 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6465 t-libgcc-pic.
6466 (bfin*-uclinux*): Likewise.
6467 (bfin*-linux-uclibc*): Likewise.
6468 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6469
6470 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6471 assigning.
6472 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6473 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6474 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6475 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6476 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6477 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6478 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6479 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6480 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6481 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6482 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6483 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6484 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6485
6486 * config/bfin/t-elf: Remove.
6487 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6488
fbb6f195 64892011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6490
6491 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6492 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6493 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6494 (lm32-*-elf*): ... this.
6495 (lm32-*-rtems*): ... and this.
6496 Add to tmake_file.
6497 (m32r-*-rtems*): Add to tmake_file.
6498 (moxie-*-rtems*): Likewise.
6499 (sparc-*-rtems*): Likewise.
6500 Remove t-rtems from tmake_file.
6501 (sparc64-*-rtems*): Likewise.
6502 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6503 instead.
6504
7336fab9 65052011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6506
6507 PR bootstrap/50982
6508 * config/gthr-posix.h: Move ...
6509 * gthr-posix.h: ... here.
6510 * config/gthr-lynx.h: Reflect this.
6511 * config/gthr-vxworks.h: Likewise.
6512 * config/rs6000/gthr-aix.h: Likewise.
6513 * configure.ac (target_thread_file): Likewise.
6514 * configure: Regenerate.
6515
6c10eb68 65162011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6517
6518 * config.host (arm*-*-rtemseabi*): New target.
6519
3fe1f35b 65202011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6521
6522 PR other/50991
6523 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6524 extra-parts.
6525
d19f5793 65262011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6527
6528 * config.host (epiphany-*-elf*): New configuration.
6529 * config/epiphany: New Directory.
6530
02c5dcd9 65312011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6532
6533 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6534 * config/avr/t-rtems: New.
6535 Filter out _exit from LIB1ASMFUNCS.
6536
f3223c0b 65372011-11-04 David S. Miller <davem@davemloft.net>
6538
6539 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6540 * configure: Rebuild.
6541
994652ec 65422011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6543
6544 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6545 variable.
6546
02d9a2c3 65472011-11-04 Georg-Johann Lay <avr@gjlay.de>
6548
6549 PR target/50931
6550 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6551 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6552
81b973fe 65532011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6554
6555 PR target/50989
6556 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6557
ae1b140e 65582011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6559
6560 * config/c6x/t-elf (LIB2ADDEH): Set.
6561 * config/c6x/t-c6x-elf: Remove.
6562
0a76a5ff 65632011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6564
6565 * config/i386/sol2-ci.S: Rename to ...
6566 * config/i386/crti.S: ... this.
6567 * config/i386/sol2-cn.S: Rename to ...
6568 * config/i386/crtn.S: ... this.
6569 * config/sparc/sol2-ci.S: Rename to ...
6570 * config/sparc/crti.S: ... this.
6571 * config/sparc/sol2-cn.S: Rename to ...
6572 * config/sparc/crtn.S: ... this.
6573 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6574 (crti.o, crtn.o): Remove.
6575
26f2feff 65762011-11-04 Tristan Gingold <gingold@adacore.com>
6577
6578 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6579
131667b5 65802011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6581
6582 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6583
af64ed6f 65842011-11-03 Hans-Peter Nilsson <hp@axis.com>
6585
6586 * config.host (crisv32-*-none, cris-*-none): Remove.
6587 (crisv32-*-elf): Append to tmake_file, don't just set it.
6588 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6589
4dad46bd 65902011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6591
6592 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6593 (ecrtn$(objext)): Likewise.
6594 (ncrti$(objext)): Likewise.
6595 (ncrtn$(objext)): Likewise.
6596
37626bf8 65972011-11-03 Andreas Schwab <schwab@redhat.com>
6598
6599 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6600
95de80bc 66012011-11-02 David S. Miller <davem@davemloft.net>
6602
6603 * configure.ac: Set host_address on sparc too.
6604 * configure: Regenerate.
6605 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6606 based upon host_address.
6607 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6608
b5347955 66092011-11-02 Jason Merrill <jason@redhat.com>
6610
6611 * config/rs6000/t-ppccomm: Add missing \.
6612
630d52ca 66132011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6614
6615 * gthr-single.h, gthr.h: New files.
6616 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6617 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6618 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6619 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6620 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6621 * configure.ac (thread_header): New variable.
6622 Set it depending on target_thread_file.
6623 (gthr-default.h): Link from $thread_header.
6624 * configure: Regenerate.
6625 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6626
022a2799 66272011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6628
6629 * configure.ac (tm_file_): New variable.
6630 Determine from tm_file.
6631 (tm_file, tm_defines): Substitute.
6632 * configure: Regenerate.
6633 * mkheader.sh: New file.
6634 * Makefile.in (clean): Remove libgcc_tm.h.
6635 ($(objects)): Depend on libgcc_tm.h.
6636 (libgcc_tm_defines, libgcc_tm_file): New variables.
6637 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6638 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6639 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6640 ($(extra-parts)): Depend on libgcc_tm.h.
6641 * config.host (tm_defines, tm_file): New variable.
6642 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6643 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6644 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6645 (avr-*-rtems*): Likewise.
6646 (avr-*-*): Likewise.
6647 (frv-*-elf): Likewise.
6648 (frv-*-*linux*): Likewise.
6649 (h8300-*-rtems*): Likewise.
6650 (h8300-*-elf*): Likewise.
6651 (i[34567]86-*-darwin*): Likewise.
6652 (x86_64-*-darwin*): Likewise.
6653 (rx-*-elf): Likewise.
6654 (tic6x-*-uclinux): Likewise.
6655 (tic6x-*-elf): Likewise.
6656 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6657 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6658 * config/i386/cygming-crtbegin.c: Likewise.
6659 * config/i386/cygming-crtend.c: Likewise.
6660 * config/ia64/fde-vms.c: Likewise.
6661 * config/ia64/unwind-ia64.c: Likewise.
6662 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6663 * config/rs6000/darwin-fallback.c: Likewise.
6664 * config/stormy16/lib2funcs.c: Likewise.
6665 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6666 * crtstuff.c: Likewise.
6667 * dfp-bit.h: Likewise.
6668 * emutls.c: Likewise.
6669 * fixed-bit.c: Likewise.
6670 * fp-bit.c: Likewise.
6671 * generic-morestack-thread.c: Likewise.
6672 * generic-morestack.c: Likewise.
6673 * libgcc2.c: Likewise.
6674 * libgcov.c: Likewise.
6675 * unwind-dw2-fde-dip.c: Likewise.
6676 * unwind-dw2-fde.c: Likewise.
6677 * unwind-dw2.c: Likewise.
6678 * unwind-sjlj.c: Likewise.
6679
4dc4ff49 66802011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6681
6682 * configure.ac: Include ../config/picflag.m4.
6683 (GCC_PICFLAG): Call it.
6684 Substitute.
6685 * configure: Regenerate.
6686 * Makefile.in (gcc_srcdir): Remove.
6687 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6688 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6689 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6690 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6691 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6692 Use $<.
6693 Remove comment.
6694 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6695 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6696 to refer to libgcc2.c.
6697 Use $<.
6698 * config/darwin-64.c: New file.
6699 * config/darwin-crt3.c: Remove comment.
6700 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6701 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6702 config/udivmodsi4.c: New files.
6703 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6704 config/memset.c: New files.
6705 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6706 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6707 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6708 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6709 * config/t-openbsd-thread: New file.
6710 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6711 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6712 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6713 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6714 qrnnd.S.
6715 Adapt filename.
6716 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6717 to refer to gthr-posix.c.
6718 * config/alpha/t-vms (LIB2ADD): Set.
6719 * config/alpha/vms-gcc_shell_handler.c: New file.
6720 * config/arm/bpabi.c, config/arm/fp16.c,
6721 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6722 config/arm/unaligned-funcs.c: New files.
6723 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6724 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6725 * config/arm/t-linux: Likewise.
6726 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6727 * config/arm/t-netbsd: New file.
6728 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6729 * config/arm/t-symbian (LIB2ADD_ST): Set.
6730 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6731 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6732 * config/bfin/t-elf: New file.
6733 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6734 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6735 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6736 config/c6x/ltf.c: New files.
6737 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6738 (HOST_LIBGCC2_CFLAGS): Set.
6739 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6740 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6741 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6742 New files.
6743 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6744 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6745 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6746 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6747 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6748 files.
6749 * config/frv/t-frv (LIB2ADD): Set.
6750 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6751 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6752 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6753 config/h8300/popcounthi2.c: New files.
6754 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6755 * config/i386/gthr-win32.c: New file.
6756 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6757 * config/i386/t-cygwin: Likewise.
6758 * config/i386/t-darwin, config/i386/t-darwin64,
6759 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6760 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6761 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6762 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6763 * config/ia64/quadlib.c: New file.
6764 * config/ia64/t-hpux (LIB2ADD): Set.
6765 * config/ia64/t-ia64: Add comment.
6766 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6767 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6768 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6769 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6770 * config/m32c/t-m32c (LIB2ADD): Set.
6771 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6772 * config/m32r/t-m32r: Likewise.
6773 * config/m68k/fpgnulib.c: New file.
6774 * config/m68k/t-floatlib (LIB2ADD): Set.
6775 (xfgnulib.c): New target.
6776 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6777 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6778 * config/mep/t-mep (LIB2ADD): Set.
6779 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6780 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6781 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6782 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6783 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6784 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6785 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6786 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6787 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6788 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6789 New files.
6790 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6791 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6792 * config/pa/fptr.c, config/pa/lib2funcs.S,
6793 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6794 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6795 (LIB2ADD, LIB2ADD_ST): Set.
6796 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6797 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6798 Set.
6799 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6800 * config/pdp11/t-pdp11: New file.
6801 * config/picochip/libgccExtras/adddi3.S,
6802 config/picochip/libgccExtras/ashlsi3.S,
6803 config/picochip/libgccExtras/ashrsi3.S,
6804 config/picochip/libgccExtras/clzsi2.S,
6805 config/picochip/libgccExtras/cmpsi2.S,
6806 config/picochip/libgccExtras/divmod15.S,
6807 config/picochip/libgccExtras/divmodhi4.S,
6808 config/picochip/libgccExtras/divmodsi4.S,
6809 config/picochip/libgccExtras/lshrsi3.S,
6810 config/picochip/libgccExtras/parityhi2.S,
6811 config/picochip/libgccExtras/popcounthi2.S,
6812 config/picochip/libgccExtras/subdi3.S,
6813 config/picochip/libgccExtras/ucmpsi2.S,
6814 config/picochip/libgccExtras/udivmodhi4.S,
6815 config/picochip/libgccExtras/udivmodsi4.S: New files.
6816 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6817 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6818 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6819 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6820 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6821 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6822 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6823 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6824 files.
6825 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6826 (HOST_LIBGCC2_CFLAGS): Set.
6827 * config/rs6000/t-darwin64: New file.
6828 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6829 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6830 * config/rs6000/t-ppccomm (LIB2ADD): Add
6831 $(srcdir)/config/rs6000/tramp.S.
6832 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6833 Add $(srcdir)/config/rs6000/eabi.S.
6834 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6835 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6836 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6837 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6838 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6839 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6840 * config/rs6000/tramp.S: New file.
6841 * config/s390/t-tpf: Remove.
6842 * config/sh/linux-atomic.S: New file.
6843 * config/sh/t-linux (LIB2ADD): Set.
6844 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6845 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6846 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6847 to unwind-dw2.c.
6848 (HOST_LIBGCC2_CFLAGS): Set.
6849 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6850 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6851 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6852 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6853 config/spu/mfc_multi_tag_release.c,
6854 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6855 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6856 config/spu/multi3.c: New files.
6857 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6858 (HOST_LIBGCC2_CFLAGS): Set.
6859 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6860 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6861 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6862 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6863 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6864 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6865 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6866 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6867 config/stormy16/umodsi3.c: New files.
6868 * config/xtensa/lib2funcs.S: New file.
6869 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6870 * config/xtensa/t-xtensa (LIB2ADD): Set.
6871 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6872 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6873 Add t-freebsd-thread to tmake_file for posix threads.
6874 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6875 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6876 (*-*-lynxos*): Likewise.
6877 (*-*-netbsd*): Likewise.
6878 (*-*-openbsd*): Likewise.
6879 Add t-openbsd-thread to tmake_file for posix threads.
6880 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6881 (*-*-vxworks*): Set tmake_file.
6882 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6883 (alpha*-*-freebsd*): Likewise.
6884 (alpha*-*-netbsd*): Likewise.
6885 (alpha*-*-openbsd*): Likewise.
6886 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6887 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6888 (alpha*-dec-*vms*): Likewise.
6889 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6890 (bfin*-elf*): Add bfin/t-elf to tmake_file.
6891 (bfin*-uclinux*): Likewise.
6892 (bfin*-linux-uclibc*): Likewise.
6893 (crisv32-*-elf): Add cris/t-cris to tmake_file.
6894 (crisv32-*-none): Likewise.
6895 (cris-*-elf): Likewise.
6896 (cris-*-none): Likewise.
6897 (cris-*-linux*, crisv32-*-linux*): Likewise.
6898 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6899 tmake_file.
6900 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6901 tmake_file.
6902 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6903 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6904 (x86_64-*-elf*): Likewise.
6905 (i[34567]86-*-nto-qnx*): Likewise.
6906 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6907 win32 threads.
6908 (x86_64-*-mingw*): Likewise.
6909 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6910 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6911 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6912 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6913 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6914 tmake_file.
6915 (mipsisa64sr71k-*-elf*): Likewise.
6916 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6917 (mips-*-elf*, mipsel-*-elf*): Likewise.
6918 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6919 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6920 (mips*-*-rtems*): Likewise.
6921 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6922 to tmake_file.
6923 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6924 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6925 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6926 (spu-*-elf*): Likewise.
6927 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6928
9213d2eb 69292011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6930
6931 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6932 $(srcdir) to refer to $(LIB1ASMSRC).
6933 Use $<.
6934 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6935 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6936 config/arm/lib1funcs.S: New files.
6937 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6938 * config/arm/t-arm: New file.
6939 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6940 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6941 config/arm/t-strongarm-elf: New files.
6942 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6943 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6944 * config/avr/lib1funcs.S: New file.
6945 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6946 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6947 * config/c6x/lib1funcs.S: New file.
6948 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6949 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6950 * config/frv/lib1funcs.S: New file.
6951 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6952 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6953 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6954 * config/ia64/__divxf3.asm: Rename to ...
6955 * config/ia64/__divxf3.S: ... this.
6956 Adapt lib1funcs.asm filename.
6957 * config/ia64/_fixtfdi.asm: Rename to ...
6958 * config/ia64/_fixtfdi.S: ... this.
6959 Adapt lib1funcs.asm filename.
6960 * config/ia64/_fixunstfdi.asm: Rename to ...
6961 * config/ia64/_fixunstfdi.S: ... this.
6962 Adapt lib1funcs.asm filename.
6963 * config/ia64/_floatditf.asm: Rename to ...
6964 * config/ia64/_floatditf.S: ... this.
6965 Adapt lib1funcs.asm filename.
6966 * config/ia64/lib1funcs.S: New file.
6967 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6968 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6969 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6970 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6971 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6972 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6973 * config/mep/lib1funcs.S: New file.
6974 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6975 * config/mips/mips16.S: New file.
6976 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6977 * config/pa/milli64.S: New file.
6978 * config/pa/t-linux, config/pa/t-linux64: New files.
6979 * config/picochip/lib1funcs.S: New file.
6980 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6981 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6982 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6983 * config/sh/t-netbsd: New file.
6984 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6985 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6986 * config/sh/t-sh64: New file.
6987 * config/sparc/lb1spc.S: New file.
6988 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6989 filename.
6990 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6991 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6992 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6993 config/xtensa/lib1funcs.S: New files.
6994 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6995 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6996 tmake_file.
6997 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6998 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6999 (arm*-*-linux*): Likewise.
7000 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7001 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7002 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7003 (arm*-*-ecos-elf): Likewise.
7004 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7005 (arm*-*-rtems*): Likewise.
7006 (arm*-*-elf): Likewise.
7007 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7008 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7009 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7010 (bfin*-uclinux*): Likewise.
7011 (bfin*-linux-uclibc*): Likewise.
7012 (bfin*-rtems*): Likewise.
7013 (bfin*-*): Likewise.
7014 (fido-*-elf): Merge into m68k-*-elf*.
7015 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7016 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7017 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7018 (h8300-*-elf*): Likewise.
7019 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7020 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7021 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7022 (i[34567]86-*-mingw*): Likewise.
7023 (x86_64-*-mingw*): Likewise.
7024 (i[34567]86-*-interix3*): Likewise.
7025 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7026 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7027 (m68k-*-elf*): Also handle fido-*-elf.
7028 Add m68k/t-floatlib to tmake_file.
7029 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7030 (m68k-*-linux*): Likewise.
7031 (m68k-*-rtems*): Likewise.
7032 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7033 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7034 sh64*-*-*.
7035 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7036 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7037 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7038 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7039 sh/t-netbsd to tmake_file.
7040 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7041 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7042 (sh-wrs-vxworks): Likewise.
7043 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7044 *-leon[3-9]*.
7045 (v850*-*-*): Add v850/t-v850 to tmake_file.
7046 (vax-*-linux*): Add vax/t-linux to tmake_file.
7047 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7048
237490bf 70492011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7050
7051 * crtstuff.c: New file.
7052 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7053 (CRTSTUFF_T_CFLAGS): Define.
7054 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7055 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7056 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7057 crtstuff.c.
7058 Use $<.
7059 (crtbeginT.o): Use $(objext).
7060 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7061 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7062 (gcc-extra-parts): Remove.
7063 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7064 Set extra_parts.
7065 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7066 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7067 Add t-crtstuff-pic to tmake_file.
7068 (*-*-lynxos*): New case.
7069 Set tmake_file, extra_parts.
7070 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7071 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7072 *-*-netbsdelf[2-9]*.
7073 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7074 (*-*-rtems*): Set extra_parts.
7075 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7076 (*-*-uclinux*): New case.
7077 Set extra_parts.
7078 (*-*-vms*): New case.
7079 Set tmake_file, extra_parts.
7080 (*-*-elf): Set extra_parts.
7081 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7082 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7083 vms/t-vms64.
7084 Set extra_parts.
7085 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7086 Set extra_parts.
7087 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7088 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7089 (arm-wrs-vxworks): Append to tmake_file.
7090 Set extra_parts.
7091 (arm*-*-uclinux*): Set extra_parts.
7092 (arm*-*-ecos-elf): Likewise.
7093 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7094 arm*-*-eabi*.
7095 (arm*-*-rtems*): Set extra_parts.
7096 (arm*-*-elf): Likewise.
7097 (avr-*-rtems*): Clear extra_parts.
7098 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7099 Set extra_parts.
7100 (bfin*-uclinux*): Likewise.
7101 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7102 (bfin*-rtems*): Append to tmake_file.
7103 Set extra_parts.
7104 (bfin*-*): Likewise.
7105 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7106 (crisv32-*-elf): ... this.
7107 (crisv32-*-none): ... this.
7108 (cris-*-elf, cris-*-none): New cases.
7109 Add cris/t-elfmulti to tmake_file.
7110 (fr30-*-elf): Append to tmake_file.
7111 Set extra_parts.
7112 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7113 Set extra_parts.
7114 (h8300-*-rtems*): Append to tmake_file.
7115 Set extra_parts.
7116 (h8300-*-elf*): Likewise.
7117 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7118 Set extra_parts.
7119 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7120 Set extra_parts.
7121 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7122 (x86_64-*-elf*): Likewise.
7123 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7124 (x86_64-*-freebsd*): Likewise.
7125 (x86_64-*-netbsd*): Likewise.
7126 (i[34567]86-*-linux*): Likewise.
7127 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7128 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7129 (x86_64-*-linux*): Likewise.
7130 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7131 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7132 tmake_file.
7133 Set extra_parts.
7134 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7135 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7136 Append to extra_parts, remove crtbegin.o, crtend.o.
7137 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7138 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7139 crtend.o, crtbeginS.o, crtendS.o.
7140 (ia64*-*-linux*): Comment extra_parts.
7141 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7142 Set extra_parts.
7143 (iq2000*-*-elf*): Clear extra_parts.
7144 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7145 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7146 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7147 (m32r-*-rtems*): ... this.
7148 Add m32r/t-m32r to tmake_file.
7149 (m68k-*-elf*): Add t-crtin to tmake_file.
7150 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7151 (mcore-*-elf): Likewise.
7152 (microblaze*-*-*): Set extra_parts.
7153 (mips*-sde-elf*): New case.
7154 Set tmake_file, extra_parts.
7155 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7156 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7157 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7158 tmake_file.
7159 Set extra_parts.
7160 (mipsisa64sr71k-*-elf*): Likewise.
7161 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7162 (mips-*-elf*, mipsel-*-elf*): Likewise.
7163 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7164 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7165 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7166 (mips*-*-rtems*): Likewise.
7167 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7168 (moxie-*-*): Split into ...
7169 (moxie-*-elf, moxie-*-uclinux*): ... this.
7170 Add to extra_parts, remove crtbegin.o, crtend.o.
7171 (moxie-*-rtems*): New case.
7172 Set tmake_file.
7173 Clear extra_parts.
7174 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7175 Set extra_parts.
7176 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7177 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7178 tmake_file.
7179 Set extra_parts.
7180 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7181 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7182 Set extra_parts.
7183 (powerpc-*-eabisim*): Likewise.
7184 (powerpc-*-elf*): Likewise.
7185 (powerpc-*-eabialtivec*): Likewise.
7186 (powerpc-xilinx-eabi*): Likewise.
7187 (powerpc-*-eabi*): Likewise.
7188 (powerpc-*-rtems*): Likewise.
7189 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7190 tmake_file.
7191 Set extra_parts.
7192 (powerpc-*-lynxos*): Add to tmake_file.
7193 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7194 rs6000/t-crtstuff, t-crtstuff-pic.
7195 Set extra_parts.
7196 (powerpcle-*-eabisim*): Likewise.
7197 (powerpcle-*-eabi*): Likewise.
7198 (rx-*-elf): Remove extra_parts.
7199 (s390x-ibm-tpf*): Set extra_parts.
7200 (score-*-elf): Set extra_parts.
7201 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7202 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7203 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7204 (sh64l*-*-netbsd*): Split into ...
7205 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7206 Add t-crtstuff-pic to tmake_file.
7207 Set extra_parts.
7208 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7209 Set extra_parts.
7210 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7211 (sparc-*-elf*): Remove t-crtin from tmake_file.
7212 Add to extra_parts, remove crtbegin.o, crtend.o.
7213 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7214 (sparc64-*-linux*): Likewise.
7215 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7216 Add to extra_parts, remove crtbegin.o, crtend.o.
7217 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7218 Add to extra_parts, remove crtbegin.o, crtend.o.
7219 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7220 Add to extra_parts, remove crtbegin.o, crtend.o.
7221 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7222 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7223 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7224 Set extra_parts.
7225 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7226 Set extra_parts.
7227 (tic6x-*-*): Change to ...
7228 (tic6x-*-elf): ... this.
7229 Set extra_parts.
7230 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7231 Set extra_parts.
7232 (am33_2.0-*-linux*): Add comment.
7233 (mep*-*-*): Add mep/t-mep to tmake_file.
7234 Set extra_parts.
7235 * config/alpha/t-vms: New file.
7236 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7237 * config/arm/crti.S, config/arm/crtn.S: New files.
7238 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7239 * config/bfin/crtlibid.S: New file.
7240 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7241 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7242 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7243 (crti.o, crtin.o): New rules.
7244 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7245 * config/c6x/t-uclinux: New file.
7246 * config/cris/t-elfmulti: New file.
7247 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7248 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7249 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7250 * config/frv/t-frv: New file.
7251 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7252 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7253 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7254 New files.
7255 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7256 refer to cygming-crtbegin.c, cygming-crtend.c.
7257 Use $<.
7258 * config/i386/t-nto: New file.
7259 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7260 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7261 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7262 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7263 Use .S extension.
7264 Use $<.
7265 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7266 (crtinitS.o): New rule.
7267 * config/ia64/vms-crtinit.S: New file.
7268 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7269 * config/m32r/initfini.c: New file.
7270 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7271 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7272 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7273 * config/mep/t-mep: New file.
7274 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7275 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7276 * config/mips/crti.S, config/mips/crtn.S: New files.
7277 * config/mips/t-crtstuff: New file.
7278 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7279 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7280 (CUSTOM_CRTIN): Set.
7281 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7282 dependencies.
7283 Use $(srcdir) to refer to crti.S, crtn.S.
7284 Use .S extension, $<.
7285 * config/moxie/crti.asm: Rename to ...
7286 * config/moxie/crti.S: ... this.
7287 * config/moxie/crtn.asm: Rename to ...
7288 * config/moxie/crtn.S: ... this.
7289 * config/moxie/t-moxie: Remove.
7290 * config/pa/stublib.c: New file.
7291 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7292 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7293 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7294 * config/rs6000/t-crtstuff: New file.
7295 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7296 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7297 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7298 Make output file explicit.
7299 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7300 Make output file explicit.
7301 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7302 Make output file explicit.
7303 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7304 Make output file explicit.
7305 * config/score/crti.S, config/score/crtn.S: New files.
7306 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7307 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7308 files.
7309 * config/sh/t-sh, config/sh/t-superh: New files.
7310 * config/sparc/t-linux64: New file.
7311 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7312 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7313 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7314 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7315 * config/t-crtin: Remove.
7316 * config/t-crtstuff-pic: New file.
7317 * config/t-sol2 (CUSTOM_CRTIN): Set.
7318 (crti.o, crtn.o): New rules.
7319 * config/vms/t-vms: New file.
7320 * config/vms/vms-ucrt0.c: New file.
7321 * config/xtensa/t-elf: New file.
7322
a997b0d8 73232011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7324
7325 * Makefile.in (SHLIB_NM_FLAGS): Set.
7326 * mkmap-flat.awk, mkmap-symver.awk: New files.
7327 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7328 exceptions.
7329 * configure: Regenerate.
7330 * config/libgcc-glibc.ver: New file.
7331 * config/libgcc-libsystem.ver: New file.
7332 * config/t-libunwind (SHLIB_LC): Set.
7333 * config/t-linux: New file.
7334 * config/t-slibgcc (INSTALL_SHLIB): New.
7335 (SHLIB_INSTALL): Use it.
7336 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7337 to mkmap-symver.awk.
7338 (SHLIB_MAPFILES): Don't append, adapt pathname.
7339 (SHLIB_VERPFX): Set.
7340 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7341 to mkmap-symver.awk.
7342 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7343 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7344 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7345 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7346 to mkmap-flat.awk.
7347 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7348 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7349 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7350 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7351 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7352 * config/i386/libgcc-darwin.10.4.ver,
7353 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7354 New files.
7355 * config/i386/t-darwin: Remove.
7356 * config/i386/t-darwin64: Likewise.
7357 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7358 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7359 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7360 * config/i386/t-linux: New file.
7361 * config/i386/t-mingw32: New file.
7362 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7363 * config/ia64/t-glibc: Rename to ...
7364 * config/ia64/t-linux: ... this.
7365 (SHLIB_MAPFILES): Set.
7366 * config/ia64/t-glibc-libunwind: Rename to ...
7367 * config/ia64/t-linux-libunwind: ... this.
7368 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7369 * config/ia64/t-slibgcc-hpux: New file.
7370 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7371 * config/m68k/t-slibgcc-elf-ver: New file.
7372 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7373 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7374 to mkmap-flat.awk.
7375 * config/pa/t-slibgcc-hpux: New file.
7376 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7377 files.
7378 * config/rs6000/libgcc-darwin.10.4.ver,
7379 config/rs6000/libgcc-darwin.10.5.ver: New files.
7380 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7381 config/rs6000/libgcc-glibc.ver.
7382 * config/rs6000/libgcc-ppc64.ver: Rename to
7383 config/rs6000/libgcc-ibm-ldouble.ver.
7384 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7385 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7386 * config/rs6000/t-ldbl128: Rename to ...
7387 * config/rs6000/t-linux: ... this.
7388 (SHLIB_MAPFILES): Adapt filename.
7389 * config/rs6000/t-slibgcc-aix: New file.
7390 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7391 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7392 libgcc-excl.ver, libgcc-glibc.ver.
7393 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7394 * config/sparc/libgcc-glibc.ver: New file.
7395 * config/sparc/t-linux: New file.
7396 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7397 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7398 t-slibgcc-elf-ver to tmake_file.
7399 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7400 *-*-freebsd[34].
7401 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7402 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7403 t-slibgcc-elf-ver, t-linux to tmake_file.
7404 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7405 tmake_file.
7406 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7407 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7408 (alpha*-dec-*vms*): Likewise.
7409 (arm*-*-freebsd*): Append to tmake_file.
7410 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7411 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7412 arm*-*-linux-*eabi.
7413 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7414 tmake_file for arm*-*-symbianelf*.
7415 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7416 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7417 cris/t-linux.
7418 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7419 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7420 pa/t-slibgcc-dwarf-ver to tmake_file.
7421 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7422 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7423 (hppa*64*-*-hpux11*): Likewise.
7424 (hppa[12]*-*-hpux11*): Likewise.
7425 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7426 i386/t-crtpc, i386/t-crtfm.
7427 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7428 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7429 to tmake_file.
7430 Add i386/t-cygwin to tmake_file.
7431 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7432 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7433 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7434 to tmake_file.
7435 Add i386/t-mingw32 to tmake_file.
7436 (x86_64-*-mingw*): Likewise.
7437 (ia64*-*-freebsd*): Append to tmake_file.
7438 (ia64*-*-linux*): Append to tmake_file.
7439 Replace ia64/t-glibc by ia64/t-linux.
7440 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7441 system libunwind.
7442 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7443 t-slibgcc-hpux to tmake_file.
7444 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7445 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7446 (m32rle-*-linux*): Likewise.
7447 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7448 sjlj exceptions.
7449 (microblaze*-linux*): New case.
7450 Append to tmake_file, add t-slibgcc-nolc-override.
7451 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7452 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7453 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7454 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7455 rs6000/t-slibgcc-aix to tmake_file.
7456 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7457 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7458 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7459 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7460 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7461 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7462 sh*-*-linux*.
7463 (sparc-*-linux*): Append to tmake_file for *-leon*.
7464 Add sparc/t-linux to tmake_file for non-Leon targets.
7465 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7466 (tic6x-*-uclinux): New case.
7467 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7468 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7469 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7470 (am33_2.0-*-linux*): Append to tmake_file.
7471 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7472 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7473 x86_64-*-kfreebsd*-gnu.
7474 Add i386/t-linux to tmake_file.
7475
638a95a0 74762011-10-28 Ian Lance Taylor <iant@google.com>
7477
7478 * config/i386/morestack.S: Correct CFI information to do proper
7479 returns throughout function. In 32-bit mode, save %ebx so that it
7480 is restored on unwind.
7481
ef785e44 74822011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7483
7484 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7485 case where B3 isn't the return register.
7486
19b85223 7487 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7488 logic for doubleword pops.
7489
70f50eb0 74902011-10-25 Andreas Tobler <andreast@fgznet.ch>
7491
7492 * config/rs6000/t-freebsd: Add wildcard.
7493
ec2b386c 74942011-10-21 Paul Brook <paul@codesourcery.com>
7495
7496 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7497
b09a3f46 74982011-10-16 Uros Bizjak <ubizjak@gmail.com>
7499 Eric Botcazou <ebotcazou@adacore.com>
7500
7501 PR target/50737
7502 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7503 fs->signal_frame to 1.
7504
8acdf7c6 75052011-10-07 Ian Lance Taylor <iant@google.com>
7506
7507 * generic-morestack-thread.c: #include <errno.h>.
7508
1780e36e 75092011-10-07 Ian Lance Taylor <iant@google.com>
7510
7511 PR target/46093
7512 * generic-morestack.c (__generic_morestack): Make sure the segment
7513 is large enough for both the stack frame and the copied
7514 parameters.
7515
f57fac72 75162011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7517
7518 PR bootstrap/49804
7519 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7520 extra_parts.
7521
6ef008f9 75222011-09-28 Nick Clifton <nickc@redhat.com>
7523
7524 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7525 64-bit doubles are not enabled.
7526 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7527 and floatunsisf functions.
7528
7e5fc0c4 75292011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 7530
7e5fc0c4 7531 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7532 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7533 * unwind-arm-common.inc: New file.
7534 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7535 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7536 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7537 * config/c6x/libunwind.S: New file.
7538 * config/c6x/pr-support.c: New file.
7539 * config/c6x/unwind-c6x.c: New file.
7540 * config/c6x/unwind-c6x.h: New file.
7541 * config/c6x/t-c6x-elf: New file.
7542
047a5c56 75432011-08-23 Uros Bizjak <ubizjak@gmail.com>
7544
7545 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7546 (ASM_DIVZERO): Ditto.
7547 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7548
985e908e 75492011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7550
7551 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7552
c1c81358 75532011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7554
7555 PR target/50090
7556 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7557 instead of an assembly one.
7558
7642fc98 75592011-08-12 Paolo Bonzini <bonzini@gnu.org>
7560
7561 PR bootstrap/50047
7562 * Makefile.in (install-unwind_h): Create
7563 $(gcc_objdir)/include/unwind.h atomically.
7564
392bda6f 75652011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7566
7567 * Makefile.in (install-unwind_h): Remove destination file first.
7568
21889c08 75692011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7570
7571 * sync.c: New file.
7572 * config/mips/t-mips16: New file.
7573 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7574 (mips*-*-linux*): Likewise.
7575 (mips*-sde-elf*): Likewise.
7576 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7577 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7578 Add mips/t-mips16 to tmake_file.
7579 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7580 (mips-*-elf*): Likewise.
7581 (mips64-*-elf*): Likewise.
7582 (mips64orion-*-elf*): Likewise.
7583 (mips*-*-rtems*): Likewise.
7584 (mipstx39-*-elf*): Likewise.
7585 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7586 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7587 LIBGCC_SYNC_CFLAGS.
7588 Use $(srcdir) to refer to sync.c.
7589 Use $<.
7590 ($(libgcc-sync-funcs-o)): Likewise.
7591 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7592 ($(libgcc-sync-funcs-s-o)): Likewise.
7593
3569d462 75942011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7595
7596 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7597 t-libunwind.
7598
e451a093 75992011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7600
7601 PR other/48007
7602 * config/i386/value-unwind.h: New.
7603
ab3bed33 76042011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7605
7606 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7607 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7608 Add to tmake_file rather than overriding it.
7609
84600db5 76102011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7611
7612 * config/t-softfp: Remove.
7613 * soft-fp: Moved from ../gcc/config.
7614 * soft-fp/README: Remove t-softfp reference.
7615 * soft-fp/t-softfp: Move to config/t-softfp.
7616 (softfp_machine_header): Remove.
7617 (softfp_file_list): Remove config subdir.
7618 (soft-fp-objects): New variable.
7619 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7620 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7621 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7622 * config/t-softfp-excl: New file.
7623 * config/t-softfp-sfdf: New file.
7624 * config/t-softfp-tf: New file.
7625 * config/no-sfp-machine.h: New file.
7626 * config/arm/sfp-machine.h: New file.
7627 * config/arm/t-softfp: New file.
7628 * config/c6x/sfp-machine.h: New file.
7629 * config/i386/32/t-fprules-softfp: Rename to ...
7630 * config/i386/32/t-softfp: ... this.
7631 (tifunctions, LIB2ADD): Remove.
7632 (softfp_int_modes): Override.
7633 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7634 subdir.
7635 * config/i386/64/eqtf2.c: Likewise.
7636 * config/i386/64/getf2.c: Likewise.
7637 * config/i386/64/letf2.c: Likewise.
7638 * config/ia64/sft-machine.h: New file.
7639 * config/ia64/t-fprules-softfp: Rename to ...
7640 * config/ia64/t-softfp: ... this.
7641 * config/lm32/sfp-machine.h: New file.
7642 * config/moxie/t-moxie-softfp: Remove.
7643 * config/rs6000/ibm-ldouble-format: New file.
7644 * config/rs6000/ibm-ldouble.c: New file.
7645 * config/rs6000/libgcc-ppc-glibc.ver: New file
7646 * config/rs6000/libgcc-ppc64.ver: New file
7647 * config/rs6000/sfp-machine.h: New file.
7648 * config/rs6000/t-freebsd: New file.
7649 * config/rs6000/t-ibm-ldouble: New file.
7650 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7651 libgcc-ppc-glibc.ver.
7652 * config/rs6000/t-linux64: New file.
7653 * config/rs6000/t-ppccomm (LIB2ADD): Add
7654 $(srcdir)/config/rs6000/ibm-ldouble.c.
7655 * config/rs6000/t-ppccomm-ldbl: New file.
7656 * config/score/sfp-machine.h: New file.
7657 * config.host (sfp_machine_header): Explain.
7658 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7659 t-softfp to tmake_file.
7660 (arm*-*-uclinux*): Likewise.
7661 (arm*-*-ecos-elf): Likewise.
7662 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7663 (arm*-*-rtems*): Likewise.
7664 (arm*-*-elf): Likewise.
7665 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7666 in tmake_file.
7667 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7668 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7669 (lm32-*-uclinux*): Likewise.
7670 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7671 t-softfp-excl, t-softfp.
7672 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7673 (powerpc64-*-darwin*): Likewise.
7674 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7675 to tmake_file.
7676 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7677 tmake_file.
7678 (powerpc-*-eabisim*): Likewise.
7679 (powerpc-*-elf*): Likewise.
7680 (powerpc-*-eabialtivec*): Likewise.
7681 (powerpc-xilinx-eabi*): Likewise.
7682 (powerpc-*-rtems*): Likewise.
7683 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7684 t-softfp-excl, t-softfp to tmake_file.
7685 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7686 rs6000/t-ppccomm-ldbl to tmake_file.
7687 (powerpcle-*-elf*): Likewise.
7688 (powerpcle-*-eabisim*): Likewise.
7689 (powerpcle-*-eabi*): Likewise.
7690 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7691 rs6000/t-ibm-ldouble to tmake_file.
7692 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7693 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7694 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7695 (tic6x-*-*): Likewise.
7696 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7697 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7698 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7699 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7700 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7701 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7702 t-softfp to tmake_file.
7703 * configure.ac (sfp_machine_header): Provide default if unset.
7704 Substitute.
7705 Link sfp-machine.h to config/$sfp_machine_header.
7706 * configure: Regenerate.
7707
a23b9c51 77082011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7709
7710 * Makefile.in (double_type_size, long_double_type_size): Set.
7711 Remove $(fpbit-in-libgcc) support.
7712 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7713 (fpbit-src): New variable.
7714 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7715 Compile with -DFLOAT $(FPBIT_CFLAGS).
7716 Use $<.
7717 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7718 Compile with $(FPBIT_CFLAGS).
7719 Use $<.
7720 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7721 Compile with -DFLOAT $(TPBIT_CFLAGS).
7722 Use $<.
7723 * configure.ac (double_type_size, long_double_type_size):
7724 Determine and substitute.
7725 * configure: Regenerate.
7726 * fp-bit.c, fp-bit.h: New files.
7727 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7728 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7729 * config/mips/t-mips: New file.
7730 * config/mips/t-sdemtk: New file.
7731 * config/rs6000/ppc64-fp.c: New file.
7732 * config/rs6000/t-darwin (LIB2ADD): Add
7733 $(srcdir)/config/rs6000/ppc64-fp.c.
7734 * config/rs6000/t-ppc64-fp: New file.
7735 * config/rx/rx-lib.h: New file.
7736 * config/rx/t-rx (FPBIT): Set to true.
7737 ($(gcc_objdir)/fp-bit.c): Remove.
7738 (DPBIT): Set to true only with -m64bit-doubles.
7739 ($(gcc_objdir)/dp-bit.c): Remove.
7740 * config/sparc/t-softfp: Remove.
7741 * config/spu/t-elf: New file.
7742 * config/t-fdpbit, config/t-fpbit: New files.
7743 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7744 (mips*-*-*): Likewise.
7745 (arm-wrs-vxworks): Likewise.
7746 (arm*-*-freebsd*): Likewise.
7747 (avr-*-rtems*): Add t-fpbit to tmake_file.
7748 (avr-*-*): Likewise.
7749 (bfin*-elf*): Add t-fdpbit to tmake_file.
7750 (bfin*-uclinux*): Likewise.
7751 (bfin*-linux-uclibc*): Likewise.
7752 (bfin*-rtems*): New case.
7753 Add t-fdpbit to tmake_file.
7754 (bfin*-*): Add t-fdpbit to tmake_file.
7755 (crisv32-*-elf): Likewise.
7756 (cris-*-linux*): Likewise.
7757 (fr30-*-elf): Likewise.
7758 (frv-*-elf, frv-*-*linux*): Likewise.
7759 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7760 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7761 (m32r-*-elf*): Likewise.
7762 (m32rle-*-elf*): Likewise.
7763 (m32r-*-linux*): Likewise.
7764 (m32rle-*-linux*): Likewise.
7765 (mcore-*-elf): Add t-fdpbit to tmake_file.
7766 (microblaze*-*-*): Likewise.
7767 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7768 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7769 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7770 Fix typo.
7771 Add mips/t-tpbit to tmake-file.
7772 (mips*-*-linux*): Fix typo.
7773 (mips*-sde-elf*): New case
7774 Add mips/t-sdemtk unless using newlib.
7775 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7776 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7777 (mn10300-*-*): Likewise.
7778 (pdp11-*-*): Likewise.
7779 (picochip-*-*): Add t-fpbit to tmake_file.
7780 (powerpc-*-eabisimaltivec*): Likewise.
7781 (powerpc-*-eabisim*): Likewise.
7782 (powerpc-*-elf*): Likewise.
7783 (powerpc-*-eabialtivec*): Likewise.
7784 (powerpc-xilinx-eabi*): New case.
7785 Add t-fdpbit to tmake_file.
7786 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7787 (powerpc-*-rtems*): Likewise.
7788 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7789 tmake_file.
7790 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7791 tmake_file.
7792 (powerpc-*-lynxos*): Likewise.
7793 (powerpcle-*-elf*): Likewise.
7794 (powerpcle-*-eabisim*): Likewise.
7795 (powerpcle-*-eabi*): Likewise.
7796 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7797 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7798 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7799 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7800 (rx-*-elf): Add t-fdpbit to tmake_file.
7801 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7802 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7803 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7804 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7805 sh*-*-netbsd*.
7806 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7807 (sh-wrs-vxworks): Likewise.
7808 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7809 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7810 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7811 (sparc64-*-rtems*): ... new case.
7812 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7813 (spu-*-elf*): Likewise.
7814 Add spu/t-elf to tmake_file.
7815 (v850*-*-*): Add t-fdpbit to tmake_file.
7816 (xstormy16-*-elf): Likewise.
7817 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7818 (mep*-*-*): Likewise.
7819
e59be7e3 78202011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7821
7822 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7823 variables.
7824 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7825 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7826 (install-unwind_h): New target.
7827 (all): Depend on it.
7828 * config.host (unwind_header): New variable.
7829 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7830 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7831 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7832 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7833 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7834 Set unwind_header.
7835 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7836 Set unwind_header.
7837 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7838 arm*-*-eabi*.
7839 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7840 Set unwind_header.
7841 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7842 (ia64*-*-freebsd*): Likewise.
7843 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7844 tmake_file.
7845 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7846 $with_system_libunwind.
7847 (ia64*-*-hpux*): Set tmake_file.
7848 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7849 (picochip-*-*): Set tmake_file.
7850 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7851 md_unwind_header.
7852 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7853 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7854 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7855 (xtensa*-*-elf*): Set tmake_file.
7856 (xtensa*-*-linux*): Likewise.
7857 * configure.ac: Include ../config/unwind_ipinfo.m4.
7858 Call GCC_CHECK_UNWIND_GETIPINFO.
7859 Link unwind.h to $unwind_header.
7860 * configure: Regenerate.
7861 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7862 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7863 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7864 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7865 * config/unwind-dw2-fde-darwin.c: New file.
7866 * config/arm/libunwind.S, config/arm/pr-support.c,
7867 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7868 config/arm/unwind-arm.h,: New files.
7869 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7870 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7871 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7872 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7873 config/ia64/unwind-ia64.h: New files.
7874 * config/picochip/t-picochip: New file.
7875 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7876 files.
7877 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7878 * config/s390/t-tpf (LIB2ADDEH): Remove.
7879 * config/t-darwin (LIB2ADDEH): Set.
7880 * config/t-eh-dw2-dip: New file.
7881 * config/t-libunwind, config/t-libunwind-elf: New files.
7882 * config/t-sol2 (LIB2ADDEH): Remove.
7883 * config/xtensa/t-xtensa: New file.
7884
b57de711 78852011-08-02 H.J. Lu <hongjiu.lu@intel.com>
7886
7887 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7888 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7889 long long to check rt_sigreturn syscall.
7890
9a4af446 78912011-08-02 Alan Modra <amodra@gmail.com>
7892
7893 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7894 Restore for indirect call bcrtl from correct stack slot, and only
7895 if cfa+40 isn't valid.
7896
bbbe4599 78972011-08-01 Julian Brown <julian@codesourcery.com>
7898
7899 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7900 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7901 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7902
ac34b7db 79032011-08-01 Julian Brown <julian@codesourcery.com>
7904
7905 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7906 (libgcc-std.ver.in): Use above.
7907 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7908 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
7909 throughout file.
7910 * config/t-fixedpoint-gnu-prefix: New file.
7911 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7912 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7913 instead of __PFX__.
7914
2a7dfa04 79152011-07-28 H.J. Lu <hongjiu.lu@intel.com>
7916
7917 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7918 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7919 for x86-64. Properly check __x86_64__ and __LP64__.
7920
a232cb08 79212010-07-28 H.J. Lu <hongjiu.lu@intel.com>
7922
7923 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7924 version.
7925 (_FP_WS_TYPE): Likewise.
7926 (_FP_I_TYPE): Likewise.
7927
c54e2746 79282011-07-28 Alan Modra <amodra@gmail.com>
7929
7930 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7931 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7932 in a plt call stub. Do restore r2 if stopped on bctrl.
7933
4d72c922 79342011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7935
7936 * config.host (i[3456x]86-*-netware*): Remove.
7937 * config/i386/netware-crt0.c, config/i386/t-nwld,
7938 config/i386/t-slibgcc-nwld: Remove.
7939
5aa04b01 79402011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7941
7942 * config.host: Handle tic6x-*-*.
7943 * config/c6x/c6x-abi.h: New file.
7944
ba079bc9 79452011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7946
7947 * config/i386/crtprec.c: New file.
7948 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7949 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7950 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7951 (x86_64-*-darwin*): Likewise.
7952 (i[34567]86-*-solaris2*: Likewise.
7953
1125ba83 79542011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7955
7956 * config/alpha/crtfastmath.c: New file.
7957 * config/i386/crtfastmath.c: New file.
7958 * config/ia64/crtfastmath.c: New file.
7959 * config/mips/crtfastmath.c: New file.
7960 * config/sparc/crtfastmath.c: New file.
7961
7962 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7963 crtfastmath.c.
7964 Add -frandom-seed=gcc-crtfastmath.
7965 * config/alpha/t-crtfm: Remove.
7966 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7967 * config/ia64/t-ia64 (crtfastmath.o): Remove.
7968
7969 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7970 (alpha*-dec-osf5.1*): Likewise.
7971 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7972 Add crtfastmath.o to extra_parts.
7973 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7974 Add crtfastmath.o to extra_parts.
7975 (x86_64-*-darwin*): Likewise.
7976 (x86_64-*-mingw*): Likewise.
7977 (ia64*-*-elf*): Add t-crtfm to tmake_file.
7978 (ia64*-*-freebsd*): Likewise.
7979 (ia64*-*-linux*): Likewise.
7980 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7981 Add crtfastmath.o to extra_parts.
7982
1a4a11f3 79832011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7984
7985 * config/darwin-crt3.o: New file.
7986 * config/rs6000/darwin-crt2.c: New file.
7987 * config/t-darwin: New file.
7988 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7989 (crt2.o): New rule.
7990 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7991 (powerpc-*-darwin*): Add crt2.o to extra_parts.
7992 (powerpc64-*-darwin*): Likewise.
7993
ef3ab47f 79942011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7995
7996 * config/i386/netware-crt0.c: New file.
7997 * config/i386/t-nwld: Rename to ...
7998 * config/i386/t-slibgcc-nwld: ... this.
7999 * config/i386/t-nwld: New file.
8000 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8001 tmake_file.
8002 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8003 extra_parts.
8004
367b55f3 80052011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8006
8007 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8008 i386/t-crtstuff.
8009 * configure: Regenerate.
8010
17aa03f5 80112011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8012
8013 * dfp-bit.c, dfp-bit.h: New files.
8014 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8015 variables.
8016 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8017 ($(d64pbit-o)): Likewise.
8018 ($(d128pbit-o)): Likewise.
8019 * config/t-dfprules: New file.
8020 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8021 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8022 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8023 (x86_64-*-linux*): Likewise.
8024 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8025 (i[34567]86-*-cygwin*): Likewise.
8026 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8027 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8028
2bc72a9f 80292011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8030
8031 * Makfile.in (LIBGCOV): New variable.
8032 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8033 * libgcov.c: New file.
8034
36a5227d 80352011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8036
8037 * fixed-bit.c, fixed-bit.h: New files.
8038 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8039 refer to fixed-bit.c.
8040
689a8077 80412011-07-07 Joseph Myers <joseph@codesourcery.com>
8042
8043 * config.host (*local*): Remove.
8044
14f27bc6 80452011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8046
8047 PR target/39150
8048 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8049 like i?86-*-solaris2.1[0-9]*.
8050 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8051 * configure.ac (i?86-*-solaris2*): Likewise.
8052 * configure: Regenerate.
8053
fe27820f 80542011-07-06 Thomas Schwinge <thomas@schwinge.name>
8055
8056 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8057 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8058 md_unwind_header by splitting out of...
8059 (i[34567]86-*-linux*): ... this.
8060 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8061 Remove md_unwind_header by splitting out of...
8062 (x86_64-*-linux*): ... this.
8063
934ca5fd 80642011-07-04 Georg-Johann Lay <avr@gjlay.de>
8065
8066 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8067
707238af 80682011-06-28 Nick Clifton <nickc@redhat.com>
8069
8070 * config.host: Recognize all V850 variants.
8071
5125dcef 80722011-06-22 Uros Bizjak <ubizjak@gmail.com>
8073
8074 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8075
f92b36a5 80762011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8077
8078 * shared-object.mk (c_flags-$o): Save c_flags.
8079 ($(base)$(objext)): Use it.
8080 ($(base)_s$(objext)): Likewise.
8081
d8492bd3 80822011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8083
8084 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8085 * libgcc-std.ver.in (GCC_4.7.0): New section.
8086
fa72efb7 80872011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 8088
fa72efb7 8089 PR target/49313
8090 PR target/29524
8091 * config/avr/t-avr: Fix line endings.
8092 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8093 _parityXX2.
8094
adf7c0a1 80952011-06-14 Olivier Hainque <hainque@adacore.com>
8096 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8097
8098 * config/mips/irix6-unwind.h: New file.
8099 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8100
47529489 81012011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8102
8103 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8104 (sparc64_fallback_frame_state): Use it.
8105 (sparc64_frob_update_context): Further adjust context.
8106 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8107 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8108 * config/sparc/sol2-cn.S: Likewise.
8109
a6f06169 81102011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8111
8112 * enable-execute-stack-empty.c: New file.
8113 * enable-execute-stack-mprotect.c: New file.
8114 * config/i386/enable-execute-stack-mingw32.c: New file.
8115 * config.host (enable_execute_stack): New variable.
8116 Select appropriate variants.
8117 * configure.ac: Link enable-execute-stack.c to
8118 $enable_execute_stack.
8119 * configure: Regenerate.
8120 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8121 (lib2funcs): Remove _enable_execute_stack.
8122
f9cccfac 81232011-06-09 David S. Miller <davem@davemloft.net>
8124 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8125
8126 * config.host (sparc-*-linux*): Correct md_unwind_header
8127 filename.
8128 (s390x-ibm-tpf*): Fix typo.
8129
ee884cfb 81302011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8131
8132 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8133 Add crtfastmath.o to extra_parts.
8134 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8135 mips/t-crtfm.
8136 * config/mips/t-crtfm: Remove.
8137
01cb8ad1 81382011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8139
8140 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8141
73956a0d 81422011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8143
8144 * config.host (sh*-*-linux*): Fix typo.
8145
1e53920f 81462011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8147
8148 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8149 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8150 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8151 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8152 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8153 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8154 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8155 Wrap in !__MINGW64__.
8156 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8157 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8158 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8159 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8160 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8161 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8162 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8163 Wrap in !__LP64__.
8164 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8165 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8166 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8167 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8168 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8169 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8170 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8171 * config/no-unwind.h: New file.
8172 * config.host (md_unwind_header): Document.
8173 Define.
8174 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8175 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8176 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8177 hppa[12]*-*-hpux11*): Set md_unwind_header.
8178 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8179 Set md_unwind_header.
8180 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8181 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8182 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8183 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8184 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8185 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8186 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8187 md_unwind_header.
8188 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8189 * configure: Regenerate.
8190
8087ae75 81912011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8192
8193 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8194 Set tmake_file, extra_parts.
8195 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8196 Remove O32 support.
8197 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8198 Remove O32 support.
8199 * config/mips/t-irix6: New file.
8200 * config/mips/t-slibgcc-irix: New file.
8201
506cfbc8 82022011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8203
8204 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8205 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8206
541346b9 82072011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8208
8209 * configure.ac (target_thread_file): Determine thread model.
8210 * configure: Regenerate.
8211 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8212 * config/alpha/t-alpha: New file.
8213 * config/alpha/t-crtfm: Use $<.
8214 * config/alpha/t-ieee: New file.
8215 * config/alpha/t-osf-pthread: New file.
8216 * config/alpha/t-slibgcc-osf: New file.
8217 * config/alpha/libgcc-osf5.ver: New file.
8218
43ae7603 82192011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8220
8221 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8222 tmake_file.
8223 Add crtfastmath.o to extra_parts.
8224
f0d9a626 82252011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8226
8227 * config/gmon-sol2.c: Reindent.
8228 Cleanup comments.
8229 Remove, correct casts.
8230 Use STDERR_FILENO, NULL.
8231 (BASEADDRESS): Remove.
8232 (minbrk): Remove.
8233 (errno, sbrk): Remove declarations.
8234 (monstartup) [hp300]: Remove.
8235 (mcount): Remove.
8236
63abf89e 82372011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8238
8239 * Makefile.in (cpu_type): Define.
8240 * config.host (i[34567]86-*-rtems*): Handle it.
8241 (i[34567]86-*-solaris2*): Move body ...
8242 (*-*-solaris2*): ... here.
8243 New case, generalize.
8244 (sparc-*-elf*): Handle it.
8245 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8246 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8247 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8248 Fold into ...
8249 (sparc*-*-solaris2*): ... this.
8250 New case.
8251 (sparc64-*-elf*): Handle it.
8252 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8253 Merge ../gcc/config/i386/gmon-sol2.c.
8254 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8255 Use C comments.
8256 Merge ../gcc/config/i386/sol2-gc1.asm.
8257 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8258 Use C comments.
8259 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8260 Use C comments.
8261 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8262 * config/i386/t-crtstuff: New file.
8263 * config/i386/t-softfp: New file.
8264 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8265 $(T)crti.o, $(T)crtn.o): Remove.
8266 (gcrt1.o): New rule.
8267 (TARGET_LIBGCC2_CFLAGS): Remove.
8268 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8269 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8270 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8271 * config/sparc/t-sol2: New file.
8272 * config/sparc/t-crtfm: Move to ...
8273 * config/t-crtfm: ... this.
8274 Use $(cpu_type), $<.
8275 * config/t-crtin: New file.
8276 * config/sparc/t-softfp: New file.
8277 * config/sparc/t-softmul: New file.
8278 * config/t-rtems: New file.
8279 * config/t-slibgcc: New file.
8280 * config/t-slibgcc-elf-ver: New file.
8281 * config/t-slibgcc-gld: New file.
8282 * config/t-slibgcc-sld: New file.
8283 * config/t-sol2: New file.
8284 * configure.ac: Include ../config/lib-ld.m4.
8285 Call AC_LIB_PROG_LD_GNU.
8286 Substitute cpu_type.
8287 * configure: Regenerate.
8288
b1da9d72 82892011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8290
8291 PR bootstrap/49173
8292 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8293 libgcc-std.ver in the build directory.
8294 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8295 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8296
f308a9b2 82972011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8298
8299 * libgcc-std.ver.in: New file.
8300 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8301 variables.
8302 (libgcc-std.ver): New rule.
8303 * config/t-gnu-prefix: New file.
8304
c177b341 83052011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8306
8307 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8308
8633828c 83092011-05-10 Joseph Myers <joseph@codesourcery.com>
8310
8311 * config/i386/darwin-lib.h: New file.
8312
3be74046 83132011-05-10 Joseph Myers <joseph@codesourcery.com>
8314
8315 * config/arm/symbian-lib.h: New.
8316
5e1a494e 83172011-05-04 Chris Demetriou <cgd@google.com>
8318
8319 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8320 (__x86.get_pc_thunk.bx): ...this.
8321 (__morestack): Adjust for rename, remove undef of __i686.
8322
0bb50d04 83232011-05-03 Chris Demetriou <cgd@google.com>
8324
8325 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8326
17b3d2a8 83272011-03-22 Joseph Myers <joseph@codesourcery.com>
8328
8329 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8330 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8331 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8332 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8333 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8334 Remove cases.
8335
95525c17 83362011-03-14 Andreas Tobler <andreast@fgznet.ch>
8337
8338 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8339 Adjust copyright year.
8340
82c96609 83412011-03-07 Ian Lance Taylor <iant@google.com>
8342
8343 * generic-morestack.c (__splitstack_find): Adjust returned stack
8344 pointer to include all registers pushed by __morestack.
8345
abfe0c5b 83462011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8347
8348 PR target/40125
8349 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8350 (toolexecdir): Calculate and AC_SUBST.
8351 (toolexeclibdir): Likewise.
8352 * Makefile.in (target_noncanonical): Import.
8353 (toolexecdir): Likewise.
8354 (toolexeclibdir): Likewise.
8355 * configure: Regenerate.
8356
48f93ee5 83572010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8358
8359 PR target/46040
8360 * config/arm/bpabi.h: Rename to...
8361 * config/arm/bpabi-lib.h: ...this.
8362
76aa642f 83632010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8364
8365 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8366 appropriate.
8367 * configure: Regenerate.
8368
e8b06528 83692010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8370
8371 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8372 __FLOAT_WORD_ORDER__.
8373 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8374 Delete.
8375
2b7a4d59 83762010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8377
8378 PR other/46202
8379 * Makefile.in (install-strip): New phony target.
8380
457123d6 83812010-11-07 Ian Lance Taylor <iant@google.com>
8382
8383 PR target/46089
8384 * config/i386/morestack.S (__morestack_large_model): New
8385 function.
8386
f6e5e456 83872010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8388
8389 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8390 Delete.
8391 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8392
faf175ae 83932010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8394
8395 * config/arm/bpabi.h: New file.
8396 * config/frv/frv-abi.h: New file.
8397
9266176d 83982010-10-01 Ian Lance Taylor <iant@google.com>
8399
8400 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8401 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8402
13ba4217 84032010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8404
8405 PR target/45858
8406 * config.host: Add the missing `$'.
8407
d34b0d1e 84082010-09-30 Michael Eager <eager@eagercon.com>
8409
8410 * config.host: Add microblaze*-*-*.
8411 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8412 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8413 udivsi3.asm,umodsi3.asm}: New.
8414
78ca2689 84152010-09-28 Ian Lance Taylor <iant@google.com>
8416
8417 * configure.ac: Adjust CFI test to test assembler directly rather
8418 than checking gcc preprocessor macro.
8419 * configure: Rebuild.
8420
c9b3ebc5 84212010-09-27 Ian Lance Taylor <iant@google.com>
8422
8423 * configure.ac: Test whether assembler supports CFI directives.
8424 * config.host: Only add t-stack and i386/t-stack-i386 to
8425 tmake_file if libgcc_cv_cfi is "yes".
8426 * configure: Rebuild.
8427
48b14f50 84282010-09-27 Ian Lance Taylor <iant@google.com>
8429
8430 * generic-morestack.h: New file.
8431 * generic-morestack.c: New file.
8432 * generic-morestack-thread.c: New file.
8433 * config/i386/morestack.S: New file.
8434 * config/t-stack: New file.
8435 * config/i386/t-stack-i386: New file.
8436 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8437 i386/t-stack-i386 to tmake_file.
8438
fd80c7a1 84392010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8440
8441 * Makefile.in (libgcc-extra-parts): Check for static archives and
8442 invoke ranlib after installing them.
8443 (gcc-extra-parts): Likewise.
8444 (install-leaf): Likewise.
8445
70fbcd6d 84462010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8447
8448 * configure: Regenerated.
8449
19aace05 84502010-09-10 Kai Tietz <kai.tietz@onevision.com>
8451
70fbcd6d 8452 * configure: Regenerated.
19aace05 8453
279dadf5 84542010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8455 Andrew Pinski <pinskia@gmail.com>
8456
5125dcef 8457 PR target/40959
279dadf5 8458 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8459
a87eb011 84602010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8461
8462 PR target/45524
8463 * configure: Regenerated.
8464
e6425baf 84652010-09-06 Andreas Schwab <schwab@redhat.com>
8466
8467 * configure: Regenerate.
8468
e88f4c66 84692010-09-03 Uros Bizjak <ubizjak@gmail.com>
8470
8471 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8472 64bit targets.
8473 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8474 for 64bit targets.
8475
1d8139cc 84762010-09-03 Uros Bizjak <ubizjak@gmail.com>
8477 Iain Sandoe <iains@gcc.gnu.org>
8478
8479 PR target/45476
8480 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8481 LIB2FUNCS_EXCLUDE functions.
8482
23340821 84832010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8484
8485 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8486 Include dfp.m4.
8487 * configure: Regenerate.
8488
278afeb5 84892010-09-01 Uros Bizjak <ubizjak@gmail.com>
8490
8491 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8492 i386/t-freebsd to tmake_file.
8493 * config/i386/t-freebsd: New file.
8494 * config/i386/libgcc-bsd.ver: New file.
8495
952bf8bb 84962010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8497
8498 * config.host (powerpc*-eabispe*): Set tmake_file.
8499 (powerpc*-eabi*): Likewise.
8500 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8501 crtbeginS, crtendS, crtbeginT.
8502
283681bb 85032010-06-12 Kazu Hirata <kazu@codesourcery.com>
8504
8505 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8506 to tmake_file. Add crtfastmath.o to extra_parts.
8507 * config/mips/t-crtfm: New.
8508
92e91d03 85092010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a6180b96 8510
8511 * config.host (sparc64-*-rtems*): New target.
8512
05157f42 85132010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8514
8515 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8516 assembler syntax.
8517
8a84c748 85182010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8519
8520 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8521
ed3e1bbc 85222010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8523
8524 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8525 alpha-dec-osf5.0* support.
8526
92e91d03 85272010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 8528
8529 * config.host: Add lm32-*-rtems*.
8530
20be3c56 85312010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
92e91d03 8532 Uros Bizjak <ubizjak@gmail.com>
20be3c56 8533
8534 PR target/39048
8535 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8536 like other remaining 32-bit x86 OSes.
8537 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8538 assembler syntax.
8539 * config/i386/libgcc-sol2.ver: New file.
8540 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8541
92e91d03 85422010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8f0f72c0 8543
8544 PR c/43553
8545 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8546 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8547 is used and substitute set_use_emutls.
8548 * configure: Regenerated.
8549
cf842d6a 85502010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8551
8552 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8553
4dcd7ab3 85542010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8555
8556 PR target/38085
8557 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8558 MULTILIB_CFLAGS.
8559 ($(T)gcrt1.o): Likewise.
8560 ($(T)crt1.o): Likewise.
8561 ($(T)crti.o): Likewise.
8562 ($(T)crtn.o): Likewise.
8563
a426f025 85642010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8565
8566 PR other/42980
8567 * Makefile.in (install): Use $(MAKE) string in rule, for
8568 parallel make.
8569
8525326e 85702010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8571
8572 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8573 * config/mmix/t-mmix: New file.
8574 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8575
14a10763 85762010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8577
8578 PR java/41991
8579 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8580 SHLIB_MAPFILES.
8581
00301a1a 85822010-01-04 Anthony Green <green@moxielogic.com>
8583
8584 * config/moxie/crti.asm, config/moxie/crtn.asm,
8585 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8586 config/moxie/t-moxie: New files.
8587 * config.host: Add t-moxie-softfp reference.
8588
92e91d03 85892009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
d2b1aa3d 8590
8591 PR other/39888
8592 * config/t-slibgcc-darwin: Fix embedded rpaths for
8593 --enable-version-specific-runtime-libs, build extension stub
8594 libs exposing features available from current libgcc_s.
8595
92e91d03 85962009-11-11 Jon Beniston <jon@beniston.com>
f6fe91e8 8597
278afeb5 8598 * config.host: Add lm32 targets.
8599 * config/lm32: New directory.
8600 * config/lm32/libgcc_lm32.h: New file.
8601 * config/lm32/_mulsi3.c: New file.
8602 * config/lm32/_udivmodsi4.c: New file.
8603 * config/lm32/_divsi3.c: New file.
8604 * config/lm32/_modsi3.c: New file.
8605 * config/lm32/_udivsi3.c: New file.
8606 * config/lm32/_umodsi3.c: New file.
8607 * config/lm32/_lshrsi3.S: New file.
8608 * config/lm32/_ashrsi3.S: New file.
8609 * config/lm32/_ashlsi3.S: New file.
8610 * config/lm32/crti.S: New file.
8611 * config/lm32/crtn.S: New file.
8612 * config/lm32/t-lm32: New file.
8613 * config/lm32/t-elf: New file.
8614 * config/lm32/t-uclinux: New file.
f6fe91e8 8615
24833e1a 86162009-10-26 Nick Clifton <nickc@redhat.com>
8617
8618 * config.host: Add support for RX target.
8619 * config/rx: New directory.
8620 * config/rx/rx-abi-functions.c: New file. Supplementary
8621 functions for libgcc to support the RX ABI.
8622 * config/rx/rx-abi.h: New file. Supplementary header file for
8623 libgcc RX ABI functions.
8624 * config/rx/t-rx: New file: Makefile fragment for building
8625 libgcc for the RX.
8626
1d7e299f 86272009-10-09 Uros Bizjak <ubizjak@gmail.com>
8628
8629 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8630 constraint of y0 to "g".
8631
e38fe738 86322009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8633
8634 * config.host: Include the s390 makefile fragments.
8635 * config/s390/32/_fixdfdi.c: New file.
8636 * config/s390/32/_fixsfdi.c: New file.
8637 * config/s390/32/_fixtfdi.c: New file.
8638 * config/s390/32/_fixunsdfdi.c: New file.
8639 * config/s390/32/_fixunssfdi.c: New file.
8640 * config/s390/32/_fixunstfdi.c: New file.
8641 * config/s390/32/t-floattodi: New file.
8642 * config/s390/libgcc-glibc.ver: New file.
8643 * config/s390/t-crtstuff: New file.
8644 * config/s390/t-linux: New file.
8645 * config/s390/t-tpf: New file.
8646
81a71e2b 86472009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8648
8649 * configure.ac (AC_PREREQ): Bump to 2.64.
8650
a1ef431d 86512009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8652
8653 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8654
cd9a469c 86552009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8656
8657 * configure: Regenerate.
8658
9b9a2528 86592009-08-09 Douglas B Rupp <rupp@gnat.com>
8660
8661 * config.host (ia64-hp-*vms*): New target.
8662 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8663 with ia64-hp-*vms*.
8664
a2655af1 86652009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8666
8667 * configure.ac: Add snippet for maintainer-mode.
8668 * configure: Regenerate.
8669 * Makefile.in (AUTOCONF, configure_deps): New variables.
8670 ($(srcdir)/configure)): New rule, active only with maintainer
8671 mode turned on.
8672
46222c18 86732009-06-23 DJ Delorie <dj@redhat.com>
8674
8675 Add MeP port.
8676 * config.host: Add mep support.
8677
13dc7657 86782009-06-22 Kai Tietz <kai.tietz@onevision.com>
8679
82a3cc73 8680 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 8681 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 8682
8683 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8684 for mingw targets.
13dc7657 8685 * config/i386/64/_multc3.c: Likewise.
8686 * config/i386/64/_powitf2.c: Likewise.
8687 * config/i386/64/eqtf2.c: Likewise.
8688 * config/i386/64/getf2.c: Likewise.
8689 * config/i386/64/letf2.c: Likewise.
8690 * config/i386/64/letf2.c: Likewise.
82a3cc73 8691 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8692 unsigned long long for x64 mingw targets.
8693 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8694 (_FP_I_TYPE): Define as long long for x64 mingw target.
13dc7657 8695
63bfd172 86962009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8697
8698 * config.host (vax-*-linux*): New.
8699
be52b6d8 87002009-05-31 Anthony Green <green@moxielogic.com>
8701
8702 * config.host: Add moxie support.
8703 * config/moxie/t-moxie: New file.
8704
92e91d03 87052009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6471e33b 8706
8707 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 8708 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 8709
09ec66c8 87102009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8711
8712 * config.host: Add i386/${host_address}/t-fprules-softfp to
8713 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8714
6bc9506f 87152009-04-09 Nick Clifton <nickc@redhat.com>
8716
8717 * config/ia64/tf-signs.c: Change copyright header to refer to
8718 version 3 of the GNU General Public License with version 3.1
8719 of the GCC Runtime Library Exception and to point readers at
8720 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8721 web page.
8722 * config/i386/32/tf-signs.c: Likewise.
8723 * config/libbid/_addsub_dd.c: Likewise.
8724 * config/libbid/_addsub_sd.c: Likewise.
8725 * config/libbid/_addsub_td.c: Likewise.
8726 * config/libbid/_dd_to_df.c: Likewise.
8727 * config/libbid/_dd_to_di.c: Likewise.
8728 * config/libbid/_dd_to_sd.c: Likewise.
8729 * config/libbid/_dd_to_sf.c: Likewise.
8730 * config/libbid/_dd_to_si.c: Likewise.
8731 * config/libbid/_dd_to_td.c: Likewise.
8732 * config/libbid/_dd_to_tf.c: Likewise.
8733 * config/libbid/_dd_to_udi.c: Likewise.
8734 * config/libbid/_dd_to_usi.c: Likewise.
8735 * config/libbid/_dd_to_xf.c: Likewise.
8736 * config/libbid/_df_to_dd.c: Likewise.
8737 * config/libbid/_df_to_sd.c: Likewise.
8738 * config/libbid/_df_to_td.c: Likewise.
8739 * config/libbid/_di_to_dd.c: Likewise.
8740 * config/libbid/_di_to_sd.c: Likewise.
8741 * config/libbid/_di_to_td.c: Likewise.
8742 * config/libbid/_div_dd.c: Likewise.
8743 * config/libbid/_div_sd.c: Likewise.
8744 * config/libbid/_div_td.c: Likewise.
8745 * config/libbid/_eq_dd.c: Likewise.
8746 * config/libbid/_eq_sd.c: Likewise.
8747 * config/libbid/_eq_td.c: Likewise.
8748 * config/libbid/_ge_dd.c: Likewise.
8749 * config/libbid/_ge_sd.c: Likewise.
8750 * config/libbid/_ge_td.c: Likewise.
8751 * config/libbid/_gt_dd.c: Likewise.
8752 * config/libbid/_gt_sd.c: Likewise.
8753 * config/libbid/_gt_td.c: Likewise.
8754 * config/libbid/_isinfd128.c: Likewise.
8755 * config/libbid/_isinfd32.c: Likewise.
8756 * config/libbid/_isinfd64.c: Likewise.
8757 * config/libbid/_le_dd.c: Likewise.
8758 * config/libbid/_le_sd.c: Likewise.
8759 * config/libbid/_le_td.c: Likewise.
8760 * config/libbid/_lt_dd.c: Likewise.
8761 * config/libbid/_lt_sd.c: Likewise.
8762 * config/libbid/_lt_td.c: Likewise.
8763 * config/libbid/_mul_dd.c: Likewise.
8764 * config/libbid/_mul_sd.c: Likewise.
8765 * config/libbid/_mul_td.c: Likewise.
8766 * config/libbid/_ne_dd.c: Likewise.
8767 * config/libbid/_ne_sd.c: Likewise.
8768 * config/libbid/_ne_td.c: Likewise.
8769 * config/libbid/_sd_to_dd.c: Likewise.
8770 * config/libbid/_sd_to_df.c: Likewise.
8771 * config/libbid/_sd_to_di.c: Likewise.
8772 * config/libbid/_sd_to_sf.c: Likewise.
8773 * config/libbid/_sd_to_si.c: Likewise.
8774 * config/libbid/_sd_to_td.c: Likewise.
8775 * config/libbid/_sd_to_tf.c: Likewise.
8776 * config/libbid/_sd_to_udi.c: Likewise.
8777 * config/libbid/_sd_to_usi.c: Likewise.
8778 * config/libbid/_sd_to_xf.c: Likewise.
8779 * config/libbid/_sf_to_dd.c: Likewise.
8780 * config/libbid/_sf_to_sd.c: Likewise.
8781 * config/libbid/_sf_to_td.c: Likewise.
8782 * config/libbid/_si_to_dd.c: Likewise.
8783 * config/libbid/_si_to_sd.c: Likewise.
8784 * config/libbid/_si_to_td.c: Likewise.
8785 * config/libbid/_td_to_dd.c: Likewise.
8786 * config/libbid/_td_to_df.c: Likewise.
8787 * config/libbid/_td_to_di.c: Likewise.
8788 * config/libbid/_td_to_sd.c: Likewise.
8789 * config/libbid/_td_to_sf.c: Likewise.
8790 * config/libbid/_td_to_si.c: Likewise.
8791 * config/libbid/_td_to_tf.c: Likewise.
8792 * config/libbid/_td_to_udi.c: Likewise.
8793 * config/libbid/_td_to_usi.c: Likewise.
8794 * config/libbid/_td_to_xf.c: Likewise.
8795 * config/libbid/_tf_to_dd.c: Likewise.
8796 * config/libbid/_tf_to_sd.c: Likewise.
8797 * config/libbid/_tf_to_td.c: Likewise.
8798 * config/libbid/_udi_to_dd.c: Likewise.
8799 * config/libbid/_udi_to_sd.c: Likewise.
8800 * config/libbid/_udi_to_td.c: Likewise.
8801 * config/libbid/_unord_dd.c: Likewise.
8802 * config/libbid/_unord_sd.c: Likewise.
8803 * config/libbid/_unord_td.c: Likewise.
8804 * config/libbid/_usi_to_dd.c: Likewise.
8805 * config/libbid/_usi_to_sd.c: Likewise.
8806 * config/libbid/_usi_to_td.c: Likewise.
8807 * config/libbid/_xf_to_dd.c: Likewise.
8808 * config/libbid/_xf_to_sd.c: Likewise.
8809 * config/libbid/_xf_to_td.c: Likewise.
8810 * config/libbid/bid128.c: Likewise.
8811 * config/libbid/bid128_2_str.h: Likewise.
8812 * config/libbid/bid128_2_str_macros.h: Likewise.
8813 * config/libbid/bid128_2_str_tables.c: Likewise.
8814 * config/libbid/bid128_add.c: Likewise.
8815 * config/libbid/bid128_compare.c: Likewise.
8816 * config/libbid/bid128_div.c: Likewise.
8817 * config/libbid/bid128_fma.c: Likewise.
8818 * config/libbid/bid128_logb.c: Likewise.
8819 * config/libbid/bid128_minmax.c: Likewise.
8820 * config/libbid/bid128_mul.c: Likewise.
8821 * config/libbid/bid128_next.c: Likewise.
8822 * config/libbid/bid128_noncomp.c: Likewise.
8823 * config/libbid/bid128_quantize.c: Likewise.
8824 * config/libbid/bid128_rem.c: Likewise.
8825 * config/libbid/bid128_round_integral.c: Likewise.
8826 * config/libbid/bid128_scalb.c: Likewise.
8827 * config/libbid/bid128_sqrt.c: Likewise.
8828 * config/libbid/bid128_string.c: Likewise.
8829 * config/libbid/bid128_to_int16.c: Likewise.
8830 * config/libbid/bid128_to_int32.c: Likewise.
8831 * config/libbid/bid128_to_int64.c: Likewise.
8832 * config/libbid/bid128_to_int8.c: Likewise.
8833 * config/libbid/bid128_to_uint16.c: Likewise.
8834 * config/libbid/bid128_to_uint32.c: Likewise.
8835 * config/libbid/bid128_to_uint64.c: Likewise.
8836 * config/libbid/bid128_to_uint8.c: Likewise.
8837 * config/libbid/bid32_to_bid128.c: Likewise.
8838 * config/libbid/bid32_to_bid64.c: Likewise.
8839 * config/libbid/bid64_add.c: Likewise.
8840 * config/libbid/bid64_compare.c: Likewise.
8841 * config/libbid/bid64_div.c: Likewise.
8842 * config/libbid/bid64_fma.c: Likewise.
8843 * config/libbid/bid64_logb.c: Likewise.
8844 * config/libbid/bid64_minmax.c: Likewise.
8845 * config/libbid/bid64_mul.c: Likewise.
8846 * config/libbid/bid64_next.c: Likewise.
8847 * config/libbid/bid64_noncomp.c: Likewise.
8848 * config/libbid/bid64_quantize.c: Likewise.
8849 * config/libbid/bid64_rem.c: Likewise.
8850 * config/libbid/bid64_round_integral.c: Likewise.
8851 * config/libbid/bid64_scalb.c: Likewise.
8852 * config/libbid/bid64_sqrt.c: Likewise.
8853 * config/libbid/bid64_string.c: Likewise.
8854 * config/libbid/bid64_to_bid128.c: Likewise.
8855 * config/libbid/bid64_to_int16.c: Likewise.
8856 * config/libbid/bid64_to_int32.c: Likewise.
8857 * config/libbid/bid64_to_int64.c: Likewise.
8858 * config/libbid/bid64_to_int8.c: Likewise.
8859 * config/libbid/bid64_to_uint16.c: Likewise.
8860 * config/libbid/bid64_to_uint32.c: Likewise.
8861 * config/libbid/bid64_to_uint64.c: Likewise.
8862 * config/libbid/bid64_to_uint8.c: Likewise.
8863 * config/libbid/bid_b2d.h: Likewise.
8864 * config/libbid/bid_binarydecimal.c: Likewise.
8865 * config/libbid/bid_conf.h: Likewise.
8866 * config/libbid/bid_convert_data.c: Likewise.
8867 * config/libbid/bid_decimal_data.c: Likewise.
8868 * config/libbid/bid_decimal_globals.c: Likewise.
8869 * config/libbid/bid_div_macros.h: Likewise.
8870 * config/libbid/bid_dpd.c: Likewise.
8871 * config/libbid/bid_flag_operations.c: Likewise.
8872 * config/libbid/bid_from_int.c: Likewise.
8873 * config/libbid/bid_functions.h: Likewise.
8874 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8875 * config/libbid/bid_inline_add.h: Likewise.
8876 * config/libbid/bid_internal.h: Likewise.
8877 * config/libbid/bid_round.c: Likewise.
8878 * config/libbid/bid_sqrt_macros.h: Likewise.
8879
88802009-04-09 Jakub Jelinek <jakub@redhat.com>
8881
8882 * Makefile.in: Change copyright header to refer to version
8883 3 of the GNU General Public License and to point readers at the
8884 COPYING3 file and the FSF's license web page.
8885 * config.host: Likewise.
8886
4e5e2802 88872009-04-07 Alan Modra <amodra@bigpond.net.au>
8888
8889 * config.host: Reorder and merge to match config.gcc change.
8890
8d40ea45 88912009-04-03 Alan Modra <amodra@bigpond.net.au>
8892
8893 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8894
f2397fc4 88952009-03-28 Joseph Myers <joseph@codesourcery.com>
8896
8897 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8898 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8899 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8900 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8901
24200b28 89022009-02-12 Uros Bizjak <ubizjak@gmail.com>
8903
8904 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8905 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8906
8b21beb2 89072009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8908
24200b28 8909 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8910 ia64/t-softfp-compat to tmake_file.
8b21beb2 8911
8912 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8913
8914 * config/ia64/__divxf3.asm: New.
8915 * config/ia64/_fixtfdi.asm: Likewise.
8916 * config/ia64/_fixunstfdi.asm: Likewise.
8917 * config/ia64/_floatditf.asm: Likewise.
8918 * config/ia64/t-fprules-softfp: Likewise.
8919 * config/ia64/t-softfp-compat: Likewise.
8920 * config/ia64/tf-signs.c: Likewise.
8921
9df8be69 89222009-01-18 Ben Elliston <bje@au.ibm.com>
8923
8924 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8925
f2b540ae 89262009-01-16 Ben Elliston <bje@au.ibm.com>
8927
8928 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8929 to tmake_file.
8930
5790f80a 89312009-01-13 Ben Elliston <bje@au.ibm.com>
8932
8933 * config/t-softfp: New file.
8934 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8935 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8936
92e91d03 89372009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
b8138586 8938
8939 * config.host: Add m32r*-*-rtems*.
8940
92e91d03 89412008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
7eac0a4e 8942
8943 * config.host: Add m32c*-*-rtems*.
8944
03150a33 89452008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8946
8947 PR bootstrap/33100
8948 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8949 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8950 * configure: Regenerate.
8951 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8952 tmake_file here from gcc/config.gcc.
8953 Move extra_parts here from gcc/config.gcc.
8954 * config/i386/t-sol2: Move here from gcc/config/i386.
8955 Use gcc_srcdir instead of srcdir.
8956
77a32a8e 89572008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8958
8959 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8960 case.
8961
1eab96a6 89622008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8963
8964 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8965
74cd9df8 89662008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8967
8968 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8969
8372e9ea 89702008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8971
8972 Add picoChip port.
8973 * config.host: Add picochip-*-*.
8974
75c7ffbc 89752008-08-06 Bob Wilson <bob.wilson@acm.org>
8976
8977 * config.host: Match more processor names for Xtensa.
8978
fb4830c6 89792008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8980
8981 * config/i386/64/t-softfp-compat: Update comments.
8982
7c92db45 89832008-07-07 H.J. Lu <hongjiu.lu@intel.com>
8984
8985 * config/i386/64/_divtc3-compat.c: Moved to ...
8986 * config/i386/64/_divtc3.c: Here.
8987
8988 * config/i386/64/_multc3-compat.c: Moved to ...
8989 * config/i386/64/_multc3.c: Here.
8990
8991 * config/i386/64/_powitf2-compat.c: Moved to ...
8992 * config/i386/64/_powitf2.c: Here.
8993
8994 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8995 .c suffix instead of -compat.c.
8996
ec2e6a4e 89972008-07-05 Uros Bizjak <ubizjak@gmail.com>
8998
8999 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9000 (_FP_MUL_MEAT_D): Ditto.
9001 (_FP_DIV_MEAT_S): Ditto.
9002 (_FP_DIV_MEAT_D): Ditto.
9003
fdbb505a 90042008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9005
9006 * Makefile.in: Add support for __sync_* libgcc functions.
9007
310c48f2 90082008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9009
9010 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9011
144633f4 90122008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9013
9014 PR boostrap/36702
9015 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9016 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9017
9018 * config/i386/64/t-fprules-softfp: Moved to ...
9019 * config/i386/64/t-softfp-compat: This. New.
9020
e25ffafe 90212008-07-02 Uros Bizjak <ubizjak@gmail.com>
9022
9023 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9024 Initialize f with 0.0.
9025
b3fd46a0 90262008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9027
9028 PR target/36669
9029 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9030
9031 * config/i386/64/_divtc3-compat.c: New.
9032 * config/i386/64/_multc3-compat.c: Likewise.
9033 * config/i386/64/_powitf2-compat.c: Likewise.
9034 * config/i386/64/eqtf2.c: Likewise.
9035 * config/i386/64/getf2.c: Likewise.
9036 * config/i386/64/letf2.c: Likewise.
9037 * config/i386/64/t-fprules-softfp: Likewise.
9038
90392008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9040
9041 * config.host: Add i386/${host_address}/t-fprules-softfp to
9042 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
1d7e299f 9043 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 9044
9045 * configure.ac: Set host_address to 64 or 32 for x86.
9046 * configure: Regenerated.
9047
9048 * Makefile.in (config.status): Also depend on
9049 $(srcdir)/config.host.
9050
9051 * config/i386/32/t-fprules-softfp: New.
9052 * config/i386/32/tf-signs.c: Likewise.
9053
9054 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9055
90562008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9057 Uros Bizjak <ubizjak@gmail.com>
9058
9059 * config/i386/32/sfp-machine.h: New.
9060
eaef9489 90612008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9062
9063 * config/rs6000/t-ppccomm: Remove rules that conflict with
9064 auto-generated rules.
9065
5b2c7553 90662008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9067
9068 * configure.ac: sinclude override.m4.
9069 * configure: Regenerate.
9070
dde02e56 90712008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9072
9073 * configure: Regenerate.
9074
4d6f3aad 90752008-06-10 Joseph Myers <joseph@codesourcery.com>
9076
9077 * Makefile.in (DECNUMINC): Remove
9078 -I$(MULTIBUILDTOP)../../libdecnumber.
9079 * gstdint.h: New.
9080
6af9f7ea 90812008-06-07 Joseph Myers <joseph@codesourcery.com>
9082
9083 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9084 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9085 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9086 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9087 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9088 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9089 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9090 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9091 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9092 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9093 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9094 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9095 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9096 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9097
ccf1c0f1 90982008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9099
9100 * config.host (sh2[lbe]*-*-linux*): Allow target.
9101
19872d0b 91022008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9103
9104 * config/rs6000/t-ppccomm: Add build rules for new files.
9105 (LIB2ADD_ST): New variable.
9106
38dd5584 91072008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9108
9109 PR target/34210
9110 PR target/35508
9111 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9112 * config/t-avr: New file. Build 16bit libgcc functions.
9113
8e5da69c 91142008-03-02 Jakub Jelinek <jakub@redhat.com>
9115
9116 PR target/35401
9117 * config/t-slibgcc-darwin: Make install-leaf dependent on
9118 install-darwin-libgcc-stubs instead of install.
9119
99c77e32 91202008-01-25 Joseph Myers <joseph@codesourcery.com>
9121
9122 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9123 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9124 sh-*-rtemscoff*): Remove cases.
9125
8237872e 91262007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9127
9128 * Makefile.in (all): Use install-leaf rather than install.
9129 (install): Split most of the rule into...
9130 (install-leaf): ...this new one.
9131
00a05b87 91322007-12-19 Etsushi Kato <ek.kato@gmail.com>
9133 Paolo Bonzini <bonzini@gnu.org>
9134
9135 PR target/30572
e25ffafe 9136 * Makefile.in: Use @shlib_slibdir@ substitution to get
9137 correct install name on darwin.
00a05b87 9138 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 9139
877d7f12 91402007-12-15 Hans-Peter Nilsson <hp@axis.com>
9141
9142 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9143 cris-*-elf and cris-*-none.
9144 (crisv32-*-linux*): Similar, as cris-*-linux*.
9145
75612461 91462007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9147
9148 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9149
f11b4169 91502007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9151
9152 PR regression/33926
9153 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9154 * configure: Regenerated.
9155
84d1fc49 91562007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9157
9158 * Makefile.in (dfp-filenames): Replace decimal_globals,
9159 decimal_data, binarydecimal and convert_data with
9160 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9161 and bid_convert_data, respectively.
9162
3ac0842f 91632007-09-17 Chao-ying Fu <fu@mips.com>
9164 Nigel Stephens <nigel@mips.com>
9165
9166 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9167 * Makefile.in (fixed_point): Define.
9168 Check if fixed_point is yes to build support functions.
9169 * configure.ac: Check for fixed_point support.
9170 * configure: Regenerated.
9171 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9172 funcs, modes, from, to.
9173
8c72b2f9 91742007-09-11 Janis Johnson <janis187@us.ibm.com
9175
9176 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9177
c8ac5d9a 91782007-09-10 Janis Johnson <janis187@us.ibm.com>
9179
9180 * Makefile.in (dfp-filenames): Remove decUtility, add
9181 decDouble, decPacked, decQuad, decSingle.
9182
cc8ebe39 91832007-08-27 Hans Kester <hans.kester@ellips.nl>
9184
9185 * config.host : Add x86_64-elf target.
9186
db1c99de 91872007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9188
9189 * configure.ac (set_have_cc_tls): Add a missing =.
9190 * configure: Regenerated.
9191
e4cbe54f 91922007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9193
9194 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9195 and x86_64-*-linux*.
9196
9197 * config/t-tls: New file.
9198
1d7e299f 9199 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 9200
9201 * configure.ac: Include ../config/enable.m4 and
9202 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9203 supports TLS and substitute set_have_cc_tls.
9204 * configure: Regenerated.
9205
9b6b0236 92062007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9207
9208 * Makefile.in: Use libbid for DFP when BID is enabled.
9209
9e51385b 92102007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9211
9212 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 9213 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 9214 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9215
8f433c51 92162007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 9217 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 9218
9219 PR target/29498
9220 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9221 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9222 * config/i386/t-crtfm: Compile crtfastmath.o with
9223 -minline-all-stringops.
9224
723e1902 92252007-05-10 Richard Sandiford <richard@codesourcery.com>
9226
9227 * config.host (sparc-wrs-vxworks): New target.
9228
278e2fd1 92292007-04-14 Kazu Hirata <kazu@codesourcery.com>
9230
9231 * config.host: Recognize fido.
9232
2968d68c 92332007-04-04 Janis Johnson <janis187@us.ibm.com>
9234
9235 * configure: Check host, not target, for decimal float support.
9236
6d057ce8 92372007-04-03 Uros Bizjak <ubizjak@gmail.com>
9238
9239 * config/i386/t-crtpc: New file.
9240 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
e25ffafe 9241 (x86_64-*-linux*): Ditto.
6d057ce8 9242
0bbe9142 92432007-02-30 Kai Tietz <kai.tietz@onevision.com>
9244
9245 * config.host (x86_64-*-mingw*): New target.
9246
10de71e1 92472007-03-23 Michael Meissner <michael.meissner@amd.com>
9248 H.J. Lu <hongjiu.lu@intel.com>
9249
9250 * Makefile.in (enable_decimal_float): New.
9251 (DECNUMINC): Add
9252 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9253 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9254 (decbits-filenames): This.
9255 (decbits-objects): New.
9256 (libgcc-objects): Add $(decbits-objects).
9257
9258 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9259 Substitute enable_decimal_float.
9260 * configure: Regenerated.
9261
7a9b9c95 92622007-03-19 Hans-Peter Nilsson <hp@axis.com>
9263
9264 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9265
37decb40 92662007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9267
9268 * Makefile.in (install-info): New dummy target.
9269
bce94ab5 92702007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9271
9272 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9273
1403bdd1 92742007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9275
9276 * Makefile.in: Add install-html and install-pdf dummy
9277 targets.
9278
fce64ed4 92792007-02-05 Roger Sayle <roger@eyesopen.com>
9280 Daniel Jacobowitz <dan@codesourcery.com>
9281
9282 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9283 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9284 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9285
4d863ca5 92862007-01-29 Janis Johnson <janis187@us.ibm.com>
9287
9288 * Makefile.in (dec-filenames): Add decExcept.
9289
f0356913 92902007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9291
9292 PR bootstrap/30469
9293 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9294 -fprofile-use.
9295
bbdcab13 92962007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9297
9298 * configure.ac: Add --enable-version-specific-runtime-libs.
9299 Correct $slibdir default.
9300 * configure: Regenerated.
9301
3da0fdbc 93022007-01-23 Joseph Myers <joseph@codesourcery.com>
9303
9304 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9305
cdca0ab7 93062007-01-21 Andrew Pinski <pinskia@gmail.com>
9307
9308 PR target/30519
9309 * config.host (alpha*-*-linux*): Set extra_parts.
9310
97f1a704 93112007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9312
9313 * config/sh/t-linux: New.
9314 * config.host (sh*-*-linux*): Set tmake_file.
9315
52617116 93162007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9317
9318 * Makefile.in (install): Handle multilibs.
9319
c0e5c948 93202007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9321
9322 * Makefile.in: Added .PHONY entry for documentation targets.
9323
d62e2f2f 93242007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9325
9326 * Makefile.in: Add empty info, html, dvi, pdf targets.
9327
68cf2994 93282007-01-04 Mike Stump <mrs@apple.com>
9329
9330 * Makefile.in (MAKEINFO): Remove.
9331 (PERL): Likewise.
9332
f534b3b3 93332007-01-04 Paolo Bonzini <bonzini@gnu.org>
9334
9335 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9336 * configure: Regenerate.
9337 * Makefile.in (host_subdir): Substitute it.
1d7e299f 9338 (gcc_objdir): Use it.
f534b3b3 9339
c11c6ae3 93402007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9341
9342 * config.host (ia64*-*-linux*): Set tmake_file.
9343
d272bed8 93442007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9345
9346 * Makefile.in (version): Define.
9347
894a47b4 93482007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9349 Paolo Bonzini <bonzini@gnu.org>
9350
9351 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9352 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9353 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9354 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9355 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9356 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9357 * configure: Generated.
f1717362 9358\f
8e8f6434 9359Copyright (C) 2007-2018 Free Software Foundation, Inc.
f1717362 9360
9361Copying and distribution of this file, with or without modification,
9362are permitted in any medium without royalty provided the copyright
9363notice and this notice are preserved.