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