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