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