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