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