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