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