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