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