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