]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
re PR target/49880 (SuperH: ICE when -m4 is used with -mdiv=call-div1)
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
2
3 PR target/49880
4 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6
7 2013-03-07 Sriraman Tallam <tmsriram@google.com>
8
9 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
10 sandybridge processors.
11
12 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
13
14 PR target/56529
15 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
16 inclusion list.
17
18 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
19
20 * config/microblaze/crti.S: Setup stack protection at entry
21
22 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
23
24 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
25 (__rotldi3): Shift bytewise if applicable.
26
27 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
28
29 * config/aarch64/sync-cache.c
30 (__aarch64_sync_cache_range): Silence warnings.
31
32 2013-02-25 Catherine Moore <clm@codesourcery.com>
33
34 Revert:
35 2013-02-24 Catherine Moore <clm@codesourcery.com>
36 Joseph Myers <joseph@codesourcery.com>
37 Chao-ying Fu <fu@mips.com>
38
39 * config/mips/mips16.S: Don't build for microMIPS.
40 * config/mips/linux-unwind.h: Handle microMIPS frame.
41 * config/mips/crtn.S (fini, init): New labels.
42
43 2013-02-24 Catherine Moore <clm@codesourcery.com>
44 Joseph Myers <joseph@codesourcery.com>
45 Chao-ying Fu <fu@mips.com>
46
47 * config/mips/mips16.S: Don't build for microMIPS.
48 * config/mips/linux-unwind.h: Handle microMIPS frame.
49 * config/mips/crtn.S (fini, init): New labels.
50
51 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
52 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
53 as dividend.
54
55 2013-02-16 Alan Modra <amodra@gmail.com>
56
57 PR target/55431
58 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
59 (ppc_fallback_frame_state): Always set up save locations for fp
60 and altivec. Don't bother with non-callee-saved regs, r0-r13
61 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
62
63 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
64
65 PR target/54222
66 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
67 _ssmulHA, _ssmulSA.
68 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
69 _ssmulha3, _usmulusa3, _ssmulsa3.
70 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
71 (__muldi3): XCALL __muldi3_6 instead of rcall.
72 (__umulsidi3, __mulsidi3): New functions.
73 (do_prologue_saves, do_epilogue_restores): New .macros.
74 (__divdi3_moddi3): Use them.
75 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
76 (__usmulusa3, __ssmulsa3): New functions.
77
78 2013-02-11 Iain Sandoe <iain@codesourcery.com>
79 Jack Howarth <howarth@bromo.med.uc.edu>
80 Patrick Marlier <patrick.marlier@gmail.com>
81
82 PR libitm/55693
83 * config/darwin-crt-tm.c: Remove dummy functions hack.
84
85 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
86
87 PR target/54222
88 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
89 * config/avr/lib2-object.mk: New iterator to build objects from it.
90 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
91 lib2funcs.c.
92 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
93 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
94 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
95 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
96 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
97 * config/avr/lib1funcs-fixed.S: Implement them.
98
99 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
100
101 Update copyright years.
102
103 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
104
105 PR target/54601
106 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
107 Add crtcxa to extra_parts.
108 * config/rs6000/exit.h: New file.
109 * config/rs6000/cxa_atexit.c: New file.
110 * config/rs6000/cxa_finalize.c: New file.
111 * config/rs6000/crtcxa.c: New file.
112 * config/rs6000/t-aix-cxa: New file.
113 * config/rs6000/libgcc-aix-cxa.ver: New file.
114
115 2013-01-31 Nick Clifton <nickc@redhat.com>
116
117 * config/v850/lib1funcs.S: Add support for e3v5 architecture
118 variant.
119
120 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
121
122 PR target/54222
123 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
124 _mulQQ, _mulHQ, _mulHA, _mulSA,
125 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
126 _divQQ, _divHQ, _divHA, _divSA,
127 _divUQQ, _divUHQ, _divUHA, _divUSA.
128
129 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
130
131 * config.host(microblaze*-linux*): tmake_file: Remove
132 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
133 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
134 to exclude functions from being built with libgcc.c and use
135 the microblaze assembly.
136
137 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
138
139 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
140 extra_parts.
141
142 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
143
144 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
145 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
146 __UINTPTR_TYPE__; also cast 'base' to the same type before the
147 alignment operation.
148
149 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
150
151 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
152 loop start address for cache clearing.
153
154 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
155
156 * config/avr/lib1funcs.S: Remove trailing blanks.
157 * config/avr/lib1funcs-fixed.S: Ditto.
158
159 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
160
161 * config/avr/avr-lib.h: Add GPL copyright notice.
162
163 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
164
165 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
166 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
167 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
168 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
169
170 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
171
172 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
173 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
174
175 2013-01-04 Nick Clifton <nickc@redhat.com>
176
177 * config/v850/lib1funcs.S: Only provide CALLT support functions if
178 the CALLT instruction is supported.
179
180 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
181
182 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
183 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
184
185 2012-12-13 John Tytgat <John@bass-software.com>
186
187 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
188 is 25.
189
190 2012-12-12 Jakub Jelinek <jakub@redhat.com>
191
192 PR libgcc/55451
193 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
194 undefined signed overflows.
195
196 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
197
198 PR target/55344
199 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
200
201 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
202
203 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
204 (FP_TRAPPING_EXCEPTIONS): Define.
205 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
206 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
207
208 2012-12-04 Richard Henderson <rth@redhat.com>
209
210 PR bootstrap/55571
211 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
212
213 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
214
215 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
216 (FP_EX_SHIFT): Define.
217 (FP_TRAPPING_EXCEPTIONS): Define.
218
219 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
220
221 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
222 (FP_ROUNDMODE): Use FP_RND_MASK.
223 * config/aarch64/sfp-exceptions.c: New.
224 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
225 Use __sfp_handle_exceptions.
226
227 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
228
229 * config.host: (arm*-*-freebsd*): Remove.
230 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
231 (arm*-*-elf*): Remove.
232 (arm*-*-wince-pe*): Remove.
233 * arm/unwind-arm.c (struct fpa_reg): Delete.
234 (struct fpa_regs): Delete.
235 (phase1_vrs): Remove fpa element.
236 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
237 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
238 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
239 * ieee754-sf.S (floatundisf): Remove FPA support.
240 (floatdisf): Likewise.
241 * ieee75f-df.S (floatundidf): Likewise.
242 (floatdidf): Likewise.
243
244 2012-11-29 Kai Tietz <ktietz@redhat.com>
245
246 PR target/55445
247 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
248 * unwind-generic.h: Likewise.
249 * unwind-seh.c: Likewise.
250
251 2012-11-28 Richard Henderson <rth@redhat.com>
252
253 PR libgcc/48076
254 * emutls.c (__emutls_get_address): Avoid race condition between
255 obj->loc.offset read and emutls_key initialization.
256
257 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
258
259 Adjust decimal point of signed accum mode to GCC default.
260
261 PR target/54222
262 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
263 _divqq_helper.
264 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
265 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
266 (__mulha3, __mulsa3)
267 (__divqq3, __divha3, __divsa3): Adjust to new position of
268 decimal point of signed accum types.
269
270 (__mulusa3_round): New function.
271 (__mulusa3): Use it.
272 (__divqq_helper): New function.
273 (__udivuqq3): Use it.
274
275 2012-11-20 Jakub Jelinek <jakub@redhat.com>
276
277 PR bootstrap/55370
278 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
279
280 2012-11-18 Teresa Johnson <tejohnson@google.com>
281
282 PR bootstrap/55051
283 * libgcov.c (gcov_exit): Remove merged program summary
284 comparison unless !GCOV_LOCKED.
285
286 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
287
288 * soft-fp: Updated from glibc upstream.
289
290 2012-11-06 Ian Lance Taylor <iant@google.com>
291
292 * generic-morestack.c (__generic_morestack): Align the returned
293 stack pointer to a 32 byte boundary.
294 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
295 increment the return address until we have decided that we don't
296 have a varargs function.
297 (__morestack) [32-bit]: Align stack correctly when calling C
298 functions.
299 (__morestack) [64-bit]: Likewise.
300
301 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
302
303 * configure: Regenerate.
304
305 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
306
307 PR target/55175
308 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
309 * config/i386/sfp-machine.h: Guard exception handling
310 code with _SOFT_FLOAT.
311 * config/i386/32/sfp-machine.h: Guard rounding handling
312 code with _SOFT_FLOAT.
313 * config/i386/64/sfp-machine.h: Ditto.
314
315 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
316
317 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
318 as extra_parts.
319
320 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
321
322 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
323 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
324 when appropriate. Correct structure element types.
325 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
326 -minline-all-stringops from compile flags.
327
328 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
329
330 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
331
332 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
333
334 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
335
336 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
337
338 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
339 tmake_file.
340
341 2012-10-23 Ian Bolton <ian.bolton@arm.com>
342 Jim MacArthur <jim.macarthur@arm.com>
343 Marcus Shawcroft <marcus.shawcroft@arm.com>
344 Nigel Stephens <nigel.stephens@arm.com>
345 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
346 Richard Earnshaw <rearnsha@arm.com>
347 Sofiane Naci <sofiane.naci@arm.com>
348 Stephen Thomas <stephen.thomas@arm.com>
349 Tejas Belagod <tejas.belagod@arm.com>
350 Yufeng Zhang <yufeng.zhang@arm.com>
351
352 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
353 * config/aarch64/crti.S: New file.
354 * config/aarch64/crtn.S: New file.
355 * config/aarch64/linux-unwind.h: New file.
356 * config/aarch64/sfp-machine.h: New file.
357 * config/aarch64/sync-cache.c: New file.
358 * config/aarch64/t-aarch64: New file.
359 * config/aarch64/t-softfp: New file.
360
361 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
362
363 * config/mmix/crti.S: Mark program and data addresses using PRELD.
364 Remove typo'd and unnecessary alignment-LOC for .data. Remove
365 no-longer-needed LDBU insns.
366
367 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
368
369 * config.host
370 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
371 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
372
373 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
374
375 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
376
377 2012-10-15 Matthias Klose <doko@ubuntu.com>
378
379 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
380
381 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
382
383 * configure: Regenerate.
384 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
385
386 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
387
388 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
389 instructions for 64bit targets only.
390
391 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
392
393 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
394 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
395 * config/i386/32/sfp-machine.h: ... here.
396 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
397 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
398 New defines.
399
400 2012-10-07 Matthias Klose <doko@ubuntu.com>
401
402 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
403 as unused.
404 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
405
406 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
407
408 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
409 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
410 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
411 (ElfW): Likewise.
412
413 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
414
415 PR other/53889
416 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
417 Fix parameter names.
418
419 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
420
421 PR target/33135
422 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
423 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
424 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
425
426 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
427
428 PR target/50457
429 * config/sh/linux-atomic.S: Delete.
430 * config/sh/linux-atomic.c: New.
431 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
432 linux-atomic.c. Add cflags to disable warnings.
433
434 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
435
436 PR other/53889
437 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
438 function.
439 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
440 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
441 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
442 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
443 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
444 Likewise.
445 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
446 Likewise.
447 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
448 Likewise.
449 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
450 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
451
452 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
453
454 * config.host (hppa-*-openbsd*): New target.
455 * config/pa/t-openbsd: New file.
456
457 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
458
459 PR target/54222
460 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
461 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
462 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
463 (__divsa3): Use __negsi2 to negate r_quoL.
464 * config/avr/lib1funcs.S (FALIAS): New macro.
465 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
466 (__negsi2): ...this new function.
467 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
468 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
469 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
470 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
471 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
472 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
473
474 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
475
476 PR target/54089
477 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
478 (lshrsi3): Reimplement as lshrsi3_r0.
479
480 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
481
482 PR target/46191
483 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
484 of libgcc.a.
485
486 2012-09-07 Teresa Johnson <tejohnson@google.com>
487
488 PR gcov-profile/54487
489 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
490 differences.
491
492 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
493
494 PR target/54461
495 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
496 not configured --with-avrlibc=no.
497 * config/avr/t-avrlibc: New file.
498 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
499 (DPBIT_FUNCS): Ditto.
500 (TPBIT_FUNCS): Ditto.
501
502 2012-09-04 Teresa Johnson <tejohnson@google.com>
503
504 * libgcov.c (struct gcov_summary_buffer): New structure.
505 (gcov_histogram_insert): New function.
506 (gcov_compute_histogram): Ditto.
507 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
508 histograms during summary merging.
509
510 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
511
512 * config.host (x86_64-*-openbsd*): New target.
513
514 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
515
516 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
517 attribute.
518
519 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
520
521 PR target/54222
522 * config/avr/t-avr (conv_X): Rename to func_X.
523
524 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
525
526 PR target/54222
527 * config/avr/lib1funcs-fixed.S: New file.
528 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
529 after they are used.
530 (neg2, neg4): New macros.
531 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
532 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
533 (__umulhisi3): Speed up MUL variant if there is enough flash.
534 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
535 avr-modes.def.
536 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
537 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
538 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
539 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
540 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
541 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
542 (LIB2FUNCS_EXCLUDE): Add supported functions.
543
544 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
545
546 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
547 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
548 libgcc-s-objects.
549 * fixed-obj.mk: Only expand dependency if $o is not in
550 LIB2FUNCS_EXCLUDE.
551
552 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
553
554 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
555
556 2012-08-22 Joseph Myers <joseph@codesourcery.com>
557
558 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
559 depend on --enable-shared.
560 ($(lib1asmfuncs-o)): Use %.vis files independent of
561 --enable-shared.
562 * static-object.mk ($(base)$(objext), $(base).vis)
563 ($(base)_s$(objext)): Use same rules for visibility handling as in
564 shared-object.mk.
565
566 2012-08-21 Ian Lance Taylor <iant@google.com>
567
568 * config/i386/morestack.S (__morestack_non_split): Increase amount
569 of space allocated for non-split code stack.
570
571 2012-08-19 Joseph Myers <joseph@codesourcery.com>
572
573 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
574 even if inhibit_libc.
575
576 2012-08-17 Julian Brown <julian@codesourcery.com>
577
578 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
579 -fexceptions -fnon-call-exceptions if not defined.
580 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
581 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
582
583 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
584
585 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
586 type.
587
588 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
589
590 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
591 rs6000/t-slibgcc-aix.
592
593 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
594
595 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
596
597 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
598
599 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
600
601 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
602
603 PR driver/54171
604 * Makefile.in (version): Replace top_srcdir with srcdir.
605
606 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
607
608 * Makefile.in (version): set to BASE-VER file from gcc directory.
609
610 2012-08-01 Nick Clifton <nickc@redhat.com>
611
612 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
613 Implements __clrsb for an HImode argument.
614
615 2012-07-31 Nick Clifton <nickc@redhat.com>
616
617 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
618 Implements __clrsb for an HImode argument.
619 * config/stormy16/clrsbhi2.c: New file:
620 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
621
622 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
623
624 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
625
626 2012-07-19 Tristan Gingold <gingold@adacore.com>
627 Richard Henderson <rth@redhat.com>
628
629 * unwind-seh.c: New file.
630 * unwind-generic.h: Include windows.h for SEH.
631 (_Unwind_Exception): Use 6 private fields for SEH.
632 (_GCC_specific_handler): Declare.
633 * unwind-c.c (__gcc_personality_seh0): New function.
634 Adjust for SEH.
635 * config/i386/libgcc-cygming.ver: New file.
636 * config/i386/t-seh-eh: New file.
637 * config.host (x86_64-*-mingw*): Default to seh.
638
639 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
640
641 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
642
643 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
644
645 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
646 __builtin_expect when checking for exceptions.
647 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
648
649 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
650
651 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
652 function declaration.
653 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
654 (FP_RND_MASK): New.
655 * config/ia64/sfp-exceptions.c: New.
656 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
657
658 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
659
660 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
661 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
662 * config/i386/64/sfp-machine: ... (delete here) ...
663 * config/i386/sfp-machine.h: ... to here.
664 (FP_EX_MASK): Remove.
665 (FP_RND_MASK): New.
666 (FP_INIT_ROUNDMODE): Declare asm as volatile.
667
668 2012-06-11 Sriraman Tallam <tmsriram@google.com>
669
670 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
671 * config/i386/libgcc-sol2.ver: Ditto.
672 * config/i386/libgcc-glibc.ver: Ditto.
673
674 2012-06-11 Roland McGrath <mcgrathr@google.com>
675
676 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
677 If __GLIBC__ is defined, refer to __pthread_key_create instead of
678 pthread_cancel.
679
680 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
681
682 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
683 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
684 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
685 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
686 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
687 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
688 * config/i386/64/sfp-machine: ... (delete here) ...
689 * config/i386/sfp-machine.h: ... to here.
690 (FP_EX_MASK): New.
691 (__sfp_handle_exceptions): New function declaration.
692 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
693 * config/i386/sfp-exceptions.c: New.
694 * config/i386/t-softfp: New.
695 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
696 i386/t-softfp to tmake_file.
697
698 2012-06-03 David S. Miller <davem@davemloft.net>
699
700 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
701 change.
702
703 2012-05-31 David S. Miller <davem@davemloft.net>
704
705 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
706 multiply and divide instructions on 32-bit when V9.
707 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
708
709 2012-05-29 Joseph Myers <joseph@codesourcery.com>
710
711 * config/arm/ieee754-df.S: Fix typos.
712 * config/arm/ieee754-sf.S: Fix typos.
713 * config/c6x/libunwind.S: Fix typos.
714 * config/epiphany/udivsi3-float.c: Fix typos.
715 * config/microblaze/muldi3_hard.S: Fix typos.
716 * config/picochip/adddi3.S: Fix typos.
717 * config/picochip/ashlsi3.S: Fix typos.
718 * config/picochip/ashrsi3.S: Fix typos.
719 * config/picochip/clzsi2.S: Fix typos.
720 * config/picochip/cmpsi2.S: Fix typos.
721 * config/picochip/divmod15.S: Fix typos.
722 * config/picochip/divmodhi4.S: Fix typos.
723 * config/picochip/divmodsi4.S: Fix typos.
724 * config/picochip/longjmp.S: Fix typos.
725 * config/picochip/lshrsi3.S: Fix typos.
726 * config/picochip/parityhi2.S: Fix typos.
727 * config/picochip/popcounthi2.S: Fix typos.
728 * config/picochip/setjmp.S: Fix typos.
729 * config/picochip/subdi3.S: Fix typos.
730 * config/picochip/ucmpsi2.S: Fix typos.
731 * config/picochip/udivmodhi4.S: Fix typos.
732 * config/picochip/udivmodsi4.S: Fix typos.
733 * config/spu/divv2df3.c: Fix typos.
734 * config/spu/mfc_multi_tag_release.c: Fix typos.
735 * config/spu/mfc_tag_release.c: Fix typos.
736 * configure.ac: Fix typos.
737 * configure: Regenerate.
738
739 2012-05-25 Ian Lance Taylor <iant@google.com>
740
741 * config/i386/morestack.S (__morestack_non_split): Check whether
742 caller is varargs and needs %bp to hold the stack frame on return.
743
744 2012-05-25 Olivier Hainque <hainque@adacore.com>
745
746 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
747 sequence in the non pic case on VxWorks.
748
749 2012-05-24 Olivier Hainque <hainque@adacore.com>
750
751 * Makefile.in: Move dependency on install-unwind_h from
752 "install-leaf" to "install".
753
754 2012-05-24 Olivier Hainque <hainque@adacore.com>
755
756 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
757 Use a separate command for stamp removals.
758
759 2012-05-21 Andrew Pinski <apinski@cavium.com>
760
761 PR bootstrap/53183
762 * configure.ac: Define the default includes to being none.
763 * configure: Regenerate.
764
765 2012-05-16 Olivier Hainque <hainque@adacore.com>
766
767 * Makefile.in (install-unwind_h): Rename into ...
768 (install-unwind_h-forbuild): New target.
769 (all): Use it instead of the former install-unwind_h.
770 (install-unwind_h): Reinstate, copy to user install destination
771 for include files, not to the internal gcc object directory one.
772 (install-leaf): Depend on it.
773
774 2012-05-15 Olivier Hainque <hainque@adacore.com>
775
776 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
777 register numbers. LR_REGNO replaces R_LR.
778 (ucontext_for): New, helper for ...
779 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
780 and 5.3 of ...
781 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
782
783 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
784
785 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
786 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
787 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
788 i386/t-cpuinfo ...
789 (i[34567]86-*-*, x86_64-*-*): ... here.
790
791 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
792 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
793
794 * config/i386/i386-cpuinfo.c: Rename to ...
795 * config/i386/cpuinfo.c: ... this.
796 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
797
798 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
799 (libgcc_cv_init_priority): New test.
800 * configure: Regenerate.
801 * config.in: New file.
802 * Makefile.in (clean): Rename config.h to auto-target.h.
803 (config.h): Likewise.
804 (stamp-h): Likewise.
805
806 * config/i386/cpuinfo.c (auto-target.h): Include.
807 (CONSTRUCTOR_PRIORITY): Define.
808 (__cpu_indicator_init): Use it.
809
810 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
811
812 * longlong.h: Use a URL instead of an FSF postal address.
813 Replace spaces with tab.
814
815 2012-05-08 Teresa Johnson <tejohnson@google.com>
816
817 * libgcov.c (gcov_clear, __gcov_reset): New functions.
818 (__gcov_dump): Ditto.
819 (gcov_dump_complete): New global variable.
820 (gcov_exit): Export hidden to enable use in L_gcov_dump.
821 (__gcov_flush): Outline functionality now in gcov_clear.
822 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
823
824 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
825
826 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
827 (mips*-*-linux*): Include mips/t-tpbit when long double is
828 16 bytes long.
829
830 2012-04-25 Sriraman Tallam <tmsriram@google.com>
831
832 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
833 (get_available_features): New argument. Check for AVX2.
834 (__cpu_indicator_init): Modify call to get_available_features.
835
836 2012-04-25 Alan Modra <amodra@gmail.com>
837
838 * config/rs6000/crtsavevr.S: New file.
839 * config/rs6000/crtrestvr.S: New file.
840 * config/rs6000/t-savresfgpr: Build the above.
841 * config/rs6000/t-netbsd: Likewise.
842
843 2012-04-24 Sriraman Tallam <tmsriram@google.com>
844
845 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
846
847 2012-04-24 Sriraman Tallam <tmsriram@google.com>
848
849 * libgcc/config/i386/i386-cpuinfo.c: New file.
850 * libgcc/config/i386/t-cpuinfo: New file.
851 * libgcc/config.host: Include t-cpuinfo.
852 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
853
854 2012-04-24 Chao-ying Fu <fu@mips.com>
855
856 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
857
858 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
859
860 struct siginfo vs. siginfo_t
861
862 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
863 siginfo_t instead of struct siginfo.
864 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
865 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
866 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
867 (ia64_handle_unwabi): Likewise.
868 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
869 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
870 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
871 (sh_fallback_frame_state): Likewise.
872 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
873 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
874
875 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
876
877 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
878 system call number.
879
880 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
881
882 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
883 if it hasn't been previously saved.
884
885 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
886
887 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
888 only for glibc.
889
890 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
891
892 PR target/52737
893 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
894 instead of __AVR_HAVE_8BIT_SP__.
895
896 2012-03-26 Tristan Gingold <gingold@adacore.com>
897
898 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
899 (unw_table_entry): Use unw_word instead of unsigned long.
900 (_Unwind_FindTableEntry): Likewise.
901 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
902 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
903 (_Unwind_FindTableEntry): Likewise.
904 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
905 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
906 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
907 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
908 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
909 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
910 (uw_init_context_1, uw_install_context): Likewise.
911 (unw_word): Move to unwind-ia64.h
912
913 2012-03-26 Tristan Gingold <gingold@adacore.com>
914
915 * config/vms/vms-ucrt0.c: Update copyright years.
916 Add a sanity check.
917 (___gcc_main_flags): Declare.
918 (__main): Check flags to remap argv and exit code.
919 * config.host (*-*-*vms*): Adjust extra_parts.
920 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
921 (crt0.o): Add.
922
923 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
924
925 * arm/lib1funcs.asm (ctzsi2): New function.
926 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
927 * arm/t-linux (LIB1ASMFUNCS): Likewise.
928 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
929 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
930 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
931 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
932
933 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
934
935 * config.host: Add bits to support powerpc64-*-freebsd*.
936 * config/rs6000/freebsd-unwind.h: New file.
937 * config/rs6000/t-freebsd64: New file.
938
939 2012-03-20 Richard Guenther <rguenther@suse.de>
940
941 PR gcov-profile/52627
942 * libgcov.c (init_mx): Fix mutex name.
943
944 2012-03-16 Tristan Gingold <gingold@adacore.com>
945
946 * config/ia64/vms-unwind.h: Remove ulong (and replace
947 it by unw_reg where used). Define unw_reg with __int64.
948
949 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
950
951 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
952 Solaris 8 handling.
953 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
954 Solaris 8 handling.
955 (sparc_is_sighandler): Likewise.
956
957 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
958
959 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
960 <= saved reg size.
961
962 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
963
964 * config/arm/crtn.S: Fix typo.
965
966 2012-03-13 Richard Guenther <rguenther@suse.de>
967
968 * libgcov.c: Remove stdio.h include and NULL un-define.
969
970 2012-03-13 Richard Guenther <rguenther@suse.de>
971
972 PR target/52569
973 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
974
975 2012-03-13 Richard Guenther <rguenther@suse.de>
976
977 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
978
979 2012-03-13 Richard Guenther <rguenther@suse.de>
980
981 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
982 and __gthread_mutex_init_function definitions.
983
984 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
985
986 * config.host (mips*-*-openbsd*): Remove.
987
988 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
989
990 * config.host: Remove alpha*-dec-osf5.1* handling.
991 * config/alpha/gthr-posix.c: Remove.
992 * config/alpha/libgcc-osf5.ver: Remove.
993 * config/alpha/osf5-unwind.h: Remove.
994 * config/alpha/t-osf-pthread: Remove.
995 * config/alpha/t-slibgcc-osf: Remove.
996 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
997 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
998 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
999 * mkmap-flat.awk: Remove osf_export handling.
1000
1001 2012-03-12 Richard Guenther <rguenther@suse.de>
1002
1003 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1004 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1005 (__gthread_mutex_init_function): New function.
1006 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1007
1008 PR gcov/49484
1009 * libgcov.c: Include gthr.h.
1010 (__gcov_flush_mx): New global variable.
1011 (init_mx, init_mx_once): New functions.
1012 (__gcov_flush): Protect self with a mutex.
1013 (__gcov_fork): Re-initialize mutex after forking.
1014 * unwind-dw2-fde.c: Change condition under which to use
1015 __GTHREAD_MUTEX_INIT_FUNCTION.
1016
1017 2012-03-12 Tristan Gingold <gingold@adacore.com>
1018
1019 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1020 * config/ia64/t-vms: Likewise.
1021
1022 2012-03-11 Michael Hope <michael.hope@linaro.org>
1023
1024 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1025 for Thumb-2.
1026
1027 2012-03-07 Walter Lee <walt@tilera.com>
1028
1029 * config/tilepro/atomic.c: Rename "atomic_" prefix to
1030 "arch_atomic_".
1031 (atomic_xor): Rename and move definition to
1032 config/tilepro/atomic.h.
1033 (atomic_nand): Ditto.
1034 * config/tilepro/atomic.h: Rename "atomic_" prefix to
1035 "arch_atomic_".
1036 (arch_atomic_xor): Move from config/tilepro/atomic.c.
1037 (arch_atomic_nand): Ditto.
1038
1039 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1040
1041 PR target/52507
1042 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1043
1044 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1045
1046 PR target/52505
1047 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1048 from RAM.
1049
1050 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1051
1052 PR target/52461
1053 PR target/52508
1054 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1055 if RAMPZ affects reading from RAM.
1056 (__tablejump_elpm__): Ditto.
1057 (.xload): Ditto.
1058 (__movmemx_hi): Ditto.
1059 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1060 (__do_global_dtors): Ditto.
1061 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1062 (__movmemx_hi): Ditto.
1063
1064 2012-03-05 Richard Henderson <rth@redhat.com>
1065
1066 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1067 [ARM] (count_trailing_zeros): Use the builtin.
1068
1069 2012-03-01 Kai Tietz <ktietz@redhat.com>
1070
1071 * soft-fp: Imported from glibc upstream.
1072
1073 2012-02-28 Kai Tietz <ktietz@redhat.com>
1074
1075 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1076 for mingw-targets as attribute gcc_struct.
1077
1078 2012-02-28 Ian Lance Taylor <iant@google.com>
1079
1080 * generic-morestack.c (__splitstack_releasecontext): Correct call
1081 to __morestack_release_segments.
1082
1083 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1084
1085 PR target/52390
1086 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1087 for __linux__ when removing signals from __morestack_fullmask.
1088
1089 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
1090
1091 PR target/52261
1092 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1093
1094 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1095
1096 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1097 instead of HAVE_INITFINI_ARRAY.
1098 * config/ia64/crtend.S: Likewise.
1099
1100 2012-02-20 Kai Tietz <ktietz@redhat.com>
1101
1102 PR libstdc++/52300
1103 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1104
1105 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1106 to w32-unwind.h header.
1107
1108 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1109
1110 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1111 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1112 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1113 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1114
1115 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1116
1117 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1118
1119 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1120
1121 PR libitm/52220
1122 * config/darwin-crt-tm.c: Correct typo.
1123
1124 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1125 Patrick Marlier <patrick.marlier@gmail.com>
1126
1127 PR libitm/52220
1128 * config/darwin-crt-tm.c: Generate dummy functions.
1129
1130 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1131 Patrick Marlier <patrick.marlier@gmail.com>
1132
1133 PR libitm/52042
1134 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1135 (__doTMRegistrations): Call it.
1136 (__doTMdeRegistrations): Likewise.
1137
1138 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
1139 Anatoly Sokolov <aesok@post.ru>
1140 Eric Weddington <eric.weddington@atmel.com>
1141
1142 PR target/52261
1143 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1144 (__epilogue_restores__): Ditto.
1145
1146 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
1147
1148 PR target/51921
1149 PR target/52205
1150 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1151 Solaris 11 and slightly reformat.
1152 (sparc_is_sighandler): Likewise.
1153
1154 2012-02-14 Walter Lee <walt@tilera.com>
1155
1156 * config.host: Handle tilegx and tilepro.
1157 * config/tilegx/sfp-machine.h: New file.
1158 * config/tilegx/sfp-machine32.h: New file.
1159 * config/tilegx/sfp-machine64.h: New file.
1160 * config/tilegx/t-crtstuff: New file.
1161 * config/tilegx/t-softfp: New file.
1162 * config/tilegx/t-tilegx: New file.
1163 * config/tilepro/atomic.c: New file.
1164 * config/tilepro/atomic.h: New file.
1165 * config/tilepro/linux-unwind.h: New file.
1166 * config/tilepro/sfp-machine.h: New file.
1167 * config/tilepro/softdivide.c: New file.
1168 * config/tilepro/softmpy.S: New file.
1169 * config/tilepro/t-crtstuff: New file.
1170 * config/tilepro/t-tilepro: New file.
1171
1172 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1173
1174 PR libstdc++/51296
1175 PR libstdc++/51906
1176 * gthr-posix.h: Allow static initializer macros to be disabled.
1177 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1178
1179 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1180
1181 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1182 Add t-slibgcc-libgcc to tmake_file.
1183 * config/mips/libgcc-mips16.ver: Revert previous patch.
1184 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1185
1186 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1187 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1188
1189 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1190 * config/cr16/crti.S: New file.
1191 * config/cr16/crtlibid.S: New file.
1192 * config/cr16/crtn.S: New file.
1193 * config/cr16/lib1funcs.S: New file.
1194 * config/cr16/t-cr16: New file.
1195 * config/cr16/t-crtlibid: New file.
1196 * config/cr16/unwind-dw2.h: New file.
1197 * config/cr16/unwind-cr16.c: New file.
1198 * config/cr16/divmodhi3.c: New file.
1199
1200 2012-01-25 Alan Modra <amodra@gmail.com>
1201
1202 * config/rs6000/t-linux64: Delete. Move..
1203 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1204 * config/rs6000/t-linux: ..and libgcc flags to here.
1205
1206 2012-01-22 Douglas B Rupp <rupp@gnat.com>
1207
1208 * config.host (i[34567]86-*-interix3*):
1209 Change triplet to i[34567]86-*-interix[3-9]*.
1210 * configure: Regenerate.
1211
1212 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1213 Richard Sandiford <rdsandiford@googlemail.com>
1214
1215 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1216 * config/mips/mips16.S (__mips16_rdhwr): New function.
1217 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1218
1219 2012-01-11 Nathan Sidwell <nathan@acm.org>
1220
1221 * libgcov.c (__gcov_init): Ignore objects with no functions.
1222
1223 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
1224
1225 PR target/49868
1226 Extend __pgmx semantics to linearize memory.
1227 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1228 * config/avr/lib1funcs.S (__xload_1): New function.
1229 (__movmemx_qi, __movmemx_hi): New functions.
1230 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1231 semantics.
1232
1233 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1234
1235 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1236 purported sigacthandler address isn't null before dereferencing it.
1237 (sparc_is_sighandler): Likewise.
1238
1239 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1240
1241 PR ada/41929
1242 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1243 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1244 (sparc_is_sighandler): Likewise.
1245 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1246
1247 2012-01-06 Tristan Gingold <gingold@adacore.com>
1248
1249 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1250 compatibility thunks...
1251 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1252 (crtbeginS.o, crtendS.o): ... and these to ...
1253 * config/ia64/t-ia64-elf: ... this new file.
1254 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1255 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1256
1257 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1258
1259 * configure: Regenerate.
1260 * config/s390/t-crtstuff: Remove -fPIC.
1261
1262 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1263
1264 PR bootstrap/51006
1265 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1266 for NetBSD.
1267
1268 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1269
1270 PR target/51345
1271 * config/avr/lib1funcs.S: Remove FIXME comments.
1272 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1273
1274 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1275
1276 Implement light-weight DImode support.
1277 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1278 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1279 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1280 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1281
1282 2011-12-30 Nathan Sidwell <nathan@acm.org>
1283
1284 * libgcov.c (gcov_crc32): Remove global var.
1285 (free_fn_data): New function.
1286 (buffer_fn_data): Pass in filename, more robust error recovery.
1287 (crc32_unsigned): New function.
1288 (gcov_exit): More robust detection of new program. More robust
1289 error recovery.
1290 (__gcov_init): Do not update program's crc here.
1291
1292 2011-12-21 Tristan Gingold <gingold@adacore.com>
1293
1294 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1295
1296 2011-12-21 Ian Lance Taylor <iant@google.com>
1297
1298 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1299
1300 2011-12-20 Ian Lance Taylor <iant@google.com>
1301
1302 * config/i386/morestack.S (__morestack_non_split): If there is
1303 enough stack space already, don't split. Ask for more stack space
1304 than we required.
1305
1306 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1307
1308 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1309 `sys/sdt.h'.
1310 (_Unwind_DebugHook): New function.
1311 (uw_restore_core_regs): New define.
1312 (unwind_phase2): Use uw_restore_core_regs instead of
1313 restore_core_regs.
1314 (unwind_phase2_forced): Likewise.
1315 (__gnu_Unwind_Resume): Likewise.
1316
1317 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
1318
1319 * config/alpha/linux-unwind.h: Update copyright years.
1320 (MD_FROB_UPDATE_CONTEXT): New define.
1321 (alpha_frob_update_context): New function.
1322
1323 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1324
1325 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1326 tmake_file rather replacing it.
1327
1328 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1329
1330 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1331 function is not used for PPC64.
1332 (save_world): Amend comments. Update the VRsave mask to reflect the
1333 saved regs.
1334 (rest_world): Update comments, do not clobber r10, do not use r8.
1335 (eh_rest_world_r10): Amend comments, do not use r8.
1336 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1337 no longer used, move restore of CR and target address to the end of
1338 the routine.
1339
1340 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1341
1342 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1343 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1344
1345 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
1346
1347 PR target/49313
1348 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1349 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1350
1351 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1352
1353 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1354
1355 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
1356
1357 PR target/49313
1358 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1359 * config/avr/lib1funcs.S (__muldi3): New function.
1360
1361 2011-12-06 Andrew Pinski <apinski@cavium.com>
1362
1363 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1364 size of func_ptr.
1365 (__frame_dummy_init_array_entry): Likewise.
1366
1367 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
1368
1369 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1370
1371 PR target/51345
1372 PR target/51002
1373 * config/avr/lib1funcs.S (__prologue_saves__,
1374 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1375 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1376
1377 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1378
1379 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1380
1381 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1382
1383 PR other/51272
1384 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1385 (_ITM_deregisterTMCloneTable): Likewise.
1386 (__register_frame_info): Fix unused warning.
1387 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1388 pthread_default_stacksize_np): Likewise.
1389 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1390
1391 2011-11-29 DJ Delorie <dj@redhat.com>
1392
1393 * config.host (rl78-*-elf): New case.
1394 * config/rl78: New directory for the Renesas RL78.
1395
1396 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1397
1398 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1399 formatting.
1400
1401 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1402
1403 PR other/51022
1404 * config/rs6000/t-savresfgpr: New file.
1405 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1406 $(srcdir)/config/rs6000/eabi.S.
1407 * config/rs6000/t-ppccomm-ldbl: Remove.
1408 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1409 tmake_file.
1410 (powerpc-*-eabispe*): Likewise.
1411 (powerpc-*-eabi*): Likewise.
1412 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1413 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1414 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1415 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1416 tmake_file.
1417 (powerpc-*-eabisim*): Likewise.
1418 (powerpc-*-elf*): Likewise.
1419 (powerpc-*-eabialtivec*): Likewise.
1420 (powerpc-xilinx-eabi*): Likewise.
1421 (powerpc-*-rtems*): Likewise.
1422 (powerpcle-*-elf*): Likewise.
1423 (powerpcle-*-eabisim*): Likewise.
1424 (powerpcle-*-eabi*): Likewise.
1425
1426 2011-11-27 Ian Lance Taylor <iant@google.com>
1427
1428 * generic-morestack.c (__splitstack_find): Check for NULL old
1429 stack value.
1430 (__splitstack_resetcontext): New function.
1431 (__splitstack_releasecontext): New function.
1432 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1433
1434 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1435
1436 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1437
1438 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1439
1440 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1441
1442 2011-11-26 Richard Henderson <rth@redhat.com>
1443
1444 * config/m68k/linux-atomic.c: New file.
1445 * config/m68k/t-linux: New file.
1446 * config.host (m68k-uclinux, m68k-linux): Use it.
1447
1448 2011-11-26 Richard Henderson <rth@redhat.com>
1449
1450 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1451 (__TMC_END__): Only declare if hidden is available; in the definition,
1452 if hidden is unavailable add a null record.
1453 (deregister_tm_clones, register_tm_clones): New.
1454 (__do_global_dtors_aux, frame_dummy): Use them.
1455 (__do_global_dtors, __do_global_ctors_1): Likewise.
1456
1457 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1458
1459 * config/darwin-crt-tm.c: New file.
1460 * config.host (darwin): Build crttms.o crttme.o to provide
1461 startup and shutdown for tm clones.
1462 * config/t-darwin (crttms.o): New build rule.
1463 (crttme.o): Likewise.
1464
1465 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
1466
1467 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1468 et al.
1469
1470 2011-11-21 Richard Henderson <rth@redhat.com>
1471
1472 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1473 (__TMC_LIST__, __TMC_END__): New.
1474 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1475 (__do_global_dtors): Likewise.
1476 (frame_dummy): Call _ITM_registerTMCloneTable.
1477 (__do_global_ctors_1): Likewise.
1478
1479 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1480
1481 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1482 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1483 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1484 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1485 * config/i386/t-darwin64: Remove.
1486 * config/sh/t-netbsd (LIB2ADD): Remove.
1487
1488 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
1489
1490 PR target/49313
1491 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1492 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1493 * config/avr/lib1funcs.S (wmov): New assembler macro.
1494 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1495 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1496 (__udivmod64): New function.
1497 (__negdi2): New function.
1498
1499 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1500
1501 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1502 *-*-freebsd*aout*): Remove.
1503
1504 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
1505
1506 * static-object.mk (c_flags-$o): Save c_flags.
1507 ($(base)$(objext)): Use it.
1508
1509 2011-11-18 Steve Ellcey <sje@cup.hp.com>
1510
1511 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1512
1513 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
1514
1515 PR target/49868
1516 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1517 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1518 New functions.
1519
1520 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1521
1522 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1523 functions.
1524 (aeabi_uidivmod): Likewise.
1525 (umodsi3): Likewise.
1526 (divsi3): Likewise.
1527 (aeabi_idivmod): Likewise.
1528 (modsi3): Likewise.
1529
1530 2011-11-16 Tristan Gingold <gingold@adacore.com>
1531
1532 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1533
1534 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
1535
1536 PR target/49868
1537 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1538 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1539
1540 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1541
1542 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1543 tmake_file list.
1544 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1545 * config/pa/t-stublib64: Delete.
1546
1547 2011-11-12 Richard Henderson <rth@redhat.com>
1548
1549 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1550 cast the pointer argument to _Unwind_SetGRPtr.
1551
1552 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1553
1554 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1555
1556 2011-11-09 Ian Lance Taylor <iant@google.com>
1557
1558 * generic-morestack.c: Include <string.h>.
1559 (uintptr_type): Define.
1560 (struct initial_sp): Add dont_block_signals field. Reduce size of
1561 extra array by 1.
1562 (allocate_segment): Set prev field to NULL. Don't set
1563 __morestack_current_segment or __morestack_segments.
1564 (__generic_morestack): Update current->prev and *pp after calling
1565 allocate_segment.
1566 (__morestack_block_signals): Don't do anything if
1567 dont_block_signals is set.
1568 (__morestack_unblock_signals): Likewise.
1569 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1570 uintptr_type.
1571 (__splitstack_block_signals): New function.
1572 (enum __splitstack_content_offsets): Define.
1573 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1574 (__splitstack_makecontext): New function.
1575 (__splitstack_block_signals_context): New function.
1576 (__splitstack_find_context): New function.
1577 * config/i386/morestack.S (__morestack_get_guard): New function.
1578 (__morestack_set_guard, __morestack_make_guard): New functions.
1579 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1580
1581 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1582
1583 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1584 (i[34567]86-*-mingw*): ... here.
1585 (x86_64-*-mingw*): ... here.
1586
1587 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1588
1589 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1590
1591 2011-11-07 Nathan Sidwell <nathan@acm.org>
1592
1593 * libgcov.c (struct gcov_fn_buffer): New struct.
1594 (buffer_fn_data): New helper.
1595 (gcov_exit): Rework for new gcov data structures.
1596
1597 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
1598
1599 PR target/49313
1600 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1601
1602 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1603
1604 * config.host (tmake_file): Correct comment.
1605 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1606 t-libgcc-pic.
1607 (bfin*-uclinux*): Likewise.
1608 (bfin*-linux-uclibc*): Likewise.
1609 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1610
1611 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1612 assigning.
1613 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1614 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1615 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1616 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1617 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1618 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1619 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1620 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1621 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1622 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1623 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1624 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1625 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1626
1627 * config/bfin/t-elf: Remove.
1628 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1629
1630 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1631
1632 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1633 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1634 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1635 (lm32-*-elf*): ... this.
1636 (lm32-*-rtems*): ... and this.
1637 Add to tmake_file.
1638 (m32r-*-rtems*): Add to tmake_file.
1639 (moxie-*-rtems*): Likewise.
1640 (sparc-*-rtems*): Likewise.
1641 Remove t-rtems from tmake_file.
1642 (sparc64-*-rtems*): Likewise.
1643 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1644 instead.
1645
1646 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1647
1648 PR bootstrap/50982
1649 * config/gthr-posix.h: Move ...
1650 * gthr-posix.h: ... here.
1651 * config/gthr-lynx.h: Reflect this.
1652 * config/gthr-vxworks.h: Likewise.
1653 * config/rs6000/gthr-aix.h: Likewise.
1654 * configure.ac (target_thread_file): Likewise.
1655 * configure: Regenerate.
1656
1657 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1658
1659 * config.host (arm*-*-rtemseabi*): New target.
1660
1661 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1662
1663 PR other/50991
1664 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1665 extra-parts.
1666
1667 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1668
1669 * config.host (epiphany-*-elf*): New configuration.
1670 * config/epiphany: New Directory.
1671
1672 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1673
1674 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1675 * config/avr/t-rtems: New.
1676 Filter out _exit from LIB1ASMFUNCS.
1677
1678 2011-11-04 David S. Miller <davem@davemloft.net>
1679
1680 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1681 * configure: Rebuild.
1682
1683 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1684
1685 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1686 variable.
1687
1688 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
1689
1690 PR target/50931
1691 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1692 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1693
1694 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1695
1696 PR target/50989
1697 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1698
1699 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1700
1701 * config/c6x/t-elf (LIB2ADDEH): Set.
1702 * config/c6x/t-c6x-elf: Remove.
1703
1704 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1705
1706 * config/i386/sol2-ci.S: Rename to ...
1707 * config/i386/crti.S: ... this.
1708 * config/i386/sol2-cn.S: Rename to ...
1709 * config/i386/crtn.S: ... this.
1710 * config/sparc/sol2-ci.S: Rename to ...
1711 * config/sparc/crti.S: ... this.
1712 * config/sparc/sol2-cn.S: Rename to ...
1713 * config/sparc/crtn.S: ... this.
1714 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1715 (crti.o, crtn.o): Remove.
1716
1717 2011-11-04 Tristan Gingold <gingold@adacore.com>
1718
1719 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1720
1721 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1722
1723 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1724
1725 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
1726
1727 * config.host (crisv32-*-none, cris-*-none): Remove.
1728 (crisv32-*-elf): Append to tmake_file, don't just set it.
1729 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1730
1731 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1732
1733 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1734 (ecrtn$(objext)): Likewise.
1735 (ncrti$(objext)): Likewise.
1736 (ncrtn$(objext)): Likewise.
1737
1738 2011-11-03 Andreas Schwab <schwab@redhat.com>
1739
1740 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1741
1742 2011-11-02 David S. Miller <davem@davemloft.net>
1743
1744 * configure.ac: Set host_address on sparc too.
1745 * configure: Regenerate.
1746 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1747 based upon host_address.
1748 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1749
1750 2011-11-02 Jason Merrill <jason@redhat.com>
1751
1752 * config/rs6000/t-ppccomm: Add missing \.
1753
1754 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1755
1756 * gthr-single.h, gthr.h: New files.
1757 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1758 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1759 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1760 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1761 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1762 * configure.ac (thread_header): New variable.
1763 Set it depending on target_thread_file.
1764 (gthr-default.h): Link from $thread_header.
1765 * configure: Regenerate.
1766 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1767
1768 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1769
1770 * configure.ac (tm_file_): New variable.
1771 Determine from tm_file.
1772 (tm_file, tm_defines): Substitute.
1773 * configure: Regenerate.
1774 * mkheader.sh: New file.
1775 * Makefile.in (clean): Remove libgcc_tm.h.
1776 ($(objects)): Depend on libgcc_tm.h.
1777 (libgcc_tm_defines, libgcc_tm_file): New variables.
1778 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1779 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1780 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1781 ($(extra-parts)): Depend on libgcc_tm.h.
1782 * config.host (tm_defines, tm_file): New variable.
1783 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1784 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1785 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1786 (avr-*-rtems*): Likewise.
1787 (avr-*-*): Likewise.
1788 (frv-*-elf): Likewise.
1789 (frv-*-*linux*): Likewise.
1790 (h8300-*-rtems*): Likewise.
1791 (h8300-*-elf*): Likewise.
1792 (i[34567]86-*-darwin*): Likewise.
1793 (x86_64-*-darwin*): Likewise.
1794 (rx-*-elf): Likewise.
1795 (tic6x-*-uclinux): Likewise.
1796 (tic6x-*-elf): Likewise.
1797 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1798 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1799 * config/i386/cygming-crtbegin.c: Likewise.
1800 * config/i386/cygming-crtend.c: Likewise.
1801 * config/ia64/fde-vms.c: Likewise.
1802 * config/ia64/unwind-ia64.c: Likewise.
1803 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1804 * config/rs6000/darwin-fallback.c: Likewise.
1805 * config/stormy16/lib2funcs.c: Likewise.
1806 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1807 * crtstuff.c: Likewise.
1808 * dfp-bit.h: Likewise.
1809 * emutls.c: Likewise.
1810 * fixed-bit.c: Likewise.
1811 * fp-bit.c: Likewise.
1812 * generic-morestack-thread.c: Likewise.
1813 * generic-morestack.c: Likewise.
1814 * libgcc2.c: Likewise.
1815 * libgcov.c: Likewise.
1816 * unwind-dw2-fde-dip.c: Likewise.
1817 * unwind-dw2-fde.c: Likewise.
1818 * unwind-dw2.c: Likewise.
1819 * unwind-sjlj.c: Likewise.
1820
1821 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1822
1823 * configure.ac: Include ../config/picflag.m4.
1824 (GCC_PICFLAG): Call it.
1825 Substitute.
1826 * configure: Regenerate.
1827 * Makefile.in (gcc_srcdir): Remove.
1828 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1829 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1830 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1831 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1832 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1833 Use $<.
1834 Remove comment.
1835 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1836 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1837 to refer to libgcc2.c.
1838 Use $<.
1839 * config/darwin-64.c: New file.
1840 * config/darwin-crt3.c: Remove comment.
1841 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1842 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1843 config/udivmodsi4.c: New files.
1844 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1845 config/memset.c: New files.
1846 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1847 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1848 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1849 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1850 * config/t-openbsd-thread: New file.
1851 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1852 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1853 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1854 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1855 qrnnd.S.
1856 Adapt filename.
1857 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1858 to refer to gthr-posix.c.
1859 * config/alpha/t-vms (LIB2ADD): Set.
1860 * config/alpha/vms-gcc_shell_handler.c: New file.
1861 * config/arm/bpabi.c, config/arm/fp16.c,
1862 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1863 config/arm/unaligned-funcs.c: New files.
1864 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1865 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1866 * config/arm/t-linux: Likewise.
1867 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1868 * config/arm/t-netbsd: New file.
1869 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1870 * config/arm/t-symbian (LIB2ADD_ST): Set.
1871 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1872 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1873 * config/bfin/t-elf: New file.
1874 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1875 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1876 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1877 config/c6x/ltf.c: New files.
1878 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1879 (HOST_LIBGCC2_CFLAGS): Set.
1880 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1881 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1882 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1883 New files.
1884 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1885 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1886 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1887 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1888 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1889 files.
1890 * config/frv/t-frv (LIB2ADD): Set.
1891 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1892 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1893 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1894 config/h8300/popcounthi2.c: New files.
1895 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1896 * config/i386/gthr-win32.c: New file.
1897 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1898 * config/i386/t-cygwin: Likewise.
1899 * config/i386/t-darwin, config/i386/t-darwin64,
1900 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1901 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1902 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1903 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1904 * config/ia64/quadlib.c: New file.
1905 * config/ia64/t-hpux (LIB2ADD): Set.
1906 * config/ia64/t-ia64: Add comment.
1907 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1908 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1909 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1910 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1911 * config/m32c/t-m32c (LIB2ADD): Set.
1912 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1913 * config/m32r/t-m32r: Likewise.
1914 * config/m68k/fpgnulib.c: New file.
1915 * config/m68k/t-floatlib (LIB2ADD): Set.
1916 (xfgnulib.c): New target.
1917 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1918 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1919 * config/mep/t-mep (LIB2ADD): Set.
1920 * config/microblaze/divsi3.asm: Rename to divsi3.S.
1921 * config/microblaze/moddi3.asm: Rename to moddi3.S.
1922 * config/microblaze/modsi3.asm: Rename to modsi3.S.
1923 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1924 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1925 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1926 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1927 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1928 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1929 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1930 New files.
1931 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1932 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1933 * config/pa/fptr.c, config/pa/lib2funcs.S,
1934 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1935 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1936 (LIB2ADD, LIB2ADD_ST): Set.
1937 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1938 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1939 Set.
1940 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1941 * config/pdp11/t-pdp11: New file.
1942 * config/picochip/libgccExtras/adddi3.S,
1943 config/picochip/libgccExtras/ashlsi3.S,
1944 config/picochip/libgccExtras/ashrsi3.S,
1945 config/picochip/libgccExtras/clzsi2.S,
1946 config/picochip/libgccExtras/cmpsi2.S,
1947 config/picochip/libgccExtras/divmod15.S,
1948 config/picochip/libgccExtras/divmodhi4.S,
1949 config/picochip/libgccExtras/divmodsi4.S,
1950 config/picochip/libgccExtras/lshrsi3.S,
1951 config/picochip/libgccExtras/parityhi2.S,
1952 config/picochip/libgccExtras/popcounthi2.S,
1953 config/picochip/libgccExtras/subdi3.S,
1954 config/picochip/libgccExtras/ucmpsi2.S,
1955 config/picochip/libgccExtras/udivmodhi4.S,
1956 config/picochip/libgccExtras/udivmodsi4.S: New files.
1957 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1958 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1959 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1960 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1961 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1962 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1963 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
1964 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1965 files.
1966 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1967 (HOST_LIBGCC2_CFLAGS): Set.
1968 * config/rs6000/t-darwin64: New file.
1969 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1970 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1971 * config/rs6000/t-ppccomm (LIB2ADD): Add
1972 $(srcdir)/config/rs6000/tramp.S.
1973 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1974 Add $(srcdir)/config/rs6000/eabi.S.
1975 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1976 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1977 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1978 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1979 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1980 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1981 * config/rs6000/tramp.S: New file.
1982 * config/s390/t-tpf: Remove.
1983 * config/sh/linux-atomic.S: New file.
1984 * config/sh/t-linux (LIB2ADD): Set.
1985 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1986 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1987 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1988 to unwind-dw2.c.
1989 (HOST_LIBGCC2_CFLAGS): Set.
1990 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1991 * config/spu/divmodti4.c, config/spu/divv2df3.c,
1992 config/spu/float_disf.c, config/spu/float_unsdidf.c,
1993 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1994 config/spu/mfc_multi_tag_release.c,
1995 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1996 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1997 config/spu/multi3.c: New files.
1998 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1999 (HOST_LIBGCC2_CFLAGS): Set.
2000 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2001 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2002 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2003 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2004 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2005 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2006 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2007 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2008 config/stormy16/umodsi3.c: New files.
2009 * config/xtensa/lib2funcs.S: New file.
2010 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2011 * config/xtensa/t-xtensa (LIB2ADD): Set.
2012 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2013 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2014 Add t-freebsd-thread to tmake_file for posix threads.
2015 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2016 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2017 (*-*-lynxos*): Likewise.
2018 (*-*-netbsd*): Likewise.
2019 (*-*-openbsd*): Likewise.
2020 Add t-openbsd-thread to tmake_file for posix threads.
2021 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2022 (*-*-vxworks*): Set tmake_file.
2023 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2024 (alpha*-*-freebsd*): Likewise.
2025 (alpha*-*-netbsd*): Likewise.
2026 (alpha*-*-openbsd*): Likewise.
2027 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2028 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2029 (alpha*-dec-*vms*): Likewise.
2030 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2031 (bfin*-elf*): Add bfin/t-elf to tmake_file.
2032 (bfin*-uclinux*): Likewise.
2033 (bfin*-linux-uclibc*): Likewise.
2034 (crisv32-*-elf): Add cris/t-cris to tmake_file.
2035 (crisv32-*-none): Likewise.
2036 (cris-*-elf): Likewise.
2037 (cris-*-none): Likewise.
2038 (cris-*-linux*, crisv32-*-linux*): Likewise.
2039 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2040 tmake_file.
2041 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2042 tmake_file.
2043 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2044 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2045 (x86_64-*-elf*): Likewise.
2046 (i[34567]86-*-nto-qnx*): Likewise.
2047 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2048 win32 threads.
2049 (x86_64-*-mingw*): Likewise.
2050 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2051 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2052 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2053 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2054 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2055 tmake_file.
2056 (mipsisa64sr71k-*-elf*): Likewise.
2057 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2058 (mips-*-elf*, mipsel-*-elf*): Likewise.
2059 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2060 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2061 (mips*-*-rtems*): Likewise.
2062 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2063 to tmake_file.
2064 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2065 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2066 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2067 (spu-*-elf*): Likewise.
2068 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2069
2070 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2071
2072 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2073 $(srcdir) to refer to $(LIB1ASMSRC).
2074 Use $<.
2075 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2076 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2077 config/arm/lib1funcs.S: New files.
2078 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2079 * config/arm/t-arm: New file.
2080 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2081 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2082 config/arm/t-strongarm-elf: New files.
2083 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2084 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2085 * config/avr/lib1funcs.S: New file.
2086 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2087 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2088 * config/c6x/lib1funcs.S: New file.
2089 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2090 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2091 * config/frv/lib1funcs.S: New file.
2092 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2093 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2094 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2095 * config/ia64/__divxf3.asm: Rename to ...
2096 * config/ia64/__divxf3.S: ... this.
2097 Adapt lib1funcs.asm filename.
2098 * config/ia64/_fixtfdi.asm: Rename to ...
2099 * config/ia64/_fixtfdi.S: ... this.
2100 Adapt lib1funcs.asm filename.
2101 * config/ia64/_fixunstfdi.asm: Rename to ...
2102 * config/ia64/_fixunstfdi.S: ... this.
2103 Adapt lib1funcs.asm filename.
2104 * config/ia64/_floatditf.asm: Rename to ...
2105 * config/ia64/_floatditf.S: ... this.
2106 Adapt lib1funcs.asm filename.
2107 * config/ia64/lib1funcs.S: New file.
2108 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2109 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2110 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2111 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2112 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2113 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2114 * config/mep/lib1funcs.S: New file.
2115 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2116 * config/mips/mips16.S: New file.
2117 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2118 * config/pa/milli64.S: New file.
2119 * config/pa/t-linux, config/pa/t-linux64: New files.
2120 * config/picochip/lib1funcs.S: New file.
2121 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2122 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2123 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2124 * config/sh/t-netbsd: New file.
2125 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2126 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2127 * config/sh/t-sh64: New file.
2128 * config/sparc/lb1spc.S: New file.
2129 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2130 filename.
2131 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2132 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2133 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2134 config/xtensa/lib1funcs.S: New files.
2135 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2136 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2137 tmake_file.
2138 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2139 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2140 (arm*-*-linux*): Likewise.
2141 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2142 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2143 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2144 (arm*-*-ecos-elf): Likewise.
2145 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2146 (arm*-*-rtems*): Likewise.
2147 (arm*-*-elf): Likewise.
2148 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2149 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2150 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2151 (bfin*-uclinux*): Likewise.
2152 (bfin*-linux-uclibc*): Likewise.
2153 (bfin*-rtems*): Likewise.
2154 (bfin*-*): Likewise.
2155 (fido-*-elf): Merge into m68k-*-elf*.
2156 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2157 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2158 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2159 (h8300-*-elf*): Likewise.
2160 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2161 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2162 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2163 (i[34567]86-*-mingw*): Likewise.
2164 (x86_64-*-mingw*): Likewise.
2165 (i[34567]86-*-interix3*): Likewise.
2166 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2167 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2168 (m68k-*-elf*): Also handle fido-*-elf.
2169 Add m68k/t-floatlib to tmake_file.
2170 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2171 (m68k-*-linux*): Likewise.
2172 (m68k-*-rtems*): Likewise.
2173 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2174 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2175 sh64*-*-*.
2176 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2177 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2178 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2179 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2180 sh/t-netbsd to tmake_file.
2181 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2182 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2183 (sh-wrs-vxworks): Likewise.
2184 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2185 *-leon[3-9]*.
2186 (v850*-*-*): Add v850/t-v850 to tmake_file.
2187 (vax-*-linux*): Add vax/t-linux to tmake_file.
2188 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2189
2190 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2191
2192 * crtstuff.c: New file.
2193 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2194 (CRTSTUFF_T_CFLAGS): Define.
2195 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2196 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2197 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2198 crtstuff.c.
2199 Use $<.
2200 (crtbeginT.o): Use $(objext).
2201 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2202 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2203 (gcc-extra-parts): Remove.
2204 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2205 Set extra_parts.
2206 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2207 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2208 Add t-crtstuff-pic to tmake_file.
2209 (*-*-lynxos*): New case.
2210 Set tmake_file, extra_parts.
2211 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2212 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2213 *-*-netbsdelf[2-9]*.
2214 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2215 (*-*-rtems*): Set extra_parts.
2216 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2217 (*-*-uclinux*): New case.
2218 Set extra_parts.
2219 (*-*-vms*): New case.
2220 Set tmake_file, extra_parts.
2221 (*-*-elf): Set extra_parts.
2222 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2223 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2224 vms/t-vms64.
2225 Set extra_parts.
2226 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2227 Set extra_parts.
2228 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2229 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2230 (arm-wrs-vxworks): Append to tmake_file.
2231 Set extra_parts.
2232 (arm*-*-uclinux*): Set extra_parts.
2233 (arm*-*-ecos-elf): Likewise.
2234 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2235 arm*-*-eabi*.
2236 (arm*-*-rtems*): Set extra_parts.
2237 (arm*-*-elf): Likewise.
2238 (avr-*-rtems*): Clear extra_parts.
2239 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2240 Set extra_parts.
2241 (bfin*-uclinux*): Likewise.
2242 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2243 (bfin*-rtems*): Append to tmake_file.
2244 Set extra_parts.
2245 (bfin*-*): Likewise.
2246 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2247 (crisv32-*-elf): ... this.
2248 (crisv32-*-none): ... this.
2249 (cris-*-elf, cris-*-none): New cases.
2250 Add cris/t-elfmulti to tmake_file.
2251 (fr30-*-elf): Append to tmake_file.
2252 Set extra_parts.
2253 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2254 Set extra_parts.
2255 (h8300-*-rtems*): Append to tmake_file.
2256 Set extra_parts.
2257 (h8300-*-elf*): Likewise.
2258 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2259 Set extra_parts.
2260 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2261 Set extra_parts.
2262 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2263 (x86_64-*-elf*): Likewise.
2264 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2265 (x86_64-*-freebsd*): Likewise.
2266 (x86_64-*-netbsd*): Likewise.
2267 (i[34567]86-*-linux*): Likewise.
2268 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2269 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2270 (x86_64-*-linux*): Likewise.
2271 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2272 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2273 tmake_file.
2274 Set extra_parts.
2275 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2276 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2277 Append to extra_parts, remove crtbegin.o, crtend.o.
2278 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2279 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2280 crtend.o, crtbeginS.o, crtendS.o.
2281 (ia64*-*-linux*): Comment extra_parts.
2282 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2283 Set extra_parts.
2284 (iq2000*-*-elf*): Clear extra_parts.
2285 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2286 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2287 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2288 (m32r-*-rtems*): ... this.
2289 Add m32r/t-m32r to tmake_file.
2290 (m68k-*-elf*): Add t-crtin to tmake_file.
2291 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2292 (mcore-*-elf): Likewise.
2293 (microblaze*-*-*): Set extra_parts.
2294 (mips*-sde-elf*): New case.
2295 Set tmake_file, extra_parts.
2296 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2297 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2298 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2299 tmake_file.
2300 Set extra_parts.
2301 (mipsisa64sr71k-*-elf*): Likewise.
2302 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2303 (mips-*-elf*, mipsel-*-elf*): Likewise.
2304 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2305 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2306 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2307 (mips*-*-rtems*): Likewise.
2308 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2309 (moxie-*-*): Split into ...
2310 (moxie-*-elf, moxie-*-uclinux*): ... this.
2311 Add to extra_parts, remove crtbegin.o, crtend.o.
2312 (moxie-*-rtems*): New case.
2313 Set tmake_file.
2314 Clear extra_parts.
2315 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2316 Set extra_parts.
2317 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2318 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2319 tmake_file.
2320 Set extra_parts.
2321 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2322 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2323 Set extra_parts.
2324 (powerpc-*-eabisim*): Likewise.
2325 (powerpc-*-elf*): Likewise.
2326 (powerpc-*-eabialtivec*): Likewise.
2327 (powerpc-xilinx-eabi*): Likewise.
2328 (powerpc-*-eabi*): Likewise.
2329 (powerpc-*-rtems*): Likewise.
2330 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2331 tmake_file.
2332 Set extra_parts.
2333 (powerpc-*-lynxos*): Add to tmake_file.
2334 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2335 rs6000/t-crtstuff, t-crtstuff-pic.
2336 Set extra_parts.
2337 (powerpcle-*-eabisim*): Likewise.
2338 (powerpcle-*-eabi*): Likewise.
2339 (rx-*-elf): Remove extra_parts.
2340 (s390x-ibm-tpf*): Set extra_parts.
2341 (score-*-elf): Set extra_parts.
2342 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2343 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2344 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2345 (sh64l*-*-netbsd*): Split into ...
2346 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2347 Add t-crtstuff-pic to tmake_file.
2348 Set extra_parts.
2349 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2350 Set extra_parts.
2351 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2352 (sparc-*-elf*): Remove t-crtin from tmake_file.
2353 Add to extra_parts, remove crtbegin.o, crtend.o.
2354 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2355 (sparc64-*-linux*): Likewise.
2356 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2357 Add to extra_parts, remove crtbegin.o, crtend.o.
2358 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2359 Add to extra_parts, remove crtbegin.o, crtend.o.
2360 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2361 Add to extra_parts, remove crtbegin.o, crtend.o.
2362 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2363 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2364 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2365 Set extra_parts.
2366 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2367 Set extra_parts.
2368 (tic6x-*-*): Change to ...
2369 (tic6x-*-elf): ... this.
2370 Set extra_parts.
2371 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2372 Set extra_parts.
2373 (am33_2.0-*-linux*): Add comment.
2374 (mep*-*-*): Add mep/t-mep to tmake_file.
2375 Set extra_parts.
2376 * config/alpha/t-vms: New file.
2377 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2378 * config/arm/crti.S, config/arm/crtn.S: New files.
2379 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2380 * config/bfin/crtlibid.S: New file.
2381 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2382 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2383 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2384 (crti.o, crtin.o): New rules.
2385 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2386 * config/c6x/t-uclinux: New file.
2387 * config/cris/t-elfmulti: New file.
2388 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2389 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2390 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2391 * config/frv/t-frv: New file.
2392 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2393 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2394 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2395 New files.
2396 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2397 refer to cygming-crtbegin.c, cygming-crtend.c.
2398 Use $<.
2399 * config/i386/t-nto: New file.
2400 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2401 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2402 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2403 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2404 Use .S extension.
2405 Use $<.
2406 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2407 (crtinitS.o): New rule.
2408 * config/ia64/vms-crtinit.S: New file.
2409 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2410 * config/m32r/initfini.c: New file.
2411 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2412 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2413 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2414 * config/mep/t-mep: New file.
2415 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2416 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2417 * config/mips/crti.S, config/mips/crtn.S: New files.
2418 * config/mips/t-crtstuff: New file.
2419 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2420 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2421 (CUSTOM_CRTIN): Set.
2422 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2423 dependencies.
2424 Use $(srcdir) to refer to crti.S, crtn.S.
2425 Use .S extension, $<.
2426 * config/moxie/crti.asm: Rename to ...
2427 * config/moxie/crti.S: ... this.
2428 * config/moxie/crtn.asm: Rename to ...
2429 * config/moxie/crtn.S: ... this.
2430 * config/moxie/t-moxie: Remove.
2431 * config/pa/stublib.c: New file.
2432 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2433 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2434 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2435 * config/rs6000/t-crtstuff: New file.
2436 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2437 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2438 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2439 Make output file explicit.
2440 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2441 Make output file explicit.
2442 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2443 Make output file explicit.
2444 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2445 Make output file explicit.
2446 * config/score/crti.S, config/score/crtn.S: New files.
2447 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2448 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2449 files.
2450 * config/sh/t-sh, config/sh/t-superh: New files.
2451 * config/sparc/t-linux64: New file.
2452 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2453 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2454 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2455 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2456 * config/t-crtin: Remove.
2457 * config/t-crtstuff-pic: New file.
2458 * config/t-sol2 (CUSTOM_CRTIN): Set.
2459 (crti.o, crtn.o): New rules.
2460 * config/vms/t-vms: New file.
2461 * config/vms/vms-ucrt0.c: New file.
2462 * config/xtensa/t-elf: New file.
2463
2464 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2465
2466 * Makefile.in (SHLIB_NM_FLAGS): Set.
2467 * mkmap-flat.awk, mkmap-symver.awk: New files.
2468 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2469 exceptions.
2470 * configure: Regenerate.
2471 * config/libgcc-glibc.ver: New file.
2472 * config/libgcc-libsystem.ver: New file.
2473 * config/t-libunwind (SHLIB_LC): Set.
2474 * config/t-linux: New file.
2475 * config/t-slibgcc (INSTALL_SHLIB): New.
2476 (SHLIB_INSTALL): Use it.
2477 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2478 to mkmap-symver.awk.
2479 (SHLIB_MAPFILES): Don't append, adapt pathname.
2480 (SHLIB_VERPFX): Set.
2481 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2482 to mkmap-symver.awk.
2483 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2484 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2485 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2486 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2487 to mkmap-flat.awk.
2488 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2489 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2490 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2491 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2492 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2493 * config/i386/libgcc-darwin.10.4.ver,
2494 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2495 New files.
2496 * config/i386/t-darwin: Remove.
2497 * config/i386/t-darwin64: Likewise.
2498 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2499 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2500 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2501 * config/i386/t-linux: New file.
2502 * config/i386/t-mingw32: New file.
2503 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2504 * config/ia64/t-glibc: Rename to ...
2505 * config/ia64/t-linux: ... this.
2506 (SHLIB_MAPFILES): Set.
2507 * config/ia64/t-glibc-libunwind: Rename to ...
2508 * config/ia64/t-linux-libunwind: ... this.
2509 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2510 * config/ia64/t-slibgcc-hpux: New file.
2511 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2512 * config/m68k/t-slibgcc-elf-ver: New file.
2513 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2514 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2515 to mkmap-flat.awk.
2516 * config/pa/t-slibgcc-hpux: New file.
2517 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2518 files.
2519 * config/rs6000/libgcc-darwin.10.4.ver,
2520 config/rs6000/libgcc-darwin.10.5.ver: New files.
2521 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2522 config/rs6000/libgcc-glibc.ver.
2523 * config/rs6000/libgcc-ppc64.ver: Rename to
2524 config/rs6000/libgcc-ibm-ldouble.ver.
2525 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2526 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2527 * config/rs6000/t-ldbl128: Rename to ...
2528 * config/rs6000/t-linux: ... this.
2529 (SHLIB_MAPFILES): Adapt filename.
2530 * config/rs6000/t-slibgcc-aix: New file.
2531 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2532 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2533 libgcc-excl.ver, libgcc-glibc.ver.
2534 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2535 * config/sparc/libgcc-glibc.ver: New file.
2536 * config/sparc/t-linux: New file.
2537 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2538 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2539 t-slibgcc-elf-ver to tmake_file.
2540 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2541 *-*-freebsd[34].
2542 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2543 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2544 t-slibgcc-elf-ver, t-linux to tmake_file.
2545 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2546 tmake_file.
2547 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2548 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2549 (alpha*-dec-*vms*): Likewise.
2550 (arm*-*-freebsd*): Append to tmake_file.
2551 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2552 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2553 arm*-*-linux-*eabi.
2554 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2555 tmake_file for arm*-*-symbianelf*.
2556 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2557 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2558 cris/t-linux.
2559 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2560 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2561 pa/t-slibgcc-dwarf-ver to tmake_file.
2562 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2563 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2564 (hppa*64*-*-hpux11*): Likewise.
2565 (hppa[12]*-*-hpux11*): Likewise.
2566 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2567 i386/t-crtpc, i386/t-crtfm.
2568 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2569 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2570 to tmake_file.
2571 Add i386/t-cygwin to tmake_file.
2572 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2573 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2574 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2575 to tmake_file.
2576 Add i386/t-mingw32 to tmake_file.
2577 (x86_64-*-mingw*): Likewise.
2578 (ia64*-*-freebsd*): Append to tmake_file.
2579 (ia64*-*-linux*): Append to tmake_file.
2580 Replace ia64/t-glibc by ia64/t-linux.
2581 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2582 system libunwind.
2583 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2584 t-slibgcc-hpux to tmake_file.
2585 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2586 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2587 (m32rle-*-linux*): Likewise.
2588 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2589 sjlj exceptions.
2590 (microblaze*-linux*): New case.
2591 Append to tmake_file, add t-slibgcc-nolc-override.
2592 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2593 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2594 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2595 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2596 rs6000/t-slibgcc-aix to tmake_file.
2597 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2598 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2599 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2600 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2601 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2602 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2603 sh*-*-linux*.
2604 (sparc-*-linux*): Append to tmake_file for *-leon*.
2605 Add sparc/t-linux to tmake_file for non-Leon targets.
2606 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2607 (tic6x-*-uclinux): New case.
2608 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2609 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2610 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2611 (am33_2.0-*-linux*): Append to tmake_file.
2612 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2613 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2614 x86_64-*-kfreebsd*-gnu.
2615 Add i386/t-linux to tmake_file.
2616
2617 2011-10-28 Ian Lance Taylor <iant@google.com>
2618
2619 * config/i386/morestack.S: Correct CFI information to do proper
2620 returns throughout function. In 32-bit mode, save %ebx so that it
2621 is restored on unwind.
2622
2623 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2624
2625 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2626 case where B3 isn't the return register.
2627
2628 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2629 logic for doubleword pops.
2630
2631 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
2632
2633 * config/rs6000/t-freebsd: Add wildcard.
2634
2635 2011-10-21 Paul Brook <paul@codesourcery.com>
2636
2637 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2638
2639 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
2640 Eric Botcazou <ebotcazou@adacore.com>
2641
2642 PR target/50737
2643 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2644 fs->signal_frame to 1.
2645
2646 2011-10-07 Ian Lance Taylor <iant@google.com>
2647
2648 * generic-morestack-thread.c: #include <errno.h>.
2649
2650 2011-10-07 Ian Lance Taylor <iant@google.com>
2651
2652 PR target/46093
2653 * generic-morestack.c (__generic_morestack): Make sure the segment
2654 is large enough for both the stack frame and the copied
2655 parameters.
2656
2657 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2658
2659 PR bootstrap/49804
2660 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2661 extra_parts.
2662
2663 2011-09-28 Nick Clifton <nickc@redhat.com>
2664
2665 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2666 64-bit doubles are not enabled.
2667 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2668 and floatunsisf functions.
2669
2670 2011-09-13 Paul Brook <paul@codesourcery.com>
2671
2672 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2673 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2674 * unwind-arm-common.inc: New file.
2675 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2676 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2677 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2678 * config/c6x/libunwind.S: New file.
2679 * config/c6x/pr-support.c: New file.
2680 * config/c6x/unwind-c6x.c: New file.
2681 * config/c6x/unwind-c6x.h: New file.
2682 * config/c6x/t-c6x-elf: New file.
2683
2684 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
2685
2686 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2687 (ASM_DIVZERO): Ditto.
2688 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2689
2690 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2691
2692 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2693
2694 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2695
2696 PR target/50090
2697 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2698 instead of an assembly one.
2699
2700 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
2701
2702 PR bootstrap/50047
2703 * Makefile.in (install-unwind_h): Create
2704 $(gcc_objdir)/include/unwind.h atomically.
2705
2706 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2707
2708 * Makefile.in (install-unwind_h): Remove destination file first.
2709
2710 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2711
2712 * sync.c: New file.
2713 * config/mips/t-mips16: New file.
2714 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2715 (mips*-*-linux*): Likewise.
2716 (mips*-sde-elf*): Likewise.
2717 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2718 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2719 Add mips/t-mips16 to tmake_file.
2720 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2721 (mips-*-elf*): Likewise.
2722 (mips64-*-elf*): Likewise.
2723 (mips64orion-*-elf*): Likewise.
2724 (mips*-*-rtems*): Likewise.
2725 (mipstx39-*-elf*): Likewise.
2726 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2727 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2728 LIBGCC_SYNC_CFLAGS.
2729 Use $(srcdir) to refer to sync.c.
2730 Use $<.
2731 ($(libgcc-sync-funcs-o)): Likewise.
2732 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2733 ($(libgcc-sync-funcs-s-o)): Likewise.
2734
2735 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2736
2737 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2738 t-libunwind.
2739
2740 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2741
2742 PR other/48007
2743 * config/i386/value-unwind.h: New.
2744
2745 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2746
2747 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2748 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2749 Add to tmake_file rather than overriding it.
2750
2751 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2752
2753 * config/t-softfp: Remove.
2754 * soft-fp: Moved from ../gcc/config.
2755 * soft-fp/README: Remove t-softfp reference.
2756 * soft-fp/t-softfp: Move to config/t-softfp.
2757 (softfp_machine_header): Remove.
2758 (softfp_file_list): Remove config subdir.
2759 (soft-fp-objects): New variable.
2760 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2761 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2762 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2763 * config/t-softfp-excl: New file.
2764 * config/t-softfp-sfdf: New file.
2765 * config/t-softfp-tf: New file.
2766 * config/no-sfp-machine.h: New file.
2767 * config/arm/sfp-machine.h: New file.
2768 * config/arm/t-softfp: New file.
2769 * config/c6x/sfp-machine.h: New file.
2770 * config/i386/32/t-fprules-softfp: Rename to ...
2771 * config/i386/32/t-softfp: ... this.
2772 (tifunctions, LIB2ADD): Remove.
2773 (softfp_int_modes): Override.
2774 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2775 subdir.
2776 * config/i386/64/eqtf2.c: Likewise.
2777 * config/i386/64/getf2.c: Likewise.
2778 * config/i386/64/letf2.c: Likewise.
2779 * config/ia64/sft-machine.h: New file.
2780 * config/ia64/t-fprules-softfp: Rename to ...
2781 * config/ia64/t-softfp: ... this.
2782 * config/lm32/sfp-machine.h: New file.
2783 * config/moxie/t-moxie-softfp: Remove.
2784 * config/rs6000/ibm-ldouble-format: New file.
2785 * config/rs6000/ibm-ldouble.c: New file.
2786 * config/rs6000/libgcc-ppc-glibc.ver: New file
2787 * config/rs6000/libgcc-ppc64.ver: New file
2788 * config/rs6000/sfp-machine.h: New file.
2789 * config/rs6000/t-freebsd: New file.
2790 * config/rs6000/t-ibm-ldouble: New file.
2791 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2792 libgcc-ppc-glibc.ver.
2793 * config/rs6000/t-linux64: New file.
2794 * config/rs6000/t-ppccomm (LIB2ADD): Add
2795 $(srcdir)/config/rs6000/ibm-ldouble.c.
2796 * config/rs6000/t-ppccomm-ldbl: New file.
2797 * config/score/sfp-machine.h: New file.
2798 * config.host (sfp_machine_header): Explain.
2799 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2800 t-softfp to tmake_file.
2801 (arm*-*-uclinux*): Likewise.
2802 (arm*-*-ecos-elf): Likewise.
2803 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2804 (arm*-*-rtems*): Likewise.
2805 (arm*-*-elf): Likewise.
2806 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2807 in tmake_file.
2808 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2809 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2810 (lm32-*-uclinux*): Likewise.
2811 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2812 t-softfp-excl, t-softfp.
2813 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2814 (powerpc64-*-darwin*): Likewise.
2815 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2816 to tmake_file.
2817 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2818 tmake_file.
2819 (powerpc-*-eabisim*): Likewise.
2820 (powerpc-*-elf*): Likewise.
2821 (powerpc-*-eabialtivec*): Likewise.
2822 (powerpc-xilinx-eabi*): Likewise.
2823 (powerpc-*-rtems*): Likewise.
2824 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2825 t-softfp-excl, t-softfp to tmake_file.
2826 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2827 rs6000/t-ppccomm-ldbl to tmake_file.
2828 (powerpcle-*-elf*): Likewise.
2829 (powerpcle-*-eabisim*): Likewise.
2830 (powerpcle-*-eabi*): Likewise.
2831 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2832 rs6000/t-ibm-ldouble to tmake_file.
2833 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2834 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2835 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2836 (tic6x-*-*): Likewise.
2837 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2838 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2839 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2840 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2841 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2842 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2843 t-softfp to tmake_file.
2844 * configure.ac (sfp_machine_header): Provide default if unset.
2845 Substitute.
2846 Link sfp-machine.h to config/$sfp_machine_header.
2847 * configure: Regenerate.
2848
2849 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2850
2851 * Makefile.in (double_type_size, long_double_type_size): Set.
2852 Remove $(fpbit-in-libgcc) support.
2853 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2854 (fpbit-src): New variable.
2855 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2856 Compile with -DFLOAT $(FPBIT_CFLAGS).
2857 Use $<.
2858 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2859 Compile with $(FPBIT_CFLAGS).
2860 Use $<.
2861 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2862 Compile with -DFLOAT $(TPBIT_CFLAGS).
2863 Use $<.
2864 * configure.ac (double_type_size, long_double_type_size):
2865 Determine and substitute.
2866 * configure: Regenerate.
2867 * fp-bit.c, fp-bit.h: New files.
2868 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2869 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2870 * config/mips/t-mips: New file.
2871 * config/mips/t-sdemtk: New file.
2872 * config/rs6000/ppc64-fp.c: New file.
2873 * config/rs6000/t-darwin (LIB2ADD): Add
2874 $(srcdir)/config/rs6000/ppc64-fp.c.
2875 * config/rs6000/t-ppc64-fp: New file.
2876 * config/rx/rx-lib.h: New file.
2877 * config/rx/t-rx (FPBIT): Set to true.
2878 ($(gcc_objdir)/fp-bit.c): Remove.
2879 (DPBIT): Set to true only with -m64bit-doubles.
2880 ($(gcc_objdir)/dp-bit.c): Remove.
2881 * config/sparc/t-softfp: Remove.
2882 * config/spu/t-elf: New file.
2883 * config/t-fdpbit, config/t-fpbit: New files.
2884 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2885 (mips*-*-*): Likewise.
2886 (arm-wrs-vxworks): Likewise.
2887 (arm*-*-freebsd*): Likewise.
2888 (avr-*-rtems*): Add t-fpbit to tmake_file.
2889 (avr-*-*): Likewise.
2890 (bfin*-elf*): Add t-fdpbit to tmake_file.
2891 (bfin*-uclinux*): Likewise.
2892 (bfin*-linux-uclibc*): Likewise.
2893 (bfin*-rtems*): New case.
2894 Add t-fdpbit to tmake_file.
2895 (bfin*-*): Add t-fdpbit to tmake_file.
2896 (crisv32-*-elf): Likewise.
2897 (cris-*-linux*): Likewise.
2898 (fr30-*-elf): Likewise.
2899 (frv-*-elf, frv-*-*linux*): Likewise.
2900 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2901 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2902 (m32r-*-elf*): Likewise.
2903 (m32rle-*-elf*): Likewise.
2904 (m32r-*-linux*): Likewise.
2905 (m32rle-*-linux*): Likewise.
2906 (mcore-*-elf): Add t-fdpbit to tmake_file.
2907 (microblaze*-*-*): Likewise.
2908 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2909 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2910 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2911 Fix typo.
2912 Add mips/t-tpbit to tmake-file.
2913 (mips*-*-linux*): Fix typo.
2914 (mips*-sde-elf*): New case
2915 Add mips/t-sdemtk unless using newlib.
2916 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2917 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2918 (mn10300-*-*): Likewise.
2919 (pdp11-*-*): Likewise.
2920 (picochip-*-*): Add t-fpbit to tmake_file.
2921 (powerpc-*-eabisimaltivec*): Likewise.
2922 (powerpc-*-eabisim*): Likewise.
2923 (powerpc-*-elf*): Likewise.
2924 (powerpc-*-eabialtivec*): Likewise.
2925 (powerpc-xilinx-eabi*): New case.
2926 Add t-fdpbit to tmake_file.
2927 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
2928 (powerpc-*-rtems*): Likewise.
2929 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2930 tmake_file.
2931 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2932 tmake_file.
2933 (powerpc-*-lynxos*): Likewise.
2934 (powerpcle-*-elf*): Likewise.
2935 (powerpcle-*-eabisim*): Likewise.
2936 (powerpcle-*-eabi*): Likewise.
2937 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2938 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2939 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2940 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2941 (rx-*-elf): Add t-fdpbit to tmake_file.
2942 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2943 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2944 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2945 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2946 sh*-*-netbsd*.
2947 (sh-*-rtems*): Add t-fdpbit to tmake_file.
2948 (sh-wrs-vxworks): Likewise.
2949 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2950 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2951 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2952 (sparc64-*-rtems*): ... new case.
2953 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2954 (spu-*-elf*): Likewise.
2955 Add spu/t-elf to tmake_file.
2956 (v850*-*-*): Add t-fdpbit to tmake_file.
2957 (xstormy16-*-elf): Likewise.
2958 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2959 (mep*-*-*): Likewise.
2960
2961 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2962
2963 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2964 variables.
2965 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2966 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2967 (install-unwind_h): New target.
2968 (all): Depend on it.
2969 * config.host (unwind_header): New variable.
2970 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2971 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2972 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2973 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2974 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2975 Set unwind_header.
2976 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2977 Set unwind_header.
2978 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2979 arm*-*-eabi*.
2980 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2981 Set unwind_header.
2982 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2983 (ia64*-*-freebsd*): Likewise.
2984 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2985 tmake_file.
2986 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2987 $with_system_libunwind.
2988 (ia64*-*-hpux*): Set tmake_file.
2989 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2990 (picochip-*-*): Set tmake_file.
2991 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2992 md_unwind_header.
2993 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2994 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2995 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2996 (xtensa*-*-elf*): Set tmake_file.
2997 (xtensa*-*-linux*): Likewise.
2998 * configure.ac: Include ../config/unwind_ipinfo.m4.
2999 Call GCC_CHECK_UNWIND_GETIPINFO.
3000 Link unwind.h to $unwind_header.
3001 * configure: Regenerate.
3002 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3003 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3004 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3005 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3006 * config/unwind-dw2-fde-darwin.c: New file.
3007 * config/arm/libunwind.S, config/arm/pr-support.c,
3008 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3009 config/arm/unwind-arm.h,: New files.
3010 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3011 config/ia64/t-eh-ia64, config/ia64/t-glibc,
3012 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3013 config/ia64/t-vms, config/ia64/unwind-ia64.c,
3014 config/ia64/unwind-ia64.h: New files.
3015 * config/picochip/t-picochip: New file.
3016 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3017 files.
3018 * config/rs6000/t-darwin (LIB2ADDEH): Set.
3019 * config/s390/t-tpf (LIB2ADDEH): Remove.
3020 * config/t-darwin (LIB2ADDEH): Set.
3021 * config/t-eh-dw2-dip: New file.
3022 * config/t-libunwind, config/t-libunwind-elf: New files.
3023 * config/t-sol2 (LIB2ADDEH): Remove.
3024 * config/xtensa/t-xtensa: New file.
3025
3026 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3029 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3030 long long to check rt_sigreturn syscall.
3031
3032 2011-08-02 Alan Modra <amodra@gmail.com>
3033
3034 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3035 Restore for indirect call bcrtl from correct stack slot, and only
3036 if cfa+40 isn't valid.
3037
3038 2011-08-01 Julian Brown <julian@codesourcery.com>
3039
3040 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3041 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3042 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3043
3044 2011-08-01 Julian Brown <julian@codesourcery.com>
3045
3046 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3047 (libgcc-std.ver.in): Use above.
3048 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3049 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3050 throughout file.
3051 * config/t-fixedpoint-gnu-prefix: New file.
3052 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3053 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3054 instead of __PFX__.
3055
3056 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
3057
3058 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3059 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3060 for x86-64. Properly check __x86_64__ and __LP64__.
3061
3062 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
3063
3064 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3065 version.
3066 (_FP_WS_TYPE): Likewise.
3067 (_FP_I_TYPE): Likewise.
3068
3069 2011-07-28 Alan Modra <amodra@gmail.com>
3070
3071 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3072 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3073 in a plt call stub. Do restore r2 if stopped on bctrl.
3074
3075 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3076
3077 * config.host (i[3456x]86-*-netware*): Remove.
3078 * config/i386/netware-crt0.c, config/i386/t-nwld,
3079 config/i386/t-slibgcc-nwld: Remove.
3080
3081 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
3082
3083 * config.host: Handle tic6x-*-*.
3084 * config/c6x/c6x-abi.h: New file.
3085
3086 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3087
3088 * config/i386/crtprec.c: New file.
3089 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3090 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3091 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3092 (x86_64-*-darwin*): Likewise.
3093 (i[34567]86-*-solaris2*: Likewise.
3094
3095 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3096
3097 * config/alpha/crtfastmath.c: New file.
3098 * config/i386/crtfastmath.c: New file.
3099 * config/ia64/crtfastmath.c: New file.
3100 * config/mips/crtfastmath.c: New file.
3101 * config/sparc/crtfastmath.c: New file.
3102
3103 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3104 crtfastmath.c.
3105 Add -frandom-seed=gcc-crtfastmath.
3106 * config/alpha/t-crtfm: Remove.
3107 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3108 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3109
3110 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3111 (alpha*-dec-osf5.1*): Likewise.
3112 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3113 Add crtfastmath.o to extra_parts.
3114 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3115 Add crtfastmath.o to extra_parts.
3116 (x86_64-*-darwin*): Likewise.
3117 (x86_64-*-mingw*): Likewise.
3118 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3119 (ia64*-*-freebsd*): Likewise.
3120 (ia64*-*-linux*): Likewise.
3121 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3122 Add crtfastmath.o to extra_parts.
3123
3124 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3125
3126 * config/darwin-crt3.o: New file.
3127 * config/rs6000/darwin-crt2.c: New file.
3128 * config/t-darwin: New file.
3129 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3130 (crt2.o): New rule.
3131 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3132 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3133 (powerpc64-*-darwin*): Likewise.
3134
3135 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3136
3137 * config/i386/netware-crt0.c: New file.
3138 * config/i386/t-nwld: Rename to ...
3139 * config/i386/t-slibgcc-nwld: ... this.
3140 * config/i386/t-nwld: New file.
3141 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3142 tmake_file.
3143 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3144 extra_parts.
3145
3146 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3147
3148 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3149 i386/t-crtstuff.
3150 * configure: Regenerate.
3151
3152 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3153
3154 * dfp-bit.c, dfp-bit.h: New files.
3155 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3156 variables.
3157 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3158 ($(d64pbit-o)): Likewise.
3159 ($(d128pbit-o)): Likewise.
3160 * config/t-dfprules: New file.
3161 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3162 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3163 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3164 (x86_64-*-linux*): Likewise.
3165 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3166 (i[34567]86-*-cygwin*): Likewise.
3167 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3168 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3169
3170 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3171
3172 * Makfile.in (LIBGCOV): New variable.
3173 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3174 * libgcov.c: New file.
3175
3176 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3177
3178 * fixed-bit.c, fixed-bit.h: New files.
3179 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3180 refer to fixed-bit.c.
3181
3182 2011-07-07 Joseph Myers <joseph@codesourcery.com>
3183
3184 * config.host (*local*): Remove.
3185
3186 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3187
3188 PR target/39150
3189 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3190 like i?86-*-solaris2.1[0-9]*.
3191 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3192 * configure.ac (i?86-*-solaris2*): Likewise.
3193 * configure: Regenerate.
3194
3195 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
3196
3197 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3198 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3199 md_unwind_header by splitting out of...
3200 (i[34567]86-*-linux*): ... this.
3201 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3202 Remove md_unwind_header by splitting out of...
3203 (x86_64-*-linux*): ... this.
3204
3205 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
3206
3207 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3208
3209 2011-06-28 Nick Clifton <nickc@redhat.com>
3210
3211 * config.host: Recognize all V850 variants.
3212
3213 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
3214
3215 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3216
3217 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3218
3219 * shared-object.mk (c_flags-$o): Save c_flags.
3220 ($(base)$(objext)): Use it.
3221 ($(base)_s$(objext)): Likewise.
3222
3223 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3224
3225 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3226 * libgcc-std.ver.in (GCC_4.7.0): New section.
3227
3228 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
3229
3230 PR target/49313
3231 PR target/29524
3232 * config/avr/t-avr: Fix line endings.
3233 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3234 _parityXX2.
3235
3236 2011-06-14 Olivier Hainque <hainque@adacore.com>
3237 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3238
3239 * config/mips/irix6-unwind.h: New file.
3240 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3241
3242 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3243
3244 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3245 (sparc64_fallback_frame_state): Use it.
3246 (sparc64_frob_update_context): Further adjust context.
3247 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3248 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3249 * config/sparc/sol2-cn.S: Likewise.
3250
3251 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3252
3253 * enable-execute-stack-empty.c: New file.
3254 * enable-execute-stack-mprotect.c: New file.
3255 * config/i386/enable-execute-stack-mingw32.c: New file.
3256 * config.host (enable_execute_stack): New variable.
3257 Select appropriate variants.
3258 * configure.ac: Link enable-execute-stack.c to
3259 $enable_execute_stack.
3260 * configure: Regenerate.
3261 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3262 (lib2funcs): Remove _enable_execute_stack.
3263
3264 2011-06-09 David S. Miller <davem@davemloft.net>
3265 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3266
3267 * config.host (sparc-*-linux*): Correct md_unwind_header
3268 filename.
3269 (s390x-ibm-tpf*): Fix typo.
3270
3271 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3272
3273 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3274 Add crtfastmath.o to extra_parts.
3275 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3276 mips/t-crtfm.
3277 * config/mips/t-crtfm: Remove.
3278
3279 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3280
3281 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3282
3283 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3284
3285 * config.host (sh*-*-linux*): Fix typo.
3286
3287 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3288
3289 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3290 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3291 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3292 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3293 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3294 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3295 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3296 Wrap in !__MINGW64__.
3297 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3298 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3299 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3300 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3301 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3302 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3303 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3304 Wrap in !__LP64__.
3305 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3306 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3307 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3308 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3309 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3310 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3311 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3312 * config/no-unwind.h: New file.
3313 * config.host (md_unwind_header): Document.
3314 Define.
3315 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3316 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3317 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3318 hppa[12]*-*-hpux11*): Set md_unwind_header.
3319 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3320 Set md_unwind_header.
3321 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3322 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3323 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3324 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3325 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3326 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3327 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3328 md_unwind_header.
3329 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3330 * configure: Regenerate.
3331
3332 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3333
3334 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3335 Set tmake_file, extra_parts.
3336 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3337 Remove O32 support.
3338 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3339 Remove O32 support.
3340 * config/mips/t-irix6: New file.
3341 * config/mips/t-slibgcc-irix: New file.
3342
3343 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3344
3345 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3346 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3347
3348 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3349
3350 * configure.ac (target_thread_file): Determine thread model.
3351 * configure: Regenerate.
3352 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3353 * config/alpha/t-alpha: New file.
3354 * config/alpha/t-crtfm: Use $<.
3355 * config/alpha/t-ieee: New file.
3356 * config/alpha/t-osf-pthread: New file.
3357 * config/alpha/t-slibgcc-osf: New file.
3358 * config/alpha/libgcc-osf5.ver: New file.
3359
3360 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3361
3362 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3363 tmake_file.
3364 Add crtfastmath.o to extra_parts.
3365
3366 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3367
3368 * config/gmon-sol2.c: Reindent.
3369 Cleanup comments.
3370 Remove, correct casts.
3371 Use STDERR_FILENO, NULL.
3372 (BASEADDRESS): Remove.
3373 (minbrk): Remove.
3374 (errno, sbrk): Remove declarations.
3375 (monstartup) [hp300]: Remove.
3376 (mcount): Remove.
3377
3378 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3379
3380 * Makefile.in (cpu_type): Define.
3381 * config.host (i[34567]86-*-rtems*): Handle it.
3382 (i[34567]86-*-solaris2*): Move body ...
3383 (*-*-solaris2*): ... here.
3384 New case, generalize.
3385 (sparc-*-elf*): Handle it.
3386 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3387 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3388 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3389 Fold into ...
3390 (sparc*-*-solaris2*): ... this.
3391 New case.
3392 (sparc64-*-elf*): Handle it.
3393 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3394 Merge ../gcc/config/i386/gmon-sol2.c.
3395 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3396 Use C comments.
3397 Merge ../gcc/config/i386/sol2-gc1.asm.
3398 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3399 Use C comments.
3400 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3401 Use C comments.
3402 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3403 * config/i386/t-crtstuff: New file.
3404 * config/i386/t-softfp: New file.
3405 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3406 $(T)crti.o, $(T)crtn.o): Remove.
3407 (gcrt1.o): New rule.
3408 (TARGET_LIBGCC2_CFLAGS): Remove.
3409 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3410 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3411 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3412 * config/sparc/t-sol2: New file.
3413 * config/sparc/t-crtfm: Move to ...
3414 * config/t-crtfm: ... this.
3415 Use $(cpu_type), $<.
3416 * config/t-crtin: New file.
3417 * config/sparc/t-softfp: New file.
3418 * config/sparc/t-softmul: New file.
3419 * config/t-rtems: New file.
3420 * config/t-slibgcc: New file.
3421 * config/t-slibgcc-elf-ver: New file.
3422 * config/t-slibgcc-gld: New file.
3423 * config/t-slibgcc-sld: New file.
3424 * config/t-sol2: New file.
3425 * configure.ac: Include ../config/lib-ld.m4.
3426 Call AC_LIB_PROG_LD_GNU.
3427 Substitute cpu_type.
3428 * configure: Regenerate.
3429
3430 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3431
3432 PR bootstrap/49173
3433 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3434 libgcc-std.ver in the build directory.
3435 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3436 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3437
3438 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3439
3440 * libgcc-std.ver.in: New file.
3441 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3442 variables.
3443 (libgcc-std.ver): New rule.
3444 * config/t-gnu-prefix: New file.
3445
3446 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3447
3448 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3449
3450 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3451
3452 * config/i386/darwin-lib.h: New file.
3453
3454 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3455
3456 * config/arm/symbian-lib.h: New.
3457
3458 2011-05-04 Chris Demetriou <cgd@google.com>
3459
3460 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3461 (__x86.get_pc_thunk.bx): ...this.
3462 (__morestack): Adjust for rename, remove undef of __i686.
3463
3464 2011-05-03 Chris Demetriou <cgd@google.com>
3465
3466 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3467
3468 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3469
3470 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3471 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3472 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3473 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3474 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3475 Remove cases.
3476
3477 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
3478
3479 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3480 Adjust copyright year.
3481
3482 2011-03-07 Ian Lance Taylor <iant@google.com>
3483
3484 * generic-morestack.c (__splitstack_find): Adjust returned stack
3485 pointer to include all registers pushed by __morestack.
3486
3487 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3488
3489 PR target/40125
3490 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3491 (toolexecdir): Calculate and AC_SUBST.
3492 (toolexeclibdir): Likewise.
3493 * Makefile.in (target_noncanonical): Import.
3494 (toolexecdir): Likewise.
3495 (toolexeclibdir): Likewise.
3496 * configure: Regenerate.
3497
3498 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3499
3500 PR target/46040
3501 * config/arm/bpabi.h: Rename to...
3502 * config/arm/bpabi-lib.h: ...this.
3503
3504 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3505
3506 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3507 appropriate.
3508 * configure: Regenerate.
3509
3510 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3511
3512 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3513 __FLOAT_WORD_ORDER__.
3514 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3515 Delete.
3516
3517 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3518
3519 PR other/46202
3520 * Makefile.in (install-strip): New phony target.
3521
3522 2010-11-07 Ian Lance Taylor <iant@google.com>
3523
3524 PR target/46089
3525 * config/i386/morestack.S (__morestack_large_model): New
3526 function.
3527
3528 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3529
3530 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3531 Delete.
3532 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3533
3534 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3535
3536 * config/arm/bpabi.h: New file.
3537 * config/frv/frv-abi.h: New file.
3538
3539 2010-10-01 Ian Lance Taylor <iant@google.com>
3540
3541 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3542 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3543
3544 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3545
3546 PR target/45858
3547 * config.host: Add the missing `$'.
3548
3549 2010-09-30 Michael Eager <eager@eagercon.com>
3550
3551 * config.host: Add microblaze*-*-*.
3552 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3553 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3554 udivsi3.asm,umodsi3.asm}: New.
3555
3556 2010-09-28 Ian Lance Taylor <iant@google.com>
3557
3558 * configure.ac: Adjust CFI test to test assembler directly rather
3559 than checking gcc preprocessor macro.
3560 * configure: Rebuild.
3561
3562 2010-09-27 Ian Lance Taylor <iant@google.com>
3563
3564 * configure.ac: Test whether assembler supports CFI directives.
3565 * config.host: Only add t-stack and i386/t-stack-i386 to
3566 tmake_file if libgcc_cv_cfi is "yes".
3567 * configure: Rebuild.
3568
3569 2010-09-27 Ian Lance Taylor <iant@google.com>
3570
3571 * generic-morestack.h: New file.
3572 * generic-morestack.c: New file.
3573 * generic-morestack-thread.c: New file.
3574 * config/i386/morestack.S: New file.
3575 * config/t-stack: New file.
3576 * config/i386/t-stack-i386: New file.
3577 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3578 i386/t-stack-i386 to tmake_file.
3579
3580 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3581
3582 * Makefile.in (libgcc-extra-parts): Check for static archives and
3583 invoke ranlib after installing them.
3584 (gcc-extra-parts): Likewise.
3585 (install-leaf): Likewise.
3586
3587 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3588
3589 * configure: Regenerated.
3590
3591 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
3592
3593 * configure: Regenerated.
3594
3595 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3596 Andrew Pinski <pinskia@gmail.com>
3597
3598 PR target/40959
3599 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3600
3601 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3602
3603 PR target/45524
3604 * configure: Regenerated.
3605
3606 2010-09-06 Andreas Schwab <schwab@redhat.com>
3607
3608 * configure: Regenerate.
3609
3610 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3611
3612 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3613 64bit targets.
3614 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3615 for 64bit targets.
3616
3617 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3618 Iain Sandoe <iains@gcc.gnu.org>
3619
3620 PR target/45476
3621 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3622 LIB2FUNCS_EXCLUDE functions.
3623
3624 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3625
3626 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3627 Include dfp.m4.
3628 * configure: Regenerate.
3629
3630 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
3631
3632 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3633 i386/t-freebsd to tmake_file.
3634 * config/i386/t-freebsd: New file.
3635 * config/i386/libgcc-bsd.ver: New file.
3636
3637 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3638
3639 * config.host (powerpc*-eabispe*): Set tmake_file.
3640 (powerpc*-eabi*): Likewise.
3641 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3642 crtbeginS, crtendS, crtbeginT.
3643
3644 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
3645
3646 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3647 to tmake_file. Add crtfastmath.o to extra_parts.
3648 * config/mips/t-crtfm: New.
3649
3650 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3651
3652 * config.host (sparc64-*-rtems*): New target.
3653
3654 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3655
3656 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3657 assembler syntax.
3658
3659 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3660
3661 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3662
3663 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3664
3665 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3666 alpha-dec-osf5.0* support.
3667
3668 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
3669
3670 * config.host: Add lm32-*-rtems*.
3671
3672 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3673 Uros Bizjak <ubizjak@gmail.com>
3674
3675 PR target/39048
3676 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3677 like other remaining 32-bit x86 OSes.
3678 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3679 assembler syntax.
3680 * config/i386/libgcc-sol2.ver: New file.
3681 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3682
3683 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3684
3685 PR c/43553
3686 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3687 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3688 is used and substitute set_use_emutls.
3689 * configure: Regenerated.
3690
3691 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3692
3693 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3694
3695 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3696
3697 PR target/38085
3698 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3699 MULTILIB_CFLAGS.
3700 ($(T)gcrt1.o): Likewise.
3701 ($(T)crt1.o): Likewise.
3702 ($(T)crti.o): Likewise.
3703 ($(T)crtn.o): Likewise.
3704
3705 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3706
3707 PR other/42980
3708 * Makefile.in (install): Use $(MAKE) string in rule, for
3709 parallel make.
3710
3711 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3712
3713 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3714 * config/mmix/t-mmix: New file.
3715 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3716
3717 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3718
3719 PR java/41991
3720 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3721 SHLIB_MAPFILES.
3722
3723 2010-01-04 Anthony Green <green@moxielogic.com>
3724
3725 * config/moxie/crti.asm, config/moxie/crtn.asm,
3726 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3727 config/moxie/t-moxie: New files.
3728 * config.host: Add t-moxie-softfp reference.
3729
3730 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3731
3732 PR other/39888
3733 * config/t-slibgcc-darwin: Fix embedded rpaths for
3734 --enable-version-specific-runtime-libs, build extension stub
3735 libs exposing features available from current libgcc_s.
3736
3737 2009-11-11 Jon Beniston <jon@beniston.com>
3738
3739 * config.host: Add lm32 targets.
3740 * config/lm32: New directory.
3741 * config/lm32/libgcc_lm32.h: New file.
3742 * config/lm32/_mulsi3.c: New file.
3743 * config/lm32/_udivmodsi4.c: New file.
3744 * config/lm32/_divsi3.c: New file.
3745 * config/lm32/_modsi3.c: New file.
3746 * config/lm32/_udivsi3.c: New file.
3747 * config/lm32/_umodsi3.c: New file.
3748 * config/lm32/_lshrsi3.S: New file.
3749 * config/lm32/_ashrsi3.S: New file.
3750 * config/lm32/_ashlsi3.S: New file.
3751 * config/lm32/crti.S: New file.
3752 * config/lm32/crtn.S: New file.
3753 * config/lm32/t-lm32: New file.
3754 * config/lm32/t-elf: New file.
3755 * config/lm32/t-uclinux: New file.
3756
3757 2009-10-26 Nick Clifton <nickc@redhat.com>
3758
3759 * config.host: Add support for RX target.
3760 * config/rx: New directory.
3761 * config/rx/rx-abi-functions.c: New file. Supplementary
3762 functions for libgcc to support the RX ABI.
3763 * config/rx/rx-abi.h: New file. Supplementary header file for
3764 libgcc RX ABI functions.
3765 * config/rx/t-rx: New file: Makefile fragment for building
3766 libgcc for the RX.
3767
3768 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
3769
3770 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3771 constraint of y0 to "g".
3772
3773 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3774
3775 * config.host: Include the s390 makefile fragments.
3776 * config/s390/32/_fixdfdi.c: New file.
3777 * config/s390/32/_fixsfdi.c: New file.
3778 * config/s390/32/_fixtfdi.c: New file.
3779 * config/s390/32/_fixunsdfdi.c: New file.
3780 * config/s390/32/_fixunssfdi.c: New file.
3781 * config/s390/32/_fixunstfdi.c: New file.
3782 * config/s390/32/t-floattodi: New file.
3783 * config/s390/libgcc-glibc.ver: New file.
3784 * config/s390/t-crtstuff: New file.
3785 * config/s390/t-linux: New file.
3786 * config/s390/t-tpf: New file.
3787
3788 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3789
3790 * configure.ac (AC_PREREQ): Bump to 2.64.
3791
3792 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3793
3794 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3795
3796 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3797
3798 * configure: Regenerate.
3799
3800 2009-08-09 Douglas B Rupp <rupp@gnat.com>
3801
3802 * config.host (ia64-hp-*vms*): New target.
3803 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3804 with ia64-hp-*vms*.
3805
3806 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3807
3808 * configure.ac: Add snippet for maintainer-mode.
3809 * configure: Regenerate.
3810 * Makefile.in (AUTOCONF, configure_deps): New variables.
3811 ($(srcdir)/configure)): New rule, active only with maintainer
3812 mode turned on.
3813
3814 2009-06-23 DJ Delorie <dj@redhat.com>
3815
3816 Add MeP port.
3817 * config.host: Add mep support.
3818
3819 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
3820
3821 * config.host: Add i386/${host_address}/t-fprules-softfp and
3822 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3823
3824 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3825 for mingw targets.
3826 * config/i386/64/_multc3.c: Likewise.
3827 * config/i386/64/_powitf2.c: Likewise.
3828 * config/i386/64/eqtf2.c: Likewise.
3829 * config/i386/64/getf2.c: Likewise.
3830 * config/i386/64/letf2.c: Likewise.
3831 * config/i386/64/letf2.c: Likewise.
3832 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3833 unsigned long long for x64 mingw targets.
3834 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3835 (_FP_I_TYPE): Define as long long for x64 mingw target.
3836
3837 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3838
3839 * config.host (vax-*-linux*): New.
3840
3841 2009-05-31 Anthony Green <green@moxielogic.com>
3842
3843 * config.host: Add moxie support.
3844 * config/moxie/t-moxie: New file.
3845
3846 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3847
3848 * config.host: Add i386/${host_address}/t-fprules-softfp and
3849 t-softfp to tmake_file for i[34567]86-*-cygwin*.
3850
3851 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3852
3853 * config.host: Add i386/${host_address}/t-fprules-softfp to
3854 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3855
3856 2009-04-09 Nick Clifton <nickc@redhat.com>
3857
3858 * config/ia64/tf-signs.c: Change copyright header to refer to
3859 version 3 of the GNU General Public License with version 3.1
3860 of the GCC Runtime Library Exception and to point readers at
3861 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3862 web page.
3863 * config/i386/32/tf-signs.c: Likewise.
3864 * config/libbid/_addsub_dd.c: Likewise.
3865 * config/libbid/_addsub_sd.c: Likewise.
3866 * config/libbid/_addsub_td.c: Likewise.
3867 * config/libbid/_dd_to_df.c: Likewise.
3868 * config/libbid/_dd_to_di.c: Likewise.
3869 * config/libbid/_dd_to_sd.c: Likewise.
3870 * config/libbid/_dd_to_sf.c: Likewise.
3871 * config/libbid/_dd_to_si.c: Likewise.
3872 * config/libbid/_dd_to_td.c: Likewise.
3873 * config/libbid/_dd_to_tf.c: Likewise.
3874 * config/libbid/_dd_to_udi.c: Likewise.
3875 * config/libbid/_dd_to_usi.c: Likewise.
3876 * config/libbid/_dd_to_xf.c: Likewise.
3877 * config/libbid/_df_to_dd.c: Likewise.
3878 * config/libbid/_df_to_sd.c: Likewise.
3879 * config/libbid/_df_to_td.c: Likewise.
3880 * config/libbid/_di_to_dd.c: Likewise.
3881 * config/libbid/_di_to_sd.c: Likewise.
3882 * config/libbid/_di_to_td.c: Likewise.
3883 * config/libbid/_div_dd.c: Likewise.
3884 * config/libbid/_div_sd.c: Likewise.
3885 * config/libbid/_div_td.c: Likewise.
3886 * config/libbid/_eq_dd.c: Likewise.
3887 * config/libbid/_eq_sd.c: Likewise.
3888 * config/libbid/_eq_td.c: Likewise.
3889 * config/libbid/_ge_dd.c: Likewise.
3890 * config/libbid/_ge_sd.c: Likewise.
3891 * config/libbid/_ge_td.c: Likewise.
3892 * config/libbid/_gt_dd.c: Likewise.
3893 * config/libbid/_gt_sd.c: Likewise.
3894 * config/libbid/_gt_td.c: Likewise.
3895 * config/libbid/_isinfd128.c: Likewise.
3896 * config/libbid/_isinfd32.c: Likewise.
3897 * config/libbid/_isinfd64.c: Likewise.
3898 * config/libbid/_le_dd.c: Likewise.
3899 * config/libbid/_le_sd.c: Likewise.
3900 * config/libbid/_le_td.c: Likewise.
3901 * config/libbid/_lt_dd.c: Likewise.
3902 * config/libbid/_lt_sd.c: Likewise.
3903 * config/libbid/_lt_td.c: Likewise.
3904 * config/libbid/_mul_dd.c: Likewise.
3905 * config/libbid/_mul_sd.c: Likewise.
3906 * config/libbid/_mul_td.c: Likewise.
3907 * config/libbid/_ne_dd.c: Likewise.
3908 * config/libbid/_ne_sd.c: Likewise.
3909 * config/libbid/_ne_td.c: Likewise.
3910 * config/libbid/_sd_to_dd.c: Likewise.
3911 * config/libbid/_sd_to_df.c: Likewise.
3912 * config/libbid/_sd_to_di.c: Likewise.
3913 * config/libbid/_sd_to_sf.c: Likewise.
3914 * config/libbid/_sd_to_si.c: Likewise.
3915 * config/libbid/_sd_to_td.c: Likewise.
3916 * config/libbid/_sd_to_tf.c: Likewise.
3917 * config/libbid/_sd_to_udi.c: Likewise.
3918 * config/libbid/_sd_to_usi.c: Likewise.
3919 * config/libbid/_sd_to_xf.c: Likewise.
3920 * config/libbid/_sf_to_dd.c: Likewise.
3921 * config/libbid/_sf_to_sd.c: Likewise.
3922 * config/libbid/_sf_to_td.c: Likewise.
3923 * config/libbid/_si_to_dd.c: Likewise.
3924 * config/libbid/_si_to_sd.c: Likewise.
3925 * config/libbid/_si_to_td.c: Likewise.
3926 * config/libbid/_td_to_dd.c: Likewise.
3927 * config/libbid/_td_to_df.c: Likewise.
3928 * config/libbid/_td_to_di.c: Likewise.
3929 * config/libbid/_td_to_sd.c: Likewise.
3930 * config/libbid/_td_to_sf.c: Likewise.
3931 * config/libbid/_td_to_si.c: Likewise.
3932 * config/libbid/_td_to_tf.c: Likewise.
3933 * config/libbid/_td_to_udi.c: Likewise.
3934 * config/libbid/_td_to_usi.c: Likewise.
3935 * config/libbid/_td_to_xf.c: Likewise.
3936 * config/libbid/_tf_to_dd.c: Likewise.
3937 * config/libbid/_tf_to_sd.c: Likewise.
3938 * config/libbid/_tf_to_td.c: Likewise.
3939 * config/libbid/_udi_to_dd.c: Likewise.
3940 * config/libbid/_udi_to_sd.c: Likewise.
3941 * config/libbid/_udi_to_td.c: Likewise.
3942 * config/libbid/_unord_dd.c: Likewise.
3943 * config/libbid/_unord_sd.c: Likewise.
3944 * config/libbid/_unord_td.c: Likewise.
3945 * config/libbid/_usi_to_dd.c: Likewise.
3946 * config/libbid/_usi_to_sd.c: Likewise.
3947 * config/libbid/_usi_to_td.c: Likewise.
3948 * config/libbid/_xf_to_dd.c: Likewise.
3949 * config/libbid/_xf_to_sd.c: Likewise.
3950 * config/libbid/_xf_to_td.c: Likewise.
3951 * config/libbid/bid128.c: Likewise.
3952 * config/libbid/bid128_2_str.h: Likewise.
3953 * config/libbid/bid128_2_str_macros.h: Likewise.
3954 * config/libbid/bid128_2_str_tables.c: Likewise.
3955 * config/libbid/bid128_add.c: Likewise.
3956 * config/libbid/bid128_compare.c: Likewise.
3957 * config/libbid/bid128_div.c: Likewise.
3958 * config/libbid/bid128_fma.c: Likewise.
3959 * config/libbid/bid128_logb.c: Likewise.
3960 * config/libbid/bid128_minmax.c: Likewise.
3961 * config/libbid/bid128_mul.c: Likewise.
3962 * config/libbid/bid128_next.c: Likewise.
3963 * config/libbid/bid128_noncomp.c: Likewise.
3964 * config/libbid/bid128_quantize.c: Likewise.
3965 * config/libbid/bid128_rem.c: Likewise.
3966 * config/libbid/bid128_round_integral.c: Likewise.
3967 * config/libbid/bid128_scalb.c: Likewise.
3968 * config/libbid/bid128_sqrt.c: Likewise.
3969 * config/libbid/bid128_string.c: Likewise.
3970 * config/libbid/bid128_to_int16.c: Likewise.
3971 * config/libbid/bid128_to_int32.c: Likewise.
3972 * config/libbid/bid128_to_int64.c: Likewise.
3973 * config/libbid/bid128_to_int8.c: Likewise.
3974 * config/libbid/bid128_to_uint16.c: Likewise.
3975 * config/libbid/bid128_to_uint32.c: Likewise.
3976 * config/libbid/bid128_to_uint64.c: Likewise.
3977 * config/libbid/bid128_to_uint8.c: Likewise.
3978 * config/libbid/bid32_to_bid128.c: Likewise.
3979 * config/libbid/bid32_to_bid64.c: Likewise.
3980 * config/libbid/bid64_add.c: Likewise.
3981 * config/libbid/bid64_compare.c: Likewise.
3982 * config/libbid/bid64_div.c: Likewise.
3983 * config/libbid/bid64_fma.c: Likewise.
3984 * config/libbid/bid64_logb.c: Likewise.
3985 * config/libbid/bid64_minmax.c: Likewise.
3986 * config/libbid/bid64_mul.c: Likewise.
3987 * config/libbid/bid64_next.c: Likewise.
3988 * config/libbid/bid64_noncomp.c: Likewise.
3989 * config/libbid/bid64_quantize.c: Likewise.
3990 * config/libbid/bid64_rem.c: Likewise.
3991 * config/libbid/bid64_round_integral.c: Likewise.
3992 * config/libbid/bid64_scalb.c: Likewise.
3993 * config/libbid/bid64_sqrt.c: Likewise.
3994 * config/libbid/bid64_string.c: Likewise.
3995 * config/libbid/bid64_to_bid128.c: Likewise.
3996 * config/libbid/bid64_to_int16.c: Likewise.
3997 * config/libbid/bid64_to_int32.c: Likewise.
3998 * config/libbid/bid64_to_int64.c: Likewise.
3999 * config/libbid/bid64_to_int8.c: Likewise.
4000 * config/libbid/bid64_to_uint16.c: Likewise.
4001 * config/libbid/bid64_to_uint32.c: Likewise.
4002 * config/libbid/bid64_to_uint64.c: Likewise.
4003 * config/libbid/bid64_to_uint8.c: Likewise.
4004 * config/libbid/bid_b2d.h: Likewise.
4005 * config/libbid/bid_binarydecimal.c: Likewise.
4006 * config/libbid/bid_conf.h: Likewise.
4007 * config/libbid/bid_convert_data.c: Likewise.
4008 * config/libbid/bid_decimal_data.c: Likewise.
4009 * config/libbid/bid_decimal_globals.c: Likewise.
4010 * config/libbid/bid_div_macros.h: Likewise.
4011 * config/libbid/bid_dpd.c: Likewise.
4012 * config/libbid/bid_flag_operations.c: Likewise.
4013 * config/libbid/bid_from_int.c: Likewise.
4014 * config/libbid/bid_functions.h: Likewise.
4015 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4016 * config/libbid/bid_inline_add.h: Likewise.
4017 * config/libbid/bid_internal.h: Likewise.
4018 * config/libbid/bid_round.c: Likewise.
4019 * config/libbid/bid_sqrt_macros.h: Likewise.
4020
4021 2009-04-09 Jakub Jelinek <jakub@redhat.com>
4022
4023 * Makefile.in: Change copyright header to refer to version
4024 3 of the GNU General Public License and to point readers at the
4025 COPYING3 file and the FSF's license web page.
4026 * config.host: Likewise.
4027
4028 2009-04-07 Alan Modra <amodra@bigpond.net.au>
4029
4030 * config.host: Reorder and merge to match config.gcc change.
4031
4032 2009-04-03 Alan Modra <amodra@bigpond.net.au>
4033
4034 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4035
4036 2009-03-28 Joseph Myers <joseph@codesourcery.com>
4037
4038 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4039 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4040 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4041 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4042
4043 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
4044
4045 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4046 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4047
4048 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
4049
4050 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4051 ia64/t-softfp-compat to tmake_file.
4052
4053 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4054
4055 * config/ia64/__divxf3.asm: New.
4056 * config/ia64/_fixtfdi.asm: Likewise.
4057 * config/ia64/_fixunstfdi.asm: Likewise.
4058 * config/ia64/_floatditf.asm: Likewise.
4059 * config/ia64/t-fprules-softfp: Likewise.
4060 * config/ia64/t-softfp-compat: Likewise.
4061 * config/ia64/tf-signs.c: Likewise.
4062
4063 2009-01-18 Ben Elliston <bje@au.ibm.com>
4064
4065 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4066
4067 2009-01-16 Ben Elliston <bje@au.ibm.com>
4068
4069 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4070 to tmake_file.
4071
4072 2009-01-13 Ben Elliston <bje@au.ibm.com>
4073
4074 * config/t-softfp: New file.
4075 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4076 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4077
4078 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4079
4080 * config.host: Add m32r*-*-rtems*.
4081
4082 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4083
4084 * config.host: Add m32c*-*-rtems*.
4085
4086 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4087
4088 PR bootstrap/33100
4089 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4090 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4091 * configure: Regenerate.
4092 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4093 tmake_file here from gcc/config.gcc.
4094 Move extra_parts here from gcc/config.gcc.
4095 * config/i386/t-sol2: Move here from gcc/config/i386.
4096 Use gcc_srcdir instead of srcdir.
4097
4098 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
4099
4100 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4101 case.
4102
4103 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
4104
4105 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4106
4107 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
4108
4109 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4110
4111 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
4112
4113 Add picoChip port.
4114 * config.host: Add picochip-*-*.
4115
4116 2008-08-06 Bob Wilson <bob.wilson@acm.org>
4117
4118 * config.host: Match more processor names for Xtensa.
4119
4120 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
4121
4122 * config/i386/64/t-softfp-compat: Update comments.
4123
4124 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
4125
4126 * config/i386/64/_divtc3-compat.c: Moved to ...
4127 * config/i386/64/_divtc3.c: Here.
4128
4129 * config/i386/64/_multc3-compat.c: Moved to ...
4130 * config/i386/64/_multc3.c: Here.
4131
4132 * config/i386/64/_powitf2-compat.c: Moved to ...
4133 * config/i386/64/_powitf2.c: Here.
4134
4135 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4136 .c suffix instead of -compat.c.
4137
4138 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
4139
4140 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4141 (_FP_MUL_MEAT_D): Ditto.
4142 (_FP_DIV_MEAT_S): Ditto.
4143 (_FP_DIV_MEAT_D): Ditto.
4144
4145 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
4146
4147 * Makefile.in: Add support for __sync_* libgcc functions.
4148
4149 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
4150
4151 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4152
4153 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4154
4155 PR boostrap/36702
4156 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4157 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4158
4159 * config/i386/64/t-fprules-softfp: Moved to ...
4160 * config/i386/64/t-softfp-compat: This. New.
4161
4162 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
4163
4164 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4165 Initialize f with 0.0.
4166
4167 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4168
4169 PR target/36669
4170 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4171
4172 * config/i386/64/_divtc3-compat.c: New.
4173 * config/i386/64/_multc3-compat.c: Likewise.
4174 * config/i386/64/_powitf2-compat.c: Likewise.
4175 * config/i386/64/eqtf2.c: Likewise.
4176 * config/i386/64/getf2.c: Likewise.
4177 * config/i386/64/letf2.c: Likewise.
4178 * config/i386/64/t-fprules-softfp: Likewise.
4179
4180 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4181
4182 * config.host: Add i386/${host_address}/t-fprules-softfp to
4183 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4184 i[34567]86-*-linux*, x86_64-*-linux*.
4185
4186 * configure.ac: Set host_address to 64 or 32 for x86.
4187 * configure: Regenerated.
4188
4189 * Makefile.in (config.status): Also depend on
4190 $(srcdir)/config.host.
4191
4192 * config/i386/32/t-fprules-softfp: New.
4193 * config/i386/32/tf-signs.c: Likewise.
4194
4195 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4196
4197 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4198 Uros Bizjak <ubizjak@gmail.com>
4199
4200 * config/i386/32/sfp-machine.h: New.
4201
4202 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4203
4204 * config/rs6000/t-ppccomm: Remove rules that conflict with
4205 auto-generated rules.
4206
4207 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4208
4209 * configure.ac: sinclude override.m4.
4210 * configure: Regenerate.
4211
4212 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4213
4214 * configure: Regenerate.
4215
4216 2008-06-10 Joseph Myers <joseph@codesourcery.com>
4217
4218 * Makefile.in (DECNUMINC): Remove
4219 -I$(MULTIBUILDTOP)../../libdecnumber.
4220 * gstdint.h: New.
4221
4222 2008-06-07 Joseph Myers <joseph@codesourcery.com>
4223
4224 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4225 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4226 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4227 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4228 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4229 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4230 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4231 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4232 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4233 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4234 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4235 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4236 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4237 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4238
4239 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4240
4241 * config.host (sh2[lbe]*-*-linux*): Allow target.
4242
4243 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4244
4245 * config/rs6000/t-ppccomm: Add build rules for new files.
4246 (LIB2ADD_ST): New variable.
4247
4248 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4249
4250 PR target/34210
4251 PR target/35508
4252 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4253 * config/t-avr: New file. Build 16bit libgcc functions.
4254
4255 2008-03-02 Jakub Jelinek <jakub@redhat.com>
4256
4257 PR target/35401
4258 * config/t-slibgcc-darwin: Make install-leaf dependent on
4259 install-darwin-libgcc-stubs instead of install.
4260
4261 2008-01-25 Joseph Myers <joseph@codesourcery.com>
4262
4263 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4264 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4265 sh-*-rtemscoff*): Remove cases.
4266
4267 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4268
4269 * Makefile.in (all): Use install-leaf rather than install.
4270 (install): Split most of the rule into...
4271 (install-leaf): ...this new one.
4272
4273 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
4274 Paolo Bonzini <bonzini@gnu.org>
4275
4276 PR target/30572
4277 * Makefile.in: Use @shlib_slibdir@ substitution to get
4278 correct install name on darwin.
4279 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4280
4281 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
4282
4283 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4284 cris-*-elf and cris-*-none.
4285 (crisv32-*-linux*): Similar, as cris-*-linux*.
4286
4287 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4288
4289 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4290
4291 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4292
4293 PR regression/33926
4294 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4295 * configure: Regenerated.
4296
4297 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4298
4299 * Makefile.in (dfp-filenames): Replace decimal_globals,
4300 decimal_data, binarydecimal and convert_data with
4301 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4302 and bid_convert_data, respectively.
4303
4304 2007-09-17 Chao-ying Fu <fu@mips.com>
4305 Nigel Stephens <nigel@mips.com>
4306
4307 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4308 * Makefile.in (fixed_point): Define.
4309 Check if fixed_point is yes to build support functions.
4310 * configure.ac: Check for fixed_point support.
4311 * configure: Regenerated.
4312 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4313 funcs, modes, from, to.
4314
4315 2007-09-11 Janis Johnson <janis187@us.ibm.com
4316
4317 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4318
4319 2007-09-10 Janis Johnson <janis187@us.ibm.com>
4320
4321 * Makefile.in (dfp-filenames): Remove decUtility, add
4322 decDouble, decPacked, decQuad, decSingle.
4323
4324 2007-08-27 Hans Kester <hans.kester@ellips.nl>
4325
4326 * config.host : Add x86_64-elf target.
4327
4328 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4329
4330 * configure.ac (set_have_cc_tls): Add a missing =.
4331 * configure: Regenerated.
4332
4333 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4334
4335 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4336 and x86_64-*-linux*.
4337
4338 * config/t-tls: New file.
4339
4340 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4341
4342 * configure.ac: Include ../config/enable.m4 and
4343 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4344 supports TLS and substitute set_have_cc_tls.
4345 * configure: Regenerated.
4346
4347 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4348
4349 * Makefile.in: Use libbid for DFP when BID is enabled.
4350
4351 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4352
4353 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4354 extra_parts. Add config/i386/t-cygming to tmake_file.
4355 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4356
4357 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
4358 Danny Smith <dannysmith@users.sourceforge.net>
4359
4360 PR target/29498
4361 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4362 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4363 * config/i386/t-crtfm: Compile crtfastmath.o with
4364 -minline-all-stringops.
4365
4366 2007-05-10 Richard Sandiford <richard@codesourcery.com>
4367
4368 * config.host (sparc-wrs-vxworks): New target.
4369
4370 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
4371
4372 * config.host: Recognize fido.
4373
4374 2007-04-04 Janis Johnson <janis187@us.ibm.com>
4375
4376 * configure: Check host, not target, for decimal float support.
4377
4378 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
4379
4380 * config/i386/t-crtpc: New file.
4381 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4382 (x86_64-*-linux*): Ditto.
4383
4384 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
4385
4386 * config.host (x86_64-*-mingw*): New target.
4387
4388 2007-03-23 Michael Meissner <michael.meissner@amd.com>
4389 H.J. Lu <hongjiu.lu@intel.com>
4390
4391 * Makefile.in (enable_decimal_float): New.
4392 (DECNUMINC): Add
4393 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4394 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4395 (decbits-filenames): This.
4396 (decbits-objects): New.
4397 (libgcc-objects): Add $(decbits-objects).
4398
4399 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4400 Substitute enable_decimal_float.
4401 * configure: Regenerated.
4402
4403 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
4404
4405 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4406
4407 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4408
4409 * Makefile.in (install-info): New dummy target.
4410
4411 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4412
4413 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4414
4415 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4416
4417 * Makefile.in: Add install-html and install-pdf dummy
4418 targets.
4419
4420 2007-02-05 Roger Sayle <roger@eyesopen.com>
4421 Daniel Jacobowitz <dan@codesourcery.com>
4422
4423 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4424 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4425 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4426
4427 2007-01-29 Janis Johnson <janis187@us.ibm.com>
4428
4429 * Makefile.in (dec-filenames): Add decExcept.
4430
4431 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4432
4433 PR bootstrap/30469
4434 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4435 -fprofile-use.
4436
4437 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4438
4439 * configure.ac: Add --enable-version-specific-runtime-libs.
4440 Correct $slibdir default.
4441 * configure: Regenerated.
4442
4443 2007-01-23 Joseph Myers <joseph@codesourcery.com>
4444
4445 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4446
4447 2007-01-21 Andrew Pinski <pinskia@gmail.com>
4448
4449 PR target/30519
4450 * config.host (alpha*-*-linux*): Set extra_parts.
4451
4452 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4453
4454 * config/sh/t-linux: New.
4455 * config.host (sh*-*-linux*): Set tmake_file.
4456
4457 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4458
4459 * Makefile.in (install): Handle multilibs.
4460
4461 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4462
4463 * Makefile.in: Added .PHONY entry for documentation targets.
4464
4465 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4466
4467 * Makefile.in: Add empty info, html, dvi, pdf targets.
4468
4469 2007-01-04 Mike Stump <mrs@apple.com>
4470
4471 * Makefile.in (MAKEINFO): Remove.
4472 (PERL): Likewise.
4473
4474 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
4475
4476 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4477 * configure: Regenerate.
4478 * Makefile.in (host_subdir): Substitute it.
4479 (gcc_objdir): Use it.
4480
4481 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4482
4483 * config.host (ia64*-*-linux*): Set tmake_file.
4484
4485 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4486
4487 * Makefile.in (version): Define.
4488
4489 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4490 Paolo Bonzini <bonzini@gnu.org>
4491
4492 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4493 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4494 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4495 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4496 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4497 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4498 * configure: Generated.