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