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