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