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