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