]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
re PR libgcc/86213 (-fsplit-stack runtime may clobber SSE input param reg)
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2018-06-20 Than McIntosh <thanm@google.com>
2
3 PR libgcc/86213
4 * generic-morestack.c (allocate_segment): Move calls to getenv and
5 getpagesize to __morestack_load_mmap.
6 (__morestack_load_mmap) Initialize static_pagesize and
7 use_guard_page here so as to avoid clobbering SSE regs during a
8 __morestack call.
9
10 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
11
12 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
13 support modules with -mno-gnu-attribute.
14 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
15
16 2018-06-07 Olivier Hainque <hainque@adacore.com>
17
18 * config/t-vxworks (LIBGCC_INCLUDES): Add
19 -I$(MULTIBUILDTOP)../../gcc/include.
20 * config/t-vxworks7: Likewise. Reformat a bit to match
21 the t-vxworks layout.
22
23 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
24
25 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
26
27 2018-06-07 Martin Liska <mliska@suse.cz>
28
29 * libgcov-driver.c: Rename cs_all to all and assign it from
30 all_prg.
31
32 2018-06-07 Martin Liska <mliska@suse.cz>
33
34 PR bootstrap/86057
35 * libgcov-driver-system.c (replace_filename_variables): Use
36 memcpy instead of mempcpy.
37 (allocate_filename_struct): Do not allocate filename, allocate
38 prefix and set it.
39 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
40 here and properly copy content into it.
41 * libgcov-driver.c (struct gcov_filename): Remove max_length
42 field, change prefix from size_t into char *.
43 (compute_summary): Do not calculate longest filename.
44 (gcov_do_dump): Release memory of gf.filename after each file.
45 * libgcov-util.c (compute_summary): Use new signature of
46 compute_summary.
47 (calculate_overlap): Likewise.
48
49 2018-06-05 Martin Liska <mliska@suse.cz>
50
51 PR gcov-profile/47618
52 * libgcov-driver-system.c (replace_filename_variables): New
53 function.
54 (gcov_exit_open_gcda_file): Use it.
55
56 2018-06-05 Martin Liska <mliska@suse.cz>
57
58 * libgcov-driver.c (gcov_compute_histogram): Remove usage
59 of gcov_ctr_summary.
60 (compute_summary): Do it just for a single summary.
61 (merge_one_data): Likewise.
62 (merge_summary): Simplify as we read just single summary.
63 (dump_one_gcov): Pass proper argument.
64 * libgcov-util.c (compute_one_gcov): Simplify as we have just
65 single summary.
66 (gcov_info_count_all_cold): Likewise.
67 (calculate_overlap): Likewise.
68
69 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
70 Monk Chiang <sh.chiang04@gmail.com>
71
72 * config.host (nds32*-linux*): New.
73 * config/nds32/linux-atomic.c: New file.
74 * config/nds32/linux-unwind.h: New file.
75
76 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
77
78 PR target/85591
79 * config/i386/cpuinfo.c (get_amd_cpu): Return
80 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
81
82 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
83
84 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
85
86 2018-05-29 Martin Liska <mliska@suse.cz>
87
88 PR gcov-profile/85759
89 * libgcov-driver-system.c (gcov_error): Introduce usage of
90 GCOV_EXIT_AT_ERROR env. variable.
91 * libgcov-driver.c (merge_one_data): Print error that we
92 overwrite a gcov file with a different timestamp.
93
94 2018-05-23 Kalamatee <kalamatee@gmail.com>
95
96 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
97 path to Lf$finfty.
98
99 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
100 Monk Chiang <sh.chiang04@gmail.com>
101 Jim Wilson <jimw@sifive.com>
102
103 * config/riscv/save-restore.S: Add support for rv32e.
104
105 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
106
107 * config/arm/libunwind.S: Update comment relating to armv5.
108
109 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
110
111 * config/arm/cmse.c (cmse_check_address_range): Replace
112 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
113
114 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
115
116 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
117 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
118
119 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
120
121 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
122 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
123
124 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
125
126 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
127
128 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
129 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
130
131 PR libgcc/84292
132 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
133 op_and_fetch to return the right result.
134
135 2018-04-27 Alan Modra <amodra@gmail.com>
136
137 PR libgcc/85532
138 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
139 -fno-asynchronous-unwind-tables.
140
141 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
142
143 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
144 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
145
146 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
147
148 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
149 when including "config/i386/shadow-stack-unwind.h".
150
151 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
152
153 * configure: Regenerated.
154
155 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
156
157 PR target/85456
158 * config/rs6000/_powikf2.c: New file. Add support for the
159 __builtin_powil function when long double is IEEE 128-bit floating
160 point.
161 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
162 __powikf2 support.
163 (__powikf2): Likewise.
164 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
165 (__powikf2_hw): Likewise.
166 (__powikf2): Likewise.
167 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
168 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
169 (_powikf2-hw.c): Likewise.
170
171 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
172
173 PR libgcc/85334
174 * unwind-generic.h (_Unwind_Frames_Increment): New.
175 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
176 Likewise.
177 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
178 count with _Unwind_Frames_Increment.
179 (_Unwind_ForcedUnwind_Phase2): Likewise.
180
181 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
182
183 PR libgcc/85379
184 * config/i386/morestack.S (__stack_split_initialize): Add
185 _CET_ENDBR.
186
187 2018-04-19 Jakub Jelinek <jakub@redhat.com>
188
189 * configure: Regenerated.
190
191 2018-04-18 David Malcolm <dmalcolm@redhat.com>
192
193 PR jit/85384
194 * configure: Regenerate.
195
196 2018-04-16 Jakub Jelinek <jakub@redhat.com>
197
198 PR target/84945
199 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
200 -Wdangling-else warnings. Mask shift counts to avoid
201 -Wshift-count-negative and -Wshift-count-overflow false positives.
202
203 2018-04-06 Ruslan Bukin <br@bsdpad.com>
204
205 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
206
207 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
208
209 PR target/85100
210 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
211 (XSTATE_FP): Likewise.
212 (XSTATE_SSE): Likewise.
213 (XSTATE_YMM): Likewise.
214 (XSTATE_OPMASK): Likewise.
215 (XSTATE_ZMM): Likewise.
216 (XSTATE_HI_ZMM): Likewise.
217 (XCR_AVX_ENABLED_MASK): Likewise.
218 (XCR_AVX512F_ENABLED_MASK): Likewise.
219 (get_available_features): Enable AVX and AVX512 features only
220 if their states are supported by OSXSAVE.
221
222 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
223
224 PR target/85025
225 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
226 Fix a typo, tmp => 255.
227
228 2018-03-20 Jakub Jelinek <jakub@redhat.com>
229
230 PR target/84945
231 * config/i386/cpuinfo.h (__cpu_features2): Declare.
232 * config/i386/cpuinfo.c (__cpu_features2): New variable for
233 ifndef SHARED only.
234 (set_feature): Define.
235 (get_available_features): Use set_feature macro. Set __cpu_features2
236 to the second word of features ifndef SHARED.
237
238 2018-03-15 Julia Koval <julia.koval@intel.com>
239
240 * config/i386/cpuinfo.c (get_available_features): Add
241 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
242 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
243 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
244 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
245 FEATURE_AVX512BITALG.
246
247 2018-03-14 Julia Koval <julia.koval@intel.com>
248
249 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
250 icelake client and icelake server.
251
252 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
253
254 * config/pa/fptr.c (_dl_read_access_allowed): New.
255 (__canonicalize_funcptr_for_compare): Use it.
256
257 2018-02-28 Jakub Jelinek <jakub@redhat.com>
258
259 PR debug/83917
260 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
261 $asm_hidden_op if visibility ("hidden") attribute works.
262 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
263 * config/i386/i386-asm.h: Don't include auto-host.h.
264 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
265 PACKAGE_URL): Don't undefine.
266 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
267 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
268 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
269 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
270 definition instead of hardcoded .hidden.
271 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
272 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
273 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
274 (USE_GAS_CFI_DIRECTIVES): Don't define.
275 * configure: Regenerated.
276 * config.in: Likewise.
277
278 2018-02-26 Jakub Jelinek <jakub@redhat.com>
279
280 PR debug/83917
281 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
282 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
283 inclusion of auto-target.h and auto-host.h.
284 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
285 __GCC_HAVE_DWARF2_CFI_ASM.
286 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
287 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
288 cfi_pop): Define.
289 * config/i386/cygwin.S: Don't include auto-host.h here, just
290 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
291 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
292 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
293 * config/i386/resms64fx.h: Add cfi_* directives.
294 * config/i386/resms64x.h: Likewise.
295
296 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
297
298 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
299 .literal_position directive.
300 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
301
302 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
303
304 PR target/84148
305 * configure: Regenerate.
306
307 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
308
309 PR target/84239
310 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
311 Include cetintrin.h not x86intrin.h.
312
313 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
314
315 PR target/84239
316 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
317 Use new _get_ssp and _inc_ssp intrinsics.
318
319 2018-02-02 Julia Koval <julia.koval@intel.com>
320
321 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
322
323 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
324
325 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
326 option.
327 (__divsi3): Use RF16 safe registers.
328 (__modsi3): Likewise.
329
330 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
331
332 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
333 (__divsf3): Make NaN return value quiet.
334 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
335 (__divdf3): Make NaN return value quiet.
336
337 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
338
339 * config/rl78/anddi3.S: New assembly file.
340 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
341
342 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
343
344 * config/rl78/umindi3.S: New assembly file.
345 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
346
347 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
348
349 * config/rl78/smindi3.S: New assembly file.
350 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
351
352 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
353
354 * config/rl78/smaxdi3.S: New assembly file.
355 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
356
357 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
358
359 * config/rl78/umaxdi3.S: New assembly file.
360 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
361
362 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
363
364 PR lto/83452
365 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
366 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
367
368 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
369
370 * config/aarch64/value-unwind.h (aarch64_vg): New function.
371 (DWARF_LAZY_REGISTER_VALUE): Define.
372 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
373 to provide a fallback register value.
374
375 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
376
377 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
378 __ibm128, instead of trying to use long double.
379 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
380 accomidate -mabi=ieeelongdouble multilibs.
381 (CVT_IBM128_TO_FLOAT128): Likewise.
382 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
383 the appropriate IBM extended double type.
384 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
385 (__gcc_qsub): Likewise.
386 (__gcc_qmul): Likewise.
387 (__gcc_qdiv): Likewise.
388 (pack_ldouble): Likewise.
389 (__gcc_qneg): Likewise.
390 (__gcc_qeq): Likewise.
391 (__gcc_qne): Likewise.
392 (__gcc_qge): Likewise.
393 (__gcc_qle): Likewise.
394 (__gcc_stoq): Likewise.
395 (__gcc_dtoq): Likewise.
396 (__gcc_itoq): Likewise.
397 (__gcc_utoq): Likewise.
398 (__gcc_qunord): Likewise.
399 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
400 quad-float128.h for the definitions.
401 (COPYSIGN): Use the f128 version instead of the q version.
402 (INFINITY): Likewise.
403 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
404 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
405 quad-float128.h for the definitions.
406 (COPYSIGN): Use the f128 version instead of the q version.
407 (INFINITY): Likewise.
408 (FABS): Likewise.
409 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
410 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
411 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
412
413 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
414
415 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
416 configuration.
417
418 2018-01-03 Jakub Jelinek <jakub@redhat.com>
419
420 Update copyright years.
421
422 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
423
424 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
425 * config/riscv/multi3.c: New file.
426 * config/riscv/multi3.S: Remove.
427
428 2017-12-08 Jim Wilson <jimw@sifive.com>
429
430 * config/riscv/div.S: Use FUNC_* macros.
431 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
432 * config/riscv/save-restore.S: Likewise.
433 * config/riscv/riscv-asm.h: New.
434
435 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
436
437 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
438 * config/rs6000/_divkc3.c (__divkc3): Likewise.
439
440 PR libgcc/83112
441 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
442 correct type for all ifunc resolvers to silence -Wattribute-alias
443 warnings. Eliminate the forward declaration of the resolver
444 functions which is no longer needed.
445 (__subkf3_resolve): Likewise.
446 (__mulkf3_resolve): Likewise.
447 (__divkf3_resolve): Likewise.
448 (__negkf2_resolve): Likewise.
449 (__eqkf2_resolve): Likewise.
450 (__nekf2_resolve): Likewise.
451 (__gekf2_resolve): Likewise.
452 (__gtkf2_resolve): Likewise.
453 (__lekf2_resolve): Likewise.
454 (__ltkf2_resolve): Likewise.
455 (__unordkf2_resolve): Likewise.
456 (__extendsfkf2_resolve): Likewise.
457 (__extenddfkf2_resolve): Likewise.
458 (__trunckfsf2_resolve): Likewise.
459 (__trunckfdf2_resolve): Likewise.
460 (__fixkfsi_resolve): Likewise.
461 (__fixkfdi_resolve): Likewise.
462 (__fixunskfsi_resolve): Likewise.
463 (__fixunskfdi_resolve): Likewise.
464 (__floatsikf_resolve): Likewise.
465 (__floatdikf_resolve): Likewise.
466 (__floatunsikf_resolve): Likewise.
467 (__floatundikf_resolve): Likewise.
468 (__extendkftf2_resolve): Likewise.
469 (__trunctfkf2_resolve): Likewise.
470
471 PR libgcc/83103
472 * config/rs6000/quad-float128.h (TF): Don't define if long double
473 is IEEE 128-bit floating point.
474 (TCtype): Define as either TCmode or KCmode, depending on whether
475 long double is IEEE 128-bit floating point.
476 (__mulkc3_sw): Add declarations for software/hardware versions of
477 complex multiply/divide.
478 (__divkc3_sw): Likewise.
479 (__mulkc3_hw): Likewise.
480 (__divkc3_hw): Likewise.
481 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
482 handlers to switch between using software emulation and hardware
483 float128 instructions, build the complex multiply/divide functions
484 for both software and hardware support.
485 * config/rs6000/_divkc3.c (_divkc3): Likewise.
486 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
487 (__divkc3_resolve): Likewise.
488 (__mulkc3): Likewise.
489 (__divkc3): Likewise.
490 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
491 (fp128_hw_src): Likewise.
492 (fp128_hw_static_obj): Likewise.
493 (fp128_hw_shared_obj): Likewise.
494 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
495 _mulkc3.c and _divkc3.c, changing the function name.
496 (_divkc3-hw.c): Likewise.
497 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
498 and _divkc3-hw.c.
499
500 2017-11-26 Julia Koval <julia.koval@intel.com>
501
502 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
503 * config/i386/cpuinfo.h (processor_subtypes): Add
504 INTEL_COREI7_CANNONLAKE.
505
506 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
507
508 PR bootstrap/83015
509 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
510 parameter.
511 * config/xtensa/unwind-dw2-xtensa.c: Likewise
512 * config/ia64/unwind-ia64.c: Add frames parameter.
513 * unwind-sjlj.c: Likewise.
514
515 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
516
517 * config/i386/linux-unwind.h: Include
518 config/i386/shadow-stack-unwind.h.
519 * config/i386/shadow-stack-unwind.h: New file.
520 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
521 pass it to _Unwind_Frames_Extra.
522 * unwind-generic.h (_Unwind_Frames_Extra): New.
523 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
524 parameter. Add local variable frames to count number of frames.
525 (_Unwind_ForcedUnwind_Phase2): Likewise.
526 (_Unwind_RaiseException): Add local variable frames to count
527 number of frames, pass it to _Unwind_RaiseException_Phase2 and
528 uw_install_context.
529 (_Unwind_ForcedUnwind): Likewise.
530 (_Unwind_Resume): Likewise.
531 (_Unwind_Resume_or_Rethrow): Likewise.
532
533 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
534
535 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
536 (CET_FLAGS): New.
537 * config/i386/morestack.S: Include <cet.h>.
538 (__morestack_large_model): Add _CET_ENDBR at function entrance.
539 * config/i386/resms64.h: Include <cet.h>.
540 * config/i386/resms64f.h: Likewise.
541 * config/i386/resms64fx.h: Likewise.
542 * config/i386/resms64x.h: Likewise.
543 * config/i386/savms64.h: Likewise.
544 * config/i386/savms64f.h: Likewise.
545 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
546 (CRTSTUFF_T_CFLAGS): Likewise.
547 * configure.ac: Include ../config/cet.m4.
548 Set and substitute CET_FLAGS.
549 * configure: Regenerated.
550
551 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
552
553 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
554 renaming.
555 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
556 * configure.ac (libgcc_cv_solaris_crts): Likewise.
557 * configure: Regenerate.
558
559 2017-11-07 Tom de Vries <tom@codesourcery.com>
560
561 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
562 after "do {} while (0)".
563
564 2017-11-07 Tom de Vries <tom@codesourcery.com>
565
566 PR other/82784
567 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
568 semicolon after "do {} while (0)".
569 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
570 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
571 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
572 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
573
574 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
575
576 PR libgcc/82635
577 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
578 sysctl to determine whether we're in a trampoline.
579 Keep the pattern matching method for systems without
580 KERN_PROC_SIGTRAMP sysctl.
581
582 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
583 Vineet Gupta <vgupta@synopsys.com>
584
585 * config.host (arc*-*-linux*): Set md_unwind_header variable.
586 * config/arc/linux-unwind-reg.def: New file.
587 * config/arc/linux-unwind-reg.h: Likewise.
588
589 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
590
591 * config/rl78/subdi3.S: New assembly file.
592 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
593
594 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
595
596 * config/rl78/adddi3.S: New assembly file.
597 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
598
599 2017-10-13 Jakub Jelinek <jakub@redhat.com>
600
601 PR target/82274
602 * libgcc2.c (__mulvDI3): If both operands have
603 the same highpart of -1 and the topmost bit of lowpart is 0,
604 multiplication overflows even if both lowparts are 0.
605
606 2017-09-28 James Bowman <james.bowman@ftdichip.com>
607
608 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
609
610 2017-09-26 Joseph Myers <joseph@codesourcery.com>
611
612 * config/microblaze/crti.S, config/microblaze/crtn.S,
613 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
614 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
615 config/microblaze/mulsi3.S,
616 config/microblaze/stack_overflow_exit.S,
617 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
618 config/pa/milli64.S: Add .note.GNU-stack section.
619
620 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
621
622 * configure.ac: Add Check for HAVE_AS_AVX.
623 * config.in: Regenerate.
624 * configure: Likewise.
625 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
626 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
627 Correct out-of-date comments.
628
629 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
630
631 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
632 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
633
634 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
635
636 * config/i386/i386-asm.h (PASTE2): New macro.
637 (ASMNAME): Modify to use PASTE2.
638 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
639 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
640 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
641 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
642 * config/i386/resms64f.S: Likewise.
643 * config/i386/resms64fx.S: Likewise.
644 * config/i386/resms64x.S: Likewise.
645 * config/i386/savms64.S: Likewise.
646 * config/i386/savms64f.S: Likewise.
647 * config/i386/avx_resms64.S: New file that only defines a macro and
648 includes it's corresponding header file.
649 * config/i386/avx_resms64f.S: Likewise.
650 * config/i386/avx_resms64fx.S: Likewise.
651 * config/i386/avx_resms64x.S: Likewise.
652 * config/i386/avx_savms64.S: Likewise.
653 * config/i386/avx_savms64f.S: Likewise.
654 * config/i386/sse_resms64.S: Likewise.
655 * config/i386/sse_resms64f.S: Likewise.
656 * config/i386/sse_resms64fx.S: Likewise.
657 * config/i386/sse_resms64x.S: Likewise.
658 * config/i386/sse_savms64.S: Likewise.
659 * config/i386/sse_savms64f.S: Likewise.
660 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
661
662 2017-09-01 Olivier Hainque <hainque@adacore.com>
663 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
664
665 2017-08-31 Olivier Hainque <hainque@adacore.com>
666
667 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
668 match as powerpc-wrs-vxworks*.
669
670 2017-08-07 Jonathan Yong <10walls@gmail.com>
671
672 * config.host (*-cygwin): Include file from mingw
673 config/i386/enable-execute-stack-mingw32.c
674
675 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
676 Doug Rupp <rupp@adacore.com>
677 Olivier Hainque <hainque@adacore.com>
678
679 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
680 as well as arm-wrs-vxworks.
681 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
682 LIB2ADDEH.
683 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
684 __exidx_start and __exidx_end for downloadable modules.
685
686 2017-08-01 Olivier Hainque <hainque@adacore.com>
687
688 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
689 * config/t-vxworks7: Likewise.
690
691 2017-08-01 Olivier Hainque <hainque@adacore.com>
692
693 * config/t-vxworks: Instead of redefining LIB2ADD,
694 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
695
696 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
697
698 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
699
700 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
701
702 PR testsuite/80759
703 * config.host: include i386/t-msabi for darwin and solaris.
704 * config/i386/i386-asm.h
705 (ELFFN): Rename to FN_TYPE.
706 (FN_SIZE): New macro.
707 (FN_HIDDEN): Likewise.
708 (ASMNAME): Likewise.
709 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
710 .globl.
711 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
712 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
713 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
714 .macro.
715 * config/i386/resms64f.S: Likewise.
716 * config/i386/resms64fx.S: Likewise.
717 * config/i386/resms64x.S: Likewise.
718 * config/i386/savms64.S: Likewise.
719 * config/i386/savms64f.S: Likewise.
720
721 2017-07-19 John Marino <gnugcc@marino.st>
722
723 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
724
725 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
726
727 PR target/81193
728 * configure.ac (PowerPC float128 hardware support): Test whether
729 we can use __builtin_cpu_supports before enabling the ifunc
730 handler.
731 * configure: Regenerate.
732
733 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
734
735 * config.host: Remove uclibc from arc target spec.
736
737 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
738
739 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
740
741 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
742
743 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
744 (have_ieee_hw_p): Delete function.
745 (SW_OR_HW) Use __builtin_cpu_supports().
746
747 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
748
749 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
750
751 2017-07-03 Olivier Hainque <hainque@adacore.com>
752
753 * config/t-vxworks7: New file, really.
754
755 2017-06-28 Joseph Myers <joseph@codesourcery.com>
756
757 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
758 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
759 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
760 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
761 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
762 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
763 config/pa/linux-unwind.h (pa32_fallback_frame_state),
764 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
765 config/sh/linux-unwind.h (sh_fallback_frame_state),
766 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
767 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
768 ucontext_t instead of struct ucontext.
769
770 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
771
772 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
773 (x86_64-wrs-vxworks7): Likewise.
774
775 2017-06-27 Olivier Hainque <hainque@adacore.com>
776
777 * config/t-vxworks7: New file.
778 * config.host (*-*-vxworks7): Use it.
779
780 2017-06-22 Matt Turner <mattst88@gmail.com>
781
782 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
783 skylake case.
784
785 2017-06-21 Richard Biener <rguenther@suse.de>
786
787 PR gcov-profile/81080
788 * configure.ac: Add AC_SYS_LARGEFILE.
789 * libgcov.h: Include auto-target.h before tsystem.h to pick
790 up _FILE_OFFSET_BITS which might differ for multilibs.
791 * config.in: Regenerate.
792 * configure: Likewise.
793
794 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
795
796 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
797
798 2017-06-09 Martin Liska <mliska@suse.cz>
799
800 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
801 Reset __gcov_indirect_call_callee to NULL.
802
803 2017-06-08 Olivier Hainque <hainque@adacore.com>
804
805 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
806 the set of -I options, support for direct inclusions of net/uio.h
807 by VxWorks header files via ioLib.h.
808
809 2017-06-07 Tony Reix <tony.reix@atos.net>
810 Matthieu Sarter <matthieu.sarter.external@atos.net>
811 David Edelsohn <dje.gcc@gmail.com>
812
813 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
814 unconditionally.
815 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
816 AIX 7.2 support.
817
818 2017-06-02 Olivier Hainque <hainque@adacore.com>
819
820 * config/vxlib.c (__gthread_once): Add missing value to
821 return statement.
822
823 2017-05-30 Olivier Hainque <hainque@adacore.com>
824
825 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
826 dollar sign before $(MULTIDIR).
827
828 2017-05-26 Richard Henderson <rth@redhat.com>
829
830 PR libgcc/80037
831 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
832
833 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
834
835 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
836 _Unwind_SetIP available as functions for arm*-*-freebsd*.
837 * config/arm/unwind-arm.c: Implement the above.
838
839 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
840
841 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
842 section for a non-executable stack.
843
844 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
845
846 PR target/80600
847 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
848
849 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
850
851 * config.host: Add i386/t-msabi to i386/t-linux file list.
852 * config/i386/i386-asm.h: New file.
853 * config/i386/resms64.S: New file.
854 * config/i386/resms64f.S: New file.
855 * config/i386/resms64fx.S: New file.
856 * config/i386/resms64x.S: New file.
857 * config/i386/savms64.S: New file.
858 * config/i386/savms64f.S: New file.
859 * config/i386/t-msabi: New file.
860
861 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
862
863 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
864 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
865
866 2017-05-05 Joshua Conner <joshconner@google.com>
867
868 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
869 pc-relative indirect handling for fuchsia.
870 * config/t-slibgcc-fuchsia: New file.
871 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
872 x86_64-*-fuchsia*): Add definitions.
873
874 2017-04-19 Martin Liska <mliska@suse.cz>
875
876 PR gcov-profile/80435
877 * Makefile.in: Install gcov.h.
878 * gcov.h: New file.
879 * libgcov.h: Use the header and make __gcov_flush publicly
880 visible.
881
882 2017-04-18 Martin Liska <mliska@suse.cz>
883
884 PR gcov-profile/78783
885 * libgcov-driver.c (gcov_get_filename): New function.
886
887 2017-04-07 Jeff Law <law@redhat.com>
888
889 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
890 target makefile fragment.
891 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
892
893 2017-04-07 Alan Modra <amodra@gmail.com>
894
895 PR target/45053
896 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
897
898 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
899
900 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
901
902 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
903
904 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
905
906 2017-03-10 John Marino <gnugcc@marino.st>
907
908 * config/aarch64/freebsd-unwind.h: New file.
909 * config.host: Add aarch64-*-freebsd unwinder.
910
911 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
912
913 * config/rs6000/crtrestvr.s: Use .machine altivec.
914 * config/rs6000/crtsavevr.s: Ditto.
915
916 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
917
918 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
919 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
920 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
921 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
922 * configure: Regenerate.
923 * config.in: Regenerate.
924
925 2017-03-02 Jonathan Yong <10walls@gmail.com>
926
927 * config/i386/gthr-win32.h: Define NOGDI before
928 windows.h include to prevent w32api CC_NONE macro
929 clash with libgfortran.
930
931 2017-03-02 Jonathan Yong <10walls@gmail.com>
932
933 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
934
935 2017-02-16 Andrew Pinski <apinski@cavium.com>
936
937 * config/aarch64/value-unwind.h: New file.
938 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
939 to tm_file.
940
941 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
942
943 * config.host: Add RISC-V tuples.
944 * config/riscv/atomic.c: New file.
945 * config/riscv/crti.S: Likewise.
946 * config/riscv/crtn.S: Likewise.
947 * config/riscv/div.S: Likewise.
948 * config/riscv/linux-unwind.h: Likewise.
949 * config/riscv/muldi3.S: Likewise.
950 * config/riscv/multi3.S: Likewise.
951 * config/riscv/save-restore.S: Likewise.
952 * config/riscv/sfp-machine.h: Likewise.
953 * config/riscv/t-elf: Likewise.
954 * config/riscv/t-elf32: Likewise.
955 * config/riscv/t-elf64: Likewise.
956 * config/riscv/t-softfp32: Likewise.
957 * config/riscv/t-softfp64: Likewise.
958
959 2017-01-24 Jakub Jelinek <jakub@redhat.com>
960
961 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
962 /* FALLTHRU */ comments.
963
964 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
965
966 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
967
968 2017-01-20 Jiong Wang <jiong.wang@arm.com>
969
970 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
971 * unwind-dw2.c (execute_cfa_program): Only multiplexing
972 DW_CFA_GNU_window_save for AArch64 and LP64.
973
974 2017-01-20 Jiong Wang <jiong.wang@arm.com>
975
976 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
977
978 2017-01-19 Jiong Wang <jiong.wang@arm.com>
979
980 * config/aarch64/aarch64-unwind.h: New file.
981 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
982 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
983 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
984 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
985 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
986 (aarch64_post_extract_frame_addr): New function.
987 (aarch64_post_frob_eh_handler_addr): New function.
988 (aarch64_frob_update_context): New function.
989 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
990 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
991 aarch64*-*-freebsd*):
992 Initialize md_unwind_header to include aarch64-unwind.h.
993 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
994 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
995 __aarch64__.
996 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
997 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
998 (uw_frob_return_addr): New function.
999 (uw_install_context): Use uw_frob_return_addr.
1000
1001 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1002
1003 PR other/79046
1004 * configure.ac: Add GCC_BASE_VER.
1005 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1006 version from BASE-VER file.
1007 * configure: Regenerated.
1008
1009 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1010
1011 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1012 libmul_f5.a): Filter archived prerequisites.
1013
1014 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1015
1016 * config/i386/cpuinfo.h (processor_features): Add
1017 FEATURE_AVX512VPOPCNTDQ.
1018 * config/i386/cpuinfo.c (get_available_features): Habdle new
1019 feature.
1020
1021 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1022
1023 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1024 payload if [__mips_nan2008].
1025
1026 2017-01-04 Alan Modra <amodra@gmail.com>
1027
1028 * Makefile.in (configure_deps): Update.
1029 * configure: Regenerate.
1030
1031 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1032
1033 Update copyright years.
1034
1035 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1036
1037 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1038 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1039 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1040
1041 2016-12-17 Matthias Klose <doko@ubuntu.com>
1042
1043 * config/arc/gmon: Remove empty directory.
1044
1045 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1046
1047 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1048 crtgend.
1049 (arc*-*-elf*): Likewise.
1050 * config/arc/t-arc: Remove old gmon lib targets.
1051 * config/arc/crtg.S: Remove.
1052 * config/arc/crtgend.S: Likewise.
1053 * config/arc/gmon/atomic.h: Likewise.
1054 * config/arc/gmon/auxreg.h: Likewise.
1055 * config/arc/gmon/dcache_linesz.S: Likewise.
1056 * config/arc/gmon/gmon.c: Likewise.
1057 * config/arc/gmon/machine-gmon.h: Likewise.
1058 * config/arc/gmon/mcount.c: Likewise.
1059 * config/arc/gmon/prof-freq-stub.S: Likewise.
1060 * config/arc/gmon/prof-freq.c: Likewise.
1061 * config/arc/gmon/profil.S: Likewise.
1062 * config/arc/gmon/sys/gmon.h: Likewise.
1063 * config/arc/gmon/sys/gmon_out.h: Likewise.
1064 * config/arc/t-arc-newlib: Likewise.
1065 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1066
1067 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1068
1069 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1070
1071 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1072
1073 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1074 R16 instead of push + pop.
1075 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1076
1077 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1078
1079 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1080 tmake_file.
1081
1082 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1083
1084 * config.host (arc*-*-linux-uclibc*): Use default extra
1085 objects. Include linux-android header.
1086 * config/arc/crti.S (_init): Declare symbol as function.
1087 (_fini): Likewise.
1088
1089 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1090
1091 PR fortran/78379
1092 * config/i386/cpuinfo.c: Move denums for processor vendors,
1093 processor type, processor subtypes and declaration of
1094 struct __processor_model into
1095 * config/i386/cpuinfo.h: New header file.
1096
1097 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1098 Thomas Preud'homme <thomas.preudhomme@arm.com>
1099
1100 * config/arm/cmse_nonsecure_call.S: New.
1101 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1102
1103 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1104 Thomas Preud'homme <thomas.preudhomme@arm.com>
1105
1106 * config/arm/t-arm (HAVE_CMSE): New.
1107 * config/arm/cmse.c: New.
1108
1109 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1110
1111 PR gcc/74748
1112 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1113 use generic linker version information on Blackfin.
1114
1115 PR gcc/74748
1116 * libgcc/mkmap-symver.awk: add support for skip_underscore
1117
1118 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1119 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1120
1121 PR target/67710
1122 * config/t-darwin: Default builds to 10.5 codegen.
1123
1124 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1125
1126 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1127 (_FP_NANSIGN_H): Likewise.
1128 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1129 (softfp_truncations): Add tfhf.
1130 (softfp_extras): Add required conversion functions.
1131
1132 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1133 Matthew Wahab <matthew.wahab@arm.com>
1134
1135 * config/arm/fp16.c (binary64): New.
1136 (__gnu_d2h_internal): New.
1137 (__gnu_d2h_ieee): New.
1138 (__gnu_d2h_alternative): New.
1139
1140 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1141 Matthew Wahab <matthew.wahab@arm.com>
1142
1143 * config/arm/fp16.c (struct format): New.
1144 (binary32): New.
1145 (__gnu_float2h_internal): New. Body moved from
1146 __gnu_f2h_internal and generalize.
1147 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1148 Call it with binary32.
1149
1150 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1151
1152 * soft-fp/extendhftf2.c: Update from glibc.
1153 * soft-fp/fixhfti.c: Likewise.
1154 * soft-fp/fixunshfti.c: Likewise.
1155 * soft-fp/floattihf.c: Likewise.
1156 * soft-fp/floatuntihf.c: Likewise.
1157 * soft-fp/half.h: Likewise.
1158 * soft-fp/trunctfhf2.c: Likewise.
1159
1160 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1161
1162 PR libgcc/77813
1163 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1164 __TMC_END__ behind a passthrough asm.
1165
1166 2016-11-18 Walter Lee <walt@tilera.com>
1167
1168 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1169
1170 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1171
1172 * config/i386/cpuinfo.c (processor_features): Add
1173 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1174
1175 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1176
1177 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1178 (__ARC_NORM__): Use instead ARC_OPTFPE.
1179 * config/arc/fp-hack.h: Likewise.
1180 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1181 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1182
1183 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1184
1185 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1186 * config/nvptx/mgomp.c: New file.
1187 * config/nvptx/t-nvptx: Add mgomp.c
1188
1189 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1190
1191 PR libgcc/68468
1192 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1193
1194 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1195
1196 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1197 of checking for cpus.
1198 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1199 (__modsi3, __clzsi2): Likewise.
1200
1201 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1202
1203 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1204 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1205 * config/i386/t-cpuinfo-static: New.
1206
1207 2016-11-03 Martin Liska <mliska@suse.cz>
1208
1209 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1210 (__gcov_time_profiler_atomic): Likewise.
1211
1212 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1213
1214 PR libgcc/78067
1215 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1216 count_leading_zeros.
1217
1218 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1219
1220 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1221 * libgcc2.c (__divmoddi4): New function.
1222 * libgcc2.h (__divmoddi4): Declare.
1223 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1224 and __PFX_divmodti4.
1225
1226 2016-10-24 Florian Weimer <fweimer@redhat.com>
1227
1228 PR libgcc/78064
1229 * unwind-c.c: Include auto-target.h.
1230
1231 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1232
1233 * config/pa/pa64-hpux-lib.h: New file.
1234 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1235 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1236 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1237 hppa*64*-*-hpux11*.
1238
1239 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1240
1241 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1242 definition.
1243 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1244 definition.
1245 * config/xtensa/t-windowed (LIB2ADDEH): Use
1246 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1247 or xtensa/t-linux.
1248
1249 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1250
1251 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1252 __ieee754_sqrt): New functions.
1253 (__divdf3): Add implementation with new FPU instructions under
1254 #if XCHAL_HAVE_DFP_DIV.
1255 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1256 __ieee754_sqrtf): New functions.
1257 (__divsf3): Add implementation with new FPU instructions under
1258 #if XCHAL_HAVE_FP_DIV.
1259 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1260 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1261
1262 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1263
1264 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1265 equivalent.
1266 * config/tilepro/atomic.c: Likewise and stop casting model to
1267 enum memmodel.
1268
1269 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1270
1271 PR target/77586
1272 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1273 soft-fp.
1274
1275 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1276
1277 * config.host: Add support for aarch64-*-freebsd*.
1278
1279 2016-10-05 Andreas Schwab <schwab@suse.de>
1280
1281 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1282 (.section .init_array): Don't call __do_jv_register_classes.
1283 (.section .init): Likewise.
1284
1285 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1286
1287 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1288 (__JCR_LIST__): Remove.
1289 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1290 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1291 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1292 * config/ia64/crtend.S (__JCR_END__): Remove.
1293 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1294 conditionals.
1295 (__JCR_LIST__, __JCR_END__): Remove.
1296 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1297 (__do_global_ctors_1): Likewise.
1298
1299 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1300
1301 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1302 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1303
1304 2016-09-27 Martin Liska <mliska@suse.cz>
1305
1306 PR gcov-profile/7970
1307 PR gcov-profile/16855
1308 PR gcov-profile/44779
1309 * libgcov-driver.c (__gcov_init): Do not register a atexit
1310 handler.
1311 (__gcov_exit): Rename from gcov_exit.
1312 * libgcov.h (__gcov_exit): Declare.
1313
1314 2016-09-27 Martin Liska <mliska@suse.cz>
1315
1316 PR bootstrap/77749
1317 * Makefile.in: Remove _gcov_merge_delta.
1318 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1319 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1320 * libgcov.h: Remove declaration of __gcov_merge_delta.
1321
1322 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1323
1324 * configure.ac: Do not create links, only substitute the filenames.
1325 * configure: Regenerate.
1326 * Makefile.in: Assign the substitution results to variables.
1327 (LIBGCC_LINKS): Define.
1328 (enable-execute-stack.c): New rule.
1329 (unwind.h): Likewise.
1330 (md-unwind-support.h): Likewise.
1331 (sfp-machine.h): Likewise.
1332 (gthr-default.h): Likewise.
1333 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1334 unwind.h as prerequisite of install-unwind_h-forbuild.
1335
1336 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1337
1338 PR libgcc/71744
1339 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1340 is not the primary registry and atomics are available.
1341 (any_objects_registered): New variable.
1342 (__register_frame_info_bases, __register_frame_info_table_bases):
1343 Atomically store 1 to any_objects_registered after registering first
1344 unwind info.
1345 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1346
1347 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1348
1349 PR target/63250
1350 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1351 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1352 (HFtype): Likewise.
1353 (HCtype): Likewise.
1354 (__divhc3): Likewise.
1355 (__mulhc3): Likewise.
1356 * libgcc2.c: Support _mulhc3 and _divhc3.
1357
1358 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1359
1360 PR libgcc/77519
1361 * libgcc2.c (NOTRUNC): Invert settings.
1362
1363 2016-09-06 Martin Liska <mliska@suse.cz>
1364
1365 PR gcov-profile/77378
1366 PR gcov-profile/77466
1367 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1368 conditionaly enable/disable *_atomic functions.
1369
1370 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1371
1372 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1373 where not already enabled.
1374
1375 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1376
1377 * config/mips/linux-unwind.h: Use sys/syscall.h.
1378
1379 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1380
1381 PR libgcc/77265
1382 * soft-fp/adddf3.c: Update from glibc.
1383 * soft-fp/addsf3.c: Likewise.
1384 * soft-fp/addtf3.c: Likewise.
1385 * soft-fp/divdf3.c: Likewise.
1386 * soft-fp/divsf3.c: Likewise.
1387 * soft-fp/divtf3.c: Likewise.
1388 * soft-fp/double.h: Likewise.
1389 * soft-fp/eqdf2.c: Likewise.
1390 * soft-fp/eqsf2.c: Likewise.
1391 * soft-fp/eqtf2.c: Likewise.
1392 * soft-fp/extenddftf2.c: Likewise.
1393 * soft-fp/extended.h: Likewise.
1394 * soft-fp/extendsfdf2.c: Likewise.
1395 * soft-fp/extendsftf2.c: Likewise.
1396 * soft-fp/extendxftf2.c: Likewise.
1397 * soft-fp/fixdfdi.c: Likewise.
1398 * soft-fp/fixdfsi.c: Likewise.
1399 * soft-fp/fixdfti.c: Likewise.
1400 * soft-fp/fixsfdi.c: Likewise.
1401 * soft-fp/fixsfsi.c: Likewise.
1402 * soft-fp/fixsfti.c: Likewise.
1403 * soft-fp/fixtfdi.c: Likewise.
1404 * soft-fp/fixtfsi.c: Likewise.
1405 * soft-fp/fixtfti.c: Likewise.
1406 * soft-fp/fixunsdfdi.c: Likewise.
1407 * soft-fp/fixunsdfsi.c: Likewise.
1408 * soft-fp/fixunsdfti.c: Likewise.
1409 * soft-fp/fixunssfdi.c: Likewise.
1410 * soft-fp/fixunssfsi.c: Likewise.
1411 * soft-fp/fixunssfti.c: Likewise.
1412 * soft-fp/fixunstfdi.c: Likewise.
1413 * soft-fp/fixunstfsi.c: Likewise.
1414 * soft-fp/fixunstfti.c: Likewise.
1415 * soft-fp/floatdidf.c: Likewise.
1416 * soft-fp/floatdisf.c: Likewise.
1417 * soft-fp/floatditf.c: Likewise.
1418 * soft-fp/floatsidf.c: Likewise.
1419 * soft-fp/floatsisf.c: Likewise.
1420 * soft-fp/floatsitf.c: Likewise.
1421 * soft-fp/floattidf.c: Likewise.
1422 * soft-fp/floattisf.c: Likewise.
1423 * soft-fp/floattitf.c: Likewise.
1424 * soft-fp/floatundidf.c: Likewise.
1425 * soft-fp/floatundisf.c: Likewise.
1426 * soft-fp/floatunditf.c: Likewise.
1427 * soft-fp/floatunsidf.c: Likewise.
1428 * soft-fp/floatunsisf.c: Likewise.
1429 * soft-fp/floatunsitf.c: Likewise.
1430 * soft-fp/floatuntidf.c: Likewise.
1431 * soft-fp/floatuntisf.c: Likewise.
1432 * soft-fp/floatuntitf.c: Likewise.
1433 * soft-fp/gedf2.c: Likewise.
1434 * soft-fp/gesf2.c: Likewise.
1435 * soft-fp/getf2.c: Likewise.
1436 * soft-fp/ledf2.c: Likewise.
1437 * soft-fp/lesf2.c: Likewise.
1438 * soft-fp/letf2.c: Likewise.
1439 * soft-fp/muldf3.c: Likewise.
1440 * soft-fp/mulsf3.c: Likewise.
1441 * soft-fp/multf3.c: Likewise.
1442 * soft-fp/negdf2.c: Likewise.
1443 * soft-fp/negsf2.c: Likewise.
1444 * soft-fp/negtf2.c: Likewise.
1445 * soft-fp/op-1.h: Likewise.
1446 * soft-fp/op-2.h: Likewise.
1447 * soft-fp/op-4.h: Likewise.
1448 * soft-fp/op-8.h: Likewise.
1449 * soft-fp/op-common.h: Likewise.
1450 * soft-fp/quad.h: Likewise.
1451 * soft-fp/single.h: Likewise.
1452 * soft-fp/soft-fp.h: Likewise.
1453 * soft-fp/subdf3.c: Likewise.
1454 * soft-fp/subsf3.c: Likewise.
1455 * soft-fp/subtf3.c: Likewise.
1456 * soft-fp/truncdfsf2.c: Likewise.
1457 * soft-fp/trunctfdf2.c: Likewise.
1458 * soft-fp/trunctfsf2.c: Likewise.
1459 * soft-fp/trunctfxf2.c: Likewise.
1460 * soft-fp/unorddf2.c: Likewise.
1461 * soft-fp/unordsf2.c: Likewise.
1462 * soft-fp/unordtf2.c: Likewise.
1463
1464 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1465
1466 PR gcov-profile/67097
1467 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1468
1469 2016-08-10 Martin Liska <mliska@suse.cz>
1470
1471 PR gcov-profile/58306
1472 * Makefile.in: New functions (modules) are added.
1473 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1474 function.
1475 (__gcov_pow2_profiler_atomic): New function.
1476 (__gcov_one_value_profiler_body): New argument is instroduced.
1477 (__gcov_one_value_profiler): Call with the new argument.
1478 (__gcov_one_value_profiler_atomic): Likewise.
1479 (__gcov_indirect_call_profiler_v2): Likewise.
1480 (__gcov_time_profiler_atomic): New function.
1481 (__gcov_average_profiler_atomic): Likewise.
1482 (__gcov_ior_profiler_atomic): Likewise.
1483 * libgcov.h: Declare the aforementioned functions.
1484
1485 2016-08-09 Martin Liska <mliska@suse.cz>
1486
1487 * libgcov-util.c: Fix typo and GNU coding style.
1488
1489 2016-08-09 Martin Liska <mliska@suse.cz>
1490
1491 * Makefile.in: Remove __gcov_indirect_call_profiler.
1492 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1493 function.
1494 * libgcov.h: And the declaration of the function.
1495
1496 2016-08-09 Martin Liska <mliska@suse.cz>
1497
1498 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1499 power of two.
1500
1501 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1502
1503 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1504 * config/rs6000/_mulkc3.c: Likewise.
1505
1506 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
1507
1508 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1509 zero_reg as previous call to __umulhisi3 already cleared it.
1510
1511 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1512
1513 PR target/59833
1514 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1515
1516 2016-07-19 Nick Clifton <nickc@redhat.com>
1517
1518 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1519 Add crtinit.o and crtfini.o to extra_parts.
1520
1521 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1522
1523 * config/rs6000/_divkc3.c: New.
1524 * config/rs6000/_mulkc3.c: New.
1525 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1526 and _divkc3.
1527 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1528 fp128_ppc_funcs.
1529
1530 2016-07-11 Hale Wang <hale.wang@arm.com>
1531 Andre Vieira <andre.simoesdiasvieira@arm.com>
1532
1533 * config/arm/lib1funcs.S: Add new wrapper.
1534
1535 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1536
1537 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1538
1539 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1540
1541 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1542 and ARMv5t* rather than for a fixed list of architectures.
1543
1544 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1545
1546 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1547 implementation suitable for.
1548 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1549 for all Thumb-1 only targets.
1550 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1551 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1552 __ARM_ARCH_6M__.
1553 (EQUIV): Likewise.
1554 (ARM_FUNC_ALIAS): Likewise.
1555 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1556 version.
1557 (modsi3): Likewise.
1558 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1559 (clzdi2): Likewise.
1560 (ctzsi2): Likewise.
1561 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1562 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1563 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1564 __ARM_ARCH_6M__ and add comment to indicate the connection between
1565 this condition and the one in gcc/config/arm/elf.h.
1566 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1567 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1568 * config/arm/t-softfp: Likewise.
1569
1570 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1571
1572 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1573 CTOR_LISTS_DEFINED_EXTERNALLY.
1574
1575 2016-06-28 Walter Lee <walt@tilera.com>
1576
1577 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1578 asm/unistd.h.
1579 (SPR_CMPEXCH_VALUE): Define for tilegx.
1580 (__NR_FAST_cmpxchg): Define for tilepro.
1581 (__NR_FAST_atomic_update): Define for tilepro.
1582 (__NR_FAST_cmpxchg64): Define for tilepro.
1583
1584 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1585
1586 * config.host: Add suport for arm*-*-phoenix* targets.
1587
1588 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1589
1590 * config.host: Remove support for mep-*.
1591 * config/mep/lib1funcs.S: Remove.
1592 * config/mep/lib2funcs.c: Remove.
1593 * config/mep/t-mep: Remove.
1594 * config/mep/tramp.c: Remove.
1595
1596 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1597
1598 * config.host: Remove support for avr-rtems.
1599 * config/avr/t-rtems: Remove.
1600
1601 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1602
1603 * config.host: Remove m32r-rtems support.
1604
1605 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1606
1607 * config.host: Remove h8300-rtems support.
1608
1609 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1610
1611 * config.host: Remove support for knetbsd.
1612
1613 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1614
1615 * config.host: Remove support for openbsd 2 and 3.
1616
1617 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1618
1619 * config.host: Remove interix support.
1620 * config/i386/t-interix: Remove.
1621
1622 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
1623
1624 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1625 least-significant bit in function pointer for fixup.
1626
1627 2016-06-05 Aaron Conole <aconole@redhat.com>
1628 Nathan Sidwell <nathan@acm.org>
1629
1630 PR libgcc/71400
1631 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1632 (get_gcov_error_file): Check __gcov_error_file before trying to
1633 initialize it.
1634 (gcov_error): Always use get_gcov_error_file.
1635
1636 2016-06-02 Aaron Conole <aconole@redhat.com>
1637
1638 * libgcov-driver-system.c (__gcov_error_file): New.
1639 (get_gcov_error_file): New.
1640 (gcov_error): Use and set __gcov_error_file.
1641 (gcov_error_exit): New.
1642 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1643
1644 2016-05-26 Nathan Sidwell <nathan@acm.org>
1645
1646 * config/nvptx/free.asm: Delete.
1647 * config/nvptx/malloc.asm: Delete.
1648 * config/nvptx/realloc.c: Delete.
1649 * t-nvptx: Update.
1650
1651 2016-05-25 Nathan Sidwell <nathan@acm.org>
1652
1653 * config/nvptx/crt0.s: Delete.
1654 * config/nvptx/crt0.c: New.
1655 * t-nvptx: Update.
1656
1657 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1658
1659 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1660 dw2/seh configuration.
1661 [x86_64-*-mingw*]: Likewise.
1662
1663 2016-05-10 Joel Sherrill <joel@rtems.org>
1664
1665 PR libgcc/70720
1666 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1667 targets so the same extra_parts are built. Also have tmake_file add
1668 on to its value rather than override.
1669
1670 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1671
1672 * config.host: Remove SH5 support.
1673 * configure: Likewise.
1674
1675 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1676
1677 * config/sh/crt1.S: Remove SH5 support.
1678 * config/sh/crti.S: Likewise.
1679 * config/sh/crtn.S: Likewise.
1680 * config/sh/lib1funcs-4-300.S: Likewise.
1681 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1682 * config/sh/lib1funcs.S: Likewise.
1683 * config/sh/linux-unwind.h: Likewise.
1684 * config/sh/t-sh64: Delete.
1685
1686 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1687
1688 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1689
1690 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1691 Joern Rennecke <joern.rennecke@embecosm.com>
1692
1693 * config/arc/crttls.S: New file.
1694 * config/arc/t-arc: New rule.
1695 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1696
1697 2016-04-25 Nick Clifton <nickc@redhat.com>
1698
1699 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1700 (__mspabi_cmpd): Likewise.
1701 * config/msp430/floathidf.c (__floathidf): Likewise.
1702 * config/msp430/floathisf.c (__floathisf): Likewise
1703 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1704 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1705 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1706 second parameter.
1707 (__ashrsi3): Likewise.
1708
1709 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1710
1711 * config/m68k/linux-atomic.c: Do not include unistd.h
1712
1713 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1714
1715 * config/arm/ieee754-df.S: Fix typos in comments.
1716
1717 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1718
1719 PR target/70381
1720 * configure.ac (powerpc*-*-linux*): Rework tests to build
1721 __float128 emulation routines to not depend on using #pragma GCC
1722 target to enable -mfloat128.
1723 * configure: Regnerate.
1724
1725 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1726
1727 PR target/67172
1728 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1729 __MINGW32__ is defined.
1730
1731 2016-03-28 James Bowman <james.bowman@ftdichip.com>
1732
1733 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1734
1735 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1736
1737 PR libgcc/70363
1738 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1739 built with an assembler that does not support ISA 3.0
1740 instructions, rename __extendkftf2_sw to __extendkftf2.
1741
1742 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1743
1744 PR target/38239
1745 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1746 call-clobbered registers.
1747 (internal_mcount): Remove __i386__ handling.
1748
1749 2016-02-26 Joel Sherrill <joel@rtems.org>
1750
1751 * config.host: Add x86_64-*-rtems*.
1752
1753 2016-02-26 Joel Sherrill <joel@rtems.org>
1754
1755 * libgcc/config.host: Add aarch64-*-rtems*.
1756
1757 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1758 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1759
1760 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1761 union of u64 and double.
1762 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1763 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1764 value.
1765 (FP_ROUNDMODE): Update the usage of _fpscr.
1766
1767 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1768
1769 PR driver/68463
1770 * Makefile.in (crtoffloadtable$(objext)): New rule.
1771 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1772 enable_offload_targets is not empty.
1773 * configure: Regenerate.
1774 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1775 crtoffloadtable.
1776
1777 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1778
1779 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1780 .literal_position before the function.
1781 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1782 Likewise.
1783
1784 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1785
1786 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1787 * config/s390/morestack.S: New file.
1788 * config/s390/t-stack-s390: New file.
1789 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1790
1791 2016-02-12 Walter Lee <walt@tilera.com>
1792
1793 * config.host (tilegx*-*-linux*): remove ti from
1794 softfp_int_modes for 32-bit configs.
1795
1796 2016-02-10 Ian Lance Taylor <iant@google.com>
1797
1798 PR go/68562
1799 * config/i386/morestack.S (__stack_split_initialize): Align
1800 stack.
1801
1802 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1803
1804 PR bootstrap/69611
1805 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1806 __FLOAT128__ to compile only for __float128 capable targets.
1807
1808 2016-01-25 Jakub Jelinek <jakub@redhat.com>
1809
1810 PR target/69444
1811 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1812 instead of ___NO_FPRS__.
1813
1814 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
1815 Steven Munroe <munroesj@linux.vnet.ibm.com>
1816 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
1817
1818 * config/rs6000/float128-sed: New files to convert TF names to KF
1819 names for PowerPC IEEE 128-bit floating point support.
1820 * config/rs6000/float128-sed-hw: Likewise.
1821
1822 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1823 floating point hardware support.
1824
1825 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1826 128-bit floating point software emulation or use ISA 3.0 hardware
1827 support if it is available.
1828
1829 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1830 floating point.
1831
1832 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1833 floating point to IBM extended double.
1834
1835 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1836 double to IEEE 128-bit floating point.
1837
1838 * config/rs6000/t-float128: New Makefile fragments to enable
1839 building __float128 emulation support.
1840 * config/rs6000/t-float128-hw: Likewise.
1841
1842 * config/rs6000/sfp-exceptions.c: New file to provide exception
1843 support for IEEE 128-bit floating point.
1844
1845 * config/rs6000/floattikf.c: New files for converting between IEEE
1846 128-bit floating point and signed/unsigned 128-bit integers.
1847 * config/rs6000/fixunskfti.c: Likewise.
1848 * config/rs6000/fixkfti.c: Likewise.
1849 * config/rs6000/floatuntikf.c: Likewise.
1850
1851 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1852 when building on 64-bit systems, or when VSX is enabled.
1853 (_FP_W_TYPE): Likewise.
1854 (_FP_WS_TYPE): Likewise.
1855 (_FP_I_TYPE): Likewise.
1856 (TItype): Define on 64-bit systems.
1857 (UTItype): Likewise.
1858 (TI_BITS): Likewise.
1859 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1860 (_FP_MUL_MEAT_Q): Likewise.
1861 (_FP_DIV_MEAT_D): Likewise.
1862 (_FP_DIV_MEAT_Q): Likewise.
1863 (_FP_NANFRAC_D): Likewise.
1864 (_FP_NANFRAC_Q): Likewise.
1865 (ISA_BIT): Add exception support if we are being compiled on a
1866 machine with hardware floating point support to build the IEEE
1867 128-bit emulation functions.
1868 (FP_EX_INVALID): Likewise.
1869 (FP_EX_OVERFLOW): Likewise.
1870 (FP_EX_UNDERFLOW): Likewise.
1871 (FP_EX_DIVZERO): Likewise.
1872 (FP_EX_INEXACT): Likewise.
1873 (FP_EX_ALL): Likewise.
1874 (__sfp_handle_exceptions): Likewise.
1875 (FP_HANDLE_EXCEPTIONS): Likewise.
1876 (FP_RND_NEAREST): Likewise.
1877 (FP_RND_ZERO): Likewise.
1878 (FP_RND_PINF): Likewise.
1879 (FP_RND_MINF): Likewise.
1880 (FP_RND_MASK): Likewise.
1881 (_FP_DECL_EX): Likewise.
1882 (FP_INIT_ROUNDMODE): Likewise.
1883 (FP_ROUNDMODE): Likewise.
1884
1885 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1886 VSX code, enable IEEE 128-bit floating point. If the compiler can
1887 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1888 floating point hardware instructions and it supports declaring
1889 functions with the ifunc attribute, enable ifunc functions to
1890 switch between software and hardware support.
1891 * configure.ac (powerpc*-*-linux*): Likewise.
1892 * configure: Regenerate.
1893
1894 2016-01-15 Nick Clifton <nickc@redhat.com>
1895
1896 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1897 dependency as the source file to be compiled.
1898 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1899 (lib2hw_mul_f5.o): Likewise.
1900
1901 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1902
1903 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1904 * libgcc/config/rs6000/fixkfti.c: Likewise.
1905 * libgcc/config/rs6000/fixunskfti.c: Likewise.
1906 * libgcc/config/rs6000/float128-hw.c: Likewise.
1907 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1908 * libgcc/config/rs6000/float128-sed: Likewise.
1909 * libgcc/config/rs6000/floattikf.c: Likewise.
1910 * libgcc/config/rs6000/floatuntikf.c: Likewise.
1911 * libgcc/config/rs6000/quad-float128.h: Likewise.
1912 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1913 * libgcc/config/rs6000/sfp-machine.h: Likewise.
1914 * libgcc/config/rs6000/t-float128: Likewise.
1915 * libgcc/config/rs6000/t-float128-hw: Likewise.
1916 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1917 * libgcc/config.host: Likewise.
1918 * libgcc/configure: Likewise.
1919 * libgcc/configure.ac: Likewise.
1920
1921 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1922 Steven Munroe <munroesj@linux.vnet.ibm.com>
1923 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
1924
1925 * config/rs6000/sfp-exceptions.c: New file to provide exception
1926 support for IEEE 128-bit floating point.
1927
1928 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1929 floating point hardware support.
1930
1931 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1932 point conversions.
1933 * config/rs6000/fixunskfti.c: Likewise.
1934 * config/rs6000/fixkfti.c: Likewise.
1935 * config/rs6000/floatuntikf.c: Likewise.
1936 * config/rs6000/extendkftf2-sw.c: Likewise.
1937 * config/rs6000/trunctfkf2-sw.c: Likewise.
1938
1939 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1940 128-bit floating point software emulation or use ISA 3.0 hardware
1941 support if it is available.
1942
1943 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1944 floating point.
1945
1946 * config/rs6000/t-float128: New Makefile fragments to enable
1947 building __float128 emulation support.
1948 * config/rs6000/t-float128-hw: Likewise.
1949
1950 * config/rs6000/float128-sed: New file to convert TF names to KF
1951 names for PowerPC IEEE 128-bit floating point support.
1952
1953 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1954 when building on 64-bit systems, or when VSX is enabled.
1955 (_FP_W_TYPE): Likewise.
1956 (_FP_WS_TYPE): Likewise.
1957 (_FP_I_TYPE): Likewise.
1958 (TItype): Define on 64-bit systems.
1959 (UTItype): Likewise.
1960 (TI_BITS): Likewise.
1961 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1962 (_FP_MUL_MEAT_Q): Likewise.
1963 (_FP_DIV_MEAT_D): Likewise.
1964 (_FP_DIV_MEAT_Q): Likewise.
1965 (_FP_NANFRAC_D): Likewise.
1966 (_FP_NANFRAC_Q): Likewise.
1967 (ISA_BIT): Add exception support if we are being compiled on a
1968 machine with hardware floating point support to build the IEEE
1969 128-bit emulation functions.
1970 (FP_EX_INVALID): Likewise.
1971 (FP_EX_OVERFLOW): Likewise.
1972 (FP_EX_UNDERFLOW): Likewise.
1973 (FP_EX_DIVZERO): Likewise.
1974 (FP_EX_INEXACT): Likewise.
1975 (FP_EX_ALL): Likewise.
1976 (__sfp_handle_exceptions): Likewise.
1977 (FP_HANDLE_EXCEPTIONS): Likewise.
1978 (FP_RND_NEAREST): Likewise.
1979 (FP_RND_ZERO): Likewise.
1980 (FP_RND_PINF): Likewise.
1981 (FP_RND_MINF): Likewise.
1982 (FP_RND_MASK): Likewise.
1983 (_FP_DECL_EX): Likewise.
1984 (FP_INIT_ROUNDMODE): Likewise.
1985 (FP_ROUNDMODE): Likewise.
1986
1987 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1988 compiler can do __float128.
1989 * configure: Regenerate.
1990
1991 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1992 VSX code, enable IEEE 128-bit floating point.
1993
1994 2016-01-05 Olivier Hainque <hainque@adacore.com>
1995
1996 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1997 specificities.
1998
1999 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2000
2001 Update copyright years.
2002
2003 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2004
2005 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2006 soft-fp targets.
2007
2008 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2009
2010 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2011 instead of abort to avoid dependency on stdlib.h.
2012
2013 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2014
2015 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2016 to initialize call to __dl_fixup once.
2017
2018 2015-12-04 Nick Clifton <nickc@redhat.com>
2019
2020 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2021 Allow for the second argument being negative.
2022 * config.host (extra_parts): Define for MSP430. Create separate
2023 libraries for each of the hardware multiply formats.
2024 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2025 that are needed.
2026 * config/msp430/lib2mul.c: Likewise.
2027 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2028 Add rules to build hardware multiply libraries.
2029 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2030 __mspabi_divul function.
2031 (__mspabi_divllu): New stub function.
2032
2033 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2034
2035 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2036 fixup values if saved GOT address doesn't match runtime address.
2037 (fixup_branch_offset): Reorder list.
2038
2039 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2040
2041 * Makefile.in (VTV_CFLAGS): New variable.
2042 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2043 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2044 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2045 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2046 to extra_parts if $enable_vtable_verify = yes.
2047
2048 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2049
2050 PR target/68059
2051 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2052 (write): ...this and fix the return type.
2053
2054 2015-11-19 DJ Delorie <dj@redhat.com>
2055
2056 * config/msp430/lib2hw_mul.S: Fix alignment.
2057
2058 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2059
2060 * config/nvptx/reduction.c: New.
2061 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2062
2063 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2064
2065 * config/rs6000/on_exit.c: New file.
2066 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2067 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2068
2069 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2070
2071 * config/arc/dp-hack.h: Add support for ARCHS.
2072 * config/arc/ieee-754/divdf3.S: Likewise.
2073 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2074 * config/arc/ieee-754/muldf3.S: Likewise.
2075 * config/arc/ieee-754/mulsf3.S: Likewise
2076 * config/arc/lib1funcs.S: Likewise
2077 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2078 for ARCv2 cores.
2079 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2080 for ARCv2 cores.
2081 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2082 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2083 cores.
2084
2085 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2086
2087 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2088 value.
2089 * config/ia64/crtend.S: Likewise.
2090
2091 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2092
2093 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2094 __CHAR_BIT__ instead of BITS_PER_UNIT.
2095 * fixed-bit.h: Likewise.
2096 * fp-bit.h: Likewise.
2097 * libgcc2.c (__popcountSI2): Likewise.
2098 (__popcountDI2): Likewise.
2099 * libgcc2.h: Likewise.
2100 * libgcov.h: Likewise.
2101
2102 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2103
2104 * config/rs6000/atexit.c: New file.
2105 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2106 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2107 * config/rs6000/cxa_finalize.c
2108 (catomic_compare_and_exchange_bool_acq): Negate return value.
2109
2110 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2111
2112 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2113 (processor_subtypes): Add znver1.
2114 (get_amd_cpu): Detect znver1.
2115
2116 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2117
2118 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2119 Include crtfastmath.o.
2120
2121 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2122
2123 PR libgcc/66883
2124 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2125
2126 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2127
2128 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2129 * config/rl78/divmodsi.S: Update return register to r8.
2130 * config/rl78/divmodhi.S: Update return register to r8,r9.
2131 Branch to main_loop_done_himode to pop registers before return.
2132
2133 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2134
2135 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2136 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2137
2138 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2139
2140 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2141
2142 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2143
2144 * config.host (xtensa*-*-uclinux*): New configuration.
2145
2146 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2147
2148 * config/i386/cpuinfo.c (processor_features): Add
2149 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2150
2151 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2152
2153 * soft-fp/adddf3.c: Update from glibc.
2154 * soft-fp/addsf3.c: Likewise.
2155 * soft-fp/addtf3.c: Likewise.
2156 * soft-fp/divdf3.c: Likewise.
2157 * soft-fp/divsf3.c: Likewise.
2158 * soft-fp/divtf3.c: Likewise.
2159 * soft-fp/double.h: Likewise.
2160 * soft-fp/eqdf2.c: Likewise.
2161 * soft-fp/eqsf2.c: Likewise.
2162 * soft-fp/eqtf2.c: Likewise.
2163 * soft-fp/extenddftf2.c: Likewise.
2164 * soft-fp/extended.h: Likewise.
2165 * soft-fp/extendsfdf2.c: Likewise.
2166 * soft-fp/extendsftf2.c: Likewise.
2167 * soft-fp/extendxftf2.c: Likewise.
2168 * soft-fp/fixdfdi.c: Likewise.
2169 * soft-fp/fixdfsi.c: Likewise.
2170 * soft-fp/fixdfti.c: Likewise.
2171 * soft-fp/fixsfdi.c: Likewise.
2172 * soft-fp/fixsfsi.c: Likewise.
2173 * soft-fp/fixsfti.c: Likewise.
2174 * soft-fp/fixtfdi.c: Likewise.
2175 * soft-fp/fixtfsi.c: Likewise.
2176 * soft-fp/fixtfti.c: Likewise.
2177 * soft-fp/fixunsdfdi.c: Likewise.
2178 * soft-fp/fixunsdfsi.c: Likewise.
2179 * soft-fp/fixunsdfti.c: Likewise.
2180 * soft-fp/fixunssfdi.c: Likewise.
2181 * soft-fp/fixunssfsi.c: Likewise.
2182 * soft-fp/fixunssfti.c: Likewise.
2183 * soft-fp/fixunstfdi.c: Likewise.
2184 * soft-fp/fixunstfsi.c: Likewise.
2185 * soft-fp/fixunstfti.c: Likewise.
2186 * soft-fp/floatdidf.c: Likewise.
2187 * soft-fp/floatdisf.c: Likewise.
2188 * soft-fp/floatditf.c: Likewise.
2189 * soft-fp/floatsidf.c: Likewise.
2190 * soft-fp/floatsisf.c: Likewise.
2191 * soft-fp/floatsitf.c: Likewise.
2192 * soft-fp/floattidf.c: Likewise.
2193 * soft-fp/floattisf.c: Likewise.
2194 * soft-fp/floattitf.c: Likewise.
2195 * soft-fp/floatundidf.c: Likewise.
2196 * soft-fp/floatundisf.c: Likewise.
2197 * soft-fp/floatunditf.c: Likewise.
2198 * soft-fp/floatunsidf.c: Likewise.
2199 * soft-fp/floatunsisf.c: Likewise.
2200 * soft-fp/floatunsitf.c: Likewise.
2201 * soft-fp/floatuntidf.c: Likewise.
2202 * soft-fp/floatuntisf.c: Likewise.
2203 * soft-fp/floatuntitf.c: Likewise.
2204 * soft-fp/gedf2.c: Likewise.
2205 * soft-fp/gesf2.c: Likewise.
2206 * soft-fp/getf2.c: Likewise.
2207 * soft-fp/ledf2.c: Likewise.
2208 * soft-fp/lesf2.c: Likewise.
2209 * soft-fp/letf2.c: Likewise.
2210 * soft-fp/muldf3.c: Likewise.
2211 * soft-fp/mulsf3.c: Likewise.
2212 * soft-fp/multf3.c: Likewise.
2213 * soft-fp/negdf2.c: Likewise.
2214 * soft-fp/negsf2.c: Likewise.
2215 * soft-fp/negtf2.c: Likewise.
2216 * soft-fp/op-1.h: Likewise.
2217 * soft-fp/op-2.h: Likewise.
2218 * soft-fp/op-4.h: Likewise.
2219 * soft-fp/op-8.h: Likewise.
2220 * soft-fp/op-common.h: Likewise.
2221 * soft-fp/quad.h: Likewise.
2222 * soft-fp/single.h: Likewise.
2223 * soft-fp/soft-fp.h: Likewise.
2224 * soft-fp/subdf3.c: Likewise.
2225 * soft-fp/subsf3.c: Likewise.
2226 * soft-fp/subtf3.c: Likewise.
2227 * soft-fp/truncdfsf2.c: Likewise.
2228 * soft-fp/trunctfdf2.c: Likewise.
2229 * soft-fp/trunctfsf2.c: Likewise.
2230 * soft-fp/trunctfxf2.c: Likewise.
2231 * soft-fp/unorddf2.c: Likewise.
2232 * soft-fp/unordsf2.c: Likewise.
2233 * soft-fp/unordtf2.c: Likewise.
2234
2235 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2236
2237 PR libgcc/67624
2238 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2239
2240 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2241
2242 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2243 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2244 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2245 messages.
2246 (internal_mcount): Likewise.
2247 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2248 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2249
2250 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2251
2252 * configure.ac (libgcc_cv_solaris_crts): New test.
2253 * configure: Regenerate.
2254 * config.in: Regenerate.
2255 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2256 * config/gmon-sol2.c: Rename to ...
2257 * config/sol2/gmon.c: ... this.
2258 Include auto-target.h.
2259 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2260 * config/t-sol2: Rename to ...
2261 * config/sol2/t-sol2: ... this.
2262 (gmon.o): Reflect renaming.
2263 (crtp.o, crtpg.o): New rules.
2264 * config.host (*-*-solaris2*): Reflect renaming.
2265 Use system CRTs if present.
2266 Remove default CRT case.
2267
2268 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2269
2270 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2271 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2272 __kernel_cmpxchg2.
2273 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2274 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2275 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2276 (__sync_lock_test_and_set_##WIDTH): Likewise.
2277 (__sync_lock_release_##WIDTH): Likewise.
2278 (__sync_fetch_and_##OP##_4): Change result to match type of
2279 __kernel_cmpxchg.
2280 (__sync_##OP##_and_fetch_4): Likewise.
2281 (__sync_val_compare_and_swap_4): Likewise.
2282 (__sync_bool_compare_and_swap_4): likewise.
2283 (__sync_lock_test_and_set_4): Likewise.
2284 (__sync_lock_release_4): Likewise.
2285 (FETCH_AND_OP_2): Add long long variants.
2286 (OP_AND_FETCH_2): Likewise.
2287 (COMPARE_AND_SWAP_2 ): Likewise.
2288 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2289 (SYNC_LOCK_RELEASE_2): Likewise.
2290 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2291
2292 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2293
2294 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2295 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2296 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2297 (get_available_features): Habdle new features.
2298
2299 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2300
2301 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2302 memory layout. Deal correctly with BSS region larger than 32K.
2303 Handle a watchdog reset like a power-on reset. Clean up unused
2304 code.
2305
2306 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2307 David Edelsohn <dje.gcc@gmail.com>
2308
2309 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2310 * config/rs6000/crtdbase.S: New file.
2311 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2312
2313 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2314
2315 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2316 Add support for call0 ABI.
2317
2318 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2319
2320 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2321
2322 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2323
2324 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2325 (__GTHREAD_HAS_COND): Likewise.
2326 (__gthread_t): Likewise.
2327 (__gthread_cond_t): Likewise.
2328 (__gthread_time_t): Likewise.
2329 (__GTHREAD_MUTEX_INIT): Likewise.
2330 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2331 (__GTHREAD_COND_INIT): Likewise.
2332 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2333 (__GTHREAD_TIME_INIT): Likewise.
2334 (__gthread_create): Likewise.
2335 (__gthread_join): Likewise.
2336 (__gthread_detach): Likewise.
2337 (__gthread_equal): Likewise.
2338 (__gthread_self): Likewise.
2339 (__gthread_yield): Likewise.
2340 (__gthread_cond_broadcast): Likewise.
2341 (__gthread_cond_signal): Likewise.
2342 (__gthread_cond_wait): Likewise.
2343 (__gthread_cond_timedwait): Likewise.
2344 (__gthread_cond_wait_recursive): Likewise.
2345 (__gthread_cond_destroy): Likewise.
2346 (rtems_gxx_once): Delete.
2347 (rtems_gxx_key_create): Likewise.
2348 (rtems_gxx_key_delete): Likewise.
2349 (rtems_gxx_getspecific): Likewise.
2350 (rtems_gxx_setspecific): Likewise.
2351 (rtems_gxx_mutex_init): Likewise.
2352 (rtems_gxx_mutex_destroy): Likewise.
2353 (rtems_gxx_mutex_lock): Likewise.
2354 (rtems_gxx_mutex_trylock): Likewise.
2355 (rtems_gxx_mutex_unlock): Likewise.
2356 (rtems_gxx_recursive_mutex_init): Likewise.
2357 (rtems_gxx_recursive_mutex_lock): Likewise.
2358 (rtems_gxx_recursive_mutex_trylock): Likewise.
2359 (rtems_gxx_recursive_mutex_unlock): Likewise.
2360 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2361 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2362 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2363 (__gthread_once): Likewise.
2364 (__gthread_key_create): Likewise.
2365 (__gthread_key_delete): Likewise.
2366 (__gthread_getspecific): Likewise.
2367 (__gthread_setspecific): Likewise.
2368 (__gthread_key_t): Use <pthread.h> type.
2369 (__gthread_once_t): Likewise
2370 (__gthread_mutex_t): Use <sys/lock.h> type.
2371 (__gthread_recursive_mutex_t): Likewise
2372 (__gthread_mutex_lock): Use <sys/lock.h> function.
2373 (__gthread_mutex_trylock): Likewise.
2374 (__gthread_mutex_timedlock): Likewise.
2375 (__gthread_mutex_unlock): Likewise.
2376 (__gthread_mutex_destroy): Likewise.
2377 (__gthread_recursive_mutex_lock): Likewise.
2378 (__gthread_recursive_mutex_trylock): Likewise.
2379 (__gthread_recursive_mutex_timedlock): Likewise.
2380 (__gthread_recursive_mutex_unlock): Likewise.
2381 (__gthread_recursive_mutex_destroy): Likewise.
2382
2383 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2384
2385 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2386 context->sp instead of context->cfa.
2387
2388 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2389
2390 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2391 with unwind-dw2-fde-dip.
2392
2393 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2394
2395 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2396 CALL12 followed by series of ENTRY to spill windowed registers.
2397 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2398 instead of making linux spill syscall.
2399
2400 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2401
2402 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2403 (get_intel_cpu): Likewise.
2404
2405 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2406
2407 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2408 (get_intel_cpu): Add Knights Landing support.
2409
2410 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2411
2412 PR target/66954
2413 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2414 (get_available_features): Handle FEATURE_PCLMUL.
2415
2416 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2417
2418 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2419 Broadwell.
2420
2421 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2422
2423 PR target/66954
2424 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2425 (get_available_features): Handle FEATURE_AES.
2426
2427 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2428
2429 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2430 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2431
2432 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2433
2434 * offloadstuff.c: Constify host data.
2435
2436 2015-07-17 Jan Beulich <jbeulich@suse.com>
2437
2438 * config/t-softfp: Split up "else ifneq".
2439
2440 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2441 Cesar Philippidis <cesar@codesourcery.com>
2442 Chung-Lin Tang <cltang@codesourcery.com>
2443
2444 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2445 for __nios2_arch__ level.
2446
2447 2015-07-13 John Marino <gnugcc@marino.st>
2448
2449 * config/i386/t-dragonfly: New.
2450
2451 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2452
2453 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2454 better match light-weight syscall argument order.
2455 (__kernel_cmpxchg2): Likewise.
2456 Adjust callers.
2457
2458 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2459
2460 * config.host: Support i[34567]86-*-elfiamcu target.
2461 * config/t-softfp-sfdftf: New file.
2462 * config/i386/32/t-iamcu: Likewise.
2463 * configure: Regenerated.
2464
2465 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2466
2467 libgcc/config/arm/
2468 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2469
2470 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2471
2472 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2473
2474 2015-05-27 John Marino <gnugcc@marino.st>
2475
2476 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2477 md_unwind_header
2478 * config/i386/freebsd-unwind.h: New.
2479
2480 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
2481
2482 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2483 i386/t-crtfm to tmake_file.
2484 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2485 (set_fast_math): Use set_fast_math_sse for SSE targets.
2486 * config/i386/t-crtfm: Remove.
2487
2488 2015-05-21 Alan Modra <amodra@gmail.com>
2489
2490 PR libgcc/66225
2491 * config/rs6000/morestack.S: Remove ".abiversion 1".
2492
2493 2015-05-20 Alan Modra <amodra@gmail.com>
2494
2495 * config/rs6000/morestack.S: New.
2496 * config/rs6000/t-stack-rs6000: New.
2497 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2498 to tmake_file.
2499 * generic-morestack.c: Don't build for powerpc 32-bit.
2500
2501 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2502
2503 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2504 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2505
2506 2015-05-16 James Bowman <james.bowman@ftdichip.com>
2507
2508 * config.host: FT32 target added.
2509 * config/ft32/*: New files for FT32 target.
2510
2511 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2512
2513 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2514 New macros.
2515 * config/arm/ieee754-df.S: Add CFI directives.
2516 * config/arm/ieee754-sf.S: Add CFI directives.
2517
2518 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2519
2520 * configure.ac: Include config/sjlj.m4.
2521 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2522 * config.in: Regenerate.
2523 * configure: Likewise.
2524 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2525
2526 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
2527
2528 * libgcov-util.c: Add space between string literal and macro name.
2529
2530 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2531 Chris Jones <chrisj@nvidia.com>
2532 Joshua Conner <jconner@nvidia.com>
2533
2534 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2535 (arm*-*-uclinux*): Likewise.
2536 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2537 * config/arm/crtfastmath.c: New file.
2538
2539 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2540
2541 * Makefile.in (real_host_noncanonical): New variable.
2542 (libsubdir): Use it.
2543 * configure.ac (real_host_noncanonical): Compute. Remove special
2544 case for intelmicemul.
2545 * configure: Regenerate.
2546
2547 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2548
2549 * config/frv/elf-lib.h: New file.
2550 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2551 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2552 to tm_file.
2553
2554 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2555
2556 * config/frv/frvbengin.c: Do not include defaults.h
2557 * config/frv/frvend.c: Ditto.
2558
2559 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2560
2561 * config.host: Add h8300-*-linux
2562 * config/h8300/t-linux: New file.
2563 * config/h8300/lib1funs.s: Change symbol prefix.
2564 * config/h8300/sfp-machine.h: 64bit double support.
2565
2566 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2567 Szabolcs Nagy <szabolcs.nagy@arm.com>
2568
2569 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2570 Linux if target provides dl_iterate_phdr.
2571
2572 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2573
2574 PR target/65612
2575 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2576 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2577 (__cpu_indicator_init@GCC_4.8.0): New.
2578 (__cpu_model@GCC_4.8.0): Likewise.
2579 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2580 -DUSE_ELF_SYMVER.
2581
2582 2015-04-16 Nick Clifton <nickc@redhat.com>
2583
2584 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2585 and __modhi3 functions.
2586 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2587 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2588
2589 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2590
2591 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2592 do-while loop as macro body to avoid warnings.
2593
2594 2015-04-10 Jakub Jelinek <jakub@redhat.com>
2595 Iain Sandoe <iain@codesourcery.com>
2596
2597 PR target/65351
2598 * configure: Regenerate.
2599
2600 2015-04-07 Jakub Jelinek <jakub@redhat.com>
2601 Iain Sandoe <iain@codesourcery.com>
2602
2603 PR target/65351
2604 * configure: Regenerate.
2605
2606 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2607
2608 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2609
2610 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
2611
2612 Implement call0 ABI for xtensa
2613 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2614 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2615 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2616 use ret in call0 ABI.
2617 * config/xtensa/t-windowed: New file.
2618 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2619 * libgcc/configure: Regenerated.
2620 * libgcc/configure.ac: Check if xtensa target is configured for
2621 windowed ABI and thus needs to use custom unwind code.
2622
2623 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
2624
2625 PR libgcc/64885
2626 * gthr-single.h: Use __unused__ attribute instead of unused.
2627 * config/gthr-vxworks.h: Likewise.
2628 * config/i386/gthr-win32.h: Likewise.
2629
2630 2015-02-27 Kai Tietz <ktietz@redhat.com>
2631
2632 PR target/65038
2633 * config.in: Regenerated.
2634 * configure: Likewise.
2635 * configure.ac (AC_HEADER_STDC): Added explicit.
2636 (AC_CHECK_HEADERS): Check for default headers plus
2637 for ftw.h header.
2638 * libgcov-util.c (gcov_read_profile_dir): Disable use
2639 of ftw-function, if header is not found.
2640 (ftw_read_file): Likewise.
2641
2642 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2643
2644 PR target/65181
2645 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2646 -Dinhibit_libc.
2647
2648 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2649
2650 * config/arm/bpabi.S (test_div_by_zero): Make label names
2651 consistent between thumb2 and arm mode cases. Separate the
2652 signed comparison on the high word of the numerator from the
2653 unsigned comparison on the low word.
2654 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2655 signed comparison.
2656
2657 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2658
2659 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2660 and <string.h>.
2661 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2662
2663 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2664
2665 PR gcov-profile/61889
2666 * libgcov-driver-system.c: undefine clashing macro for mkdir.
2667
2668 2015-02-02 Nick Clifton <nickc@redhat.com>
2669
2670 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2671 rounding up the fraction.
2672
2673 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
2674
2675 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2676 oldval and newval to const void *. Fix typo.
2677 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2678 (FETCH_AND_OP_WORD): Likewise.
2679 (OP_AND_FETCH_WORD): Likewise.
2680 (COMPARE_AND_SWAP_2): Likewise.
2681 (__sync_val_compare_and_swap_4): Likewise.
2682 (__sync_lock_test_and_set_4): Likewise.
2683 (SYNC_LOCK_RELEASE_2): Likewise.
2684 Remove support for long long atomic operations.
2685
2686 2015-01-27 Caroline Tice <cmtice@google.com>
2687
2688 Committing VTV Cywin/Ming patch for Patrick Wollgast
2689 * Makefile.in: Move rules to build vtv_*.o out of the check
2690 for CUSTOM_CRTSTUFF.
2691 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2692 i[34567]86-*-mingw*)
2693 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2694 enable_vtable_verify.
2695
2696 2015-01-27 Nick Clifton <nickc@redhat.com>
2697
2698 * config/rl78/cmpsi2.S: Use function start and end macros.
2699 (__gcc_bcmp): New function.
2700 * config/rl78/lshrsi3.S: Use function start and end macros.
2701 * config/rl78/mulsi3.S: Add support for G10.
2702 (__mulqi3): New function for G10.
2703 * config/rl78/signbit.S: Use function start and end macros.
2704 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2705 fpmath-sf.S.
2706 (LIB2FUNCS_EXCLUDE): Define.
2707 (LIB2FUNCS_ST): Define.
2708 * config/rl78/trampoline.S: Use function start and end macros.
2709 * config/rl78/vregs.h (START_FUNC): New macro.
2710 (START_ANOTHER_FUNC): New macro.
2711 (END_FUNC): New macro.
2712 (END_ANOTHER_FUNC): New macro.
2713 * config/rl78/bit-count.S: New file. Contains assembler
2714 implementations of the bit counting functions: ___clzhi2,
2715 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2716 __paritysi2, __popcounthi2 and __popcountsi2.
2717 * config/rl78/fpbit-sf.S: New file. Contains assembler
2718 implementationas of the math functions: __negsf2, __cmpsf2,
2719 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2720 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2721 * config/rl78/fpmath-sf.S: New file. Contains assembler
2722 implementations of the math functions: __subsf3, __addsf3,
2723 __mulsf3 and __divsf3
2724
2725 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2726
2727 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2728 Add i386/elf-lib.h to tm_file.
2729 * config/i386/elf-lib.h: Fix comment.
2730 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2731 && __sun__ && __svr4__]: Remove workaround.
2732
2733 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2734
2735 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2736 FEATURE_BMI2.
2737 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2738
2739 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2740
2741 * config/i386/cpuinfo.c (processor_subtypes): Add
2742 INTEL_COREI7_BROADWELL.
2743 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2744 model numbers.
2745
2746 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
2747
2748 * config/i386/elf-lib.h: New file.
2749 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2750 Wrap definition in #ifdef __i386__.
2751 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2752 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2753 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2754 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2755 to tm_file.
2756
2757 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2758
2759 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2760 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2761
2762 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2763
2764 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2765 Update rt_sigframe format and address for current Nios II
2766 Linux conventions.
2767
2768 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2769
2770 * config.host (arm*-*-freebsd*): Add new configuration for
2771 arm*-*-freebsd*.
2772 * config/arm/freebsd-atomic.c: New file.
2773 * config/arm/t-freebsd: Likewise.
2774 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2775 'PC-relative indirect' OS's.
2776
2777 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2778
2779 * config.host: Add Visium support.
2780 * config/visium: New directory.
2781
2782 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2783
2784 Update copyright years.
2785
2786 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2787
2788 * config.host: Support mipsisa32r6 and mipsisa64r6.
2789 * config/mips/mips16.S: Do not build for R6.
2790
2791 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2792
2793 * config/sh/crt.h: New.
2794 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2795 symbols.
2796 * config/sh/crt1.S: Likewise.
2797
2798 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
2799
2800 PR libgcc/63832
2801 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2802 func_ptr *dtor_list temporary variable to avoid "array subscript
2803 is above array bounds" warnings.
2804
2805 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
2806
2807 * Makefile.in (with_aix_soname): Define.
2808 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2809 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2810 * configure: Recreate.
2811
2812 2014-12-05 Olivier Hainque <hainque@adacore.com>
2813
2814 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2815 now provided by defaults.h.
2816
2817 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2818
2819 PR target/55351
2820 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2821 whether it's defined.
2822
2823 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2824
2825 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2826 * config/i386/cpuinfo.c (get_available_features): Detect it.
2827
2828 2014-11-27 Tony Wang <tony.wang@arm.com>
2829
2830 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2831 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2832 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2833
2834 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2835
2836 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2837
2838 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
2839
2840 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2841 instead.
2842
2843 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
2844 John David Anglin <danglin@gcc.gnu.org>
2845
2846 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2847 (FETCH_AND_OP_2): New. Use for subword and double word operations.
2848 (OP_AND_FETCH_2): Likewise.
2849 (COMPARE_AND_SWAP_2): Likewise.
2850 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2851 (SYNC_LOCK_RELEASE_2): Likewise.
2852 (SUBWORD_SYNC_OP): Remove.
2853 (SUBWORD_VAL_CAS): Likewise.
2854 (SUBWORD_BOOL_CAS): Likewise.
2855 (FETCH_AND_OP_WORD): Update.
2856 Consistently use signed types.
2857
2858 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
2859 Thomas Schwinge <thomas@codesourcery.com>
2860 Ilya Verbin <ilya.verbin@intel.com>
2861 Andrey Turetskiy <andrey.turetskiy@intel.com>
2862
2863 * Makefile.in (crtoffloadbegin$(objext)): New rule.
2864 (crtoffloadend$(objext)): Likewise.
2865 * configure: Regenerate.
2866 * configure.ac (accel_dir_suffix): Compute new variable.
2867 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2868 if enable_offload_targets is not empty.
2869 * offloadstuff.c: New file.
2870
2871 2014-11-13 Nick Clifton <nickc@redhat.com>
2872
2873 * config/rl78/divmodhi.S: Add support for the G10 architecture.
2874 Use START_FUNC and END_FUNC macros to enable linker garbage
2875 collection.
2876 * config/rl78/divmodqi.S: Likewise.
2877 * config/rl78/divmodsi.S: Likewise.
2878 * config/rl78/mulsi3.S: Likewise.
2879 * config/rl78/lib2div.c: Remove G10 functions.
2880 * config/rl78/lib2muls.c: Likewise.
2881 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2882 * config/rl78/vregs.h (START_FUNC): New macro.
2883 (END_FUNC): New macro.
2884
2885 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
2886
2887 * config/mips/mips16.S: Set .module when supported. Update O32
2888 FP64 calling convention and use for FPXX when possible. Add FPXX
2889 calling convention fallback case.
2890
2891 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2892
2893 * config.host: Handle nvptx-*-*.
2894 * shared-object.mk (as-flags-$o): Define.
2895 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2896 -xassembler-with-cpp.
2897 * static-object.mk: Identical changes.
2898 * config/nvptx/t-nvptx: New file.
2899 * config/nvptx/crt0.s: New file.
2900 * config/nvptx/free.asm: New file.
2901 * config/nvptx/malloc.asm: New file.
2902 * config/nvptx/realloc.c: New file.
2903
2904 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2905
2906 * Makefile.in (libgcc.map.in): New target.
2907 (libgcc.map): Use libgcc.map.in.
2908 * config/t-softfp (softfp_compat): New variable to be set by
2909 users.
2910 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2911 variables.
2912 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2913 directory.
2914 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2915 that use compat symbols and disable all code unless [SHARED].
2916 * config/t-softfp-compat: New file.
2917 * find-symver.awk: New file.
2918 * configure.ac (--with-glibc-version): New configure option.
2919 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2920 * configure: Regenerate.
2921 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2922 soft-float and e500.
2923
2924 2014-10-29 Joseph Myers <joseph@codesourcery.com>
2925
2926 * config/t-hardfp (hardfp_exclusions): Document new variable for
2927 user to define.
2928 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2929 * config/t-softfp (softfp_extras): Document new variable for user
2930 to define.
2931 (softfp_func_list): Add functions from $(softfp_extras).
2932 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2933 * config.host (powerpc*-*-linux*): For e500v1, use
2934 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2935 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2936 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2937
2938 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
2939
2940 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2941 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2942 memory read accesses are ok.
2943
2944 2014-10-25 Joseph Myers <joseph@codesourcery.com>
2945
2946 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2947 * configure: Regenerate.
2948 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2949 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
2950 of soft-fp for 32-bit classic hard float. Do not use
2951 t-softfp-excl for soft float.
2952
2953 2014-10-22 Joseph Myers <joseph@codesourcery.com>
2954
2955 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2956 configurations.
2957 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2958 Remove variables.
2959
2960 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
2961
2962 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2963 introduced with 2014-10-21 trunk r216525.
2964
2965 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
2966 Vidya Praveen <vidya.praveen@atmel.com>
2967 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
2968 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
2969 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
2970
2971 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2972 order.
2973
2974 Updated library functions for AVRTINY arch.
2975 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2976 Replaced occurrences of r0/r1 with tmp/zero reg macros.
2977 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2978 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2979 wsubi/wadi macors.
2980 (__mulsi3_helper): Update stack, preserve callee saved regs and
2981 argument from stack. Restore callee save registers.
2982 (__mulpsi3): Likewise.
2983 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2984 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2985 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2986 AVRTINY.
2987 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2988 (__do_copy_data): Added new definition for AVRTINY.
2989 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2990 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2991 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2992 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2993 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2994 macors.
2995 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2996 AVRTINY.
2997
2998 Fix broken long multiplication on tiny arch.
2999
3000 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3001
3002 * soft-fp/double.h: Update from glibc.
3003 * soft-fp/eqdf2.c: Likewise.
3004 * soft-fp/eqsf2.c: Likewise.
3005 * soft-fp/eqtf2.c: Likewise.
3006 * soft-fp/extenddftf2.c: Likewise.
3007 * soft-fp/extended.h: Likewise.
3008 * soft-fp/extendsfdf2.c: Likewise.
3009 * soft-fp/extendsftf2.c: Likewise.
3010 * soft-fp/extendxftf2.c: Likewise.
3011 * soft-fp/gedf2.c: Likewise.
3012 * soft-fp/gesf2.c: Likewise.
3013 * soft-fp/getf2.c: Likewise.
3014 * soft-fp/ledf2.c: Likewise.
3015 * soft-fp/lesf2.c: Likewise.
3016 * soft-fp/letf2.c: Likewise.
3017 * soft-fp/op-1.h: Likewise.
3018 * soft-fp/op-2.h: Likewise.
3019 * soft-fp/op-4.h: Likewise.
3020 * soft-fp/op-8.h: Likewise.
3021 * soft-fp/op-common.h: Likewise.
3022 * soft-fp/quad.h: Likewise.
3023 * soft-fp/single.h: Likewise.
3024 * soft-fp/soft-fp.h: Likewise.
3025 * soft-fp/unorddf2.c: Likewise.
3026 * soft-fp/unordsf2.c: Likewise.
3027 * soft-fp/unordtf2.c: Likewise.
3028 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3029 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3030 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3031 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3032 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3033 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3034 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3035 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3036 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3037 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3038
3039 2014-10-08 Rong Xu <xur@google.com>
3040
3041 * libgcov-util.c (read_gcda_file): Fix format.
3042 (find_match_gcov_info): Ditto.
3043 (calculate_2_entries): New.
3044 (compute_one_gcov): Ditto.
3045 (gcov_info_count_all_cold): Ditto.
3046 (gcov_info_count_all_zero): Ditto.
3047 (extract_file_basename): Ditto.
3048 (get_file_basename): Ditto.
3049 (set_flag): Ditto.
3050 (matched_gcov_info): Ditto.
3051 (calculate_overlap): Ditto.
3052 (gcov_profile_overlap): Ditto.
3053 * libgcov-driver.c (compute_summary): Make
3054 it avavilable for external calls.
3055
3056 2014-10-06 Rong Xu <xur@google.com>
3057
3058 * Makefile.in: Ditto.
3059 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3060 (gcov_sort_icall_topn_counter): Ditto.
3061 (gcov_sort_topn_counter_arrays): Ditto.
3062 (dump_one_gcov): Sort indirect_call topn counters.
3063 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3064 function.
3065 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3066 utility function.
3067 (__gcov_indirect_call_topn_profiler): New profiler function.
3068 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3069 * libgcov.h: New decls.
3070
3071 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3072
3073 * config.host: Remove support for score-*.
3074
3075 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3076
3077 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3078 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3079 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3080 __LIBGCC_XF_MANT_DIG__.
3081 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3082 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3083 __LIBGCC_TF_MANT_DIG__.
3084 * libgcc2.c (NOTRUNC): Define in terms of
3085 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3086 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3087
3088 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3089
3090 PR target/63312
3091 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3092 New macros.
3093
3094 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3095
3096 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3097 override USE_PT_GNU_EH_FRAME.
3098 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3099 check USE_EH_FRAME_REGISTRY_ALWAYS against
3100 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3101 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3102 variable for substituted force_explicit_eh_registry.
3103 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3104 * configure.ac (explicit-exception-frame-registration):
3105 New AC_ARG_ENABLE.
3106 * configure: Regenerate.
3107
3108 2014-09-19 Olivier Hainque <hainque@adacore.com>
3109
3110 * config.host (powerpc-wrs-vxworksmils): New configuration,
3111 same as vxworksae.
3112
3113 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3114
3115 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3116
3117 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3118
3119 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3120 bits not set bits as indicating trapping exceptions.
3121
3122 2014-09-17 Nathan sidwell <nathan@acm.org>
3123
3124 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3125 (LIBGCOV_DRIVER): ... here.
3126 * libgcov-driver.c (gcov_master): New.
3127 (gcov_exit): Remove from master chain.
3128 (__gcov_init): Add to master chain if version compatible. Don't
3129 clear the version.
3130 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3131 (gcov_reset_int): Clear master chain, if compatible.
3132 (gcov_dump_int): New internal interface. Dump master chain, if
3133 compatible.
3134 (gcov_dump): Alias for gcov_dump_int.
3135 * libgcov.h (struct gcov_root): Add next and prev fields.
3136 (struct gcov_master): New struct.
3137 (__gcov_master): New.
3138 (gcov_dump_int): Declare.
3139
3140 2014-09-17 Olivier Hainque <hainque@adacore.com>
3141
3142 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3143 and crtbegin.o + crtend.o to extra_parts.
3144
3145 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3146
3147 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3148 __LIBGCC_HAS_SF_MODE__.
3149 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3150 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3151 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3152 * config/libbid/bid_gcc_intrinsics.h
3153 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3154 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3155 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3156 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3157 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3158 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3159
3160 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3161
3162 PR target/63223
3163 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3164 and R24 as needed. Make work for all devices and .text locations.
3165 (__do_global_ctors, __do_global_dtors): Use word addresses.
3166 (__tablejump__, __tablejump_elpm__): Remove functions.
3167 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3168 Add _tablejump2.
3169 (XICALL, XIJMP): New macros.
3170
3171 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3172 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3173
3174 * config.host (aarch64*): Include crtfastmath.o and
3175 t-crtfm.
3176 * config/aarch64/crtfastmath.c: New file.
3177
3178 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3179
3180 * config.host: Remove picochip support.
3181 * config/picochip/adddi3.S: Remove.
3182 * config/picochip/ashlsi3.S: Remove.
3183 * config/picochip/ashlsi3.c: Remove.
3184 * config/picochip/ashrsi3.S: Remove.
3185 * config/picochip/ashrsi3.c: Remove.
3186 * config/picochip/clzsi2.S: Remove.
3187 * config/picochip/cmpsi2.S: Remove.
3188 * config/picochip/divmod15.S: Remove.
3189 * config/picochip/divmodhi4.S: Remove.
3190 * config/picochip/divmodsi4.S: Remove.
3191 * config/picochip/lib1funcs.S: Remove.
3192 * config/picochip/longjmp.S: Remove.
3193 * config/picochip/lshrsi3.S: Remove.
3194 * config/picochip/lshrsi3.c: Remove.
3195 * config/picochip/parityhi2.S: Remove.
3196 * config/picochip/popcounthi2.S: Remove.
3197 * config/picochip/setjmp.S: Remove.
3198 * config/picochip/subdi3.S: Remove.
3199 * config/picochip/t-picochip: Remove.
3200 * config/picochip/ucmpsi2.S: Remove.
3201 * config/picochip/udivmodhi4.S: Remove.
3202 * config/picochip/udivmodsi4.S: Remove.
3203
3204 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3205
3206 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3207 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3208 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3209 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3210 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3211 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3212 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3213 defined and LIBGCC2_HAS_DF_MODE is defined.
3214 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3215 defined and LIBGCC2_HAS_XF_MODE is defined.
3216 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3217 defined and LIBGCC2_HAS_TF_MODE is defined.
3218
3219 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3220
3221 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3222 and ROUND_TOWARDS_ZERO conditionals.
3223
3224 2014-09-07 Nathan sidwell <nathan@acm.org>
3225
3226 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3227 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3228
3229 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3230
3231 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3232 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3233 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3234 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3235 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3236 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3237 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3238 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3239 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3240 (DWARF_FRAME_REGISTERS): Change all uses to
3241 __LIBGCC_DWARF_FRAME_REGISTERS__.
3242 (EH_RETURN_STACKADJ_RTX): Change all uses to
3243 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3244 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3245 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3246 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3247 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3248 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3249 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3250 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3251 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3252 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3253 __LIBGCC_STACK_POINTER_REGNUM__.
3254 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3255 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3256 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3257 to __LIBGCC_STACK_POINTER_REGNUM__.
3258 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3259 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3260 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3261 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3262 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3263 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3264 (STACK_POINTER_REGNUM): Change all uses to
3265 __LIBGCC_STACK_POINTER_REGNUM__.
3266 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3267 use to __LIBGCC_STACK_POINTER_REGNUM__.
3268 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3269 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3270 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3271 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3272 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3273 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3274 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3275 to __LIBGCC_STACK_POINTER_REGNUM__.
3276 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3277 Remove conditional definition.
3278 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3279 __LIBGCC_TEXT_SECTION_ASM_OP__.
3280 (EH_FRAME_SECTION_NAME): Change all uses to
3281 __LIBGCC_EH_FRAME_SECTION_NAME__.
3282 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3283 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3284 (CTORS_SECTION_ASM_OP): Change all uses to
3285 __LIBGCC_CTORS_SECTION_ASM_OP__.
3286 (DTORS_SECTION_ASM_OP): Change all uses to
3287 __LIBGCC_DTORS_SECTION_ASM_OP__.
3288 (JCR_SECTION_NAME): Change all uses to
3289 __LIBGCC_JCR_SECTION_NAME__.
3290 (INIT_SECTION_ASM_OP): Change all uses to
3291 __LIBGCC_INIT_SECTION_ASM_OP__.
3292 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3293 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3294 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3295 __LIBGCC_STACK_GROWS_DOWNWARD__.
3296 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3297 __LIBGCC_INIT_SECTION_ASM_OP__.
3298 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3299 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3300 (EH_FRAME_SECTION_NAME): Change all uses to
3301 __LIBGCC_EH_FRAME_SECTION_NAME__.
3302 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3303 definitions. Change all uses to
3304 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3305 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3306 __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 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3312 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3313 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3314 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3315 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3316
3317 2014-09-02 Nathan sidwell <nathan@acm.org>
3318
3319 * libgcov-interface.c (STRONG_ALIAS): New.
3320 (__gcov_flush): Call __gcov_reset_int.
3321 (__gcov_reset): Strong alias for ...
3322 (__gcov_reset_ing): ... this renamed hidden version.
3323 * libgcov.h (__gcov_reset_int): New declaration.
3324
3325 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3326
3327 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3328 call from here...
3329 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3330 (__dso_handle): Define on Cygwin.
3331 * config/i386/t-cygming (crtbeginS.o): New rule.
3332 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3333
3334 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3335 declaration syntax.
3336
3337 2014-08-13 Steve Ellcey <sellcey@mips.com>
3338
3339 * crtstuff.c: Undef caddr_t.
3340
3341 2014-08-12 Steve Ellcey <sellcey@mips.com>
3342
3343 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3344
3345 2014-08-07 Nathan Sidwell <nathan@acm.org>
3346
3347 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3348 (LIBGCOV_DRIVER): ... to here.
3349 * libgcov.h (gcov_do_dump): New #define.
3350 (struct gcov_root): New.
3351 (__gcov_root): New declaration.
3352 (__gcov_dump_one): Declare.
3353 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3354 run_accounted): Delete.
3355 (gcov_compute_histogram): Add LIST argument, adjust.
3356 (compute_summary): Adjust gcov_compute_histogram call.
3357 (gcov_do_dump): Not hidden, static in libgcov.
3358 (gcov_clear): Move to interface.c.
3359 (__gcov_dump_one): New, broken out of ...
3360 (gcov_exit): ... here. Make static.
3361 (__gcov_root): New.
3362 (__gcov_init): Adjust.
3363 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3364 declarations.
3365 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3366 (gcov_clear): Moved from driver.c. Add LIST argument.
3367 (__gcov_reset): Adjust for changed interfaces.
3368 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3369
3370 2014-08-04 Rohit <rohitarulraj@freescale.com>
3371
3372 PR target/60102
3373 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3374 based on change in SPE high register numbers and 3 HTM registers.
3375
3376 2014-08-01 Nathan Sidwell <nathan@acm.org>
3377
3378 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3379 LIBGCOV_INTERFACE): Reformat.
3380 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3381 IN_GCOV_TOOL.
3382 * libgcov-interface.c: Reformat some comments.
3383 (__gcov_flush_mx): Add declaration. Tidy up definition.
3384
3385 2014-07-31 Alan Modra <amodra@gmail.com>
3386 Peter Bergner <bergner@vnet.ibm.com>
3387
3388 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3389 (pack_ldouble): New function.
3390 (__gcc_qadd): Use it.
3391 (__gcc_qmul): Likewise.
3392 (__gcc_qdiv): Likewise.
3393 (__gcc_qneg): Likewise.
3394 (__gcc_stoq): Likewise.
3395 (__gcc_dtoq): Likewise.
3396
3397 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3398
3399 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3400 (__tpf_eh_return): Add original return address as second parameter.
3401 Handle cases where unwinder routines were called directly, instead
3402 of from within the C++ library.
3403
3404 2014-07-29 Nathan Sidwell <nathan@acm.org>
3405
3406 * libgcov.h: Move renaming of entry points to lib gcov specific
3407 portion.
3408 (gcov_do_dump): New rename.
3409 (gcov_rewrite): Remove inline, make HIDDEN.
3410 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3411 (gcov_exit_compute_summary): Rename to ...
3412 (compute_summary): ... here. Add LIST argument.
3413 (gcov_exit_merge_gcda): Rename to ...
3414 (merge_one_data): ... here.
3415 (gcov_exit_write_gcda): Rename to ...
3416 (write_one_data): ... here.
3417 (gcov_exit_merge_summary): Rename to ...
3418 (merge_summary): Add RUN_COUNTED argument.
3419 (gcov_exit_dump_gcov): Rename to ...
3420 (dump_one_gcov): Add RUN_COUNTED argument.
3421 (gcov_do_dump): New function, broken out of ...
3422 (gcov_exit): ... here. Call it.
3423
3424 2014-07-27 Anthony Green <green@moxielogic.com>
3425
3426 * config.host: Add moxiebox configuration suppport.
3427
3428 2014-07-27 Nathan Sidwell <nathan@acm.org>
3429
3430 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3431 (struct gcov_filename): ... here. Include buffer and max length
3432 fields.
3433 (gcov_max_filename): Remove.
3434 (gi_filename): Remove.
3435 (gcov_exit_compute_summary): Compute max filename here.
3436 (gcov_exit_merge_gcda): Add filename parm, adjust.
3437 (gcov_exit_merge_summary): Likewise.
3438 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3439 (gcov_exit): Likewise.
3440 (__gcov_init): Don't calculate max length here.
3441 * libgcov_util.c (max_filename_len): Remove.
3442 (read_gcda_file): Don't calculate max length here.
3443 (gcov_read_profile_dir): Don't propagate here.
3444 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3445 struct gcov_filename changes.
3446 (gcov_exit_open_gcda_file): Likewise.
3447
3448 2014-07-25 Nathan Sidwell <nathan@acm.org>
3449
3450 * libgcov-driver.c (set_gcov_dump_complete,
3451 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3452 functions polluting user's namespace.
3453 (gcov_exit): Set variable directly.
3454 (gcov_clear): Reset variable directly.
3455 * libgcov-interface.c (get_gcov_dymp_complete,
3456 reset_gov_dump_complete): Remove declarations.
3457 (__gcov_reset, __gcov_dump): Don't call them.
3458
3459 2014-07-24 DJ Delorie <dj@redhat.com>
3460
3461 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3462 (__gcc_deregister_frame): Move logic to detect deregister function
3463 to ...
3464 (__gcc_register_frame): here, so it's consistent with the register
3465 logic.
3466
3467 2014-07-23 Nathan Sidwell <nathan@acm.org>
3468
3469 * libgcov-driver.c (set_gcov_list): Remove.
3470 (gcov_list): Make non-static in GCOV_TOOL.
3471 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3472
3473 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
3474
3475 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3476 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3477 Don't use SYNC_LOCK_RELEASE for int type.
3478
3479 2014-07-14 Richard Biener <rguenther@suse.de>
3480
3481 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3482
3483 2014-07-11 Rong Xu <xur@google.com>
3484
3485 * libgcov-util.c (gcov_max_filename): Fix declartion.
3486
3487 2014-07-10 Rong Xu <xur@google.com>
3488
3489 Add gcov-tool: an offline gcda profile processing tool
3490 Support.
3491 * libgcov-driver.c (gcov_max_filename): Make available
3492 to gcov-tool.
3493 * libgcov-merge.c (__gcov_merge_add): Replace
3494 gcov_read_counter() with a Macro.
3495 (__gcov_merge_ior): Ditto.
3496 (__gcov_merge_time_profile): Ditto.
3497 (__gcov_merge_single): Ditto.
3498 (__gcov_merge_delta): Ditto.
3499 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3500 in the utility functions.
3501 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3502 gcov_list object link lists.
3503 (tag_function): Ditto.
3504 (tag_blocks): Ditto.
3505 (tag_arcs): Ditto.
3506 (tag_lines): Ditto.
3507 (tag_counters): Ditto.
3508 (tag_summary): Ditto.
3509 (read_gcda_finalize): Ditto.
3510 (read_gcda_file): Ditto.
3511 (ftw_read_file): Ditto.
3512 (read_profile_dir_init): Ditto.
3513 (gcov_read_profile_dir): Ditto.
3514 (gcov_read_counter_mem): Ditto.
3515 (gcov_get_merge_weight): Ditto.
3516 (merge_wrapper): A wrapper function that calls merging handler.
3517 (gcov_merge): Merge two gcov_info objects with weights.
3518 (find_match_gcov_info): Find the matched gcov_info in the list.
3519 (gcov_profile_merge): Merge two gcov_info object lists.
3520 (__gcov_add_counter_op): Process edge profile counter values.
3521 (__gcov_ior_counter_op): Process IOR profile counter values.
3522 (__gcov_delta_counter_op): Process delta profile counter values.
3523 (__gcov_single_counter_op): Process single profile counter values.
3524 (fp_scale): Callback function for float-point scaling.
3525 (int_scale): Callback function for integer fraction scaling.
3526 (gcov_profile_scale): Scaling profile counters.
3527 (gcov_profile_normalize): Normalize profile counters.
3528 * libgcov.h: Add headers and functions for gcov-tool use.
3529 (gcov_get_counter): New.
3530 (gcov_get_counter_target): Ditto.
3531 (struct gcov_info): Make the functions field mutable in gcov-tool
3532 compilation.
3533
3534 2014-06-23 Kai Tietz <ktietz@redhat.com>
3535
3536 PR libgcc/61585
3537 * unwind-seh.c (_Unwind_GetGR): Check for proper
3538 index range.
3539 (_Unwind_SetGR): Likewise.
3540
3541 2014-05-22 Nick Clifton <nickc@redhat.com>
3542
3543 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3544 -mhwmult=none.
3545
3546 2014-05-22 Teresa Johnson <tejohnson@google.com>
3547
3548 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3549 include.
3550
3551 2014-05-20 John Marino <gnugcc@marino.st>
3552
3553 * config.host (*-*-dragonfly*): New target.
3554 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3555 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3556 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3557 * config/i386/dragonfly-unwind.h: New.
3558
3559 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3560
3561 PR libgcc/60166
3562 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3563 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3564
3565 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3566
3567 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3568 implementation.
3569
3570 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
3571
3572 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3573
3574 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3575
3576 PR libgcc/61097
3577 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3578 if --enable-shared.
3579
3580 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3581
3582 Work around for current cygwin32 build problems.
3583 * config/i386/cygming-crtbegin.c (__register_frame_info,
3584 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3585 functions only for 64-bit systems.
3586
3587 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3588
3589 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3590 (sigill_caught, sigill_hdlr): Remove.
3591
3592 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3593
3594 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3595 check.
3596 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3597 Solaris 9 single-threaded support.
3598 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3599 Solaris 9 single-threaded support. Add call_user_handler code
3600 sequences.
3601 (sparc_is_sighandler): Likewise.
3602
3603 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3604
3605 * config.host: Append t-floattodi to tmake_file depending on
3606 host_address.
3607
3608 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3609
3610 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3611
3612 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
3613
3614 PR libgcc/60472
3615 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3616 variable to avoid "array subscript is above array bounds" warnings.
3617 Use __builtin_expect when checking *jcr_list for NULL.
3618
3619 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3620
3621 PR libgcc/59339
3622 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3623 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3624 vtv_*.o to extra_parts if enable_vtable_verify.
3625
3626 2014-03-06 Nick Clifton <nickc@redhat.com>
3627
3628 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3629 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3630
3631 2014-02-28 Joey Ye <joey.ye@arm.com>
3632
3633 PR libgcc/60166
3634 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3635 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3636 Set to zero.
3637
3638 2014-02-24 Walter Lee <walt@tilera.com>
3639
3640 * config.host: Support "tilegx*" and "tilepro*" triplets.
3641 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3642 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3643
3644 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3645 Chung-Lin Tang <cltang@codesourcery.com>
3646
3647 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3648 * config/nios2/crti.S: Remove .file directive.
3649 * config/nios2/crtn.S: Likewise.
3650
3651 2014-02-18 Kai Tietz <ktietz@redhat.com>
3652 Jonathan Schleifer <js@webkeks.org>
3653
3654 PR objc/56870
3655 * unwind-seh.c (_GCC_specific_handler): Pass proper
3656 value to unwind-handler.
3657
3658 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3659
3660 * soft-fp/adddf3.c: Update from glibc.
3661 * soft-fp/addsf3.c: Likewise.
3662 * soft-fp/addtf3.c: Likewise.
3663 * soft-fp/divdf3.c: Likewise.
3664 * soft-fp/divsf3.c: Likewise.
3665 * soft-fp/divtf3.c: Likewise.
3666 * soft-fp/double.h: Likewise.
3667 * soft-fp/eqdf2.c: Likewise.
3668 * soft-fp/eqsf2.c: Likewise.
3669 * soft-fp/eqtf2.c: Likewise.
3670 * soft-fp/extenddftf2.c: Likewise.
3671 * soft-fp/extended.h: Likewise.
3672 * soft-fp/extendsfdf2.c: Likewise.
3673 * soft-fp/extendsftf2.c: Likewise.
3674 * soft-fp/extendxftf2.c: Likewise.
3675 * soft-fp/fixdfdi.c: Likewise.
3676 * soft-fp/fixdfsi.c: Likewise.
3677 * soft-fp/fixdfti.c: Likewise.
3678 * soft-fp/fixsfdi.c: Likewise.
3679 * soft-fp/fixsfsi.c: Likewise.
3680 * soft-fp/fixsfti.c: Likewise.
3681 * soft-fp/fixtfdi.c: Likewise.
3682 * soft-fp/fixtfsi.c: Likewise.
3683 * soft-fp/fixtfti.c: Likewise.
3684 * soft-fp/fixunsdfdi.c: Likewise.
3685 * soft-fp/fixunsdfsi.c: Likewise.
3686 * soft-fp/fixunsdfti.c: Likewise.
3687 * soft-fp/fixunssfdi.c: Likewise.
3688 * soft-fp/fixunssfsi.c: Likewise.
3689 * soft-fp/fixunssfti.c: Likewise.
3690 * soft-fp/fixunstfdi.c: Likewise.
3691 * soft-fp/fixunstfsi.c: Likewise.
3692 * soft-fp/fixunstfti.c: Likewise.
3693 * soft-fp/floatdidf.c: Likewise.
3694 * soft-fp/floatdisf.c: Likewise.
3695 * soft-fp/floatditf.c: Likewise.
3696 * soft-fp/floatsidf.c: Likewise.
3697 * soft-fp/floatsisf.c: Likewise.
3698 * soft-fp/floatsitf.c: Likewise.
3699 * soft-fp/floattidf.c: Likewise.
3700 * soft-fp/floattisf.c: Likewise.
3701 * soft-fp/floattitf.c: Likewise.
3702 * soft-fp/floatundidf.c: Likewise.
3703 * soft-fp/floatundisf.c: Likewise.
3704 * soft-fp/floatunditf.c: Likewise.
3705 * soft-fp/floatunsidf.c: Likewise.
3706 * soft-fp/floatunsisf.c: Likewise.
3707 * soft-fp/floatunsitf.c: Likewise.
3708 * soft-fp/floatuntidf.c: Likewise.
3709 * soft-fp/floatuntisf.c: Likewise.
3710 * soft-fp/floatuntitf.c: Likewise.
3711 * soft-fp/gedf2.c: Likewise.
3712 * soft-fp/gesf2.c: Likewise.
3713 * soft-fp/getf2.c: Likewise.
3714 * soft-fp/ledf2.c: Likewise.
3715 * soft-fp/lesf2.c: Likewise.
3716 * soft-fp/letf2.c: Likewise.
3717 * soft-fp/muldf3.c: Likewise.
3718 * soft-fp/mulsf3.c: Likewise.
3719 * soft-fp/multf3.c: Likewise.
3720 * soft-fp/negdf2.c: Likewise.
3721 * soft-fp/negsf2.c: Likewise.
3722 * soft-fp/negtf2.c: Likewise.
3723 * soft-fp/op-1.h: Likewise.
3724 * soft-fp/op-2.h: Likewise.
3725 * soft-fp/op-4.h: Likewise.
3726 * soft-fp/op-8.h: Likewise.
3727 * soft-fp/op-common.h: Likewise.
3728 * soft-fp/quad.h: Likewise.
3729 * soft-fp/single.h: Likewise.
3730 * soft-fp/soft-fp.h: Likewise.
3731 * soft-fp/subdf3.c: Likewise.
3732 * soft-fp/subsf3.c: Likewise.
3733 * soft-fp/subtf3.c: Likewise.
3734 * soft-fp/truncdfsf2.c: Likewise.
3735 * soft-fp/trunctfdf2.c: Likewise.
3736 * soft-fp/trunctfsf2.c: Likewise.
3737 * soft-fp/trunctfxf2.c: Likewise.
3738 * soft-fp/unorddf2.c: Likewise.
3739 * soft-fp/unordsf2.c: Likewise.
3740 * soft-fp/unordtf2.c: Likewise.
3741 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3742 macro.
3743 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3744 Likewise.
3745 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3746 Likewise.
3747 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3748 Likewise.
3749 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3750 Likewise.
3751 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3752 Likewise.
3753 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3754 Likewise.
3755 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3756 Likewise.
3757 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3758 Likewise.
3759 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3760 Likewise.
3761 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3762 Likewise.
3763 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3764 Likewise.
3765 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3766 Likewise.
3767 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3768 Likewise.
3769 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3770 Likewise.
3771 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3772 Likewise.
3773
3774 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3775
3776 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3777 cannot be represented.
3778 * config/s390/32/_fixsfdi.c: Likewise.
3779 * config/s390/32/_fixtfdi.c: Likewise.
3780 * config/s390/32/_fixunsdfdi.c: Likewise.
3781 * config/s390/32/_fixunssfdi.c: Likewise.
3782 * config/s390/32/_fixunstfdi.c: Likewise.
3783
3784 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3785
3786 * configure.ac (libgcc_cv_mips_hard_float): New.
3787 * configure: Regenerate.
3788 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3789 t-softfp-sfdf for hard-float targets.
3790 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3791 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3792 (softfp_truncations, softfp_exclude_libgcc2): New.
3793 * config/t-hardfp: New file.
3794 * config/t-hardfp-sfdf: Likewise.
3795 * config/hardfp.c: Likewise.
3796
3797 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3798
3799 * config.host: Include t-floattodi also for s390x.
3800 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3801 * config/s390/32/_fixsfdi.c: Likewise.
3802 * config/s390/32/_fixtfdi.c: Likewise.
3803 * config/s390/32/_fixunsdfdi.c: Likewise.
3804 * config/s390/32/_fixunssfdi.c: Likewise.
3805 * config/s390/32/_fixunstfdi.c: Likewise.
3806
3807 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3808
3809 PR target/59788
3810 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3811 (install-libgcc-unwind-map-forbuild): New target.
3812 (all): Depend on install-libgcc-unwind-map-forbuild.
3813 (install-libgcc-unwind-map): New target.
3814 (install): Depend on install-libgcc-unwind-map.
3815
3816 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
3817
3818 * config/nios2/crti.S (_init): Initialize GOT pointer from
3819 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3820
3821 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3822
3823 * configure.ac: Check __mips64 when setting host_address.
3824 * configure: Regenerate.
3825 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3826 mips/t-mips64 and t-softfp.
3827 (mips*-*-linux*): Don't add mips/t-tpbit.
3828 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3829 (DPBIT, DPBIT_CFLAGS): Delete.
3830 * config/mips/sfp-machine.h: New file.
3831 * config/mips/t-mips64: Likewise.
3832 * config/mips/t-softfp-tf: Likewise.
3833 * config/mips/t-tpbit: Delete.
3834
3835 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3836
3837 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3838 as long long.
3839
3840 2014-01-25 Walter Lee <walt@tilera.com>
3841
3842 * config/tilepro/atomic.c: Include tconfig.h. Don't include
3843 config.h or system.h.
3844 (bool) Define.
3845
3846 2014-01-25 Walter Lee <walt@tilera.com>
3847
3848 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3849 (post_atomic_barrier): Ditto.
3850 (__fetch_and_do): New macro.
3851 (__atomic_fetch_and_do): Use __fetch_and_do.
3852 (__sync_fetch_and_do): New macro.
3853 (__sync_fetch_and_add_4): New function.
3854 (__sync_fetch_and_sub_4): New function.
3855 (__sync_fetch_and_or_4): New function.
3856 (__sync_fetch_and_and_4): New function.
3857 (__sync_fetch_and_xor_4): New function.
3858 (__sync_fetch_and_nand_4): New function.
3859 (__sync_fetch_and_add_8): New function.
3860 (__sync_fetch_and_sub_8): New function.
3861 (__sync_fetch_and_or_8): New function.
3862 (__sync_fetch_and_and_8): New function.
3863 (__sync_fetch_and_xor_8): New function.
3864 (__sync_fetch_and_nand_8): New function.
3865 (__do_and_fetch): New macro.
3866 (__atomic_do_and_fetch): Use __do_and_fetch.
3867 (__sync_do_and_fetch): New macro.
3868 (__sync_add_and_fetch_4): New function.
3869 (__sync_sub_and_fetch_4): New function.
3870 (__sync_or_and_fetch_4): New function.
3871 (__sync_and_and_fetch_4): New function.
3872 (__sync_xor_and_fetch_4): New function.
3873 (__sync_nand_and_fetch_4): New function.
3874 (__sync_add_and_fetch_8): New function.
3875 (__sync_sub_and_fetch_8): New function.
3876 (__sync_or_and_fetch_8): New function.
3877 (__sync_and_and_fetch_8): New function.
3878 (__sync_xor_and_fetch_8): New function.
3879 (__sync_nand_and_fetch_8): New function.
3880 (__sync_exchange_methods): New macro.
3881 (__sync_val_compare_and_swap_4): New function.
3882 (__sync_bool_compare_and_swap_4): New function.
3883 (__sync_lock_test_and_test_4): New function.
3884 (__sync_val_compare_and_swap_8): New function.
3885 (__sync_bool_compare_and_swap_8): New function.
3886 (__sync_lock_test_and_test_8): New function.
3887 (__subword_cmpxchg_body): New macro.
3888 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3889 (__atomic_compare_exchange_2): Ditto.
3890 (__sync_subword_cmpxchg): New macro.
3891 (__sync_val_compare_and_swap_1): New function.
3892 (__sync_bool_compare_and_swap_1): New function.
3893 (__sync_val_compare_and_swap_2): New function.
3894 (__sync_bool_compare_and_swap_2): New function.
3895 (__atomic_subword): Rename to ...
3896 (__subword): ... New name.
3897 (__atomic_subword_fetch): Use __subword.
3898 (__sync_subword_fetch): New macro.
3899 (__sync_fetch_and_add_1): New function.
3900 (__sync_fetch_and_sub_1): New function.
3901 (__sync_fetch_and_or_1): New function.
3902 (__sync_fetch_and_and_1): New function.
3903 (__sync_fetch_and_xor_1): New function.
3904 (__sync_fetch_and_nand_1): New function.
3905 (__sync_fetch_and_add_2): New function.
3906 (__sync_fetch_and_sub_2): New function.
3907 (__sync_fetch_and_or_2): New function.
3908 (__sync_fetch_and_and_2): New function.
3909 (__sync_fetch_and_xor_2): New function.
3910 (__sync_fetch_and_nand_2): New function.
3911 (__sync_add_and_fetch_1): New function.
3912 (__sync_sub_and_fetch_1): New function.
3913 (__sync_or_and_fetch_1): New function.
3914 (__sync_and_and_fetch_1): New function.
3915 (__sync_xor_and_fetch_1): New function.
3916 (__sync_nand_and_fetch_1): New function.
3917 (__sync_add_and_fetch_2): New function.
3918 (__sync_sub_and_fetch_2): New function.
3919 (__sync_or_and_fetch_2): New function.
3920 (__sync_and_and_fetch_2): New function.
3921 (__sync_xor_and_fetch_2): New function.
3922 (__sync_nand_and_fetch_2): New function.
3923 (__atomic_subword_lock): Use __subword.
3924 (__sync_subword_lock): New macro.
3925 (__sync_lock_test_and_set_1): New function.
3926 (__sync_lock_test_and_set_2): New function.
3927
3928 2014-01-25 Walter Lee <walt@tilera.com>
3929
3930 * config/tilepro/atomic.c (BIT_OFFSET): Define.
3931 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3932 (__atomic_subword): Ditto.
3933
3934 2014-01-25 Walter Lee <walt@tilera.com>
3935
3936 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3937 a prefix op argument.
3938 (__atomic_nand_fetch_4): Add prefix op.
3939 (__atomic_nand_fetch_8): Ditto.
3940
3941 2014-01-21 Baruch Siach <barch@tkos.co.il>
3942
3943 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3944
3945 2014-01-09 Rong Xu <xur@google.com>
3946
3947 * libgcov-driver.c (this_prg): make it local to save
3948 bss space.
3949 (gcov_exit_compute_summary): Ditto.
3950 (gcov_exit_merge_gcda): Ditto.
3951 (gcov_exit_merge_summary): Ditto.
3952 (gcov_exit_dump_gcov): Ditto.
3953
3954 2014-01-08 Rong Xu <xur@google.com>
3955
3956 * libgcov-driver.c: Use libgcov.h.
3957 (buffer_fn_data): Use xmalloc instead of malloc.
3958 (gcov_exit_merge_gcda): Ditto.
3959 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3960 * libgcov.h: New common header files for libgcov-*.h.
3961 * libgcov-interface.c: Use libgcov.h
3962 * libgcov-merge.c: Ditto.
3963 * libgcov-profiler.c: Ditto.
3964 * Makefile.in: Add dependence to libgcov.h
3965
3966 2014-01-02 Joseph Myers <joseph@codesourcery.com>
3967
3968 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3969 case of small numerator and finite nonzero result.
3970
3971 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3972
3973 Update copyright years
3974
3975 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3976
3977 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3978 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3979 config/arc/dp-hack.h, config/arc/fp-hack.h,
3980 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3981 config/arc/ieee-754/arc600-dsp/divdf3.S,
3982 config/arc/ieee-754/arc600-dsp/divsf3.S,
3983 config/arc/ieee-754/arc600-dsp/muldf3.S,
3984 config/arc/ieee-754/arc600-dsp/mulsf3.S,
3985 config/arc/ieee-754/arc600-mul64/divdf3.S,
3986 config/arc/ieee-754/arc600-mul64/divsf3.S,
3987 config/arc/ieee-754/arc600-mul64/muldf3.S,
3988 config/arc/ieee-754/arc600-mul64/mulsf3.S,
3989 config/arc/ieee-754/arc600/divsf3.S,
3990 config/arc/ieee-754/arc600/mulsf3.S,
3991 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3992 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3993 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3994 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3995 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3996 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3997 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3998 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3999 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4000 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4001 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4002 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4003 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4004 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4005 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4006 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4007 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4008 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4009 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4010 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4011 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4012 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4013 vtv_start_preinit.c: Use the standard form for the copyright notice.
4014
4015 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4016 Chung-Lin Tang <cltang@codesourcery.com>
4017 Based on patches from Altera Corporation
4018
4019 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4020 * config/nios2/lib2-nios2.h: New file.
4021 * config/nios2/lib2-divmod-hi.c: New file.
4022 * config/nios2/linux-unwind.h: New file.
4023 * config/nios2/lib2-divmod.c: New file.
4024 * config/nios2/linux-atomic.c: New file.
4025 * config/nios2/t-nios2: New file.
4026 * config/nios2/crti.asm: New file.
4027 * config/nios2/t-linux: New file.
4028 * config/nios2/lib2-divtable.c: New file.
4029 * config/nios2/lib2-mul.c: New file.
4030 * config/nios2/tramp.c: New file.
4031 * config/nios2/crtn.asm: New file.
4032
4033 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4034
4035 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4036 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4037 from cpuid.h to check vendor signatures.
4038
4039 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4040
4041 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4042 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4043 (get_amd_cpu): Likewise.
4044
4045 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4046
4047 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4048 Haswell.
4049
4050 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4051 H.J. Lu <hongjiu.lu@intel.com>
4052
4053 PR target/59422
4054 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4055 and AMD_JAGUAR.
4056 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4057 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4058 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4059 FEATURE_XOP and FEATURE_FMA.
4060 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4061 AMDFAM15H_BDVER3.
4062 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4063 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4064 FEATURE_FMA4 and FEATURE_XOP.
4065
4066 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4067
4068 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4069 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4070 (get_intel_cpu): Updated.
4071
4072 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4073
4074 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4075
4076 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4077
4078 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4079 instructions when __SSE_MATH__ is defined.
4080
4081 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4082
4083 * config.host (microblaze-*-rtems*): New.
4084
4085 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4086
4087 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4088 architectures that do not have hardware divide instruction.
4089 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4090
4091 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4092
4093 * longlong.h: Delete (moved to include/).
4094
4095 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4096
4097 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4098 of normal number and qNaN to not raise an inexact exception.
4099
4100 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4101
4102 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4103
4104 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4105
4106 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4107 for correct opcodes on BE.
4108
4109 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4110
4111 * soft-fp/op-4.h: Update from glibc.
4112
4113 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4114
4115 * libgcc2.c (__udivmoddi4): Define new implementation when
4116 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4117 divide instructions.
4118
4119 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4120
4121 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4122
4123 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4124
4125 * config/t-softfp (soft-fp-objects-base): New variable.
4126 (soft-fp-objects): Use it.
4127
4128 2013-11-23 David Edelson <dje.gcc@gmail.com>
4129 Andrew Dixie <andrewd@gentrack.com>
4130
4131 PR target/33704
4132 * config/rs6000/aixinitfini.c: New file.
4133 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4134 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4135 symbols.
4136
4137 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4138
4139 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4140
4141 2013-11-18 Jan Hubicka <jh@suse.cz>
4142
4143 * libgcov-driver.c (run_accounted): Make global level static.
4144 (gcov_exit_merge_summary): Silence warning; do not clear
4145 run_accounted here.
4146 (gcov_exit): Clear it here.
4147
4148 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4149 run_accounted.
4150
4151 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4152 (all_prg, crc32): Remove static vars.
4153 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4154 all_prg.
4155 (gcov_exit_merge_gcda): Add crc32 parameter.
4156 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4157 do not account run if it was already accounted.
4158 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4159 (gcov_exit): Initialize all_prg; update.
4160
4161 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4162
4163 * configure: Regenerate.
4164
4165 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4166 Alan Modra <amodra@gmail.com>
4167
4168 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4169 (frob_update_context): Use it.
4170
4171 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4172 Alan Modra <amodra@gmail.com>
4173
4174 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4175 (trampoline_initial): Provide ELFv2 variant.
4176 (__trampoline_setup): Likewise.
4177
4178 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4179 check for AIX indirect function call sequence if _CALL_ELF == 2.
4180
4181 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4182 Alan Modra <amodra@gmail.com>
4183
4184 * config/rs6000/linux-unwind.h (get_regs): Do not support
4185 old kernel versions if _CALL_ELF == 2.
4186 (frob_update_context): Do not support PLT stub variants only
4187 generated by old linkers if _CALL_ELF == 2.
4188
4189 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4190 Alan Modra <amodra@gmail.com>
4191
4192 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4193 location of CR save area for 64-bit little-endian systems.
4194
4195 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4196
4197 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4198 in tmake_file.
4199 * config/arm/t-vxworks: Delete.
4200
4201 2013-11-10 Kai Tietz <ktietz@redhat.com>
4202
4203 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4204 Increment load-count on use of LIBGCC_SONAME DLL.
4205 (hmod_libgcc): New static variable to hold handle of
4206 LIBGCC_SONAME DLL.
4207 (__gcc_deregister_frame): Decrement load-count of
4208 LIBGCC_SONAME DLL.
4209
4210 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4211
4212 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4213 availability.
4214 * configure: Regenerate
4215
4216 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4217
4218 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4219 FP_EX_DENORM. Store result to volatile location after SSE division
4220 to close interrupt window. Remove unneeded fwait after x87
4221 division since interrupt window will be closed by emitted fstp.
4222 Rewrite FP_EX_INEXACT handling.
4223
4224 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4225
4226 * soft-fp/README: Update.
4227 * soft-fp/adddf3.c: Update from glibc.
4228 * soft-fp/addsf3.c: Likewise.
4229 * soft-fp/addtf3.c: Likewise.
4230 * soft-fp/divdf3.c: Likewise.
4231 * soft-fp/divsf3.c: Likewise.
4232 * soft-fp/divtf3.c: Likewise.
4233 * soft-fp/double.h: Likewise.
4234 * soft-fp/eqdf2.c: Likewise.
4235 * soft-fp/eqsf2.c: Likewise.
4236 * soft-fp/eqtf2.c: Likewise.
4237 * soft-fp/extenddftf2.c: Likewise.
4238 * soft-fp/extended.h: Likewise.
4239 * soft-fp/extendsfdf2.c: Likewise.
4240 * soft-fp/extendsftf2.c: Likewise.
4241 * soft-fp/extendxftf2.c: Likewise.
4242 * soft-fp/fixdfdi.c: Likewise.
4243 * soft-fp/fixdfsi.c: Likewise.
4244 * soft-fp/fixdfti.c: Likewise.
4245 * soft-fp/fixsfdi.c: Likewise.
4246 * soft-fp/fixsfsi.c: Likewise.
4247 * soft-fp/fixsfti.c: Likewise.
4248 * soft-fp/fixtfdi.c: Likewise.
4249 * soft-fp/fixtfsi.c: Likewise.
4250 * soft-fp/fixtfti.c: Likewise.
4251 * soft-fp/fixunsdfdi.c: Likewise.
4252 * soft-fp/fixunsdfsi.c: Likewise.
4253 * soft-fp/fixunsdfti.c: Likewise.
4254 * soft-fp/fixunssfdi.c: Likewise.
4255 * soft-fp/fixunssfsi.c: Likewise.
4256 * soft-fp/fixunssfti.c: Likewise.
4257 * soft-fp/fixunstfdi.c: Likewise.
4258 * soft-fp/fixunstfsi.c: Likewise.
4259 * soft-fp/fixunstfti.c: Likewise.
4260 * soft-fp/floatdidf.c: Likewise.
4261 * soft-fp/floatdisf.c: Likewise.
4262 * soft-fp/floatditf.c: Likewise.
4263 * soft-fp/floatsidf.c: Likewise.
4264 * soft-fp/floatsisf.c: Likewise.
4265 * soft-fp/floatsitf.c: Likewise.
4266 * soft-fp/floattidf.c: Likewise.
4267 * soft-fp/floattisf.c: Likewise.
4268 * soft-fp/floattitf.c: Likewise.
4269 * soft-fp/floatundidf.c: Likewise.
4270 * soft-fp/floatundisf.c: Likewise.
4271 * soft-fp/floatunditf.c: Likewise.
4272 * soft-fp/floatunsidf.c: Likewise.
4273 * soft-fp/floatunsisf.c: Likewise.
4274 * soft-fp/floatunsitf.c: Likewise.
4275 * soft-fp/floatuntidf.c: Likewise.
4276 * soft-fp/floatuntisf.c: Likewise.
4277 * soft-fp/floatuntitf.c: Likewise.
4278 * soft-fp/gedf2.c: Likewise.
4279 * soft-fp/gesf2.c: Likewise.
4280 * soft-fp/getf2.c: Likewise.
4281 * soft-fp/ledf2.c: Likewise.
4282 * soft-fp/lesf2.c: Likewise.
4283 * soft-fp/letf2.c: Likewise.
4284 * soft-fp/muldf3.c: Likewise.
4285 * soft-fp/mulsf3.c: Likewise.
4286 * soft-fp/multf3.c: Likewise.
4287 * soft-fp/negdf2.c: Likewise.
4288 * soft-fp/negsf2.c: Likewise.
4289 * soft-fp/negtf2.c: Likewise.
4290 * soft-fp/op-1.h: Likewise.
4291 * soft-fp/op-2.h: Likewise.
4292 * soft-fp/op-4.h: Likewise.
4293 * soft-fp/op-8.h: Likewise.
4294 * soft-fp/op-common.h: Likewise.
4295 * soft-fp/quad.h: Likewise.
4296 * soft-fp/single.h: Likewise.
4297 * soft-fp/soft-fp.h: Likewise.
4298 * soft-fp/subdf3.c: Likewise.
4299 * soft-fp/subsf3.c: Likewise.
4300 * soft-fp/subtf3.c: Likewise.
4301 * soft-fp/truncdfsf2.c: Likewise.
4302 * soft-fp/trunctfdf2.c: Likewise.
4303 * soft-fp/trunctfsf2.c: Likewise.
4304 * soft-fp/trunctfxf2.c: Likewise.
4305 * soft-fp/unorddf2.c: Likewise.
4306 * soft-fp/unordsf2.c: Likewise.
4307 * soft-fp/unordtf2.c: Likewise.
4308
4309 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4310
4311 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4312 (_FP_MUL_MEAT_D): Ditto.
4313 (_FP_DIV_MEAT_S): Ditto.
4314 (_FP_DIV_MEAT_D): Ditto.
4315 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4316 t-softfp-sfdf and t-softfp to tmake_file.
4317
4318 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4319
4320 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4321 * config/i386/crtprec.c: Ditto.
4322
4323 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4324 Shiva Chen <shiva0217@gmail.com>
4325
4326 * config.host (nds32*-elf*): Add nds32 target.
4327 * config/nds32 : New directory and files.
4328
4329 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4330
4331 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4332 * config.host (cpu_type) <Setting default>: Add entry for
4333 crisv32-*-*.
4334 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4335 <crisv32-*-linux*>: Adjust.
4336 * longlong.h: Wrap the whole CRIS section in a single
4337 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4338 and sub_ddmmss.
4339 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4340 defined.
4341 [__CRIS__] (__umulsidi3): Define.
4342 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4343 * config/cris/sfp-machine.h: New file.
4344 * config/cris/umulsidi3.S: New file.
4345 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4346 * config/cris/arit.c (SIGNMULT): New macro.
4347 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4348 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4349 saving 3 out of originally 33 cycles from the fastest
4350 path, 3 out of 54 from the medium path and one from the longest
4351 path. Improve comments.
4352
4353 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4354
4355 * sync.c: Remove static aliases and define each function directly
4356 under its real name.
4357
4358 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4359
4360 * config.host (hppa*64*-*-linux*): Define extra_parts.
4361 (hppa*-*-linux*): Likewise.
4362
4363 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4364
4365 * config/arc/crtgend.S: Add 2013 to Copyright years.
4366 * config/arc/gmon/atomic.h: Likewise.
4367 * config/arc/gmon/auxreg.h: Likewise.
4368 * config/arc/gmon/sys/gmon_out.h: Likewise.
4369 * config/arc/gmon/sys/gmon.h: Likewise.
4370 * config/arc/gmon/prof-freq.c: Likewise.
4371 * config/arc/gmon/mcount.c: Likewise.
4372 * config/arc/gmon/prof-freq-stub.S: Likewise.
4373 * config/arc/gmon/gmon.c: Likewise.
4374 * config/arc/gmon/machine-gmon.h: Likewise.
4375 * config/arc/gmon/profil.S: Likewise.
4376 * config/arc/gmon/dcache_linesz.S: Likewise.
4377 * config/arc/crtg.S: Likewise.
4378 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4379 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4380 * config/arc/ieee-754/adddf3.S: Likewise.
4381 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4382 * config/arc/ieee-754/fixsfsi.S: Likewise.
4383 * config/arc/ieee-754/gtsf2.S: Likewise.
4384 * config/arc/ieee-754/floatsisf.S: Likewise.
4385 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4386 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4387 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4388 * config/arc/ieee-754/fixdfsi.S: Likewise.
4389 * config/arc/ieee-754/addsf3.S: Likewise.
4390 * config/arc/ieee-754/gesf2.S: Likewise.
4391 * config/arc/ieee-754/floatsidf.S: Likewise.
4392 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4393 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4394 * config/arc/ieee-754/gtdf2.S: Likewise.
4395 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4396 * config/arc/ieee-754/uneqdf2.S: Likewise.
4397 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4398 * config/arc/ieee-754/uneqsf2.S: Likewise.
4399 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4400 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4401 * config/arc/ieee-754/eqdf2.S: Likewise.
4402 * config/arc/ieee-754/ordsf2.S: Likewise.
4403 * config/arc/ieee-754/divsf3.S: Likewise.
4404 * config/arc/ieee-754/divdf3.S: Likewise.
4405 * config/arc/ieee-754/floatunsidf.S: Likewise.
4406 * config/arc/ieee-754/orddf2.S: Likewise.
4407 * config/arc/ieee-754/eqsf2.S: Likewise.
4408 * config/arc/ieee-754/gedf2.S: Likewise.
4409 * config/arc/crtn.S: Likewise.
4410 * config/arc/crti.S: Likewise.
4411 * config/arc/t-arc700-uClibc: Likewise.
4412 * config/arc/asm.h: Likewise.
4413 * config/arc/libgcc-excl.ver: Likewise.
4414 * config/arc/t-arc-newlib: Likewise.
4415 * config/arc/divtab-arc700.c: Likewise.
4416 * config/arc/initfini.c: Likewise.
4417 * config/arc/fp-hack.h: Likewise.
4418
4419 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4420 Diego Novillo <dnovillo@google.com>
4421
4422 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4423 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4424 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4425 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4426
4427 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4428 Brendan Kehoe <brendan@zen.org>
4429 Simon Cook <simon.cook@embecosm.com>
4430
4431 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4432 * config/arc: New directory.
4433 * longlong.h [__arc__] (umul_ppmm): Remove.
4434 [__arc__] (__umulsidi3): Define.
4435 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4436 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4437
4438 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4439
4440 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4441 CreateSemaphoreA.
4442 * config/i386/gthr-win32.h: Likewise.
4443
4444 2013-09-16 DJ Delorie <dj@redhat.com>
4445
4446 * config/rl78/vregs.h: Add G10 register definitions.
4447 * config/rl78/lib2mul.c: Enable for RL78/G10.
4448 * config/rl78/lib2div.c: Likewise.
4449 * config/rl78/lshrsi3.S: Use vregs.h.
4450 * config/rl78/cmpsi2.S: Likewise.
4451 * config/rl78/trampoline.S: Likewise.
4452 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4453
4454 2013-09-14 DJ Delorie <dj@redhat.com>
4455 Nick Clifton <nickc@redhat.com>
4456
4457 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4458 * config/rl78/vregs.h: New.
4459 * config/rl78/signbit.S: New file. Implements signbit function.
4460 * config/rl78/divmodsi.S: New.
4461 * config/rl78/divmodhi.S: New.
4462 * config/rl78/divmodqi.S: New.
4463 * config/rl78/t-rl78: Build them here...
4464 * config/rl78/lib2div.c: ...but not here.
4465
4466 2013-09-12 DJ Delorie <dj@redhat.com>
4467
4468 * config.host (msp*-*-elf): New.
4469 * config/msp430/: New port.
4470
4471 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4472
4473 PR gcov-profile/58127
4474 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4475 __thread var for emulated TLS.
4476 (__gcov_indirect_call_counters): Likewise.
4477
4478 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
4479 Catherine Moore <clm@codesourcery.com>
4480 Richard Sandiford <rdsandiford@googlemail.com>
4481
4482 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4483 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4484 (CALL_STUB_NO_RET): Likewise.
4485 (CALL_STUB_RET): Likewise.
4486 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4487 __mips16_ret call/return stub symbols.
4488 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4489 to tmake_file.
4490
4491 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4492
4493 * config.host <mips*-*-linux*>: Remove a stray comment.
4494
4495 2013-08-10 Jan Hubicka <jh@suse.cz>
4496
4497 Work around binutils PR14342
4498 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4499 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4500 (L_gcov_indirect_call_profiler_v2): New.
4501
4502 2013-08-06 Jan Hubicka <jh@suse.cz>
4503
4504 * libgcov.c (__gcov_indirect_call_callee,
4505 __gcov_indirect_call_counters): New global vars.
4506 (__gcov_indirect_call_profiler): replace by ...
4507 (__gcov_indirect_call_profiler_v2) ... this one.
4508
4509 2013-08-06 Caroline Tice <cmtice@google.com>
4510
4511 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4512 vtv_start_preinit.o and vtv_end_preinit.o.
4513 * configure.ac: Add code to check/set enable_vtable_verify.
4514 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4515 true.
4516 * vtv_start_preinit.c: New file.
4517 * vtv_end_preinit.c: New file.
4518 * vtv_start.c: New file.
4519 * vtv_end.c: New file.
4520 * configure: Regenerated.
4521
4522 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4523
4524 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4525 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4526 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4527 GPL-3.0-with-GCC-exception.
4528
4529 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4530
4531 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4532 ISA and up.
4533
4534 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4535
4536 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4537 mapping for FPRs when creating the fallback framestate.
4538
4539 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
4540
4541 PR target/57516
4542 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4543 (__round_s2_const, __round_u2_const)
4544 (__round_s4_const, __round_u4_const, __round_x8):
4545 Saturate result if addition result cannot be represented.
4546
4547 2013-07-15 Matthias Klose <doko@ubuntu.com>
4548
4549 * libgcc2.c: Don't include <limits.h>.
4550
4551 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
4552
4553 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4554
4555 2013-07-06 Jakub Jelinek <jakub@redhat.com>
4556
4557 PR target/29776
4558 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4559
4560 2013-06-28 Jakub Jelinek <jakub@redhat.com>
4561
4562 PR middle-end/36041
4563 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4564 Define.
4565 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4566 instead of table lookups.
4567 (__popcountDI2): Likewise.
4568
4569 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4570
4571 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4572 correctly.
4573
4574 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4575
4576 PR other/53317
4577 * soft-fp/adddf3.c: Update from glibc.
4578 * soft-fp/addsf3.c: Likewise.
4579 * soft-fp/addtf3.c: Likewise.
4580 * soft-fp/divdf3.c: Likewise.
4581 * soft-fp/divsf3.c: Likewise.
4582 * soft-fp/divtf3.c: Likewise.
4583 * soft-fp/double.h: Likewise.
4584 * soft-fp/eqdf2.c: Likewise.
4585 * soft-fp/eqsf2.c: Likewise.
4586 * soft-fp/eqtf2.c: Likewise.
4587 * soft-fp/extenddftf2.c: Likewise.
4588 * soft-fp/extended.h: Likewise.
4589 * soft-fp/extendsfdf2.c: Likewise.
4590 * soft-fp/extendsftf2.c: Likewise.
4591 * soft-fp/fixdfdi.c: Likewise.
4592 * soft-fp/fixdfsi.c: Likewise.
4593 * soft-fp/fixsfdi.c: Likewise.
4594 * soft-fp/fixsfsi.c: Likewise.
4595 * soft-fp/fixtfdi.c: Likewise.
4596 * soft-fp/fixtfsi.c: Likewise.
4597 * soft-fp/fixunsdfdi.c: Likewise.
4598 * soft-fp/fixunsdfsi.c: Likewise.
4599 * soft-fp/fixunssfdi.c: Likewise.
4600 * soft-fp/fixunssfsi.c: Likewise.
4601 * soft-fp/fixunstfdi.c: Likewise.
4602 * soft-fp/fixunstfsi.c: Likewise.
4603 * soft-fp/floatdidf.c: Likewise.
4604 * soft-fp/floatdisf.c: Likewise.
4605 * soft-fp/floatditf.c: Likewise.
4606 * soft-fp/floatsidf.c: Likewise.
4607 * soft-fp/floatsisf.c: Likewise.
4608 * soft-fp/floatsitf.c: Likewise.
4609 * soft-fp/floatundidf.c: Likewise.
4610 * soft-fp/floatundisf.c: Likewise.
4611 * soft-fp/floatunditf.c: Likewise.
4612 * soft-fp/floatunsidf.c: Likewise.
4613 * soft-fp/floatunsisf.c: Likewise.
4614 * soft-fp/floatunsitf.c: Likewise.
4615 * soft-fp/gedf2.c: Likewise.
4616 * soft-fp/gesf2.c: Likewise.
4617 * soft-fp/getf2.c: Likewise.
4618 * soft-fp/ledf2.c: Likewise.
4619 * soft-fp/lesf2.c: Likewise.
4620 * soft-fp/letf2.c: Likewise.
4621 * soft-fp/muldf3.c: Likewise.
4622 * soft-fp/mulsf3.c: Likewise.
4623 * soft-fp/multf3.c: Likewise.
4624 * soft-fp/negdf2.c: Likewise.
4625 * soft-fp/negsf2.c: Likewise.
4626 * soft-fp/negtf2.c: Likewise.
4627 * soft-fp/op-1.h: Likewise.
4628 * soft-fp/op-2.h: Likewise.
4629 * soft-fp/op-4.h: Likewise.
4630 * soft-fp/op-8.h: Likewise.
4631 * soft-fp/op-common.h: Likewise.
4632 * soft-fp/quad.h: Likewise.
4633 * soft-fp/single.h: Likewise.
4634 * soft-fp/soft-fp.h: Likewise.
4635 * soft-fp/subdf3.c: Likewise.
4636 * soft-fp/subsf3.c: Likewise.
4637 * soft-fp/subtf3.c: Likewise.
4638 * soft-fp/truncdfsf2.c: Likewise.
4639 * soft-fp/trunctfdf2.c: Likewise.
4640 * soft-fp/trunctfsf2.c: Likewise.
4641 * soft-fp/unorddf2.c: Likewise.
4642 * soft-fp/unordsf2.c: Likewise.
4643 * soft-fp/unordtf2.c: Likewise.
4644 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4645 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4646 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4647 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4648 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4649 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4650 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4651 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4652 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4653 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4654 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4655 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4656
4657 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4658
4659 * config/mips/lib2funcs.c: New file.
4660 * config/mips/t-mips (LIB2ADD_ST): Add it.
4661
4662 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4663
4664 PR target/6526
4665 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4666 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4667
4668 2013-06-08 Walter Lee <walt@tilera.com>
4669
4670 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4671 Replace int64_t with long long. Add __extension__ where
4672 appropriate.
4673 * config/tilepro/atomic.c: Include config.h.
4674
4675 2013-06-06 Douglas B Rupp <rupp@adacore.com>
4676
4677 * config.host (arm-wrs-vxworks): Configure with other soft float.
4678
4679 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4680
4681 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4682 (mips64r5900el-*-elf*): New configurations.
4683
4684 2013-06-04 Alan Modra <amodra@gmail.com>
4685
4686 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4687
4688 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4689
4690 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4691
4692 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4693
4694 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4695 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4696 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4697
4698 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4699
4700 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4701 (powerpc-wrs-vxworks): Likewise.
4702
4703 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4704
4705 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4706 signal frames as well.
4707 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4708 STACK_BIAS to the CFA offset.
4709
4710 2013-05-17 Richard Henderson <rth@redhat.com>
4711
4712 PR target/49146
4713 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4714 (execute_cfa_program): Use it when storing to fs->regs.
4715
4716 2013-05-08 Kai Tietz <ktietz@redhat.com>
4717
4718 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4719 (__deregister_frame_info): Likewise.
4720
4721 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4722
4723 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4724 NaN's payload.
4725
4726 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4727
4728 2013-04-25 Alan Modra <amodra@gmail.com>
4729
4730 * config.host: Match little-endian powerpc-linux.
4731
4732 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4733
4734 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4735 as 'unsigned long long' instead of 'unsigned long'.
4736 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4737 'signed long'.
4738
4739 2013-04-10 Julian Brown <julian@codesourcery.com>
4740
4741 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4742 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4743 unsigned char/unsigned short.
4744 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4745
4746 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4747
4748 PR other/55274
4749 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4750
4751 2013-04-04 Meador Inge <meadori@codesourcery.com>
4752
4753 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4754 computing the location of the link register.
4755 (aeabi_uldivmod): Ditto.
4756
4757 2013-03-27 Kai Tietz <ktietz@redhat.com>
4758
4759 * config.host: Add support for cygwin x64 target.
4760 * configure: Regenerated.
4761
4762 2013-03-26 Walter Lee <walt@tilera.com>
4763
4764 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4765 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4766
4767 2013-03-25 Kai Tietz <ktietz@redhat.com>
4768
4769 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4770
4771 2013-03-20 Robert Mason <rbmj@verizon.net>
4772
4773 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4774 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4775 (__gthread_leave_tsd_dtor_context): Add prototypes.
4776 (tls_delete_hook): Update.
4777
4778 2013-03-20 Catherine Moore <clm@codesourcery.com>
4779 Joseph Myers <joseph@codesourcery.com>
4780 Chao-ying Fu <fu@mips.com>
4781
4782 * config/mips/mips16.S: Don't build for microMIPS.
4783 * config/mips/linux-unwind.h: Handle microMIPS frame.
4784 * config/mips/crtn.S (fini, init): New labels.
4785
4786 2013-03-14 Jakub Jelinek <jakub@redhat.com>
4787
4788 PR tree-optimization/53265
4789 * unwind-dw2.c (execute_cfa_program): Avoid
4790 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4791 on targets with DWARF_FRAME_REGISTERS < 32.
4792
4793 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4794
4795 PR target/49880
4796 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4797 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4798
4799 2013-03-07 Sriraman Tallam <tmsriram@google.com>
4800
4801 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4802 sandybridge processors.
4803
4804 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4805
4806 PR target/56529
4807 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4808 inclusion list.
4809
4810 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4811
4812 * config/microblaze/crti.S: Setup stack protection at entry
4813
4814 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
4815
4816 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4817 (__rotldi3): Shift bytewise if applicable.
4818
4819 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4820
4821 * config/aarch64/sync-cache.c
4822 (__aarch64_sync_cache_range): Silence warnings.
4823
4824 2013-02-25 Catherine Moore <clm@codesourcery.com>
4825
4826 Revert:
4827 2013-02-24 Catherine Moore <clm@codesourcery.com>
4828 Joseph Myers <joseph@codesourcery.com>
4829 Chao-ying Fu <fu@mips.com>
4830
4831 * config/mips/mips16.S: Don't build for microMIPS.
4832 * config/mips/linux-unwind.h: Handle microMIPS frame.
4833 * config/mips/crtn.S (fini, init): New labels.
4834
4835 2013-02-24 Catherine Moore <clm@codesourcery.com>
4836 Joseph Myers <joseph@codesourcery.com>
4837 Chao-ying Fu <fu@mips.com>
4838
4839 * config/mips/mips16.S: Don't build for microMIPS.
4840 * config/mips/linux-unwind.h: Handle microMIPS frame.
4841 * config/mips/crtn.S (fini, init): New labels.
4842
4843 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4844 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4845 as dividend.
4846
4847 2013-02-16 Alan Modra <amodra@gmail.com>
4848
4849 PR target/55431
4850 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4851 (ppc_fallback_frame_state): Always set up save locations for fp
4852 and altivec. Don't bother with non-callee-saved regs, r0-r13
4853 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4854
4855 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
4856
4857 PR target/54222
4858 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4859 _ssmulHA, _ssmulSA.
4860 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4861 _ssmulha3, _usmulusa3, _ssmulsa3.
4862 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4863 (__muldi3): XCALL __muldi3_6 instead of rcall.
4864 (__umulsidi3, __mulsidi3): New functions.
4865 (do_prologue_saves, do_epilogue_restores): New .macros.
4866 (__divdi3_moddi3): Use them.
4867 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4868 (__usmulusa3, __ssmulsa3): New functions.
4869
4870 2013-02-11 Iain Sandoe <iain@codesourcery.com>
4871 Jack Howarth <howarth@bromo.med.uc.edu>
4872 Patrick Marlier <patrick.marlier@gmail.com>
4873
4874 PR libitm/55693
4875 * config/darwin-crt-tm.c: Remove dummy functions hack.
4876
4877 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
4878
4879 PR target/54222
4880 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4881 * config/avr/lib2-object.mk: New iterator to build objects from it.
4882 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4883 lib2funcs.c.
4884 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4885 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4886 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4887 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4888 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4889 * config/avr/lib1funcs-fixed.S: Implement them.
4890
4891 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4892
4893 Update copyright years.
4894
4895 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
4896
4897 PR target/54601
4898 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4899 Add crtcxa to extra_parts.
4900 * config/rs6000/exit.h: New file.
4901 * config/rs6000/cxa_atexit.c: New file.
4902 * config/rs6000/cxa_finalize.c: New file.
4903 * config/rs6000/crtcxa.c: New file.
4904 * config/rs6000/t-aix-cxa: New file.
4905 * config/rs6000/libgcc-aix-cxa.ver: New file.
4906
4907 2013-01-31 Nick Clifton <nickc@redhat.com>
4908
4909 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4910 variant.
4911
4912 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
4913
4914 PR target/54222
4915 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4916 _mulQQ, _mulHQ, _mulHA, _mulSA,
4917 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4918 _divQQ, _divHQ, _divHA, _divSA,
4919 _divUQQ, _divUHQ, _divUHA, _divUSA.
4920
4921 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
4922
4923 * config.host(microblaze*-linux*): tmake_file: Remove
4924 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4925 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4926 to exclude functions from being built with libgcc.c and use
4927 the microblaze assembly.
4928
4929 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4930
4931 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4932 extra_parts.
4933
4934 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
4935
4936 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4937 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4938 __UINTPTR_TYPE__; also cast 'base' to the same type before the
4939 alignment operation.
4940
4941 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
4942
4943 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4944 loop start address for cache clearing.
4945
4946 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
4947
4948 * config/avr/lib1funcs.S: Remove trailing blanks.
4949 * config/avr/lib1funcs-fixed.S: Ditto.
4950
4951 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
4952
4953 * config/avr/avr-lib.h: Add GPL copyright notice.
4954
4955 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
4956
4957 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4958 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4959 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4960 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4961
4962 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
4963
4964 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4965 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4966
4967 2013-01-04 Nick Clifton <nickc@redhat.com>
4968
4969 * config/v850/lib1funcs.S: Only provide CALLT support functions if
4970 the CALLT instruction is supported.
4971
4972 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4973
4974 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4975 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4976
4977 2012-12-13 John Tytgat <John@bass-software.com>
4978
4979 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4980 is 25.
4981
4982 2012-12-12 Jakub Jelinek <jakub@redhat.com>
4983
4984 PR libgcc/55451
4985 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4986 undefined signed overflows.
4987
4988 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
4989
4990 PR target/55344
4991 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4992
4993 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
4994
4995 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4996 (FP_TRAPPING_EXCEPTIONS): Define.
4997 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4998 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4999
5000 2012-12-04 Richard Henderson <rth@redhat.com>
5001
5002 PR bootstrap/55571
5003 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5004
5005 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5006
5007 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5008 (FP_EX_SHIFT): Define.
5009 (FP_TRAPPING_EXCEPTIONS): Define.
5010
5011 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5012
5013 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5014 (FP_ROUNDMODE): Use FP_RND_MASK.
5015 * config/aarch64/sfp-exceptions.c: New.
5016 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5017 Use __sfp_handle_exceptions.
5018
5019 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5020
5021 * config.host: (arm*-*-freebsd*): Remove.
5022 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5023 (arm*-*-elf*): Remove.
5024 (arm*-*-wince-pe*): Remove.
5025 * arm/unwind-arm.c (struct fpa_reg): Delete.
5026 (struct fpa_regs): Delete.
5027 (phase1_vrs): Remove fpa element.
5028 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5029 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5030 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5031 * ieee754-sf.S (floatundisf): Remove FPA support.
5032 (floatdisf): Likewise.
5033 * ieee75f-df.S (floatundidf): Likewise.
5034 (floatdidf): Likewise.
5035
5036 2012-11-29 Kai Tietz <ktietz@redhat.com>
5037
5038 PR target/55445
5039 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5040 * unwind-generic.h: Likewise.
5041 * unwind-seh.c: Likewise.
5042
5043 2012-11-28 Richard Henderson <rth@redhat.com>
5044
5045 PR libgcc/48076
5046 * emutls.c (__emutls_get_address): Avoid race condition between
5047 obj->loc.offset read and emutls_key initialization.
5048
5049 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5050
5051 Adjust decimal point of signed accum mode to GCC default.
5052
5053 PR target/54222
5054 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5055 _divqq_helper.
5056 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5057 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5058 (__mulha3, __mulsa3)
5059 (__divqq3, __divha3, __divsa3): Adjust to new position of
5060 decimal point of signed accum types.
5061
5062 (__mulusa3_round): New function.
5063 (__mulusa3): Use it.
5064 (__divqq_helper): New function.
5065 (__udivuqq3): Use it.
5066
5067 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5068
5069 PR bootstrap/55370
5070 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5071
5072 2012-11-18 Teresa Johnson <tejohnson@google.com>
5073
5074 PR bootstrap/55051
5075 * libgcov.c (gcov_exit): Remove merged program summary
5076 comparison unless !GCOV_LOCKED.
5077
5078 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5079
5080 * soft-fp: Updated from glibc upstream.
5081
5082 2012-11-06 Ian Lance Taylor <iant@google.com>
5083
5084 * generic-morestack.c (__generic_morestack): Align the returned
5085 stack pointer to a 32 byte boundary.
5086 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5087 increment the return address until we have decided that we don't
5088 have a varargs function.
5089 (__morestack) [32-bit]: Align stack correctly when calling C
5090 functions.
5091 (__morestack) [64-bit]: Likewise.
5092
5093 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5094
5095 * configure: Regenerate.
5096
5097 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5098
5099 PR target/55175
5100 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5101 * config/i386/sfp-machine.h: Guard exception handling
5102 code with _SOFT_FLOAT.
5103 * config/i386/32/sfp-machine.h: Guard rounding handling
5104 code with _SOFT_FLOAT.
5105 * config/i386/64/sfp-machine.h: Ditto.
5106
5107 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5108
5109 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5110 as extra_parts.
5111
5112 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5113
5114 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5115 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5116 when appropriate. Correct structure element types.
5117 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5118 -minline-all-stringops from compile flags.
5119
5120 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5121
5122 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5123
5124 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5125
5126 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5127
5128 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5129
5130 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5131 tmake_file.
5132
5133 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5134 Jim MacArthur <jim.macarthur@arm.com>
5135 Marcus Shawcroft <marcus.shawcroft@arm.com>
5136 Nigel Stephens <nigel.stephens@arm.com>
5137 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5138 Richard Earnshaw <rearnsha@arm.com>
5139 Sofiane Naci <sofiane.naci@arm.com>
5140 Stephen Thomas <stephen.thomas@arm.com>
5141 Tejas Belagod <tejas.belagod@arm.com>
5142 Yufeng Zhang <yufeng.zhang@arm.com>
5143
5144 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5145 * config/aarch64/crti.S: New file.
5146 * config/aarch64/crtn.S: New file.
5147 * config/aarch64/linux-unwind.h: New file.
5148 * config/aarch64/sfp-machine.h: New file.
5149 * config/aarch64/sync-cache.c: New file.
5150 * config/aarch64/t-aarch64: New file.
5151 * config/aarch64/t-softfp: New file.
5152
5153 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5154
5155 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5156 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5157 no-longer-needed LDBU insns.
5158
5159 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5160
5161 * config.host
5162 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5163 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5164
5165 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5166
5167 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5168
5169 2012-10-15 Matthias Klose <doko@ubuntu.com>
5170
5171 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5172
5173 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5174
5175 * configure: Regenerate.
5176 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5177
5178 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5179
5180 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5181 instructions for 64bit targets only.
5182
5183 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5184
5185 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5186 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5187 * config/i386/32/sfp-machine.h: ... here.
5188 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5189 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5190 New defines.
5191
5192 2012-10-07 Matthias Klose <doko@ubuntu.com>
5193
5194 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5195 as unused.
5196 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5197
5198 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5199
5200 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5201 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5202 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5203 (ElfW): Likewise.
5204
5205 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5206
5207 PR other/53889
5208 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5209 Fix parameter names.
5210
5211 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5212
5213 PR target/33135
5214 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5215 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5216 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5217
5218 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5219
5220 PR target/50457
5221 * config/sh/linux-atomic.S: Delete.
5222 * config/sh/linux-atomic.c: New.
5223 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5224 linux-atomic.c. Add cflags to disable warnings.
5225
5226 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5227
5228 PR other/53889
5229 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5230 function.
5231 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5232 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5233 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5234 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5235 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5236 Likewise.
5237 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5238 Likewise.
5239 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5240 Likewise.
5241 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5242 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5243
5244 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5245
5246 * config.host (hppa-*-openbsd*): New target.
5247 * config/pa/t-openbsd: New file.
5248
5249 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5250
5251 PR target/54222
5252 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5253 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5254 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5255 (__divsa3): Use __negsi2 to negate r_quoL.
5256 * config/avr/lib1funcs.S (FALIAS): New macro.
5257 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5258 (__negsi2): ...this new function.
5259 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5260 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5261 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5262 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5263 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5264 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5265
5266 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5267
5268 PR target/54089
5269 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5270 (lshrsi3): Reimplement as lshrsi3_r0.
5271
5272 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5273
5274 PR target/46191
5275 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5276 of libgcc.a.
5277
5278 2012-09-07 Teresa Johnson <tejohnson@google.com>
5279
5280 PR gcov-profile/54487
5281 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5282 differences.
5283
5284 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5285
5286 PR target/54461
5287 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5288 not configured --with-avrlibc=no.
5289 * config/avr/t-avrlibc: New file.
5290 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5291 (DPBIT_FUNCS): Ditto.
5292 (TPBIT_FUNCS): Ditto.
5293
5294 2012-09-04 Teresa Johnson <tejohnson@google.com>
5295
5296 * libgcov.c (struct gcov_summary_buffer): New structure.
5297 (gcov_histogram_insert): New function.
5298 (gcov_compute_histogram): Ditto.
5299 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5300 histograms during summary merging.
5301
5302 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5303
5304 * config.host (x86_64-*-openbsd*): New target.
5305
5306 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5307
5308 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5309 attribute.
5310
5311 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5312
5313 PR target/54222
5314 * config/avr/t-avr (conv_X): Rename to func_X.
5315
5316 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5317
5318 PR target/54222
5319 * config/avr/lib1funcs-fixed.S: New file.
5320 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5321 after they are used.
5322 (neg2, neg4): New macros.
5323 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5324 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5325 (__umulhisi3): Speed up MUL variant if there is enough flash.
5326 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5327 avr-modes.def.
5328 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5329 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5330 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5331 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5332 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5333 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5334 (LIB2FUNCS_EXCLUDE): Add supported functions.
5335
5336 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5337
5338 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5339 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5340 libgcc-s-objects.
5341 * fixed-obj.mk: Only expand dependency if $o is not in
5342 LIB2FUNCS_EXCLUDE.
5343
5344 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5345
5346 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5347
5348 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5349
5350 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5351 depend on --enable-shared.
5352 ($(lib1asmfuncs-o)): Use %.vis files independent of
5353 --enable-shared.
5354 * static-object.mk ($(base)$(objext), $(base).vis)
5355 ($(base)_s$(objext)): Use same rules for visibility handling as in
5356 shared-object.mk.
5357
5358 2012-08-21 Ian Lance Taylor <iant@google.com>
5359
5360 * config/i386/morestack.S (__morestack_non_split): Increase amount
5361 of space allocated for non-split code stack.
5362
5363 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5364
5365 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5366 even if inhibit_libc.
5367
5368 2012-08-17 Julian Brown <julian@codesourcery.com>
5369
5370 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5371 -fexceptions -fnon-call-exceptions if not defined.
5372 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5373 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5374
5375 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5376
5377 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5378 type.
5379
5380 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5381
5382 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5383 rs6000/t-slibgcc-aix.
5384
5385 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5386
5387 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5388
5389 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5390
5391 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5392
5393 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5394
5395 PR driver/54171
5396 * Makefile.in (version): Replace top_srcdir with srcdir.
5397
5398 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5399
5400 * Makefile.in (version): set to BASE-VER file from gcc directory.
5401
5402 2012-08-01 Nick Clifton <nickc@redhat.com>
5403
5404 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5405 Implements __clrsb for an HImode argument.
5406
5407 2012-07-31 Nick Clifton <nickc@redhat.com>
5408
5409 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5410 Implements __clrsb for an HImode argument.
5411 * config/stormy16/clrsbhi2.c: New file:
5412 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5413
5414 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5415
5416 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5417
5418 2012-07-19 Tristan Gingold <gingold@adacore.com>
5419 Richard Henderson <rth@redhat.com>
5420
5421 * unwind-seh.c: New file.
5422 * unwind-generic.h: Include windows.h for SEH.
5423 (_Unwind_Exception): Use 6 private fields for SEH.
5424 (_GCC_specific_handler): Declare.
5425 * unwind-c.c (__gcc_personality_seh0): New function.
5426 Adjust for SEH.
5427 * config/i386/libgcc-cygming.ver: New file.
5428 * config/i386/t-seh-eh: New file.
5429 * config.host (x86_64-*-mingw*): Default to seh.
5430
5431 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5432
5433 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5434
5435 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5436
5437 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5438 __builtin_expect when checking for exceptions.
5439 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5440
5441 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5442
5443 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5444 function declaration.
5445 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5446 (FP_RND_MASK): New.
5447 * config/ia64/sfp-exceptions.c: New.
5448 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5449
5450 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5451
5452 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5453 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5454 * config/i386/64/sfp-machine: ... (delete here) ...
5455 * config/i386/sfp-machine.h: ... to here.
5456 (FP_EX_MASK): Remove.
5457 (FP_RND_MASK): New.
5458 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5459
5460 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5461
5462 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5463 * config/i386/libgcc-sol2.ver: Ditto.
5464 * config/i386/libgcc-glibc.ver: Ditto.
5465
5466 2012-06-11 Roland McGrath <mcgrathr@google.com>
5467
5468 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5469 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5470 pthread_cancel.
5471
5472 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5473
5474 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5475 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5476 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5477 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5478 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5479 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5480 * config/i386/64/sfp-machine: ... (delete here) ...
5481 * config/i386/sfp-machine.h: ... to here.
5482 (FP_EX_MASK): New.
5483 (__sfp_handle_exceptions): New function declaration.
5484 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5485 * config/i386/sfp-exceptions.c: New.
5486 * config/i386/t-softfp: New.
5487 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5488 i386/t-softfp to tmake_file.
5489
5490 2012-06-03 David S. Miller <davem@davemloft.net>
5491
5492 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5493 change.
5494
5495 2012-05-31 David S. Miller <davem@davemloft.net>
5496
5497 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5498 multiply and divide instructions on 32-bit when V9.
5499 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5500
5501 2012-05-29 Joseph Myers <joseph@codesourcery.com>
5502
5503 * config/arm/ieee754-df.S: Fix typos.
5504 * config/arm/ieee754-sf.S: Fix typos.
5505 * config/c6x/libunwind.S: Fix typos.
5506 * config/epiphany/udivsi3-float.c: Fix typos.
5507 * config/microblaze/muldi3_hard.S: Fix typos.
5508 * config/picochip/adddi3.S: Fix typos.
5509 * config/picochip/ashlsi3.S: Fix typos.
5510 * config/picochip/ashrsi3.S: Fix typos.
5511 * config/picochip/clzsi2.S: Fix typos.
5512 * config/picochip/cmpsi2.S: Fix typos.
5513 * config/picochip/divmod15.S: Fix typos.
5514 * config/picochip/divmodhi4.S: Fix typos.
5515 * config/picochip/divmodsi4.S: Fix typos.
5516 * config/picochip/longjmp.S: Fix typos.
5517 * config/picochip/lshrsi3.S: Fix typos.
5518 * config/picochip/parityhi2.S: Fix typos.
5519 * config/picochip/popcounthi2.S: Fix typos.
5520 * config/picochip/setjmp.S: Fix typos.
5521 * config/picochip/subdi3.S: Fix typos.
5522 * config/picochip/ucmpsi2.S: Fix typos.
5523 * config/picochip/udivmodhi4.S: Fix typos.
5524 * config/picochip/udivmodsi4.S: Fix typos.
5525 * config/spu/divv2df3.c: Fix typos.
5526 * config/spu/mfc_multi_tag_release.c: Fix typos.
5527 * config/spu/mfc_tag_release.c: Fix typos.
5528 * configure.ac: Fix typos.
5529 * configure: Regenerate.
5530
5531 2012-05-25 Ian Lance Taylor <iant@google.com>
5532
5533 * config/i386/morestack.S (__morestack_non_split): Check whether
5534 caller is varargs and needs %bp to hold the stack frame on return.
5535
5536 2012-05-25 Olivier Hainque <hainque@adacore.com>
5537
5538 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5539 sequence in the non pic case on VxWorks.
5540
5541 2012-05-24 Olivier Hainque <hainque@adacore.com>
5542
5543 * Makefile.in: Move dependency on install-unwind_h from
5544 "install-leaf" to "install".
5545
5546 2012-05-24 Olivier Hainque <hainque@adacore.com>
5547
5548 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5549 Use a separate command for stamp removals.
5550
5551 2012-05-21 Andrew Pinski <apinski@cavium.com>
5552
5553 PR bootstrap/53183
5554 * configure.ac: Define the default includes to being none.
5555 * configure: Regenerate.
5556
5557 2012-05-16 Olivier Hainque <hainque@adacore.com>
5558
5559 * Makefile.in (install-unwind_h): Rename into ...
5560 (install-unwind_h-forbuild): New target.
5561 (all): Use it instead of the former install-unwind_h.
5562 (install-unwind_h): Reinstate, copy to user install destination
5563 for include files, not to the internal gcc object directory one.
5564 (install-leaf): Depend on it.
5565
5566 2012-05-15 Olivier Hainque <hainque@adacore.com>
5567
5568 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5569 register numbers. LR_REGNO replaces R_LR.
5570 (ucontext_for): New, helper for ...
5571 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5572 and 5.3 of ...
5573 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5574
5575 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5576
5577 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5578 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5579 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5580 i386/t-cpuinfo ...
5581 (i[34567]86-*-*, x86_64-*-*): ... here.
5582
5583 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5584 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5585
5586 * config/i386/i386-cpuinfo.c: Rename to ...
5587 * config/i386/cpuinfo.c: ... this.
5588 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5589
5590 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5591 (libgcc_cv_init_priority): New test.
5592 * configure: Regenerate.
5593 * config.in: New file.
5594 * Makefile.in (clean): Rename config.h to auto-target.h.
5595 (config.h): Likewise.
5596 (stamp-h): Likewise.
5597
5598 * config/i386/cpuinfo.c (auto-target.h): Include.
5599 (CONSTRUCTOR_PRIORITY): Define.
5600 (__cpu_indicator_init): Use it.
5601
5602 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5603
5604 * longlong.h: Use a URL instead of an FSF postal address.
5605 Replace spaces with tab.
5606
5607 2012-05-08 Teresa Johnson <tejohnson@google.com>
5608
5609 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5610 (__gcov_dump): Ditto.
5611 (gcov_dump_complete): New global variable.
5612 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5613 (__gcov_flush): Outline functionality now in gcov_clear.
5614 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5615
5616 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5617
5618 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5619 (mips*-*-linux*): Include mips/t-tpbit when long double is
5620 16 bytes long.
5621
5622 2012-04-25 Sriraman Tallam <tmsriram@google.com>
5623
5624 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5625 (get_available_features): New argument. Check for AVX2.
5626 (__cpu_indicator_init): Modify call to get_available_features.
5627
5628 2012-04-25 Alan Modra <amodra@gmail.com>
5629
5630 * config/rs6000/crtsavevr.S: New file.
5631 * config/rs6000/crtrestvr.S: New file.
5632 * config/rs6000/t-savresfgpr: Build the above.
5633 * config/rs6000/t-netbsd: Likewise.
5634
5635 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5636
5637 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5638
5639 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5640
5641 * libgcc/config/i386/i386-cpuinfo.c: New file.
5642 * libgcc/config/i386/t-cpuinfo: New file.
5643 * libgcc/config.host: Include t-cpuinfo.
5644 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5645
5646 2012-04-24 Chao-ying Fu <fu@mips.com>
5647
5648 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5649
5650 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5651
5652 struct siginfo vs. siginfo_t
5653
5654 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5655 siginfo_t instead of struct siginfo.
5656 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5657 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5658 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5659 (ia64_handle_unwabi): Likewise.
5660 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5661 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5662 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5663 (sh_fallback_frame_state): Likewise.
5664 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5665 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5666
5667 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5668
5669 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5670 system call number.
5671
5672 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5673
5674 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5675 if it hasn't been previously saved.
5676
5677 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5678
5679 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5680 only for glibc.
5681
5682 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
5683
5684 PR target/52737
5685 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5686 instead of __AVR_HAVE_8BIT_SP__.
5687
5688 2012-03-26 Tristan Gingold <gingold@adacore.com>
5689
5690 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5691 (unw_table_entry): Use unw_word instead of unsigned long.
5692 (_Unwind_FindTableEntry): Likewise.
5693 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5694 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5695 (_Unwind_FindTableEntry): Likewise.
5696 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5697 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5698 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5699 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5700 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5701 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5702 (uw_init_context_1, uw_install_context): Likewise.
5703 (unw_word): Move to unwind-ia64.h
5704
5705 2012-03-26 Tristan Gingold <gingold@adacore.com>
5706
5707 * config/vms/vms-ucrt0.c: Update copyright years.
5708 Add a sanity check.
5709 (___gcc_main_flags): Declare.
5710 (__main): Check flags to remap argv and exit code.
5711 * config.host (*-*-*vms*): Adjust extra_parts.
5712 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5713 (crt0.o): Add.
5714
5715 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
5716
5717 * arm/lib1funcs.asm (ctzsi2): New function.
5718 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5719 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5720 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5721 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5722 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5723 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5724
5725 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
5726
5727 * config.host: Add bits to support powerpc64-*-freebsd*.
5728 * config/rs6000/freebsd-unwind.h: New file.
5729 * config/rs6000/t-freebsd64: New file.
5730
5731 2012-03-20 Richard Guenther <rguenther@suse.de>
5732
5733 PR gcov-profile/52627
5734 * libgcov.c (init_mx): Fix mutex name.
5735
5736 2012-03-16 Tristan Gingold <gingold@adacore.com>
5737
5738 * config/ia64/vms-unwind.h: Remove ulong (and replace
5739 it by unw_reg where used). Define unw_reg with __int64.
5740
5741 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5742
5743 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5744 Solaris 8 handling.
5745 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5746 Solaris 8 handling.
5747 (sparc_is_sighandler): Likewise.
5748
5749 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5750
5751 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5752 <= saved reg size.
5753
5754 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5755
5756 * config/arm/crtn.S: Fix typo.
5757
5758 2012-03-13 Richard Guenther <rguenther@suse.de>
5759
5760 * libgcov.c: Remove stdio.h include and NULL un-define.
5761
5762 2012-03-13 Richard Guenther <rguenther@suse.de>
5763
5764 PR target/52569
5765 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5766
5767 2012-03-13 Richard Guenther <rguenther@suse.de>
5768
5769 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5770
5771 2012-03-13 Richard Guenther <rguenther@suse.de>
5772
5773 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5774 and __gthread_mutex_init_function definitions.
5775
5776 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5777
5778 * config.host (mips*-*-openbsd*): Remove.
5779
5780 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5781
5782 * config.host: Remove alpha*-dec-osf5.1* handling.
5783 * config/alpha/gthr-posix.c: Remove.
5784 * config/alpha/libgcc-osf5.ver: Remove.
5785 * config/alpha/osf5-unwind.h: Remove.
5786 * config/alpha/t-osf-pthread: Remove.
5787 * config/alpha/t-slibgcc-osf: Remove.
5788 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5789 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5790 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5791 * mkmap-flat.awk: Remove osf_export handling.
5792
5793 2012-03-12 Richard Guenther <rguenther@suse.de>
5794
5795 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5796 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5797 (__gthread_mutex_init_function): New function.
5798 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5799
5800 PR gcov/49484
5801 * libgcov.c: Include gthr.h.
5802 (__gcov_flush_mx): New global variable.
5803 (init_mx, init_mx_once): New functions.
5804 (__gcov_flush): Protect self with a mutex.
5805 (__gcov_fork): Re-initialize mutex after forking.
5806 * unwind-dw2-fde.c: Change condition under which to use
5807 __GTHREAD_MUTEX_INIT_FUNCTION.
5808
5809 2012-03-12 Tristan Gingold <gingold@adacore.com>
5810
5811 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5812 * config/ia64/t-vms: Likewise.
5813
5814 2012-03-11 Michael Hope <michael.hope@linaro.org>
5815
5816 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5817 for Thumb-2.
5818
5819 2012-03-07 Walter Lee <walt@tilera.com>
5820
5821 * config/tilepro/atomic.c: Rename "atomic_" prefix to
5822 "arch_atomic_".
5823 (atomic_xor): Rename and move definition to
5824 config/tilepro/atomic.h.
5825 (atomic_nand): Ditto.
5826 * config/tilepro/atomic.h: Rename "atomic_" prefix to
5827 "arch_atomic_".
5828 (arch_atomic_xor): Move from config/tilepro/atomic.c.
5829 (arch_atomic_nand): Ditto.
5830
5831 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
5832
5833 PR target/52507
5834 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5835
5836 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
5837
5838 PR target/52505
5839 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5840 from RAM.
5841
5842 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
5843
5844 PR target/52461
5845 PR target/52508
5846 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5847 if RAMPZ affects reading from RAM.
5848 (__tablejump_elpm__): Ditto.
5849 (.xload): Ditto.
5850 (__movmemx_hi): Ditto.
5851 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5852 (__do_global_dtors): Ditto.
5853 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5854 (__movmemx_hi): Ditto.
5855
5856 2012-03-05 Richard Henderson <rth@redhat.com>
5857
5858 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5859 [ARM] (count_trailing_zeros): Use the builtin.
5860
5861 2012-03-01 Kai Tietz <ktietz@redhat.com>
5862
5863 * soft-fp: Imported from glibc upstream.
5864
5865 2012-02-28 Kai Tietz <ktietz@redhat.com>
5866
5867 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5868 for mingw-targets as attribute gcc_struct.
5869
5870 2012-02-28 Ian Lance Taylor <iant@google.com>
5871
5872 * generic-morestack.c (__splitstack_releasecontext): Correct call
5873 to __morestack_release_segments.
5874
5875 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5876
5877 PR target/52390
5878 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5879 for __linux__ when removing signals from __morestack_fullmask.
5880
5881 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
5882
5883 PR target/52261
5884 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5885
5886 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5887
5888 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5889 instead of HAVE_INITFINI_ARRAY.
5890 * config/ia64/crtend.S: Likewise.
5891
5892 2012-02-20 Kai Tietz <ktietz@redhat.com>
5893
5894 PR libstdc++/52300
5895 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5896
5897 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5898 to w32-unwind.h header.
5899
5900 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5901
5902 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5903 (mips*-*-linux*): Remove t-slibgcc-libgcc.
5904 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5905 * config/mips/mips16.S (__mips16_rdhwr): Delete.
5906
5907 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5908
5909 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5910
5911 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5912
5913 PR libitm/52220
5914 * config/darwin-crt-tm.c: Correct typo.
5915
5916 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5917 Patrick Marlier <patrick.marlier@gmail.com>
5918
5919 PR libitm/52220
5920 * config/darwin-crt-tm.c: Generate dummy functions.
5921
5922 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5923 Patrick Marlier <patrick.marlier@gmail.com>
5924
5925 PR libitm/52042
5926 * config/darwin-crt-tm.c (getTMCloneTable): New function.
5927 (__doTMRegistrations): Call it.
5928 (__doTMdeRegistrations): Likewise.
5929
5930 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
5931 Anatoly Sokolov <aesok@post.ru>
5932 Eric Weddington <eric.weddington@atmel.com>
5933
5934 PR target/52261
5935 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5936 (__epilogue_restores__): Ditto.
5937
5938 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
5939
5940 PR target/51921
5941 PR target/52205
5942 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5943 Solaris 11 and slightly reformat.
5944 (sparc_is_sighandler): Likewise.
5945
5946 2012-02-14 Walter Lee <walt@tilera.com>
5947
5948 * config.host: Handle tilegx and tilepro.
5949 * config/tilegx/sfp-machine.h: New file.
5950 * config/tilegx/sfp-machine32.h: New file.
5951 * config/tilegx/sfp-machine64.h: New file.
5952 * config/tilegx/t-crtstuff: New file.
5953 * config/tilegx/t-softfp: New file.
5954 * config/tilegx/t-tilegx: New file.
5955 * config/tilepro/atomic.c: New file.
5956 * config/tilepro/atomic.h: New file.
5957 * config/tilepro/linux-unwind.h: New file.
5958 * config/tilepro/sfp-machine.h: New file.
5959 * config/tilepro/softdivide.c: New file.
5960 * config/tilepro/softmpy.S: New file.
5961 * config/tilepro/t-crtstuff: New file.
5962 * config/tilepro/t-tilepro: New file.
5963
5964 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
5965
5966 PR libstdc++/51296
5967 PR libstdc++/51906
5968 * gthr-posix.h: Allow static initializer macros to be disabled.
5969 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5970
5971 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5972
5973 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5974 Add t-slibgcc-libgcc to tmake_file.
5975 * config/mips/libgcc-mips16.ver: Revert previous patch.
5976 * config/mips/mips16.S (__mips16_rdhwr): Hide.
5977
5978 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
5979 Jayant R Sonar <jayant.sonar@kpitcummins.com>
5980
5981 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5982 * config/cr16/crti.S: New file.
5983 * config/cr16/crtlibid.S: New file.
5984 * config/cr16/crtn.S: New file.
5985 * config/cr16/lib1funcs.S: New file.
5986 * config/cr16/t-cr16: New file.
5987 * config/cr16/t-crtlibid: New file.
5988 * config/cr16/unwind-dw2.h: New file.
5989 * config/cr16/unwind-cr16.c: New file.
5990 * config/cr16/divmodhi3.c: New file.
5991
5992 2012-01-25 Alan Modra <amodra@gmail.com>
5993
5994 * config/rs6000/t-linux64: Delete. Move..
5995 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5996 * config/rs6000/t-linux: ..and libgcc flags to here.
5997
5998 2012-01-22 Douglas B Rupp <rupp@gnat.com>
5999
6000 * config.host (i[34567]86-*-interix3*):
6001 Change triplet to i[34567]86-*-interix[3-9]*.
6002 * configure: Regenerate.
6003
6004 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6005 Richard Sandiford <rdsandiford@googlemail.com>
6006
6007 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6008 * config/mips/mips16.S (__mips16_rdhwr): New function.
6009 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6010
6011 2012-01-11 Nathan Sidwell <nathan@acm.org>
6012
6013 * libgcov.c (__gcov_init): Ignore objects with no functions.
6014
6015 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6016
6017 PR target/49868
6018 Extend __pgmx semantics to linearize memory.
6019 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6020 * config/avr/lib1funcs.S (__xload_1): New function.
6021 (__movmemx_qi, __movmemx_hi): New functions.
6022 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6023 semantics.
6024
6025 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6026
6027 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6028 purported sigacthandler address isn't null before dereferencing it.
6029 (sparc_is_sighandler): Likewise.
6030
6031 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6032
6033 PR ada/41929
6034 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6035 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6036 (sparc_is_sighandler): Likewise.
6037 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6038
6039 2012-01-06 Tristan Gingold <gingold@adacore.com>
6040
6041 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6042 compatibility thunks...
6043 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6044 (crtbeginS.o, crtendS.o): ... and these to ...
6045 * config/ia64/t-ia64-elf: ... this new file.
6046 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6047 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6048
6049 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6050
6051 * configure: Regenerate.
6052 * config/s390/t-crtstuff: Remove -fPIC.
6053
6054 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6055
6056 PR bootstrap/51006
6057 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6058 for NetBSD.
6059
6060 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6061
6062 PR target/51345
6063 * config/avr/lib1funcs.S: Remove FIXME comments.
6064 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6065
6066 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6067
6068 Implement light-weight DImode support.
6069 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6070 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6071 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6072 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6073
6074 2011-12-30 Nathan Sidwell <nathan@acm.org>
6075
6076 * libgcov.c (gcov_crc32): Remove global var.
6077 (free_fn_data): New function.
6078 (buffer_fn_data): Pass in filename, more robust error recovery.
6079 (crc32_unsigned): New function.
6080 (gcov_exit): More robust detection of new program. More robust
6081 error recovery.
6082 (__gcov_init): Do not update program's crc here.
6083
6084 2011-12-21 Tristan Gingold <gingold@adacore.com>
6085
6086 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6087
6088 2011-12-21 Ian Lance Taylor <iant@google.com>
6089
6090 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6091
6092 2011-12-20 Ian Lance Taylor <iant@google.com>
6093
6094 * config/i386/morestack.S (__morestack_non_split): If there is
6095 enough stack space already, don't split. Ask for more stack space
6096 than we required.
6097
6098 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6099
6100 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6101 `sys/sdt.h'.
6102 (_Unwind_DebugHook): New function.
6103 (uw_restore_core_regs): New define.
6104 (unwind_phase2): Use uw_restore_core_regs instead of
6105 restore_core_regs.
6106 (unwind_phase2_forced): Likewise.
6107 (__gnu_Unwind_Resume): Likewise.
6108
6109 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6110
6111 * config/alpha/linux-unwind.h: Update copyright years.
6112 (MD_FROB_UPDATE_CONTEXT): New define.
6113 (alpha_frob_update_context): New function.
6114
6115 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6116
6117 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6118 tmake_file rather replacing it.
6119
6120 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6121
6122 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6123 function is not used for PPC64.
6124 (save_world): Amend comments. Update the VRsave mask to reflect the
6125 saved regs.
6126 (rest_world): Update comments, do not clobber r10, do not use r8.
6127 (eh_rest_world_r10): Amend comments, do not use r8.
6128 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6129 no longer used, move restore of CR and target address to the end of
6130 the routine.
6131
6132 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6133
6134 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6135 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6136
6137 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6138
6139 PR target/49313
6140 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6141 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6142
6143 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6144
6145 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6146
6147 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6148
6149 PR target/49313
6150 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6151 * config/avr/lib1funcs.S (__muldi3): New function.
6152
6153 2011-12-06 Andrew Pinski <apinski@cavium.com>
6154
6155 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6156 size of func_ptr.
6157 (__frame_dummy_init_array_entry): Likewise.
6158
6159 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6160
6161 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6162
6163 PR target/51345
6164 PR target/51002
6165 * config/avr/lib1funcs.S (__prologue_saves__,
6166 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6167 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6168
6169 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6170
6171 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6172
6173 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6174
6175 PR other/51272
6176 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6177 (_ITM_deregisterTMCloneTable): Likewise.
6178 (__register_frame_info): Fix unused warning.
6179 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6180 pthread_default_stacksize_np): Likewise.
6181 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6182
6183 2011-11-29 DJ Delorie <dj@redhat.com>
6184
6185 * config.host (rl78-*-elf): New case.
6186 * config/rl78: New directory for the Renesas RL78.
6187
6188 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6189
6190 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6191 formatting.
6192
6193 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6194
6195 PR other/51022
6196 * config/rs6000/t-savresfgpr: New file.
6197 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6198 $(srcdir)/config/rs6000/eabi.S.
6199 * config/rs6000/t-ppccomm-ldbl: Remove.
6200 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6201 tmake_file.
6202 (powerpc-*-eabispe*): Likewise.
6203 (powerpc-*-eabi*): Likewise.
6204 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6205 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6206 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6207 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6208 tmake_file.
6209 (powerpc-*-eabisim*): Likewise.
6210 (powerpc-*-elf*): Likewise.
6211 (powerpc-*-eabialtivec*): Likewise.
6212 (powerpc-xilinx-eabi*): Likewise.
6213 (powerpc-*-rtems*): Likewise.
6214 (powerpcle-*-elf*): Likewise.
6215 (powerpcle-*-eabisim*): Likewise.
6216 (powerpcle-*-eabi*): Likewise.
6217
6218 2011-11-27 Ian Lance Taylor <iant@google.com>
6219
6220 * generic-morestack.c (__splitstack_find): Check for NULL old
6221 stack value.
6222 (__splitstack_resetcontext): New function.
6223 (__splitstack_releasecontext): New function.
6224 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6225
6226 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6227
6228 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6229
6230 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6231
6232 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6233
6234 2011-11-26 Richard Henderson <rth@redhat.com>
6235
6236 * config/m68k/linux-atomic.c: New file.
6237 * config/m68k/t-linux: New file.
6238 * config.host (m68k-uclinux, m68k-linux): Use it.
6239
6240 2011-11-26 Richard Henderson <rth@redhat.com>
6241
6242 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6243 (__TMC_END__): Only declare if hidden is available; in the definition,
6244 if hidden is unavailable add a null record.
6245 (deregister_tm_clones, register_tm_clones): New.
6246 (__do_global_dtors_aux, frame_dummy): Use them.
6247 (__do_global_dtors, __do_global_ctors_1): Likewise.
6248
6249 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6250
6251 * config/darwin-crt-tm.c: New file.
6252 * config.host (darwin): Build crttms.o crttme.o to provide
6253 startup and shutdown for tm clones.
6254 * config/t-darwin (crttms.o): New build rule.
6255 (crttme.o): Likewise.
6256
6257 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6258
6259 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6260 et al.
6261
6262 2011-11-21 Richard Henderson <rth@redhat.com>
6263
6264 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6265 (__TMC_LIST__, __TMC_END__): New.
6266 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6267 (__do_global_dtors): Likewise.
6268 (frame_dummy): Call _ITM_registerTMCloneTable.
6269 (__do_global_ctors_1): Likewise.
6270
6271 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6272
6273 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6274 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6275 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6276 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6277 * config/i386/t-darwin64: Remove.
6278 * config/sh/t-netbsd (LIB2ADD): Remove.
6279
6280 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6281
6282 PR target/49313
6283 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6284 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6285 * config/avr/lib1funcs.S (wmov): New assembler macro.
6286 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6287 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6288 (__udivmod64): New function.
6289 (__negdi2): New function.
6290
6291 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6292
6293 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6294 *-*-freebsd*aout*): Remove.
6295
6296 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6297
6298 * static-object.mk (c_flags-$o): Save c_flags.
6299 ($(base)$(objext)): Use it.
6300
6301 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6302
6303 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6304
6305 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6306
6307 PR target/49868
6308 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6309 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6310 New functions.
6311
6312 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6313
6314 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6315 functions.
6316 (aeabi_uidivmod): Likewise.
6317 (umodsi3): Likewise.
6318 (divsi3): Likewise.
6319 (aeabi_idivmod): Likewise.
6320 (modsi3): Likewise.
6321
6322 2011-11-16 Tristan Gingold <gingold@adacore.com>
6323
6324 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6325
6326 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6327
6328 PR target/49868
6329 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6330 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6331
6332 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6333
6334 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6335 tmake_file list.
6336 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6337 * config/pa/t-stublib64: Delete.
6338
6339 2011-11-12 Richard Henderson <rth@redhat.com>
6340
6341 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6342 cast the pointer argument to _Unwind_SetGRPtr.
6343
6344 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6345
6346 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6347
6348 2011-11-09 Ian Lance Taylor <iant@google.com>
6349
6350 * generic-morestack.c: Include <string.h>.
6351 (uintptr_type): Define.
6352 (struct initial_sp): Add dont_block_signals field. Reduce size of
6353 extra array by 1.
6354 (allocate_segment): Set prev field to NULL. Don't set
6355 __morestack_current_segment or __morestack_segments.
6356 (__generic_morestack): Update current->prev and *pp after calling
6357 allocate_segment.
6358 (__morestack_block_signals): Don't do anything if
6359 dont_block_signals is set.
6360 (__morestack_unblock_signals): Likewise.
6361 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6362 uintptr_type.
6363 (__splitstack_block_signals): New function.
6364 (enum __splitstack_content_offsets): Define.
6365 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6366 (__splitstack_makecontext): New function.
6367 (__splitstack_block_signals_context): New function.
6368 (__splitstack_find_context): New function.
6369 * config/i386/morestack.S (__morestack_get_guard): New function.
6370 (__morestack_set_guard, __morestack_make_guard): New functions.
6371 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6372
6373 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6374
6375 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6376 (i[34567]86-*-mingw*): ... here.
6377 (x86_64-*-mingw*): ... here.
6378
6379 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6380
6381 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6382
6383 2011-11-07 Nathan Sidwell <nathan@acm.org>
6384
6385 * libgcov.c (struct gcov_fn_buffer): New struct.
6386 (buffer_fn_data): New helper.
6387 (gcov_exit): Rework for new gcov data structures.
6388
6389 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6390
6391 PR target/49313
6392 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6393
6394 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6395
6396 * config.host (tmake_file): Correct comment.
6397 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6398 t-libgcc-pic.
6399 (bfin*-uclinux*): Likewise.
6400 (bfin*-linux-uclibc*): Likewise.
6401 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6402
6403 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6404 assigning.
6405 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6406 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6407 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6408 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6409 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6410 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6411 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6412 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6413 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6414 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6415 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6416 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6417 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6418
6419 * config/bfin/t-elf: Remove.
6420 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6421
6422 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6423
6424 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6425 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6426 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6427 (lm32-*-elf*): ... this.
6428 (lm32-*-rtems*): ... and this.
6429 Add to tmake_file.
6430 (m32r-*-rtems*): Add to tmake_file.
6431 (moxie-*-rtems*): Likewise.
6432 (sparc-*-rtems*): Likewise.
6433 Remove t-rtems from tmake_file.
6434 (sparc64-*-rtems*): Likewise.
6435 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6436 instead.
6437
6438 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6439
6440 PR bootstrap/50982
6441 * config/gthr-posix.h: Move ...
6442 * gthr-posix.h: ... here.
6443 * config/gthr-lynx.h: Reflect this.
6444 * config/gthr-vxworks.h: Likewise.
6445 * config/rs6000/gthr-aix.h: Likewise.
6446 * configure.ac (target_thread_file): Likewise.
6447 * configure: Regenerate.
6448
6449 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6450
6451 * config.host (arm*-*-rtemseabi*): New target.
6452
6453 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6454
6455 PR other/50991
6456 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6457 extra-parts.
6458
6459 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6460
6461 * config.host (epiphany-*-elf*): New configuration.
6462 * config/epiphany: New Directory.
6463
6464 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6465
6466 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6467 * config/avr/t-rtems: New.
6468 Filter out _exit from LIB1ASMFUNCS.
6469
6470 2011-11-04 David S. Miller <davem@davemloft.net>
6471
6472 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6473 * configure: Rebuild.
6474
6475 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6476
6477 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6478 variable.
6479
6480 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
6481
6482 PR target/50931
6483 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6484 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6485
6486 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6487
6488 PR target/50989
6489 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6490
6491 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6492
6493 * config/c6x/t-elf (LIB2ADDEH): Set.
6494 * config/c6x/t-c6x-elf: Remove.
6495
6496 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6497
6498 * config/i386/sol2-ci.S: Rename to ...
6499 * config/i386/crti.S: ... this.
6500 * config/i386/sol2-cn.S: Rename to ...
6501 * config/i386/crtn.S: ... this.
6502 * config/sparc/sol2-ci.S: Rename to ...
6503 * config/sparc/crti.S: ... this.
6504 * config/sparc/sol2-cn.S: Rename to ...
6505 * config/sparc/crtn.S: ... this.
6506 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6507 (crti.o, crtn.o): Remove.
6508
6509 2011-11-04 Tristan Gingold <gingold@adacore.com>
6510
6511 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6512
6513 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6514
6515 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6516
6517 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
6518
6519 * config.host (crisv32-*-none, cris-*-none): Remove.
6520 (crisv32-*-elf): Append to tmake_file, don't just set it.
6521 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6522
6523 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6524
6525 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6526 (ecrtn$(objext)): Likewise.
6527 (ncrti$(objext)): Likewise.
6528 (ncrtn$(objext)): Likewise.
6529
6530 2011-11-03 Andreas Schwab <schwab@redhat.com>
6531
6532 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6533
6534 2011-11-02 David S. Miller <davem@davemloft.net>
6535
6536 * configure.ac: Set host_address on sparc too.
6537 * configure: Regenerate.
6538 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6539 based upon host_address.
6540 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6541
6542 2011-11-02 Jason Merrill <jason@redhat.com>
6543
6544 * config/rs6000/t-ppccomm: Add missing \.
6545
6546 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6547
6548 * gthr-single.h, gthr.h: New files.
6549 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6550 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6551 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6552 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6553 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6554 * configure.ac (thread_header): New variable.
6555 Set it depending on target_thread_file.
6556 (gthr-default.h): Link from $thread_header.
6557 * configure: Regenerate.
6558 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6559
6560 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6561
6562 * configure.ac (tm_file_): New variable.
6563 Determine from tm_file.
6564 (tm_file, tm_defines): Substitute.
6565 * configure: Regenerate.
6566 * mkheader.sh: New file.
6567 * Makefile.in (clean): Remove libgcc_tm.h.
6568 ($(objects)): Depend on libgcc_tm.h.
6569 (libgcc_tm_defines, libgcc_tm_file): New variables.
6570 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6571 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6572 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6573 ($(extra-parts)): Depend on libgcc_tm.h.
6574 * config.host (tm_defines, tm_file): New variable.
6575 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6576 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6577 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6578 (avr-*-rtems*): Likewise.
6579 (avr-*-*): Likewise.
6580 (frv-*-elf): Likewise.
6581 (frv-*-*linux*): Likewise.
6582 (h8300-*-rtems*): Likewise.
6583 (h8300-*-elf*): Likewise.
6584 (i[34567]86-*-darwin*): Likewise.
6585 (x86_64-*-darwin*): Likewise.
6586 (rx-*-elf): Likewise.
6587 (tic6x-*-uclinux): Likewise.
6588 (tic6x-*-elf): Likewise.
6589 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6590 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6591 * config/i386/cygming-crtbegin.c: Likewise.
6592 * config/i386/cygming-crtend.c: Likewise.
6593 * config/ia64/fde-vms.c: Likewise.
6594 * config/ia64/unwind-ia64.c: Likewise.
6595 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6596 * config/rs6000/darwin-fallback.c: Likewise.
6597 * config/stormy16/lib2funcs.c: Likewise.
6598 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6599 * crtstuff.c: Likewise.
6600 * dfp-bit.h: Likewise.
6601 * emutls.c: Likewise.
6602 * fixed-bit.c: Likewise.
6603 * fp-bit.c: Likewise.
6604 * generic-morestack-thread.c: Likewise.
6605 * generic-morestack.c: Likewise.
6606 * libgcc2.c: Likewise.
6607 * libgcov.c: Likewise.
6608 * unwind-dw2-fde-dip.c: Likewise.
6609 * unwind-dw2-fde.c: Likewise.
6610 * unwind-dw2.c: Likewise.
6611 * unwind-sjlj.c: Likewise.
6612
6613 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6614
6615 * configure.ac: Include ../config/picflag.m4.
6616 (GCC_PICFLAG): Call it.
6617 Substitute.
6618 * configure: Regenerate.
6619 * Makefile.in (gcc_srcdir): Remove.
6620 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6621 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6622 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6623 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6624 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6625 Use $<.
6626 Remove comment.
6627 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6628 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6629 to refer to libgcc2.c.
6630 Use $<.
6631 * config/darwin-64.c: New file.
6632 * config/darwin-crt3.c: Remove comment.
6633 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6634 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6635 config/udivmodsi4.c: New files.
6636 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6637 config/memset.c: New files.
6638 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6639 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6640 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6641 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6642 * config/t-openbsd-thread: New file.
6643 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6644 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6645 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6646 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6647 qrnnd.S.
6648 Adapt filename.
6649 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6650 to refer to gthr-posix.c.
6651 * config/alpha/t-vms (LIB2ADD): Set.
6652 * config/alpha/vms-gcc_shell_handler.c: New file.
6653 * config/arm/bpabi.c, config/arm/fp16.c,
6654 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6655 config/arm/unaligned-funcs.c: New files.
6656 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6657 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6658 * config/arm/t-linux: Likewise.
6659 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6660 * config/arm/t-netbsd: New file.
6661 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6662 * config/arm/t-symbian (LIB2ADD_ST): Set.
6663 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6664 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6665 * config/bfin/t-elf: New file.
6666 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6667 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6668 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6669 config/c6x/ltf.c: New files.
6670 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6671 (HOST_LIBGCC2_CFLAGS): Set.
6672 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6673 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6674 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6675 New files.
6676 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6677 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6678 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6679 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6680 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6681 files.
6682 * config/frv/t-frv (LIB2ADD): Set.
6683 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6684 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6685 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6686 config/h8300/popcounthi2.c: New files.
6687 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6688 * config/i386/gthr-win32.c: New file.
6689 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6690 * config/i386/t-cygwin: Likewise.
6691 * config/i386/t-darwin, config/i386/t-darwin64,
6692 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6693 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6694 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6695 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6696 * config/ia64/quadlib.c: New file.
6697 * config/ia64/t-hpux (LIB2ADD): Set.
6698 * config/ia64/t-ia64: Add comment.
6699 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6700 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6701 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6702 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6703 * config/m32c/t-m32c (LIB2ADD): Set.
6704 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6705 * config/m32r/t-m32r: Likewise.
6706 * config/m68k/fpgnulib.c: New file.
6707 * config/m68k/t-floatlib (LIB2ADD): Set.
6708 (xfgnulib.c): New target.
6709 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6710 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6711 * config/mep/t-mep (LIB2ADD): Set.
6712 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6713 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6714 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6715 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6716 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6717 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6718 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6719 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6720 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6721 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6722 New files.
6723 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6724 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6725 * config/pa/fptr.c, config/pa/lib2funcs.S,
6726 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6727 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6728 (LIB2ADD, LIB2ADD_ST): Set.
6729 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6730 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6731 Set.
6732 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6733 * config/pdp11/t-pdp11: New file.
6734 * config/picochip/libgccExtras/adddi3.S,
6735 config/picochip/libgccExtras/ashlsi3.S,
6736 config/picochip/libgccExtras/ashrsi3.S,
6737 config/picochip/libgccExtras/clzsi2.S,
6738 config/picochip/libgccExtras/cmpsi2.S,
6739 config/picochip/libgccExtras/divmod15.S,
6740 config/picochip/libgccExtras/divmodhi4.S,
6741 config/picochip/libgccExtras/divmodsi4.S,
6742 config/picochip/libgccExtras/lshrsi3.S,
6743 config/picochip/libgccExtras/parityhi2.S,
6744 config/picochip/libgccExtras/popcounthi2.S,
6745 config/picochip/libgccExtras/subdi3.S,
6746 config/picochip/libgccExtras/ucmpsi2.S,
6747 config/picochip/libgccExtras/udivmodhi4.S,
6748 config/picochip/libgccExtras/udivmodsi4.S: New files.
6749 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6750 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6751 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6752 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6753 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6754 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6755 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6756 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6757 files.
6758 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6759 (HOST_LIBGCC2_CFLAGS): Set.
6760 * config/rs6000/t-darwin64: New file.
6761 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6762 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6763 * config/rs6000/t-ppccomm (LIB2ADD): Add
6764 $(srcdir)/config/rs6000/tramp.S.
6765 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6766 Add $(srcdir)/config/rs6000/eabi.S.
6767 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6768 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6769 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6770 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6771 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6772 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6773 * config/rs6000/tramp.S: New file.
6774 * config/s390/t-tpf: Remove.
6775 * config/sh/linux-atomic.S: New file.
6776 * config/sh/t-linux (LIB2ADD): Set.
6777 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6778 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6779 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6780 to unwind-dw2.c.
6781 (HOST_LIBGCC2_CFLAGS): Set.
6782 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6783 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6784 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6785 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6786 config/spu/mfc_multi_tag_release.c,
6787 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6788 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6789 config/spu/multi3.c: New files.
6790 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6791 (HOST_LIBGCC2_CFLAGS): Set.
6792 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6793 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6794 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6795 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6796 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6797 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6798 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6799 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6800 config/stormy16/umodsi3.c: New files.
6801 * config/xtensa/lib2funcs.S: New file.
6802 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6803 * config/xtensa/t-xtensa (LIB2ADD): Set.
6804 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6805 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6806 Add t-freebsd-thread to tmake_file for posix threads.
6807 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6808 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6809 (*-*-lynxos*): Likewise.
6810 (*-*-netbsd*): Likewise.
6811 (*-*-openbsd*): Likewise.
6812 Add t-openbsd-thread to tmake_file for posix threads.
6813 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6814 (*-*-vxworks*): Set tmake_file.
6815 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6816 (alpha*-*-freebsd*): Likewise.
6817 (alpha*-*-netbsd*): Likewise.
6818 (alpha*-*-openbsd*): Likewise.
6819 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6820 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6821 (alpha*-dec-*vms*): Likewise.
6822 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6823 (bfin*-elf*): Add bfin/t-elf to tmake_file.
6824 (bfin*-uclinux*): Likewise.
6825 (bfin*-linux-uclibc*): Likewise.
6826 (crisv32-*-elf): Add cris/t-cris to tmake_file.
6827 (crisv32-*-none): Likewise.
6828 (cris-*-elf): Likewise.
6829 (cris-*-none): Likewise.
6830 (cris-*-linux*, crisv32-*-linux*): Likewise.
6831 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6832 tmake_file.
6833 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6834 tmake_file.
6835 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6836 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6837 (x86_64-*-elf*): Likewise.
6838 (i[34567]86-*-nto-qnx*): Likewise.
6839 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6840 win32 threads.
6841 (x86_64-*-mingw*): Likewise.
6842 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6843 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6844 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6845 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6846 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6847 tmake_file.
6848 (mipsisa64sr71k-*-elf*): Likewise.
6849 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6850 (mips-*-elf*, mipsel-*-elf*): Likewise.
6851 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6852 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6853 (mips*-*-rtems*): Likewise.
6854 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6855 to tmake_file.
6856 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6857 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6858 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6859 (spu-*-elf*): Likewise.
6860 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6861
6862 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6863
6864 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6865 $(srcdir) to refer to $(LIB1ASMSRC).
6866 Use $<.
6867 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6868 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6869 config/arm/lib1funcs.S: New files.
6870 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6871 * config/arm/t-arm: New file.
6872 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6873 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6874 config/arm/t-strongarm-elf: New files.
6875 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6876 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6877 * config/avr/lib1funcs.S: New file.
6878 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6879 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6880 * config/c6x/lib1funcs.S: New file.
6881 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6882 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6883 * config/frv/lib1funcs.S: New file.
6884 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6885 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6886 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6887 * config/ia64/__divxf3.asm: Rename to ...
6888 * config/ia64/__divxf3.S: ... this.
6889 Adapt lib1funcs.asm filename.
6890 * config/ia64/_fixtfdi.asm: Rename to ...
6891 * config/ia64/_fixtfdi.S: ... this.
6892 Adapt lib1funcs.asm filename.
6893 * config/ia64/_fixunstfdi.asm: Rename to ...
6894 * config/ia64/_fixunstfdi.S: ... this.
6895 Adapt lib1funcs.asm filename.
6896 * config/ia64/_floatditf.asm: Rename to ...
6897 * config/ia64/_floatditf.S: ... this.
6898 Adapt lib1funcs.asm filename.
6899 * config/ia64/lib1funcs.S: New file.
6900 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6901 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6902 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6903 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6904 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6905 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6906 * config/mep/lib1funcs.S: New file.
6907 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6908 * config/mips/mips16.S: New file.
6909 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6910 * config/pa/milli64.S: New file.
6911 * config/pa/t-linux, config/pa/t-linux64: New files.
6912 * config/picochip/lib1funcs.S: New file.
6913 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6914 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6915 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6916 * config/sh/t-netbsd: New file.
6917 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6918 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6919 * config/sh/t-sh64: New file.
6920 * config/sparc/lb1spc.S: New file.
6921 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6922 filename.
6923 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6924 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6925 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6926 config/xtensa/lib1funcs.S: New files.
6927 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6928 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6929 tmake_file.
6930 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6931 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6932 (arm*-*-linux*): Likewise.
6933 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6934 arm*-*-linux-*eabi, add arm/t-linux otherwise.
6935 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6936 (arm*-*-ecos-elf): Likewise.
6937 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6938 (arm*-*-rtems*): Likewise.
6939 (arm*-*-elf): Likewise.
6940 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6941 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6942 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6943 (bfin*-uclinux*): Likewise.
6944 (bfin*-linux-uclibc*): Likewise.
6945 (bfin*-rtems*): Likewise.
6946 (bfin*-*): Likewise.
6947 (fido-*-elf): Merge into m68k-*-elf*.
6948 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6949 (frv-*-*linux*): Add frv/t-frv to tmake_file.
6950 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6951 (h8300-*-elf*): Likewise.
6952 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6953 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6954 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6955 (i[34567]86-*-mingw*): Likewise.
6956 (x86_64-*-mingw*): Likewise.
6957 (i[34567]86-*-interix3*): Likewise.
6958 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6959 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6960 (m68k-*-elf*): Also handle fido-*-elf.
6961 Add m68k/t-floatlib to tmake_file.
6962 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6963 (m68k-*-linux*): Likewise.
6964 (m68k-*-rtems*): Likewise.
6965 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6966 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6967 sh64*-*-*.
6968 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6969 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6970 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6971 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6972 sh/t-netbsd to tmake_file.
6973 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6974 (sh-*-rtems*): Add sh/t-sh to tmake_file.
6975 (sh-wrs-vxworks): Likewise.
6976 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6977 *-leon[3-9]*.
6978 (v850*-*-*): Add v850/t-v850 to tmake_file.
6979 (vax-*-linux*): Add vax/t-linux to tmake_file.
6980 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6981
6982 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6983
6984 * crtstuff.c: New file.
6985 * Makefile.in (CRTSTUFF_CFLAGS): Define.
6986 (CRTSTUFF_T_CFLAGS): Define.
6987 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6988 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6989 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6990 crtstuff.c.
6991 Use $<.
6992 (crtbeginT.o): Use $(objext).
6993 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6994 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6995 (gcc-extra-parts): Remove.
6996 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6997 Set extra_parts.
6998 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6999 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7000 Add t-crtstuff-pic to tmake_file.
7001 (*-*-lynxos*): New case.
7002 Set tmake_file, extra_parts.
7003 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7004 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7005 *-*-netbsdelf[2-9]*.
7006 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7007 (*-*-rtems*): Set extra_parts.
7008 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7009 (*-*-uclinux*): New case.
7010 Set extra_parts.
7011 (*-*-vms*): New case.
7012 Set tmake_file, extra_parts.
7013 (*-*-elf): Set extra_parts.
7014 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7015 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7016 vms/t-vms64.
7017 Set extra_parts.
7018 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7019 Set extra_parts.
7020 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7021 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7022 (arm-wrs-vxworks): Append to tmake_file.
7023 Set extra_parts.
7024 (arm*-*-uclinux*): Set extra_parts.
7025 (arm*-*-ecos-elf): Likewise.
7026 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7027 arm*-*-eabi*.
7028 (arm*-*-rtems*): Set extra_parts.
7029 (arm*-*-elf): Likewise.
7030 (avr-*-rtems*): Clear extra_parts.
7031 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7032 Set extra_parts.
7033 (bfin*-uclinux*): Likewise.
7034 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7035 (bfin*-rtems*): Append to tmake_file.
7036 Set extra_parts.
7037 (bfin*-*): Likewise.
7038 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7039 (crisv32-*-elf): ... this.
7040 (crisv32-*-none): ... this.
7041 (cris-*-elf, cris-*-none): New cases.
7042 Add cris/t-elfmulti to tmake_file.
7043 (fr30-*-elf): Append to tmake_file.
7044 Set extra_parts.
7045 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7046 Set extra_parts.
7047 (h8300-*-rtems*): Append to tmake_file.
7048 Set extra_parts.
7049 (h8300-*-elf*): Likewise.
7050 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7051 Set extra_parts.
7052 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7053 Set extra_parts.
7054 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7055 (x86_64-*-elf*): Likewise.
7056 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7057 (x86_64-*-freebsd*): Likewise.
7058 (x86_64-*-netbsd*): Likewise.
7059 (i[34567]86-*-linux*): Likewise.
7060 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7061 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7062 (x86_64-*-linux*): Likewise.
7063 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7064 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7065 tmake_file.
7066 Set extra_parts.
7067 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7068 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7069 Append to extra_parts, remove crtbegin.o, crtend.o.
7070 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7071 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7072 crtend.o, crtbeginS.o, crtendS.o.
7073 (ia64*-*-linux*): Comment extra_parts.
7074 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7075 Set extra_parts.
7076 (iq2000*-*-elf*): Clear extra_parts.
7077 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7078 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7079 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7080 (m32r-*-rtems*): ... this.
7081 Add m32r/t-m32r to tmake_file.
7082 (m68k-*-elf*): Add t-crtin to tmake_file.
7083 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7084 (mcore-*-elf): Likewise.
7085 (microblaze*-*-*): Set extra_parts.
7086 (mips*-sde-elf*): New case.
7087 Set tmake_file, extra_parts.
7088 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7089 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7090 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7091 tmake_file.
7092 Set extra_parts.
7093 (mipsisa64sr71k-*-elf*): Likewise.
7094 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7095 (mips-*-elf*, mipsel-*-elf*): Likewise.
7096 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7097 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7098 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7099 (mips*-*-rtems*): Likewise.
7100 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7101 (moxie-*-*): Split into ...
7102 (moxie-*-elf, moxie-*-uclinux*): ... this.
7103 Add to extra_parts, remove crtbegin.o, crtend.o.
7104 (moxie-*-rtems*): New case.
7105 Set tmake_file.
7106 Clear extra_parts.
7107 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7108 Set extra_parts.
7109 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7110 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7111 tmake_file.
7112 Set extra_parts.
7113 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7114 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7115 Set extra_parts.
7116 (powerpc-*-eabisim*): Likewise.
7117 (powerpc-*-elf*): Likewise.
7118 (powerpc-*-eabialtivec*): Likewise.
7119 (powerpc-xilinx-eabi*): Likewise.
7120 (powerpc-*-eabi*): Likewise.
7121 (powerpc-*-rtems*): Likewise.
7122 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7123 tmake_file.
7124 Set extra_parts.
7125 (powerpc-*-lynxos*): Add to tmake_file.
7126 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7127 rs6000/t-crtstuff, t-crtstuff-pic.
7128 Set extra_parts.
7129 (powerpcle-*-eabisim*): Likewise.
7130 (powerpcle-*-eabi*): Likewise.
7131 (rx-*-elf): Remove extra_parts.
7132 (s390x-ibm-tpf*): Set extra_parts.
7133 (score-*-elf): Set extra_parts.
7134 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7135 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7136 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7137 (sh64l*-*-netbsd*): Split into ...
7138 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7139 Add t-crtstuff-pic to tmake_file.
7140 Set extra_parts.
7141 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7142 Set extra_parts.
7143 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7144 (sparc-*-elf*): Remove t-crtin from tmake_file.
7145 Add to extra_parts, remove crtbegin.o, crtend.o.
7146 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7147 (sparc64-*-linux*): Likewise.
7148 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7149 Add to extra_parts, remove crtbegin.o, crtend.o.
7150 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7151 Add to extra_parts, remove crtbegin.o, crtend.o.
7152 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7153 Add to extra_parts, remove crtbegin.o, crtend.o.
7154 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7155 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7156 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7157 Set extra_parts.
7158 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7159 Set extra_parts.
7160 (tic6x-*-*): Change to ...
7161 (tic6x-*-elf): ... this.
7162 Set extra_parts.
7163 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7164 Set extra_parts.
7165 (am33_2.0-*-linux*): Add comment.
7166 (mep*-*-*): Add mep/t-mep to tmake_file.
7167 Set extra_parts.
7168 * config/alpha/t-vms: New file.
7169 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7170 * config/arm/crti.S, config/arm/crtn.S: New files.
7171 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7172 * config/bfin/crtlibid.S: New file.
7173 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7174 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7175 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7176 (crti.o, crtin.o): New rules.
7177 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7178 * config/c6x/t-uclinux: New file.
7179 * config/cris/t-elfmulti: New file.
7180 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7181 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7182 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7183 * config/frv/t-frv: New file.
7184 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7185 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7186 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7187 New files.
7188 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7189 refer to cygming-crtbegin.c, cygming-crtend.c.
7190 Use $<.
7191 * config/i386/t-nto: New file.
7192 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7193 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7194 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7195 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7196 Use .S extension.
7197 Use $<.
7198 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7199 (crtinitS.o): New rule.
7200 * config/ia64/vms-crtinit.S: New file.
7201 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7202 * config/m32r/initfini.c: New file.
7203 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7204 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7205 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7206 * config/mep/t-mep: New file.
7207 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7208 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7209 * config/mips/crti.S, config/mips/crtn.S: New files.
7210 * config/mips/t-crtstuff: New file.
7211 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7212 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7213 (CUSTOM_CRTIN): Set.
7214 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7215 dependencies.
7216 Use $(srcdir) to refer to crti.S, crtn.S.
7217 Use .S extension, $<.
7218 * config/moxie/crti.asm: Rename to ...
7219 * config/moxie/crti.S: ... this.
7220 * config/moxie/crtn.asm: Rename to ...
7221 * config/moxie/crtn.S: ... this.
7222 * config/moxie/t-moxie: Remove.
7223 * config/pa/stublib.c: New file.
7224 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7225 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7226 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7227 * config/rs6000/t-crtstuff: New file.
7228 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7229 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7230 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7231 Make output file explicit.
7232 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7233 Make output file explicit.
7234 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7235 Make output file explicit.
7236 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7237 Make output file explicit.
7238 * config/score/crti.S, config/score/crtn.S: New files.
7239 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7240 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7241 files.
7242 * config/sh/t-sh, config/sh/t-superh: New files.
7243 * config/sparc/t-linux64: New file.
7244 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7245 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7246 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7247 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7248 * config/t-crtin: Remove.
7249 * config/t-crtstuff-pic: New file.
7250 * config/t-sol2 (CUSTOM_CRTIN): Set.
7251 (crti.o, crtn.o): New rules.
7252 * config/vms/t-vms: New file.
7253 * config/vms/vms-ucrt0.c: New file.
7254 * config/xtensa/t-elf: New file.
7255
7256 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7257
7258 * Makefile.in (SHLIB_NM_FLAGS): Set.
7259 * mkmap-flat.awk, mkmap-symver.awk: New files.
7260 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7261 exceptions.
7262 * configure: Regenerate.
7263 * config/libgcc-glibc.ver: New file.
7264 * config/libgcc-libsystem.ver: New file.
7265 * config/t-libunwind (SHLIB_LC): Set.
7266 * config/t-linux: New file.
7267 * config/t-slibgcc (INSTALL_SHLIB): New.
7268 (SHLIB_INSTALL): Use it.
7269 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7270 to mkmap-symver.awk.
7271 (SHLIB_MAPFILES): Don't append, adapt pathname.
7272 (SHLIB_VERPFX): Set.
7273 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7274 to mkmap-symver.awk.
7275 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7276 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7277 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7278 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7279 to mkmap-flat.awk.
7280 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7281 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7282 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7283 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7284 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7285 * config/i386/libgcc-darwin.10.4.ver,
7286 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7287 New files.
7288 * config/i386/t-darwin: Remove.
7289 * config/i386/t-darwin64: Likewise.
7290 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7291 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7292 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7293 * config/i386/t-linux: New file.
7294 * config/i386/t-mingw32: New file.
7295 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7296 * config/ia64/t-glibc: Rename to ...
7297 * config/ia64/t-linux: ... this.
7298 (SHLIB_MAPFILES): Set.
7299 * config/ia64/t-glibc-libunwind: Rename to ...
7300 * config/ia64/t-linux-libunwind: ... this.
7301 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7302 * config/ia64/t-slibgcc-hpux: New file.
7303 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7304 * config/m68k/t-slibgcc-elf-ver: New file.
7305 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7306 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7307 to mkmap-flat.awk.
7308 * config/pa/t-slibgcc-hpux: New file.
7309 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7310 files.
7311 * config/rs6000/libgcc-darwin.10.4.ver,
7312 config/rs6000/libgcc-darwin.10.5.ver: New files.
7313 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7314 config/rs6000/libgcc-glibc.ver.
7315 * config/rs6000/libgcc-ppc64.ver: Rename to
7316 config/rs6000/libgcc-ibm-ldouble.ver.
7317 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7318 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7319 * config/rs6000/t-ldbl128: Rename to ...
7320 * config/rs6000/t-linux: ... this.
7321 (SHLIB_MAPFILES): Adapt filename.
7322 * config/rs6000/t-slibgcc-aix: New file.
7323 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7324 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7325 libgcc-excl.ver, libgcc-glibc.ver.
7326 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7327 * config/sparc/libgcc-glibc.ver: New file.
7328 * config/sparc/t-linux: New file.
7329 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7330 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7331 t-slibgcc-elf-ver to tmake_file.
7332 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7333 *-*-freebsd[34].
7334 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7335 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7336 t-slibgcc-elf-ver, t-linux to tmake_file.
7337 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7338 tmake_file.
7339 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7340 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7341 (alpha*-dec-*vms*): Likewise.
7342 (arm*-*-freebsd*): Append to tmake_file.
7343 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7344 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7345 arm*-*-linux-*eabi.
7346 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7347 tmake_file for arm*-*-symbianelf*.
7348 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7349 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7350 cris/t-linux.
7351 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7352 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7353 pa/t-slibgcc-dwarf-ver to tmake_file.
7354 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7355 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7356 (hppa*64*-*-hpux11*): Likewise.
7357 (hppa[12]*-*-hpux11*): Likewise.
7358 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7359 i386/t-crtpc, i386/t-crtfm.
7360 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7361 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7362 to tmake_file.
7363 Add i386/t-cygwin to tmake_file.
7364 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7365 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7366 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7367 to tmake_file.
7368 Add i386/t-mingw32 to tmake_file.
7369 (x86_64-*-mingw*): Likewise.
7370 (ia64*-*-freebsd*): Append to tmake_file.
7371 (ia64*-*-linux*): Append to tmake_file.
7372 Replace ia64/t-glibc by ia64/t-linux.
7373 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7374 system libunwind.
7375 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7376 t-slibgcc-hpux to tmake_file.
7377 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7378 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7379 (m32rle-*-linux*): Likewise.
7380 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7381 sjlj exceptions.
7382 (microblaze*-linux*): New case.
7383 Append to tmake_file, add t-slibgcc-nolc-override.
7384 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7385 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7386 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7387 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7388 rs6000/t-slibgcc-aix to tmake_file.
7389 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7390 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7391 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7392 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7393 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7394 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7395 sh*-*-linux*.
7396 (sparc-*-linux*): Append to tmake_file for *-leon*.
7397 Add sparc/t-linux to tmake_file for non-Leon targets.
7398 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7399 (tic6x-*-uclinux): New case.
7400 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7401 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7402 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7403 (am33_2.0-*-linux*): Append to tmake_file.
7404 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7405 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7406 x86_64-*-kfreebsd*-gnu.
7407 Add i386/t-linux to tmake_file.
7408
7409 2011-10-28 Ian Lance Taylor <iant@google.com>
7410
7411 * config/i386/morestack.S: Correct CFI information to do proper
7412 returns throughout function. In 32-bit mode, save %ebx so that it
7413 is restored on unwind.
7414
7415 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7416
7417 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7418 case where B3 isn't the return register.
7419
7420 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7421 logic for doubleword pops.
7422
7423 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7424
7425 * config/rs6000/t-freebsd: Add wildcard.
7426
7427 2011-10-21 Paul Brook <paul@codesourcery.com>
7428
7429 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7430
7431 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7432 Eric Botcazou <ebotcazou@adacore.com>
7433
7434 PR target/50737
7435 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7436 fs->signal_frame to 1.
7437
7438 2011-10-07 Ian Lance Taylor <iant@google.com>
7439
7440 * generic-morestack-thread.c: #include <errno.h>.
7441
7442 2011-10-07 Ian Lance Taylor <iant@google.com>
7443
7444 PR target/46093
7445 * generic-morestack.c (__generic_morestack): Make sure the segment
7446 is large enough for both the stack frame and the copied
7447 parameters.
7448
7449 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7450
7451 PR bootstrap/49804
7452 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7453 extra_parts.
7454
7455 2011-09-28 Nick Clifton <nickc@redhat.com>
7456
7457 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7458 64-bit doubles are not enabled.
7459 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7460 and floatunsisf functions.
7461
7462 2011-09-13 Paul Brook <paul@codesourcery.com>
7463
7464 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7465 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7466 * unwind-arm-common.inc: New file.
7467 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7468 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7469 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7470 * config/c6x/libunwind.S: New file.
7471 * config/c6x/pr-support.c: New file.
7472 * config/c6x/unwind-c6x.c: New file.
7473 * config/c6x/unwind-c6x.h: New file.
7474 * config/c6x/t-c6x-elf: New file.
7475
7476 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
7477
7478 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7479 (ASM_DIVZERO): Ditto.
7480 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7481
7482 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7483
7484 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7485
7486 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7487
7488 PR target/50090
7489 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7490 instead of an assembly one.
7491
7492 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
7493
7494 PR bootstrap/50047
7495 * Makefile.in (install-unwind_h): Create
7496 $(gcc_objdir)/include/unwind.h atomically.
7497
7498 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7499
7500 * Makefile.in (install-unwind_h): Remove destination file first.
7501
7502 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7503
7504 * sync.c: New file.
7505 * config/mips/t-mips16: New file.
7506 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7507 (mips*-*-linux*): Likewise.
7508 (mips*-sde-elf*): Likewise.
7509 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7510 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7511 Add mips/t-mips16 to tmake_file.
7512 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7513 (mips-*-elf*): Likewise.
7514 (mips64-*-elf*): Likewise.
7515 (mips64orion-*-elf*): Likewise.
7516 (mips*-*-rtems*): Likewise.
7517 (mipstx39-*-elf*): Likewise.
7518 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7519 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7520 LIBGCC_SYNC_CFLAGS.
7521 Use $(srcdir) to refer to sync.c.
7522 Use $<.
7523 ($(libgcc-sync-funcs-o)): Likewise.
7524 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7525 ($(libgcc-sync-funcs-s-o)): Likewise.
7526
7527 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7528
7529 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7530 t-libunwind.
7531
7532 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7533
7534 PR other/48007
7535 * config/i386/value-unwind.h: New.
7536
7537 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7538
7539 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7540 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7541 Add to tmake_file rather than overriding it.
7542
7543 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7544
7545 * config/t-softfp: Remove.
7546 * soft-fp: Moved from ../gcc/config.
7547 * soft-fp/README: Remove t-softfp reference.
7548 * soft-fp/t-softfp: Move to config/t-softfp.
7549 (softfp_machine_header): Remove.
7550 (softfp_file_list): Remove config subdir.
7551 (soft-fp-objects): New variable.
7552 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7553 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7554 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7555 * config/t-softfp-excl: New file.
7556 * config/t-softfp-sfdf: New file.
7557 * config/t-softfp-tf: New file.
7558 * config/no-sfp-machine.h: New file.
7559 * config/arm/sfp-machine.h: New file.
7560 * config/arm/t-softfp: New file.
7561 * config/c6x/sfp-machine.h: New file.
7562 * config/i386/32/t-fprules-softfp: Rename to ...
7563 * config/i386/32/t-softfp: ... this.
7564 (tifunctions, LIB2ADD): Remove.
7565 (softfp_int_modes): Override.
7566 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7567 subdir.
7568 * config/i386/64/eqtf2.c: Likewise.
7569 * config/i386/64/getf2.c: Likewise.
7570 * config/i386/64/letf2.c: Likewise.
7571 * config/ia64/sft-machine.h: New file.
7572 * config/ia64/t-fprules-softfp: Rename to ...
7573 * config/ia64/t-softfp: ... this.
7574 * config/lm32/sfp-machine.h: New file.
7575 * config/moxie/t-moxie-softfp: Remove.
7576 * config/rs6000/ibm-ldouble-format: New file.
7577 * config/rs6000/ibm-ldouble.c: New file.
7578 * config/rs6000/libgcc-ppc-glibc.ver: New file
7579 * config/rs6000/libgcc-ppc64.ver: New file
7580 * config/rs6000/sfp-machine.h: New file.
7581 * config/rs6000/t-freebsd: New file.
7582 * config/rs6000/t-ibm-ldouble: New file.
7583 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7584 libgcc-ppc-glibc.ver.
7585 * config/rs6000/t-linux64: New file.
7586 * config/rs6000/t-ppccomm (LIB2ADD): Add
7587 $(srcdir)/config/rs6000/ibm-ldouble.c.
7588 * config/rs6000/t-ppccomm-ldbl: New file.
7589 * config/score/sfp-machine.h: New file.
7590 * config.host (sfp_machine_header): Explain.
7591 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7592 t-softfp to tmake_file.
7593 (arm*-*-uclinux*): Likewise.
7594 (arm*-*-ecos-elf): Likewise.
7595 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7596 (arm*-*-rtems*): Likewise.
7597 (arm*-*-elf): Likewise.
7598 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7599 in tmake_file.
7600 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7601 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7602 (lm32-*-uclinux*): Likewise.
7603 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7604 t-softfp-excl, t-softfp.
7605 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7606 (powerpc64-*-darwin*): Likewise.
7607 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7608 to tmake_file.
7609 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7610 tmake_file.
7611 (powerpc-*-eabisim*): Likewise.
7612 (powerpc-*-elf*): Likewise.
7613 (powerpc-*-eabialtivec*): Likewise.
7614 (powerpc-xilinx-eabi*): Likewise.
7615 (powerpc-*-rtems*): Likewise.
7616 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7617 t-softfp-excl, t-softfp to tmake_file.
7618 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7619 rs6000/t-ppccomm-ldbl to tmake_file.
7620 (powerpcle-*-elf*): Likewise.
7621 (powerpcle-*-eabisim*): Likewise.
7622 (powerpcle-*-eabi*): Likewise.
7623 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7624 rs6000/t-ibm-ldouble to tmake_file.
7625 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7626 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7627 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7628 (tic6x-*-*): Likewise.
7629 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7630 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7631 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7632 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7633 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7634 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7635 t-softfp to tmake_file.
7636 * configure.ac (sfp_machine_header): Provide default if unset.
7637 Substitute.
7638 Link sfp-machine.h to config/$sfp_machine_header.
7639 * configure: Regenerate.
7640
7641 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7642
7643 * Makefile.in (double_type_size, long_double_type_size): Set.
7644 Remove $(fpbit-in-libgcc) support.
7645 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7646 (fpbit-src): New variable.
7647 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7648 Compile with -DFLOAT $(FPBIT_CFLAGS).
7649 Use $<.
7650 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7651 Compile with $(FPBIT_CFLAGS).
7652 Use $<.
7653 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7654 Compile with -DFLOAT $(TPBIT_CFLAGS).
7655 Use $<.
7656 * configure.ac (double_type_size, long_double_type_size):
7657 Determine and substitute.
7658 * configure: Regenerate.
7659 * fp-bit.c, fp-bit.h: New files.
7660 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7661 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7662 * config/mips/t-mips: New file.
7663 * config/mips/t-sdemtk: New file.
7664 * config/rs6000/ppc64-fp.c: New file.
7665 * config/rs6000/t-darwin (LIB2ADD): Add
7666 $(srcdir)/config/rs6000/ppc64-fp.c.
7667 * config/rs6000/t-ppc64-fp: New file.
7668 * config/rx/rx-lib.h: New file.
7669 * config/rx/t-rx (FPBIT): Set to true.
7670 ($(gcc_objdir)/fp-bit.c): Remove.
7671 (DPBIT): Set to true only with -m64bit-doubles.
7672 ($(gcc_objdir)/dp-bit.c): Remove.
7673 * config/sparc/t-softfp: Remove.
7674 * config/spu/t-elf: New file.
7675 * config/t-fdpbit, config/t-fpbit: New files.
7676 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7677 (mips*-*-*): Likewise.
7678 (arm-wrs-vxworks): Likewise.
7679 (arm*-*-freebsd*): Likewise.
7680 (avr-*-rtems*): Add t-fpbit to tmake_file.
7681 (avr-*-*): Likewise.
7682 (bfin*-elf*): Add t-fdpbit to tmake_file.
7683 (bfin*-uclinux*): Likewise.
7684 (bfin*-linux-uclibc*): Likewise.
7685 (bfin*-rtems*): New case.
7686 Add t-fdpbit to tmake_file.
7687 (bfin*-*): Add t-fdpbit to tmake_file.
7688 (crisv32-*-elf): Likewise.
7689 (cris-*-linux*): Likewise.
7690 (fr30-*-elf): Likewise.
7691 (frv-*-elf, frv-*-*linux*): Likewise.
7692 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7693 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7694 (m32r-*-elf*): Likewise.
7695 (m32rle-*-elf*): Likewise.
7696 (m32r-*-linux*): Likewise.
7697 (m32rle-*-linux*): Likewise.
7698 (mcore-*-elf): Add t-fdpbit to tmake_file.
7699 (microblaze*-*-*): Likewise.
7700 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7701 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7702 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7703 Fix typo.
7704 Add mips/t-tpbit to tmake-file.
7705 (mips*-*-linux*): Fix typo.
7706 (mips*-sde-elf*): New case
7707 Add mips/t-sdemtk unless using newlib.
7708 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7709 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7710 (mn10300-*-*): Likewise.
7711 (pdp11-*-*): Likewise.
7712 (picochip-*-*): Add t-fpbit to tmake_file.
7713 (powerpc-*-eabisimaltivec*): Likewise.
7714 (powerpc-*-eabisim*): Likewise.
7715 (powerpc-*-elf*): Likewise.
7716 (powerpc-*-eabialtivec*): Likewise.
7717 (powerpc-xilinx-eabi*): New case.
7718 Add t-fdpbit to tmake_file.
7719 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7720 (powerpc-*-rtems*): Likewise.
7721 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7722 tmake_file.
7723 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7724 tmake_file.
7725 (powerpc-*-lynxos*): Likewise.
7726 (powerpcle-*-elf*): Likewise.
7727 (powerpcle-*-eabisim*): Likewise.
7728 (powerpcle-*-eabi*): Likewise.
7729 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7730 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7731 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7732 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7733 (rx-*-elf): Add t-fdpbit to tmake_file.
7734 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7735 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7736 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7737 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7738 sh*-*-netbsd*.
7739 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7740 (sh-wrs-vxworks): Likewise.
7741 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7742 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7743 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7744 (sparc64-*-rtems*): ... new case.
7745 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7746 (spu-*-elf*): Likewise.
7747 Add spu/t-elf to tmake_file.
7748 (v850*-*-*): Add t-fdpbit to tmake_file.
7749 (xstormy16-*-elf): Likewise.
7750 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7751 (mep*-*-*): Likewise.
7752
7753 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7754
7755 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7756 variables.
7757 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7758 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7759 (install-unwind_h): New target.
7760 (all): Depend on it.
7761 * config.host (unwind_header): New variable.
7762 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7763 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7764 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7765 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7766 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7767 Set unwind_header.
7768 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7769 Set unwind_header.
7770 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7771 arm*-*-eabi*.
7772 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7773 Set unwind_header.
7774 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7775 (ia64*-*-freebsd*): Likewise.
7776 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7777 tmake_file.
7778 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7779 $with_system_libunwind.
7780 (ia64*-*-hpux*): Set tmake_file.
7781 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7782 (picochip-*-*): Set tmake_file.
7783 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7784 md_unwind_header.
7785 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7786 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7787 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7788 (xtensa*-*-elf*): Set tmake_file.
7789 (xtensa*-*-linux*): Likewise.
7790 * configure.ac: Include ../config/unwind_ipinfo.m4.
7791 Call GCC_CHECK_UNWIND_GETIPINFO.
7792 Link unwind.h to $unwind_header.
7793 * configure: Regenerate.
7794 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7795 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7796 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7797 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7798 * config/unwind-dw2-fde-darwin.c: New file.
7799 * config/arm/libunwind.S, config/arm/pr-support.c,
7800 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7801 config/arm/unwind-arm.h,: New files.
7802 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7803 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7804 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7805 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7806 config/ia64/unwind-ia64.h: New files.
7807 * config/picochip/t-picochip: New file.
7808 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7809 files.
7810 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7811 * config/s390/t-tpf (LIB2ADDEH): Remove.
7812 * config/t-darwin (LIB2ADDEH): Set.
7813 * config/t-eh-dw2-dip: New file.
7814 * config/t-libunwind, config/t-libunwind-elf: New files.
7815 * config/t-sol2 (LIB2ADDEH): Remove.
7816 * config/xtensa/t-xtensa: New file.
7817
7818 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
7819
7820 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7821 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7822 long long to check rt_sigreturn syscall.
7823
7824 2011-08-02 Alan Modra <amodra@gmail.com>
7825
7826 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7827 Restore for indirect call bcrtl from correct stack slot, and only
7828 if cfa+40 isn't valid.
7829
7830 2011-08-01 Julian Brown <julian@codesourcery.com>
7831
7832 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7833 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7834 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7835
7836 2011-08-01 Julian Brown <julian@codesourcery.com>
7837
7838 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7839 (libgcc-std.ver.in): Use above.
7840 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7841 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
7842 throughout file.
7843 * config/t-fixedpoint-gnu-prefix: New file.
7844 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7845 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7846 instead of __PFX__.
7847
7848 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
7849
7850 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7851 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7852 for x86-64. Properly check __x86_64__ and __LP64__.
7853
7854 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
7855
7856 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7857 version.
7858 (_FP_WS_TYPE): Likewise.
7859 (_FP_I_TYPE): Likewise.
7860
7861 2011-07-28 Alan Modra <amodra@gmail.com>
7862
7863 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7864 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7865 in a plt call stub. Do restore r2 if stopped on bctrl.
7866
7867 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7868
7869 * config.host (i[3456x]86-*-netware*): Remove.
7870 * config/i386/netware-crt0.c, config/i386/t-nwld,
7871 config/i386/t-slibgcc-nwld: Remove.
7872
7873 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7874
7875 * config.host: Handle tic6x-*-*.
7876 * config/c6x/c6x-abi.h: New file.
7877
7878 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7879
7880 * config/i386/crtprec.c: New file.
7881 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7882 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7883 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7884 (x86_64-*-darwin*): Likewise.
7885 (i[34567]86-*-solaris2*: Likewise.
7886
7887 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7888
7889 * config/alpha/crtfastmath.c: New file.
7890 * config/i386/crtfastmath.c: New file.
7891 * config/ia64/crtfastmath.c: New file.
7892 * config/mips/crtfastmath.c: New file.
7893 * config/sparc/crtfastmath.c: New file.
7894
7895 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7896 crtfastmath.c.
7897 Add -frandom-seed=gcc-crtfastmath.
7898 * config/alpha/t-crtfm: Remove.
7899 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7900 * config/ia64/t-ia64 (crtfastmath.o): Remove.
7901
7902 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7903 (alpha*-dec-osf5.1*): Likewise.
7904 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7905 Add crtfastmath.o to extra_parts.
7906 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7907 Add crtfastmath.o to extra_parts.
7908 (x86_64-*-darwin*): Likewise.
7909 (x86_64-*-mingw*): Likewise.
7910 (ia64*-*-elf*): Add t-crtfm to tmake_file.
7911 (ia64*-*-freebsd*): Likewise.
7912 (ia64*-*-linux*): Likewise.
7913 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7914 Add crtfastmath.o to extra_parts.
7915
7916 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7917
7918 * config/darwin-crt3.o: New file.
7919 * config/rs6000/darwin-crt2.c: New file.
7920 * config/t-darwin: New file.
7921 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7922 (crt2.o): New rule.
7923 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7924 (powerpc-*-darwin*): Add crt2.o to extra_parts.
7925 (powerpc64-*-darwin*): Likewise.
7926
7927 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7928
7929 * config/i386/netware-crt0.c: New file.
7930 * config/i386/t-nwld: Rename to ...
7931 * config/i386/t-slibgcc-nwld: ... this.
7932 * config/i386/t-nwld: New file.
7933 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7934 tmake_file.
7935 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7936 extra_parts.
7937
7938 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7939
7940 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7941 i386/t-crtstuff.
7942 * configure: Regenerate.
7943
7944 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7945
7946 * dfp-bit.c, dfp-bit.h: New files.
7947 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7948 variables.
7949 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7950 ($(d64pbit-o)): Likewise.
7951 ($(d128pbit-o)): Likewise.
7952 * config/t-dfprules: New file.
7953 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7954 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7955 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7956 (x86_64-*-linux*): Likewise.
7957 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7958 (i[34567]86-*-cygwin*): Likewise.
7959 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
7960 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7961
7962 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7963
7964 * Makfile.in (LIBGCOV): New variable.
7965 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7966 * libgcov.c: New file.
7967
7968 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7969
7970 * fixed-bit.c, fixed-bit.h: New files.
7971 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7972 refer to fixed-bit.c.
7973
7974 2011-07-07 Joseph Myers <joseph@codesourcery.com>
7975
7976 * config.host (*local*): Remove.
7977
7978 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7979
7980 PR target/39150
7981 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7982 like i?86-*-solaris2.1[0-9]*.
7983 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7984 * configure.ac (i?86-*-solaris2*): Likewise.
7985 * configure: Regenerate.
7986
7987 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
7988
7989 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7990 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7991 md_unwind_header by splitting out of...
7992 (i[34567]86-*-linux*): ... this.
7993 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7994 Remove md_unwind_header by splitting out of...
7995 (x86_64-*-linux*): ... this.
7996
7997 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
7998
7999 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8000
8001 2011-06-28 Nick Clifton <nickc@redhat.com>
8002
8003 * config.host: Recognize all V850 variants.
8004
8005 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8006
8007 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8008
8009 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8010
8011 * shared-object.mk (c_flags-$o): Save c_flags.
8012 ($(base)$(objext)): Use it.
8013 ($(base)_s$(objext)): Likewise.
8014
8015 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8016
8017 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8018 * libgcc-std.ver.in (GCC_4.7.0): New section.
8019
8020 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8021
8022 PR target/49313
8023 PR target/29524
8024 * config/avr/t-avr: Fix line endings.
8025 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8026 _parityXX2.
8027
8028 2011-06-14 Olivier Hainque <hainque@adacore.com>
8029 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8030
8031 * config/mips/irix6-unwind.h: New file.
8032 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8033
8034 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8035
8036 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8037 (sparc64_fallback_frame_state): Use it.
8038 (sparc64_frob_update_context): Further adjust context.
8039 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8040 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8041 * config/sparc/sol2-cn.S: Likewise.
8042
8043 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8044
8045 * enable-execute-stack-empty.c: New file.
8046 * enable-execute-stack-mprotect.c: New file.
8047 * config/i386/enable-execute-stack-mingw32.c: New file.
8048 * config.host (enable_execute_stack): New variable.
8049 Select appropriate variants.
8050 * configure.ac: Link enable-execute-stack.c to
8051 $enable_execute_stack.
8052 * configure: Regenerate.
8053 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8054 (lib2funcs): Remove _enable_execute_stack.
8055
8056 2011-06-09 David S. Miller <davem@davemloft.net>
8057 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8058
8059 * config.host (sparc-*-linux*): Correct md_unwind_header
8060 filename.
8061 (s390x-ibm-tpf*): Fix typo.
8062
8063 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8064
8065 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8066 Add crtfastmath.o to extra_parts.
8067 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8068 mips/t-crtfm.
8069 * config/mips/t-crtfm: Remove.
8070
8071 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8072
8073 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8074
8075 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8076
8077 * config.host (sh*-*-linux*): Fix typo.
8078
8079 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8080
8081 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8082 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8083 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8084 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8085 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8086 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8087 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8088 Wrap in !__MINGW64__.
8089 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8090 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8091 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8092 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8093 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8094 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8095 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8096 Wrap in !__LP64__.
8097 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8098 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8099 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8100 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8101 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8102 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8103 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8104 * config/no-unwind.h: New file.
8105 * config.host (md_unwind_header): Document.
8106 Define.
8107 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8108 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8109 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8110 hppa[12]*-*-hpux11*): Set md_unwind_header.
8111 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8112 Set md_unwind_header.
8113 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8114 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8115 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8116 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8117 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8118 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8119 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8120 md_unwind_header.
8121 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8122 * configure: Regenerate.
8123
8124 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8125
8126 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8127 Set tmake_file, extra_parts.
8128 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8129 Remove O32 support.
8130 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8131 Remove O32 support.
8132 * config/mips/t-irix6: New file.
8133 * config/mips/t-slibgcc-irix: New file.
8134
8135 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8136
8137 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8138 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8139
8140 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8141
8142 * configure.ac (target_thread_file): Determine thread model.
8143 * configure: Regenerate.
8144 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8145 * config/alpha/t-alpha: New file.
8146 * config/alpha/t-crtfm: Use $<.
8147 * config/alpha/t-ieee: New file.
8148 * config/alpha/t-osf-pthread: New file.
8149 * config/alpha/t-slibgcc-osf: New file.
8150 * config/alpha/libgcc-osf5.ver: New file.
8151
8152 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8153
8154 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8155 tmake_file.
8156 Add crtfastmath.o to extra_parts.
8157
8158 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8159
8160 * config/gmon-sol2.c: Reindent.
8161 Cleanup comments.
8162 Remove, correct casts.
8163 Use STDERR_FILENO, NULL.
8164 (BASEADDRESS): Remove.
8165 (minbrk): Remove.
8166 (errno, sbrk): Remove declarations.
8167 (monstartup) [hp300]: Remove.
8168 (mcount): Remove.
8169
8170 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8171
8172 * Makefile.in (cpu_type): Define.
8173 * config.host (i[34567]86-*-rtems*): Handle it.
8174 (i[34567]86-*-solaris2*): Move body ...
8175 (*-*-solaris2*): ... here.
8176 New case, generalize.
8177 (sparc-*-elf*): Handle it.
8178 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8179 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8180 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8181 Fold into ...
8182 (sparc*-*-solaris2*): ... this.
8183 New case.
8184 (sparc64-*-elf*): Handle it.
8185 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8186 Merge ../gcc/config/i386/gmon-sol2.c.
8187 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8188 Use C comments.
8189 Merge ../gcc/config/i386/sol2-gc1.asm.
8190 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8191 Use C comments.
8192 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8193 Use C comments.
8194 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8195 * config/i386/t-crtstuff: New file.
8196 * config/i386/t-softfp: New file.
8197 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8198 $(T)crti.o, $(T)crtn.o): Remove.
8199 (gcrt1.o): New rule.
8200 (TARGET_LIBGCC2_CFLAGS): Remove.
8201 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8202 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8203 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8204 * config/sparc/t-sol2: New file.
8205 * config/sparc/t-crtfm: Move to ...
8206 * config/t-crtfm: ... this.
8207 Use $(cpu_type), $<.
8208 * config/t-crtin: New file.
8209 * config/sparc/t-softfp: New file.
8210 * config/sparc/t-softmul: New file.
8211 * config/t-rtems: New file.
8212 * config/t-slibgcc: New file.
8213 * config/t-slibgcc-elf-ver: New file.
8214 * config/t-slibgcc-gld: New file.
8215 * config/t-slibgcc-sld: New file.
8216 * config/t-sol2: New file.
8217 * configure.ac: Include ../config/lib-ld.m4.
8218 Call AC_LIB_PROG_LD_GNU.
8219 Substitute cpu_type.
8220 * configure: Regenerate.
8221
8222 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8223
8224 PR bootstrap/49173
8225 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8226 libgcc-std.ver in the build directory.
8227 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8228 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8229
8230 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8231
8232 * libgcc-std.ver.in: New file.
8233 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8234 variables.
8235 (libgcc-std.ver): New rule.
8236 * config/t-gnu-prefix: New file.
8237
8238 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8239
8240 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8241
8242 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8243
8244 * config/i386/darwin-lib.h: New file.
8245
8246 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8247
8248 * config/arm/symbian-lib.h: New.
8249
8250 2011-05-04 Chris Demetriou <cgd@google.com>
8251
8252 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8253 (__x86.get_pc_thunk.bx): ...this.
8254 (__morestack): Adjust for rename, remove undef of __i686.
8255
8256 2011-05-03 Chris Demetriou <cgd@google.com>
8257
8258 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8259
8260 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8261
8262 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8263 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8264 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8265 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8266 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8267 Remove cases.
8268
8269 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8270
8271 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8272 Adjust copyright year.
8273
8274 2011-03-07 Ian Lance Taylor <iant@google.com>
8275
8276 * generic-morestack.c (__splitstack_find): Adjust returned stack
8277 pointer to include all registers pushed by __morestack.
8278
8279 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8280
8281 PR target/40125
8282 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8283 (toolexecdir): Calculate and AC_SUBST.
8284 (toolexeclibdir): Likewise.
8285 * Makefile.in (target_noncanonical): Import.
8286 (toolexecdir): Likewise.
8287 (toolexeclibdir): Likewise.
8288 * configure: Regenerate.
8289
8290 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8291
8292 PR target/46040
8293 * config/arm/bpabi.h: Rename to...
8294 * config/arm/bpabi-lib.h: ...this.
8295
8296 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8297
8298 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8299 appropriate.
8300 * configure: Regenerate.
8301
8302 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8303
8304 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8305 __FLOAT_WORD_ORDER__.
8306 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8307 Delete.
8308
8309 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8310
8311 PR other/46202
8312 * Makefile.in (install-strip): New phony target.
8313
8314 2010-11-07 Ian Lance Taylor <iant@google.com>
8315
8316 PR target/46089
8317 * config/i386/morestack.S (__morestack_large_model): New
8318 function.
8319
8320 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8321
8322 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8323 Delete.
8324 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8325
8326 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8327
8328 * config/arm/bpabi.h: New file.
8329 * config/frv/frv-abi.h: New file.
8330
8331 2010-10-01 Ian Lance Taylor <iant@google.com>
8332
8333 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8334 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8335
8336 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8337
8338 PR target/45858
8339 * config.host: Add the missing `$'.
8340
8341 2010-09-30 Michael Eager <eager@eagercon.com>
8342
8343 * config.host: Add microblaze*-*-*.
8344 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8345 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8346 udivsi3.asm,umodsi3.asm}: New.
8347
8348 2010-09-28 Ian Lance Taylor <iant@google.com>
8349
8350 * configure.ac: Adjust CFI test to test assembler directly rather
8351 than checking gcc preprocessor macro.
8352 * configure: Rebuild.
8353
8354 2010-09-27 Ian Lance Taylor <iant@google.com>
8355
8356 * configure.ac: Test whether assembler supports CFI directives.
8357 * config.host: Only add t-stack and i386/t-stack-i386 to
8358 tmake_file if libgcc_cv_cfi is "yes".
8359 * configure: Rebuild.
8360
8361 2010-09-27 Ian Lance Taylor <iant@google.com>
8362
8363 * generic-morestack.h: New file.
8364 * generic-morestack.c: New file.
8365 * generic-morestack-thread.c: New file.
8366 * config/i386/morestack.S: New file.
8367 * config/t-stack: New file.
8368 * config/i386/t-stack-i386: New file.
8369 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8370 i386/t-stack-i386 to tmake_file.
8371
8372 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8373
8374 * Makefile.in (libgcc-extra-parts): Check for static archives and
8375 invoke ranlib after installing them.
8376 (gcc-extra-parts): Likewise.
8377 (install-leaf): Likewise.
8378
8379 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8380
8381 * configure: Regenerated.
8382
8383 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8384
8385 * configure: Regenerated.
8386
8387 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8388 Andrew Pinski <pinskia@gmail.com>
8389
8390 PR target/40959
8391 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8392
8393 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8394
8395 PR target/45524
8396 * configure: Regenerated.
8397
8398 2010-09-06 Andreas Schwab <schwab@redhat.com>
8399
8400 * configure: Regenerate.
8401
8402 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8403
8404 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8405 64bit targets.
8406 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8407 for 64bit targets.
8408
8409 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8410 Iain Sandoe <iains@gcc.gnu.org>
8411
8412 PR target/45476
8413 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8414 LIB2FUNCS_EXCLUDE functions.
8415
8416 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8417
8418 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8419 Include dfp.m4.
8420 * configure: Regenerate.
8421
8422 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8423
8424 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8425 i386/t-freebsd to tmake_file.
8426 * config/i386/t-freebsd: New file.
8427 * config/i386/libgcc-bsd.ver: New file.
8428
8429 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8430
8431 * config.host (powerpc*-eabispe*): Set tmake_file.
8432 (powerpc*-eabi*): Likewise.
8433 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8434 crtbeginS, crtendS, crtbeginT.
8435
8436 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8437
8438 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8439 to tmake_file. Add crtfastmath.o to extra_parts.
8440 * config/mips/t-crtfm: New.
8441
8442 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8443
8444 * config.host (sparc64-*-rtems*): New target.
8445
8446 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8447
8448 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8449 assembler syntax.
8450
8451 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8452
8453 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8454
8455 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8456
8457 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8458 alpha-dec-osf5.0* support.
8459
8460 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8461
8462 * config.host: Add lm32-*-rtems*.
8463
8464 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8465 Uros Bizjak <ubizjak@gmail.com>
8466
8467 PR target/39048
8468 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8469 like other remaining 32-bit x86 OSes.
8470 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8471 assembler syntax.
8472 * config/i386/libgcc-sol2.ver: New file.
8473 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8474
8475 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8476
8477 PR c/43553
8478 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8479 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8480 is used and substitute set_use_emutls.
8481 * configure: Regenerated.
8482
8483 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8484
8485 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8486
8487 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8488
8489 PR target/38085
8490 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8491 MULTILIB_CFLAGS.
8492 ($(T)gcrt1.o): Likewise.
8493 ($(T)crt1.o): Likewise.
8494 ($(T)crti.o): Likewise.
8495 ($(T)crtn.o): Likewise.
8496
8497 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8498
8499 PR other/42980
8500 * Makefile.in (install): Use $(MAKE) string in rule, for
8501 parallel make.
8502
8503 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8504
8505 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8506 * config/mmix/t-mmix: New file.
8507 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8508
8509 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8510
8511 PR java/41991
8512 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8513 SHLIB_MAPFILES.
8514
8515 2010-01-04 Anthony Green <green@moxielogic.com>
8516
8517 * config/moxie/crti.asm, config/moxie/crtn.asm,
8518 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8519 config/moxie/t-moxie: New files.
8520 * config.host: Add t-moxie-softfp reference.
8521
8522 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
8523
8524 PR other/39888
8525 * config/t-slibgcc-darwin: Fix embedded rpaths for
8526 --enable-version-specific-runtime-libs, build extension stub
8527 libs exposing features available from current libgcc_s.
8528
8529 2009-11-11 Jon Beniston <jon@beniston.com>
8530
8531 * config.host: Add lm32 targets.
8532 * config/lm32: New directory.
8533 * config/lm32/libgcc_lm32.h: New file.
8534 * config/lm32/_mulsi3.c: New file.
8535 * config/lm32/_udivmodsi4.c: New file.
8536 * config/lm32/_divsi3.c: New file.
8537 * config/lm32/_modsi3.c: New file.
8538 * config/lm32/_udivsi3.c: New file.
8539 * config/lm32/_umodsi3.c: New file.
8540 * config/lm32/_lshrsi3.S: New file.
8541 * config/lm32/_ashrsi3.S: New file.
8542 * config/lm32/_ashlsi3.S: New file.
8543 * config/lm32/crti.S: New file.
8544 * config/lm32/crtn.S: New file.
8545 * config/lm32/t-lm32: New file.
8546 * config/lm32/t-elf: New file.
8547 * config/lm32/t-uclinux: New file.
8548
8549 2009-10-26 Nick Clifton <nickc@redhat.com>
8550
8551 * config.host: Add support for RX target.
8552 * config/rx: New directory.
8553 * config/rx/rx-abi-functions.c: New file. Supplementary
8554 functions for libgcc to support the RX ABI.
8555 * config/rx/rx-abi.h: New file. Supplementary header file for
8556 libgcc RX ABI functions.
8557 * config/rx/t-rx: New file: Makefile fragment for building
8558 libgcc for the RX.
8559
8560 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
8561
8562 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8563 constraint of y0 to "g".
8564
8565 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8566
8567 * config.host: Include the s390 makefile fragments.
8568 * config/s390/32/_fixdfdi.c: New file.
8569 * config/s390/32/_fixsfdi.c: New file.
8570 * config/s390/32/_fixtfdi.c: New file.
8571 * config/s390/32/_fixunsdfdi.c: New file.
8572 * config/s390/32/_fixunssfdi.c: New file.
8573 * config/s390/32/_fixunstfdi.c: New file.
8574 * config/s390/32/t-floattodi: New file.
8575 * config/s390/libgcc-glibc.ver: New file.
8576 * config/s390/t-crtstuff: New file.
8577 * config/s390/t-linux: New file.
8578 * config/s390/t-tpf: New file.
8579
8580 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8581
8582 * configure.ac (AC_PREREQ): Bump to 2.64.
8583
8584 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8585
8586 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8587
8588 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8589
8590 * configure: Regenerate.
8591
8592 2009-08-09 Douglas B Rupp <rupp@gnat.com>
8593
8594 * config.host (ia64-hp-*vms*): New target.
8595 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8596 with ia64-hp-*vms*.
8597
8598 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8599
8600 * configure.ac: Add snippet for maintainer-mode.
8601 * configure: Regenerate.
8602 * Makefile.in (AUTOCONF, configure_deps): New variables.
8603 ($(srcdir)/configure)): New rule, active only with maintainer
8604 mode turned on.
8605
8606 2009-06-23 DJ Delorie <dj@redhat.com>
8607
8608 Add MeP port.
8609 * config.host: Add mep support.
8610
8611 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
8612
8613 * config.host: Add i386/${host_address}/t-fprules-softfp and
8614 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8615
8616 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8617 for mingw targets.
8618 * config/i386/64/_multc3.c: Likewise.
8619 * config/i386/64/_powitf2.c: Likewise.
8620 * config/i386/64/eqtf2.c: Likewise.
8621 * config/i386/64/getf2.c: Likewise.
8622 * config/i386/64/letf2.c: Likewise.
8623 * config/i386/64/letf2.c: Likewise.
8624 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8625 unsigned long long for x64 mingw targets.
8626 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8627 (_FP_I_TYPE): Define as long long for x64 mingw target.
8628
8629 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8630
8631 * config.host (vax-*-linux*): New.
8632
8633 2009-05-31 Anthony Green <green@moxielogic.com>
8634
8635 * config.host: Add moxie support.
8636 * config/moxie/t-moxie: New file.
8637
8638 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
8639
8640 * config.host: Add i386/${host_address}/t-fprules-softfp and
8641 t-softfp to tmake_file for i[34567]86-*-cygwin*.
8642
8643 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8644
8645 * config.host: Add i386/${host_address}/t-fprules-softfp to
8646 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8647
8648 2009-04-09 Nick Clifton <nickc@redhat.com>
8649
8650 * config/ia64/tf-signs.c: Change copyright header to refer to
8651 version 3 of the GNU General Public License with version 3.1
8652 of the GCC Runtime Library Exception and to point readers at
8653 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8654 web page.
8655 * config/i386/32/tf-signs.c: Likewise.
8656 * config/libbid/_addsub_dd.c: Likewise.
8657 * config/libbid/_addsub_sd.c: Likewise.
8658 * config/libbid/_addsub_td.c: Likewise.
8659 * config/libbid/_dd_to_df.c: Likewise.
8660 * config/libbid/_dd_to_di.c: Likewise.
8661 * config/libbid/_dd_to_sd.c: Likewise.
8662 * config/libbid/_dd_to_sf.c: Likewise.
8663 * config/libbid/_dd_to_si.c: Likewise.
8664 * config/libbid/_dd_to_td.c: Likewise.
8665 * config/libbid/_dd_to_tf.c: Likewise.
8666 * config/libbid/_dd_to_udi.c: Likewise.
8667 * config/libbid/_dd_to_usi.c: Likewise.
8668 * config/libbid/_dd_to_xf.c: Likewise.
8669 * config/libbid/_df_to_dd.c: Likewise.
8670 * config/libbid/_df_to_sd.c: Likewise.
8671 * config/libbid/_df_to_td.c: Likewise.
8672 * config/libbid/_di_to_dd.c: Likewise.
8673 * config/libbid/_di_to_sd.c: Likewise.
8674 * config/libbid/_di_to_td.c: Likewise.
8675 * config/libbid/_div_dd.c: Likewise.
8676 * config/libbid/_div_sd.c: Likewise.
8677 * config/libbid/_div_td.c: Likewise.
8678 * config/libbid/_eq_dd.c: Likewise.
8679 * config/libbid/_eq_sd.c: Likewise.
8680 * config/libbid/_eq_td.c: Likewise.
8681 * config/libbid/_ge_dd.c: Likewise.
8682 * config/libbid/_ge_sd.c: Likewise.
8683 * config/libbid/_ge_td.c: Likewise.
8684 * config/libbid/_gt_dd.c: Likewise.
8685 * config/libbid/_gt_sd.c: Likewise.
8686 * config/libbid/_gt_td.c: Likewise.
8687 * config/libbid/_isinfd128.c: Likewise.
8688 * config/libbid/_isinfd32.c: Likewise.
8689 * config/libbid/_isinfd64.c: Likewise.
8690 * config/libbid/_le_dd.c: Likewise.
8691 * config/libbid/_le_sd.c: Likewise.
8692 * config/libbid/_le_td.c: Likewise.
8693 * config/libbid/_lt_dd.c: Likewise.
8694 * config/libbid/_lt_sd.c: Likewise.
8695 * config/libbid/_lt_td.c: Likewise.
8696 * config/libbid/_mul_dd.c: Likewise.
8697 * config/libbid/_mul_sd.c: Likewise.
8698 * config/libbid/_mul_td.c: Likewise.
8699 * config/libbid/_ne_dd.c: Likewise.
8700 * config/libbid/_ne_sd.c: Likewise.
8701 * config/libbid/_ne_td.c: Likewise.
8702 * config/libbid/_sd_to_dd.c: Likewise.
8703 * config/libbid/_sd_to_df.c: Likewise.
8704 * config/libbid/_sd_to_di.c: Likewise.
8705 * config/libbid/_sd_to_sf.c: Likewise.
8706 * config/libbid/_sd_to_si.c: Likewise.
8707 * config/libbid/_sd_to_td.c: Likewise.
8708 * config/libbid/_sd_to_tf.c: Likewise.
8709 * config/libbid/_sd_to_udi.c: Likewise.
8710 * config/libbid/_sd_to_usi.c: Likewise.
8711 * config/libbid/_sd_to_xf.c: Likewise.
8712 * config/libbid/_sf_to_dd.c: Likewise.
8713 * config/libbid/_sf_to_sd.c: Likewise.
8714 * config/libbid/_sf_to_td.c: Likewise.
8715 * config/libbid/_si_to_dd.c: Likewise.
8716 * config/libbid/_si_to_sd.c: Likewise.
8717 * config/libbid/_si_to_td.c: Likewise.
8718 * config/libbid/_td_to_dd.c: Likewise.
8719 * config/libbid/_td_to_df.c: Likewise.
8720 * config/libbid/_td_to_di.c: Likewise.
8721 * config/libbid/_td_to_sd.c: Likewise.
8722 * config/libbid/_td_to_sf.c: Likewise.
8723 * config/libbid/_td_to_si.c: Likewise.
8724 * config/libbid/_td_to_tf.c: Likewise.
8725 * config/libbid/_td_to_udi.c: Likewise.
8726 * config/libbid/_td_to_usi.c: Likewise.
8727 * config/libbid/_td_to_xf.c: Likewise.
8728 * config/libbid/_tf_to_dd.c: Likewise.
8729 * config/libbid/_tf_to_sd.c: Likewise.
8730 * config/libbid/_tf_to_td.c: Likewise.
8731 * config/libbid/_udi_to_dd.c: Likewise.
8732 * config/libbid/_udi_to_sd.c: Likewise.
8733 * config/libbid/_udi_to_td.c: Likewise.
8734 * config/libbid/_unord_dd.c: Likewise.
8735 * config/libbid/_unord_sd.c: Likewise.
8736 * config/libbid/_unord_td.c: Likewise.
8737 * config/libbid/_usi_to_dd.c: Likewise.
8738 * config/libbid/_usi_to_sd.c: Likewise.
8739 * config/libbid/_usi_to_td.c: Likewise.
8740 * config/libbid/_xf_to_dd.c: Likewise.
8741 * config/libbid/_xf_to_sd.c: Likewise.
8742 * config/libbid/_xf_to_td.c: Likewise.
8743 * config/libbid/bid128.c: Likewise.
8744 * config/libbid/bid128_2_str.h: Likewise.
8745 * config/libbid/bid128_2_str_macros.h: Likewise.
8746 * config/libbid/bid128_2_str_tables.c: Likewise.
8747 * config/libbid/bid128_add.c: Likewise.
8748 * config/libbid/bid128_compare.c: Likewise.
8749 * config/libbid/bid128_div.c: Likewise.
8750 * config/libbid/bid128_fma.c: Likewise.
8751 * config/libbid/bid128_logb.c: Likewise.
8752 * config/libbid/bid128_minmax.c: Likewise.
8753 * config/libbid/bid128_mul.c: Likewise.
8754 * config/libbid/bid128_next.c: Likewise.
8755 * config/libbid/bid128_noncomp.c: Likewise.
8756 * config/libbid/bid128_quantize.c: Likewise.
8757 * config/libbid/bid128_rem.c: Likewise.
8758 * config/libbid/bid128_round_integral.c: Likewise.
8759 * config/libbid/bid128_scalb.c: Likewise.
8760 * config/libbid/bid128_sqrt.c: Likewise.
8761 * config/libbid/bid128_string.c: Likewise.
8762 * config/libbid/bid128_to_int16.c: Likewise.
8763 * config/libbid/bid128_to_int32.c: Likewise.
8764 * config/libbid/bid128_to_int64.c: Likewise.
8765 * config/libbid/bid128_to_int8.c: Likewise.
8766 * config/libbid/bid128_to_uint16.c: Likewise.
8767 * config/libbid/bid128_to_uint32.c: Likewise.
8768 * config/libbid/bid128_to_uint64.c: Likewise.
8769 * config/libbid/bid128_to_uint8.c: Likewise.
8770 * config/libbid/bid32_to_bid128.c: Likewise.
8771 * config/libbid/bid32_to_bid64.c: Likewise.
8772 * config/libbid/bid64_add.c: Likewise.
8773 * config/libbid/bid64_compare.c: Likewise.
8774 * config/libbid/bid64_div.c: Likewise.
8775 * config/libbid/bid64_fma.c: Likewise.
8776 * config/libbid/bid64_logb.c: Likewise.
8777 * config/libbid/bid64_minmax.c: Likewise.
8778 * config/libbid/bid64_mul.c: Likewise.
8779 * config/libbid/bid64_next.c: Likewise.
8780 * config/libbid/bid64_noncomp.c: Likewise.
8781 * config/libbid/bid64_quantize.c: Likewise.
8782 * config/libbid/bid64_rem.c: Likewise.
8783 * config/libbid/bid64_round_integral.c: Likewise.
8784 * config/libbid/bid64_scalb.c: Likewise.
8785 * config/libbid/bid64_sqrt.c: Likewise.
8786 * config/libbid/bid64_string.c: Likewise.
8787 * config/libbid/bid64_to_bid128.c: Likewise.
8788 * config/libbid/bid64_to_int16.c: Likewise.
8789 * config/libbid/bid64_to_int32.c: Likewise.
8790 * config/libbid/bid64_to_int64.c: Likewise.
8791 * config/libbid/bid64_to_int8.c: Likewise.
8792 * config/libbid/bid64_to_uint16.c: Likewise.
8793 * config/libbid/bid64_to_uint32.c: Likewise.
8794 * config/libbid/bid64_to_uint64.c: Likewise.
8795 * config/libbid/bid64_to_uint8.c: Likewise.
8796 * config/libbid/bid_b2d.h: Likewise.
8797 * config/libbid/bid_binarydecimal.c: Likewise.
8798 * config/libbid/bid_conf.h: Likewise.
8799 * config/libbid/bid_convert_data.c: Likewise.
8800 * config/libbid/bid_decimal_data.c: Likewise.
8801 * config/libbid/bid_decimal_globals.c: Likewise.
8802 * config/libbid/bid_div_macros.h: Likewise.
8803 * config/libbid/bid_dpd.c: Likewise.
8804 * config/libbid/bid_flag_operations.c: Likewise.
8805 * config/libbid/bid_from_int.c: Likewise.
8806 * config/libbid/bid_functions.h: Likewise.
8807 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8808 * config/libbid/bid_inline_add.h: Likewise.
8809 * config/libbid/bid_internal.h: Likewise.
8810 * config/libbid/bid_round.c: Likewise.
8811 * config/libbid/bid_sqrt_macros.h: Likewise.
8812
8813 2009-04-09 Jakub Jelinek <jakub@redhat.com>
8814
8815 * Makefile.in: Change copyright header to refer to version
8816 3 of the GNU General Public License and to point readers at the
8817 COPYING3 file and the FSF's license web page.
8818 * config.host: Likewise.
8819
8820 2009-04-07 Alan Modra <amodra@bigpond.net.au>
8821
8822 * config.host: Reorder and merge to match config.gcc change.
8823
8824 2009-04-03 Alan Modra <amodra@bigpond.net.au>
8825
8826 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8827
8828 2009-03-28 Joseph Myers <joseph@codesourcery.com>
8829
8830 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8831 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8832 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8833 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8834
8835 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
8836
8837 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8838 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8839
8840 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8841
8842 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8843 ia64/t-softfp-compat to tmake_file.
8844
8845 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8846
8847 * config/ia64/__divxf3.asm: New.
8848 * config/ia64/_fixtfdi.asm: Likewise.
8849 * config/ia64/_fixunstfdi.asm: Likewise.
8850 * config/ia64/_floatditf.asm: Likewise.
8851 * config/ia64/t-fprules-softfp: Likewise.
8852 * config/ia64/t-softfp-compat: Likewise.
8853 * config/ia64/tf-signs.c: Likewise.
8854
8855 2009-01-18 Ben Elliston <bje@au.ibm.com>
8856
8857 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8858
8859 2009-01-16 Ben Elliston <bje@au.ibm.com>
8860
8861 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8862 to tmake_file.
8863
8864 2009-01-13 Ben Elliston <bje@au.ibm.com>
8865
8866 * config/t-softfp: New file.
8867 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8868 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8869
8870 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
8871
8872 * config.host: Add m32r*-*-rtems*.
8873
8874 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
8875
8876 * config.host: Add m32c*-*-rtems*.
8877
8878 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8879
8880 PR bootstrap/33100
8881 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8882 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8883 * configure: Regenerate.
8884 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8885 tmake_file here from gcc/config.gcc.
8886 Move extra_parts here from gcc/config.gcc.
8887 * config/i386/t-sol2: Move here from gcc/config/i386.
8888 Use gcc_srcdir instead of srcdir.
8889
8890 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8891
8892 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8893 case.
8894
8895 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8896
8897 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8898
8899 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8900
8901 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8902
8903 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8904
8905 Add picoChip port.
8906 * config.host: Add picochip-*-*.
8907
8908 2008-08-06 Bob Wilson <bob.wilson@acm.org>
8909
8910 * config.host: Match more processor names for Xtensa.
8911
8912 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8913
8914 * config/i386/64/t-softfp-compat: Update comments.
8915
8916 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
8917
8918 * config/i386/64/_divtc3-compat.c: Moved to ...
8919 * config/i386/64/_divtc3.c: Here.
8920
8921 * config/i386/64/_multc3-compat.c: Moved to ...
8922 * config/i386/64/_multc3.c: Here.
8923
8924 * config/i386/64/_powitf2-compat.c: Moved to ...
8925 * config/i386/64/_powitf2.c: Here.
8926
8927 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8928 .c suffix instead of -compat.c.
8929
8930 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
8931
8932 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8933 (_FP_MUL_MEAT_D): Ditto.
8934 (_FP_DIV_MEAT_S): Ditto.
8935 (_FP_DIV_MEAT_D): Ditto.
8936
8937 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
8938
8939 * Makefile.in: Add support for __sync_* libgcc functions.
8940
8941 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
8942
8943 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8944
8945 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8946
8947 PR boostrap/36702
8948 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8949 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
8950
8951 * config/i386/64/t-fprules-softfp: Moved to ...
8952 * config/i386/64/t-softfp-compat: This. New.
8953
8954 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
8955
8956 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8957 Initialize f with 0.0.
8958
8959 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8960
8961 PR target/36669
8962 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8963
8964 * config/i386/64/_divtc3-compat.c: New.
8965 * config/i386/64/_multc3-compat.c: Likewise.
8966 * config/i386/64/_powitf2-compat.c: Likewise.
8967 * config/i386/64/eqtf2.c: Likewise.
8968 * config/i386/64/getf2.c: Likewise.
8969 * config/i386/64/letf2.c: Likewise.
8970 * config/i386/64/t-fprules-softfp: Likewise.
8971
8972 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8973
8974 * config.host: Add i386/${host_address}/t-fprules-softfp to
8975 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8976 i[34567]86-*-linux*, x86_64-*-linux*.
8977
8978 * configure.ac: Set host_address to 64 or 32 for x86.
8979 * configure: Regenerated.
8980
8981 * Makefile.in (config.status): Also depend on
8982 $(srcdir)/config.host.
8983
8984 * config/i386/32/t-fprules-softfp: New.
8985 * config/i386/32/tf-signs.c: Likewise.
8986
8987 * config/i386/64/sfp-machine.h: New. Moved from gcc.
8988
8989 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8990 Uros Bizjak <ubizjak@gmail.com>
8991
8992 * config/i386/32/sfp-machine.h: New.
8993
8994 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
8995
8996 * config/rs6000/t-ppccomm: Remove rules that conflict with
8997 auto-generated rules.
8998
8999 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9000
9001 * configure.ac: sinclude override.m4.
9002 * configure: Regenerate.
9003
9004 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9005
9006 * configure: Regenerate.
9007
9008 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9009
9010 * Makefile.in (DECNUMINC): Remove
9011 -I$(MULTIBUILDTOP)../../libdecnumber.
9012 * gstdint.h: New.
9013
9014 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9015
9016 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9017 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9018 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9019 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9020 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9021 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9022 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9023 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9024 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9025 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9026 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9027 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9028 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9029 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9030
9031 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9032
9033 * config.host (sh2[lbe]*-*-linux*): Allow target.
9034
9035 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9036
9037 * config/rs6000/t-ppccomm: Add build rules for new files.
9038 (LIB2ADD_ST): New variable.
9039
9040 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9041
9042 PR target/34210
9043 PR target/35508
9044 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9045 * config/t-avr: New file. Build 16bit libgcc functions.
9046
9047 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9048
9049 PR target/35401
9050 * config/t-slibgcc-darwin: Make install-leaf dependent on
9051 install-darwin-libgcc-stubs instead of install.
9052
9053 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9054
9055 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9056 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9057 sh-*-rtemscoff*): Remove cases.
9058
9059 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9060
9061 * Makefile.in (all): Use install-leaf rather than install.
9062 (install): Split most of the rule into...
9063 (install-leaf): ...this new one.
9064
9065 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9066 Paolo Bonzini <bonzini@gnu.org>
9067
9068 PR target/30572
9069 * Makefile.in: Use @shlib_slibdir@ substitution to get
9070 correct install name on darwin.
9071 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9072
9073 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9074
9075 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9076 cris-*-elf and cris-*-none.
9077 (crisv32-*-linux*): Similar, as cris-*-linux*.
9078
9079 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9080
9081 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9082
9083 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9084
9085 PR regression/33926
9086 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9087 * configure: Regenerated.
9088
9089 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9090
9091 * Makefile.in (dfp-filenames): Replace decimal_globals,
9092 decimal_data, binarydecimal and convert_data with
9093 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9094 and bid_convert_data, respectively.
9095
9096 2007-09-17 Chao-ying Fu <fu@mips.com>
9097 Nigel Stephens <nigel@mips.com>
9098
9099 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9100 * Makefile.in (fixed_point): Define.
9101 Check if fixed_point is yes to build support functions.
9102 * configure.ac: Check for fixed_point support.
9103 * configure: Regenerated.
9104 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9105 funcs, modes, from, to.
9106
9107 2007-09-11 Janis Johnson <janis187@us.ibm.com
9108
9109 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9110
9111 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9112
9113 * Makefile.in (dfp-filenames): Remove decUtility, add
9114 decDouble, decPacked, decQuad, decSingle.
9115
9116 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9117
9118 * config.host : Add x86_64-elf target.
9119
9120 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9121
9122 * configure.ac (set_have_cc_tls): Add a missing =.
9123 * configure: Regenerated.
9124
9125 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9126
9127 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9128 and x86_64-*-linux*.
9129
9130 * config/t-tls: New file.
9131
9132 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9133
9134 * configure.ac: Include ../config/enable.m4 and
9135 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9136 supports TLS and substitute set_have_cc_tls.
9137 * configure: Regenerated.
9138
9139 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9140
9141 * Makefile.in: Use libbid for DFP when BID is enabled.
9142
9143 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9144
9145 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9146 extra_parts. Add config/i386/t-cygming to tmake_file.
9147 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9148
9149 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9150 Danny Smith <dannysmith@users.sourceforge.net>
9151
9152 PR target/29498
9153 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9154 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9155 * config/i386/t-crtfm: Compile crtfastmath.o with
9156 -minline-all-stringops.
9157
9158 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9159
9160 * config.host (sparc-wrs-vxworks): New target.
9161
9162 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9163
9164 * config.host: Recognize fido.
9165
9166 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9167
9168 * configure: Check host, not target, for decimal float support.
9169
9170 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9171
9172 * config/i386/t-crtpc: New file.
9173 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9174 (x86_64-*-linux*): Ditto.
9175
9176 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9177
9178 * config.host (x86_64-*-mingw*): New target.
9179
9180 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9181 H.J. Lu <hongjiu.lu@intel.com>
9182
9183 * Makefile.in (enable_decimal_float): New.
9184 (DECNUMINC): Add
9185 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9186 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9187 (decbits-filenames): This.
9188 (decbits-objects): New.
9189 (libgcc-objects): Add $(decbits-objects).
9190
9191 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9192 Substitute enable_decimal_float.
9193 * configure: Regenerated.
9194
9195 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9196
9197 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9198
9199 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9200
9201 * Makefile.in (install-info): New dummy target.
9202
9203 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9204
9205 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9206
9207 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9208
9209 * Makefile.in: Add install-html and install-pdf dummy
9210 targets.
9211
9212 2007-02-05 Roger Sayle <roger@eyesopen.com>
9213 Daniel Jacobowitz <dan@codesourcery.com>
9214
9215 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9216 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9217 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9218
9219 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9220
9221 * Makefile.in (dec-filenames): Add decExcept.
9222
9223 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9224
9225 PR bootstrap/30469
9226 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9227 -fprofile-use.
9228
9229 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9230
9231 * configure.ac: Add --enable-version-specific-runtime-libs.
9232 Correct $slibdir default.
9233 * configure: Regenerated.
9234
9235 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9236
9237 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9238
9239 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9240
9241 PR target/30519
9242 * config.host (alpha*-*-linux*): Set extra_parts.
9243
9244 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9245
9246 * config/sh/t-linux: New.
9247 * config.host (sh*-*-linux*): Set tmake_file.
9248
9249 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9250
9251 * Makefile.in (install): Handle multilibs.
9252
9253 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9254
9255 * Makefile.in: Added .PHONY entry for documentation targets.
9256
9257 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9258
9259 * Makefile.in: Add empty info, html, dvi, pdf targets.
9260
9261 2007-01-04 Mike Stump <mrs@apple.com>
9262
9263 * Makefile.in (MAKEINFO): Remove.
9264 (PERL): Likewise.
9265
9266 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9267
9268 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9269 * configure: Regenerate.
9270 * Makefile.in (host_subdir): Substitute it.
9271 (gcc_objdir): Use it.
9272
9273 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9274
9275 * config.host (ia64*-*-linux*): Set tmake_file.
9276
9277 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9278
9279 * Makefile.in (version): Define.
9280
9281 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9282 Paolo Bonzini <bonzini@gnu.org>
9283
9284 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9285 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9286 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9287 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9288 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9289 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9290 * configure: Generated.
9291 \f
9292 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9293
9294 Copying and distribution of this file, with or without modification,
9295 are permitted in any medium without royalty provided the copyright
9296 notice and this notice are preserved.