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