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