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