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