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