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