* config/rl78/rl78-expand.md (one_cmplqi2): Make constant signed.
[official-gcc.git] / libgcc / ChangeLog
blob818fee58e9e57035fb08f591492531ed4e7f08c3
1 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
7         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8         instructions when __SSE_MATH__ is defined.
10 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
12         * config.host (microblaze-*-rtems*): New.
14 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
16         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
17         architectures that do not have hardware divide instruction.
18         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
20 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
22         * longlong.h: Delete (moved to include/).
24 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
27         of normal number and qNaN to not raise an inexact exception.
29 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
31         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
33 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
35         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
36         for correct opcodes on BE.
38 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
40         * soft-fp/op-4.h: Update from glibc.
42 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
44         * libgcc2.c (__udivmoddi4): Define new implementation when
45         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
46         divide instructions.
48 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
50         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
52 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
54         * config/t-softfp (soft-fp-objects-base): New variable.
55         (soft-fp-objects): Use it.
57 2013-11-23  David Edelson  <dje.gcc@gmail.com>
58             Andrew Dixie  <andrewd@gentrack.com>
60         PR target/33704
61         * config/rs6000/aixinitfini.c: New file.
62         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
63         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
64         symbols.
66 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
68         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
70 2013-11-18  Jan Hubicka  <jh@suse.cz>
72         * libgcov-driver.c (run_accounted): Make global level static.
73         (gcov_exit_merge_summary): Silence warning; do not clear
74         run_accounted here.
75         (gcov_exit): Clear it here.
77         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
78         run_accounted.
80         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
81         (all_prg, crc32): Remove static vars.
82         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
83         all_prg.
84         (gcov_exit_merge_gcda): Add crc32 parameter.
85         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
86         do not account run if it was already accounted.
87         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
88         (gcov_exit): Initialize all_prg; update.
90 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
92         * configure: Regenerate.
94 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
95             Alan Modra  <amodra@gmail.com>
97         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
98         (frob_update_context): Use it.
100 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
101             Alan Modra  <amodra@gmail.com>
103         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
104         (trampoline_initial): Provide ELFv2 variant.
105         (__trampoline_setup): Likewise.
107         * config/rs6000/linux-unwind.h (frob_update_context): Do not
108         check for AIX indirect function call sequence if _CALL_ELF == 2.
110 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
111             Alan Modra  <amodra@gmail.com>
113         * config/rs6000/linux-unwind.h (get_regs): Do not support
114         old kernel versions if _CALL_ELF == 2.
115         (frob_update_context): Do not support PLT stub variants only
116         generated by old linkers if _CALL_ELF == 2.
118 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
119             Alan Modra  <amodra@gmail.com>
121         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
122         location of CR save area for 64-bit little-endian systems.
124 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
126         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
127         in tmake_file.
128         * config/arm/t-vxworks: Delete.
130 2013-11-10  Kai Tietz  <ktietz@redhat.com>
132         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
133         Increment load-count on use of LIBGCC_SONAME DLL.
134         (hmod_libgcc): New static variable to hold handle of
135         LIBGCC_SONAME DLL.
136         (__gcc_deregister_frame): Decrement load-count of
137         LIBGCC_SONAME DLL.
139 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
141         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
142         availability.
143         * configure: Regenerate
145 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
147         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
148         FP_EX_DENORM.  Store result to volatile location after SSE division
149         to close interrupt window.  Remove unneeded fwait after x87
150         division since interrupt window will be closed by emitted fstp.
151         Rewrite FP_EX_INEXACT handling.
153 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
155         * soft-fp/README: Update.
156         * soft-fp/adddf3.c: Update from glibc.
157         * soft-fp/addsf3.c: Likewise.
158         * soft-fp/addtf3.c: Likewise.
159         * soft-fp/divdf3.c: Likewise.
160         * soft-fp/divsf3.c: Likewise.
161         * soft-fp/divtf3.c: Likewise.
162         * soft-fp/double.h: Likewise.
163         * soft-fp/eqdf2.c: Likewise.
164         * soft-fp/eqsf2.c: Likewise.
165         * soft-fp/eqtf2.c: Likewise.
166         * soft-fp/extenddftf2.c: Likewise.
167         * soft-fp/extended.h: Likewise.
168         * soft-fp/extendsfdf2.c: Likewise.
169         * soft-fp/extendsftf2.c: Likewise.
170         * soft-fp/extendxftf2.c: Likewise.
171         * soft-fp/fixdfdi.c: Likewise.
172         * soft-fp/fixdfsi.c: Likewise.
173         * soft-fp/fixdfti.c: Likewise.
174         * soft-fp/fixsfdi.c: Likewise.
175         * soft-fp/fixsfsi.c: Likewise.
176         * soft-fp/fixsfti.c: Likewise.
177         * soft-fp/fixtfdi.c: Likewise.
178         * soft-fp/fixtfsi.c: Likewise.
179         * soft-fp/fixtfti.c: Likewise.
180         * soft-fp/fixunsdfdi.c: Likewise.
181         * soft-fp/fixunsdfsi.c: Likewise.
182         * soft-fp/fixunsdfti.c: Likewise.
183         * soft-fp/fixunssfdi.c: Likewise.
184         * soft-fp/fixunssfsi.c: Likewise.
185         * soft-fp/fixunssfti.c: Likewise.
186         * soft-fp/fixunstfdi.c: Likewise.
187         * soft-fp/fixunstfsi.c: Likewise.
188         * soft-fp/fixunstfti.c: Likewise.
189         * soft-fp/floatdidf.c: Likewise.
190         * soft-fp/floatdisf.c: Likewise.
191         * soft-fp/floatditf.c: Likewise.
192         * soft-fp/floatsidf.c: Likewise.
193         * soft-fp/floatsisf.c: Likewise.
194         * soft-fp/floatsitf.c: Likewise.
195         * soft-fp/floattidf.c: Likewise.
196         * soft-fp/floattisf.c: Likewise.
197         * soft-fp/floattitf.c: Likewise.
198         * soft-fp/floatundidf.c: Likewise.
199         * soft-fp/floatundisf.c: Likewise.
200         * soft-fp/floatunditf.c: Likewise.
201         * soft-fp/floatunsidf.c: Likewise.
202         * soft-fp/floatunsisf.c: Likewise.
203         * soft-fp/floatunsitf.c: Likewise.
204         * soft-fp/floatuntidf.c: Likewise.
205         * soft-fp/floatuntisf.c: Likewise.
206         * soft-fp/floatuntitf.c: Likewise.
207         * soft-fp/gedf2.c: Likewise.
208         * soft-fp/gesf2.c: Likewise.
209         * soft-fp/getf2.c: Likewise.
210         * soft-fp/ledf2.c: Likewise.
211         * soft-fp/lesf2.c: Likewise.
212         * soft-fp/letf2.c: Likewise.
213         * soft-fp/muldf3.c: Likewise.
214         * soft-fp/mulsf3.c: Likewise.
215         * soft-fp/multf3.c: Likewise.
216         * soft-fp/negdf2.c: Likewise.
217         * soft-fp/negsf2.c: Likewise.
218         * soft-fp/negtf2.c: Likewise.
219         * soft-fp/op-1.h: Likewise.
220         * soft-fp/op-2.h: Likewise.
221         * soft-fp/op-4.h: Likewise.
222         * soft-fp/op-8.h: Likewise.
223         * soft-fp/op-common.h: Likewise.
224         * soft-fp/quad.h: Likewise.
225         * soft-fp/single.h: Likewise.
226         * soft-fp/soft-fp.h: Likewise.
227         * soft-fp/subdf3.c: Likewise.
228         * soft-fp/subsf3.c: Likewise.
229         * soft-fp/subtf3.c: Likewise.
230         * soft-fp/truncdfsf2.c: Likewise.
231         * soft-fp/trunctfdf2.c: Likewise.
232         * soft-fp/trunctfsf2.c: Likewise.
233         * soft-fp/trunctfxf2.c: Likewise.
234         * soft-fp/unorddf2.c: Likewise.
235         * soft-fp/unordsf2.c: Likewise.
236         * soft-fp/unordtf2.c: Likewise.
238 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
240         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
241         (_FP_MUL_MEAT_D): Ditto.
242         (_FP_DIV_MEAT_S): Ditto.
243         (_FP_DIV_MEAT_D): Ditto.
244         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
245         t-softfp-sfdf and t-softfp to tmake_file.
247 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
249         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
250         * config/i386/crtprec.c: Ditto.
252 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
253             Shiva Chen  <shiva0217@gmail.com>
255         * config.host (nds32*-elf*): Add nds32 target.
256         * config/nds32 : New directory and files.
258 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
260         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
261         * config.host (cpu_type) <Setting default>: Add entry for
262         crisv32-*-*.
263         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
264         <crisv32-*-linux*>: Adjust.
265         * longlong.h: Wrap the whole CRIS section in a single
266         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
267         and sub_ddmmss.
268         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
269         defined.
270         [__CRIS__] (__umulsidi3): Define.
271         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
272         * config/cris/sfp-machine.h: New file.
273         * config/cris/umulsidi3.S: New file.
274         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
275         * config/cris/arit.c (SIGNMULT): New macro.
276         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
277         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
278         saving 3 out of originally 33 cycles from the fastest
279         path, 3 out of 54 from the medium path and one from the longest
280         path.  Improve comments.
282 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
284         * sync.c: Remove static aliases and define each function directly
285         under its real name.
287 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
289         * config.host (hppa*64*-*-linux*): Define extra_parts.
290         (hppa*-*-linux*): Likewise.
292 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
294         * config/arc/crtgend.S: Add 2013 to Copyright years.
295         * config/arc/gmon/atomic.h: Likewise.
296         * config/arc/gmon/auxreg.h: Likewise.
297         * config/arc/gmon/sys/gmon_out.h: Likewise.
298         * config/arc/gmon/sys/gmon.h: Likewise.
299         * config/arc/gmon/prof-freq.c: Likewise.
300         * config/arc/gmon/mcount.c: Likewise.
301         * config/arc/gmon/prof-freq-stub.S: Likewise.
302         * config/arc/gmon/gmon.c: Likewise.
303         * config/arc/gmon/machine-gmon.h: Likewise.
304         * config/arc/gmon/profil.S: Likewise.
305         * config/arc/gmon/dcache_linesz.S: Likewise.
306         * config/arc/crtg.S: Likewise.
307         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
308         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
309         * config/arc/ieee-754/adddf3.S: Likewise.
310         * config/arc/ieee-754/truncdfsf2.S: Likewise.
311         * config/arc/ieee-754/fixsfsi.S: Likewise.
312         * config/arc/ieee-754/gtsf2.S: Likewise.
313         * config/arc/ieee-754/floatsisf.S: Likewise.
314         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
315         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
316         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
317         * config/arc/ieee-754/fixdfsi.S: Likewise.
318         * config/arc/ieee-754/addsf3.S: Likewise.
319         * config/arc/ieee-754/gesf2.S: Likewise.
320         * config/arc/ieee-754/floatsidf.S: Likewise.
321         * config/arc/ieee-754/extendsfdf2.S: Likewise.
322         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
323         * config/arc/ieee-754/gtdf2.S: Likewise.
324         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
325         * config/arc/ieee-754/uneqdf2.S: Likewise.
326         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
327         * config/arc/ieee-754/uneqsf2.S: Likewise.
328         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
329         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
330         * config/arc/ieee-754/eqdf2.S: Likewise.
331         * config/arc/ieee-754/ordsf2.S: Likewise.
332         * config/arc/ieee-754/divsf3.S: Likewise.
333         * config/arc/ieee-754/divdf3.S: Likewise.
334         * config/arc/ieee-754/floatunsidf.S: Likewise.
335         * config/arc/ieee-754/orddf2.S: Likewise.
336         * config/arc/ieee-754/eqsf2.S: Likewise.
337         * config/arc/ieee-754/gedf2.S: Likewise.
338         * config/arc/crtn.S: Likewise.
339         * config/arc/crti.S: Likewise.
340         * config/arc/t-arc700-uClibc: Likewise.
341         * config/arc/asm.h: Likewise.
342         * config/arc/libgcc-excl.ver: Likewise.
343         * config/arc/t-arc-newlib: Likewise.
344         * config/arc/divtab-arc700.c: Likewise.
345         * config/arc/initfini.c: Likewise.
346         * config/arc/fp-hack.h: Likewise.
348 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
349             Diego Novillo  <dnovillo@google.com>
351         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
352         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
353         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
354         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
356 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
357             Brendan Kehoe  <brendan@zen.org>
358             Simon Cook  <simon.cook@embecosm.com>
360         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
361         * config/arc: New directory.
362         * longlong.h [__arc__] (umul_ppmm): Remove.
363         [__arc__] (__umulsidi3): Define.
364         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
365         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
367 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
369         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
370         CreateSemaphoreA.
371         * config/i386/gthr-win32.h: Likewise.
373 2013-09-16  DJ Delorie  <dj@redhat.com>
375         * config/rl78/vregs.h: Add G10 register definitions.
376         * config/rl78/lib2mul.c: Enable for RL78/G10.
377         * config/rl78/lib2div.c: Likewise.
378         * config/rl78/lshrsi3.S: Use vregs.h.
379         * config/rl78/cmpsi2.S: Likewise.
380         * config/rl78/trampoline.S: Likewise.
381         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
383 2013-09-14  DJ Delorie  <dj@redhat.com>
384             Nick Clifton  <nickc@redhat.com>
386         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
387         * config/rl78/vregs.h: New.
388         * config/rl78/signbit.S: New file.  Implements signbit function.
389         * config/rl78/divmodsi.S: New.
390         * config/rl78/divmodhi.S: New.
391         * config/rl78/divmodqi.S: New.
392         * config/rl78/t-rl78: Build them here...
393         * config/rl78/lib2div.c: ...but not here.
395 2013-09-12  DJ Delorie  <dj@redhat.com>
397         * config.host (msp*-*-elf): New.
398         * config/msp430/: New port.
400 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
402         PR gcov-profile/58127
403         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
404         __thread var for emulated TLS.
405         (__gcov_indirect_call_counters): Likewise.
407 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
408             Catherine Moore  <clm@codesourcery.com>
409             Richard Sandiford <rdsandiford@googlemail.com>
411         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
412         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
413         (CALL_STUB_NO_RET): Likewise.
414         (CALL_STUB_RET): Likewise.
415         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
416         __mips16_ret call/return stub symbols.
417         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
418         to tmake_file.
420 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
422         * config.host <mips*-*-linux*>: Remove a stray comment.
424 2013-08-10  Jan Hubicka  <jh@suse.cz>
426         Work around binutils PR14342
427         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
428         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
429         (L_gcov_indirect_call_profiler_v2): New.
431 2013-08-06  Jan Hubicka  <jh@suse.cz>
433         * libgcov.c (__gcov_indirect_call_callee,
434         __gcov_indirect_call_counters): New global vars.
435         (__gcov_indirect_call_profiler): replace by ...
436         (__gcov_indirect_call_profiler_v2) ... this one.
438 2013-08-06  Caroline Tice  <cmtice@google.com>
440         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
441         vtv_start_preinit.o and vtv_end_preinit.o.
442         * configure.ac: Add code to check/set enable_vtable_verify.
443         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
444         true.
445         * vtv_start_preinit.c: New file.
446         * vtv_end_preinit.c: New file.
447         * vtv_start.c: New file.
448         * vtv_end.c: New file.
449         * configure: Regenerated.
451 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
453         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
454         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
455         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
456         GPL-3.0-with-GCC-exception.
458 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
460         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
461         ISA and up.
463 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
465         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
466         mapping for FPRs when creating the fallback framestate.
468 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
470         PR target/57516
471         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
472         (__round_s2_const, __round_u2_const)
473         (__round_s4_const, __round_u4_const, __round_x8):
474         Saturate result if addition result cannot be represented.
476 2013-07-15  Matthias Klose  <doko@ubuntu.com>
478         * libgcc2.c: Don't include <limits.h>.
480 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
482         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
484 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
486         PR target/29776
487         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
489 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
491         PR middle-end/36041
492         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
493         Define.
494         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
495         instead of table lookups.
496         (__popcountDI2): Likewise.
498 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
500         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
501         correctly.
503 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
505         PR other/53317
506         * soft-fp/adddf3.c: Update from glibc.
507         * soft-fp/addsf3.c: Likewise.
508         * soft-fp/addtf3.c: Likewise.
509         * soft-fp/divdf3.c: Likewise.
510         * soft-fp/divsf3.c: Likewise.
511         * soft-fp/divtf3.c: Likewise.
512         * soft-fp/double.h: Likewise.
513         * soft-fp/eqdf2.c: Likewise.
514         * soft-fp/eqsf2.c: Likewise.
515         * soft-fp/eqtf2.c: Likewise.
516         * soft-fp/extenddftf2.c: Likewise.
517         * soft-fp/extended.h: Likewise.
518         * soft-fp/extendsfdf2.c: Likewise.
519         * soft-fp/extendsftf2.c: Likewise.
520         * soft-fp/fixdfdi.c: Likewise.
521         * soft-fp/fixdfsi.c: Likewise.
522         * soft-fp/fixsfdi.c: Likewise.
523         * soft-fp/fixsfsi.c: Likewise.
524         * soft-fp/fixtfdi.c: Likewise.
525         * soft-fp/fixtfsi.c: Likewise.
526         * soft-fp/fixunsdfdi.c: Likewise.
527         * soft-fp/fixunsdfsi.c: Likewise.
528         * soft-fp/fixunssfdi.c: Likewise.
529         * soft-fp/fixunssfsi.c: Likewise.
530         * soft-fp/fixunstfdi.c: Likewise.
531         * soft-fp/fixunstfsi.c: Likewise.
532         * soft-fp/floatdidf.c: Likewise.
533         * soft-fp/floatdisf.c: Likewise.
534         * soft-fp/floatditf.c: Likewise.
535         * soft-fp/floatsidf.c: Likewise.
536         * soft-fp/floatsisf.c: Likewise.
537         * soft-fp/floatsitf.c: Likewise.
538         * soft-fp/floatundidf.c: Likewise.
539         * soft-fp/floatundisf.c: Likewise.
540         * soft-fp/floatunditf.c: Likewise.
541         * soft-fp/floatunsidf.c: Likewise.
542         * soft-fp/floatunsisf.c: Likewise.
543         * soft-fp/floatunsitf.c: Likewise.
544         * soft-fp/gedf2.c: Likewise.
545         * soft-fp/gesf2.c: Likewise.
546         * soft-fp/getf2.c: Likewise.
547         * soft-fp/ledf2.c: Likewise.
548         * soft-fp/lesf2.c: Likewise.
549         * soft-fp/letf2.c: Likewise.
550         * soft-fp/muldf3.c: Likewise.
551         * soft-fp/mulsf3.c: Likewise.
552         * soft-fp/multf3.c: Likewise.
553         * soft-fp/negdf2.c: Likewise.
554         * soft-fp/negsf2.c: Likewise.
555         * soft-fp/negtf2.c: Likewise.
556         * soft-fp/op-1.h: Likewise.
557         * soft-fp/op-2.h: Likewise.
558         * soft-fp/op-4.h: Likewise.
559         * soft-fp/op-8.h: Likewise.
560         * soft-fp/op-common.h: Likewise.
561         * soft-fp/quad.h: Likewise.
562         * soft-fp/single.h: Likewise.
563         * soft-fp/soft-fp.h: Likewise.
564         * soft-fp/subdf3.c: Likewise.
565         * soft-fp/subsf3.c: Likewise.
566         * soft-fp/subtf3.c: Likewise.
567         * soft-fp/truncdfsf2.c: Likewise.
568         * soft-fp/trunctfdf2.c: Likewise.
569         * soft-fp/trunctfsf2.c: Likewise.
570         * soft-fp/unorddf2.c: Likewise.
571         * soft-fp/unordsf2.c: Likewise.
572         * soft-fp/unordtf2.c: Likewise.
573         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
574         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
575         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
576         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
577         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
578         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
579         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
580         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
581         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
582         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
583         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
584         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
586 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
588         * config/mips/lib2funcs.c: New file.
589         * config/mips/t-mips (LIB2ADD_ST): Add it.
591 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
593         PR target/6526
594         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
595         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
597 2013-06-08  Walter Lee  <walt@tilera.com>
599         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
600         Replace int64_t with long long.  Add __extension__ where
601         appropriate.
602         * config/tilepro/atomic.c: Include config.h.
604 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
606         * config.host (arm-wrs-vxworks): Configure with other soft float.
608 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
610         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
611         (mips64r5900el-*-elf*): New configurations.
613 2013-06-04  Alan Modra  <amodra@gmail.com>
615         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
617 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
619         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
621 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
623         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
624         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
625         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
627 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
629         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
630         (powerpc-wrs-vxworks): Likewise.
632 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
634         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
635         signal frames as well.
636         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
637         STACK_BIAS to the CFA offset.
639 2013-05-17  Richard Henderson  <rth@redhat.com>
641         PR target/49146
642         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
643         (execute_cfa_program): Use it when storing to fs->regs.
645 2013-05-08  Kai Tietz  <ktietz@redhat.com>
647         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
648         (__deregister_frame_info): Likewise.
650 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
652         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
653         NaN's payload.
655         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
657 2013-04-25  Alan Modra  <amodra@gmail.com>
659         * config.host: Match little-endian powerpc-linux.
661 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
663         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
664         as 'unsigned long long' instead of 'unsigned long'.
665         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
666         'signed long'.
668 2013-04-10  Julian Brown  <julian@codesourcery.com>
670         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
671         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
672         unsigned char/unsigned short.
673         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
675 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
677         PR other/55274
678         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
680 2013-04-04  Meador Inge  <meadori@codesourcery.com>
682         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
683         computing the location of the link register.
684         (aeabi_uldivmod): Ditto.
686 2013-03-27  Kai Tietz  <ktietz@redhat.com>
688         * config.host: Add support for cygwin x64 target.
689         * configure: Regenerated.
691 2013-03-26  Walter Lee  <walt@tilera.com>
693         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
694         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
696 2013-03-25  Kai Tietz  <ktietz@redhat.com>
698         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
700 2013-03-20  Robert Mason  <rbmj@verizon.net>
702         * config/vxlib-tls.c (__gthread_get_tsd_data,)
703         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
704         (__gthread_leave_tsd_dtor_context): Add prototypes.
705         (tls_delete_hook): Update.
707 2013-03-20  Catherine Moore  <clm@codesourcery.com>
708             Joseph Myers  <joseph@codesourcery.com>
709             Chao-ying Fu  <fu@mips.com>
711         * config/mips/mips16.S:  Don't build for microMIPS.
712         * config/mips/linux-unwind.h: Handle microMIPS frame.
713         * config/mips/crtn.S (fini, init): New labels.
715 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
717         PR tree-optimization/53265
718         * unwind-dw2.c (execute_cfa_program): Avoid
719         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
720         on targets with DWARF_FRAME_REGISTERS < 32.
722 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
724         PR target/49880
725         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
726         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
728 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
730         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
731         sandybridge processors.
733 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
735         PR target/56529
736         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
737         inclusion list.
739 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
741         * config/microblaze/crti.S: Setup stack protection at entry
743 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
745         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
746         (__rotldi3): Shift bytewise if applicable.
748 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
750         * config/aarch64/sync-cache.c
751         (__aarch64_sync_cache_range): Silence warnings.
753 2013-02-25  Catherine Moore  <clm@codesourcery.com>
755         Revert:
756         2013-02-24  Catherine Moore  <clm@codesourcery.com>
757             Joseph Myers  <joseph@codesourcery.com>
758             Chao-ying Fu  <fu@mips.com>
760         * config/mips/mips16.S:  Don't build for microMIPS.
761         * config/mips/linux-unwind.h: Handle microMIPS frame.
762         * config/mips/crtn.S (fini, init): New labels.
764 2013-02-24  Catherine Moore  <clm@codesourcery.com>
765             Joseph Myers  <joseph@codesourcery.com>
766             Chao-ying Fu  <fu@mips.com>
768         * config/mips/mips16.S:  Don't build for microMIPS.
769         * config/mips/linux-unwind.h: Handle microMIPS frame.
770         * config/mips/crtn.S (fini, init): New labels.
772 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
773         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
774         as dividend.
776 2013-02-16  Alan Modra  <amodra@gmail.com>
778         PR target/55431
779         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
780         (ppc_fallback_frame_state): Always set up save locations for fp
781         and altivec.  Don't bother with non-callee-saved regs, r0-r13
782         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
784 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
786         PR target/54222
787         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
788         _ssmulHA, _ssmulSA.
789         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
790         _ssmulha3, _usmulusa3, _ssmulsa3.
791         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
792         (__muldi3): XCALL __muldi3_6 instead of rcall.
793         (__umulsidi3, __mulsidi3): New functions.
794         (do_prologue_saves, do_epilogue_restores): New .macros.
795         (__divdi3_moddi3): Use them.
796         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
797         (__usmulusa3, __ssmulsa3): New functions.
799 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
800             Jack Howarth  <howarth@bromo.med.uc.edu>
801             Patrick Marlier  <patrick.marlier@gmail.com>
803         PR libitm/55693
804         * config/darwin-crt-tm.c: Remove dummy functions hack.
806 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
808         PR target/54222
809         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
810         * config/avr/lib2-object.mk: New iterator to build objects from it.
811         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
812         lib2funcs.c.
813         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
814         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
815         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
816         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
817         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
818         * config/avr/lib1funcs-fixed.S: Implement them.
820 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
822         Update copyright years.
824 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
826         PR target/54601
827         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
828         Add crtcxa to extra_parts.
829         * config/rs6000/exit.h: New file.
830         * config/rs6000/cxa_atexit.c: New file.
831         * config/rs6000/cxa_finalize.c: New file.
832         * config/rs6000/crtcxa.c: New file.
833         * config/rs6000/t-aix-cxa: New file.
834         * config/rs6000/libgcc-aix-cxa.ver: New file.
836 2013-01-31  Nick Clifton  <nickc@redhat.com>
838         * config/v850/lib1funcs.S: Add support for e3v5 architecture
839         variant.
841 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
843         PR target/54222
844         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
845         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
846         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
847         _divQQ,  _divHQ,  _divHA,  _divSA,
848         _divUQQ, _divUHQ, _divUHA, _divUSA.
850 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
852         * config.host(microblaze*-linux*): tmake_file: Remove
853         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
854         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
855         to exclude functions from being built with libgcc.c and use
856         the microblaze assembly.
858 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
860         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
861         extra_parts.
863 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
865         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
866         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
867         __UINTPTR_TYPE__; also cast 'base' to the same type before the
868         alignment operation.
870 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
872         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
873         loop start address for cache clearing.
875 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
877         * config/avr/lib1funcs.S: Remove trailing blanks.
878         * config/avr/lib1funcs-fixed.S: Ditto.
880 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
882         * config/avr/avr-lib.h: Add GPL copyright notice.
884 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
886         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
887         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
888         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
889         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
891 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
893         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
894         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
896 2013-01-04  Nick Clifton  <nickc@redhat.com>
898         * config/v850/lib1funcs.S: Only provide CALLT support functions if
899         the CALLT instruction is supported.
901 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
903         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
904         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
906 2012-12-13  John Tytgat  <John@bass-software.com>
908         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
909         is 25.
911 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
913         PR libgcc/55451
914         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
915         undefined signed overflows.
917 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
919         PR target/55344
920         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
922 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
924         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
925         (FP_TRAPPING_EXCEPTIONS): Define.
926         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
927         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
929 2012-12-04  Richard Henderson  <rth@redhat.com>
931         PR bootstrap/55571
932         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
934 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
936         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
937         (FP_EX_SHIFT): Define.
938         (FP_TRAPPING_EXCEPTIONS): Define.
940 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
942         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
943         (FP_ROUNDMODE): Use FP_RND_MASK.
944         * config/aarch64/sfp-exceptions.c: New.
945         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
946         Use __sfp_handle_exceptions.
948 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
950         * config.host: (arm*-*-freebsd*): Remove.
951         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
952         (arm*-*-elf*): Remove.
953         (arm*-*-wince-pe*): Remove.
954         * arm/unwind-arm.c (struct fpa_reg): Delete.
955         (struct fpa_regs): Delete.
956         (phase1_vrs): Remove fpa element.
957         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
958         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
959         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
960         * ieee754-sf.S (floatundisf): Remove FPA support.
961         (floatdisf): Likewise.
962         * ieee75f-df.S (floatundidf): Likewise.
963         (floatdidf): Likewise.
965 2012-11-29  Kai Tietz  <ktietz@redhat.com>
967         PR target/55445
968         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
969         * unwind-generic.h: Likewise.
970         * unwind-seh.c: Likewise.
972 2012-11-28  Richard Henderson  <rth@redhat.com>
974         PR libgcc/48076
975         * emutls.c (__emutls_get_address): Avoid race condition between
976         obj->loc.offset read and emutls_key initialization.
978 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
980         Adjust decimal point of signed accum mode to GCC default.
982         PR target/54222
983         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
984         _divqq_helper.
985         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
986         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
987         (__mulha3, __mulsa3)
988         (__divqq3, __divha3, __divsa3): Adjust to new position of
989         decimal point of signed accum types.
991         (__mulusa3_round): New function.
992         (__mulusa3): Use it.
993         (__divqq_helper): New function.
994         (__udivuqq3): Use it.
996 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
998         PR bootstrap/55370
999         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
1001 2012-11-18  Teresa Johnson  <tejohnson@google.com>
1003         PR bootstrap/55051
1004         * libgcov.c (gcov_exit): Remove merged program summary
1005         comparison unless !GCOV_LOCKED.
1007 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
1009         * soft-fp: Updated from glibc upstream.
1011 2012-11-06  Ian Lance Taylor  <iant@google.com>
1013         * generic-morestack.c (__generic_morestack): Align the returned
1014         stack pointer to a 32 byte boundary.
1015         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
1016         increment the return address until we have decided that we don't
1017         have a varargs function.
1018         (__morestack) [32-bit]: Align stack correctly when calling C
1019         functions.
1020         (__morestack) [64-bit]: Likewise.
1022 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
1024         * configure: Regenerate.
1026 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
1028         PR target/55175
1029         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
1030         * config/i386/sfp-machine.h: Guard exception handling
1031         code with _SOFT_FLOAT.
1032         * config/i386/32/sfp-machine.h: Guard rounding handling
1033         code with _SOFT_FLOAT.
1034         * config/i386/64/sfp-machine.h: Ditto.
1036 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
1038         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
1039         as extra_parts.
1041 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
1043         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
1044         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
1045         when appropriate.  Correct structure element types.
1046         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
1047         -minline-all-stringops from compile flags.
1049 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
1051         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
1053 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
1055         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
1057 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1059         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
1060         tmake_file.
1062 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
1063             Jim MacArthur  <jim.macarthur@arm.com>
1064             Marcus Shawcroft  <marcus.shawcroft@arm.com>
1065             Nigel Stephens  <nigel.stephens@arm.com>
1066             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1067             Richard Earnshaw  <rearnsha@arm.com>
1068             Sofiane Naci  <sofiane.naci@arm.com>
1069             Stephen Thomas  <stephen.thomas@arm.com>
1070             Tejas Belagod  <tejas.belagod@arm.com>
1071             Yufeng Zhang  <yufeng.zhang@arm.com>
1073         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
1074         * config/aarch64/crti.S: New file.
1075         * config/aarch64/crtn.S: New file.
1076         * config/aarch64/linux-unwind.h: New file.
1077         * config/aarch64/sfp-machine.h: New file.
1078         * config/aarch64/sync-cache.c: New file.
1079         * config/aarch64/t-aarch64: New file.
1080         * config/aarch64/t-softfp: New file.
1082 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
1084         * config/mmix/crti.S: Mark program and data addresses using PRELD.
1085         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
1086         no-longer-needed LDBU insns.
1088 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
1090         * config.host
1091         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
1092         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
1094 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1096         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
1098 2012-10-15  Matthias Klose  <doko@ubuntu.com>
1100         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
1102 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
1104         * configure: Regenerate.
1105         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
1107 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
1109         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1110         instructions for 64bit targets only.
1112 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
1114         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1115         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
1116         * config/i386/32/sfp-machine.h: ... here.
1117         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1118         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
1119         New defines.
1121 2012-10-07  Matthias Klose  <doko@ubuntu.com>
1123         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
1124         as unused.
1125         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
1127 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
1129         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
1130         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
1131         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
1132         (ElfW): Likewise.
1134 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1136         PR other/53889
1137         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1138         Fix parameter names.
1140 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
1142         PR target/33135
1143         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
1144         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
1145         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
1147 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
1149         PR target/50457
1150         * config/sh/linux-atomic.S: Delete.
1151         * config/sh/linux-atomic.c: New.
1152         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
1153         linux-atomic.c.  Add cflags to disable warnings.
1155 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1157         PR other/53889
1158         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
1159         function.
1160         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
1161         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
1162         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
1163         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
1164         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
1165         Likewise.
1166         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1167         Likewise.
1168         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
1169         Likewise.
1170         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
1171         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
1173 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
1175         * config.host (hppa-*-openbsd*): New target.
1176         * config/pa/t-openbsd: New file.
1178 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
1180         PR target/54222
1181         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
1182         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
1183         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
1184         (__divsa3): Use __negsi2 to negate r_quoL.
1185         * config/avr/lib1funcs.S (FALIAS): New macro.
1186         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
1187         (__negsi2): ...this new function.
1188         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
1189         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
1190         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
1191         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
1192         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
1193         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
1195 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
1197         PR target/54089
1198         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
1199         (lshrsi3): Reimplement as lshrsi3_r0.
1201 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
1203         PR target/46191
1204         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
1205         of libgcc.a.
1207 2012-09-07  Teresa Johnson  <tejohnson@google.com>
1209         PR gcov-profile/54487
1210         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
1211         differences.
1213 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
1215         PR target/54461
1216         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
1217         not configured --with-avrlibc=no.
1218         * config/avr/t-avrlibc: New file.
1219         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
1220         (DPBIT_FUNCS): Ditto.
1221         (TPBIT_FUNCS): Ditto.
1223 2012-09-04  Teresa Johnson  <tejohnson@google.com>
1225         * libgcov.c (struct gcov_summary_buffer): New structure.
1226         (gcov_histogram_insert): New function.
1227         (gcov_compute_histogram): Ditto.
1228         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
1229         histograms during summary merging.
1231 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
1233         * config.host (x86_64-*-openbsd*): New target.
1235 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
1237         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
1238         attribute.
1240 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1242         PR target/54222
1243         * config/avr/t-avr (conv_X): Rename to func_X.
1245 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
1247         PR target/54222
1248         * config/avr/lib1funcs-fixed.S: New file.
1249         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
1250         after they are used.
1251         (neg2, neg4): New macros.
1252         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
1253         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
1254         (__umulhisi3): Speed up MUL variant if there is enough flash.
1255         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
1256         avr-modes.def.
1257         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
1258         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
1259         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
1260         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
1261         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
1262         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
1263         (LIB2FUNCS_EXCLUDE): Add supported functions.
1265 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
1267         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
1268         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
1269         libgcc-s-objects.
1270         * fixed-obj.mk: Only expand dependency if $o is not in
1271         LIB2FUNCS_EXCLUDE.
1273 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
1275         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
1277 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
1279         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
1280         depend on --enable-shared.
1281         ($(lib1asmfuncs-o)): Use %.vis files independent of
1282         --enable-shared.
1283         * static-object.mk ($(base)$(objext), $(base).vis)
1284         ($(base)_s$(objext)): Use same rules for visibility handling as in
1285         shared-object.mk.
1287 2012-08-21  Ian Lance Taylor  <iant@google.com>
1289         * config/i386/morestack.S (__morestack_non_split): Increase amount
1290         of space allocated for non-split code stack.
1292 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
1294         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
1295         even if inhibit_libc.
1297 2012-08-17  Julian Brown  <julian@codesourcery.com>
1299         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
1300         -fexceptions -fnon-call-exceptions if not defined.
1301         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
1302         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
1304 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
1306         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
1307         type.
1309 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
1311         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
1312         rs6000/t-slibgcc-aix.
1314 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1316         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
1318 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
1320         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
1322 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
1324         PR driver/54171
1325         * Makefile.in (version): Replace top_srcdir with srcdir.
1327 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
1329         * Makefile.in (version): set to BASE-VER file from gcc directory.
1331 2012-08-01  Nick Clifton  <nickc@redhat.com>
1333         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
1334         Implements __clrsb for an HImode argument.
1336 2012-07-31  Nick Clifton  <nickc@redhat.com>
1338         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
1339         Implements __clrsb for an HImode argument.
1340         * config/stormy16/clrsbhi2.c: New file:
1341         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
1343 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
1345         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
1347 2012-07-19  Tristan Gingold  <gingold@adacore.com>
1348             Richard Henderson  <rth@redhat.com>
1350         * unwind-seh.c: New file.
1351         * unwind-generic.h: Include windows.h for SEH.
1352         (_Unwind_Exception): Use 6 private fields for SEH.
1353         (_GCC_specific_handler): Declare.
1354         * unwind-c.c (__gcc_personality_seh0): New function.
1355         Adjust for SEH.
1356         * config/i386/libgcc-cygming.ver: New file.
1357         * config/i386/t-seh-eh: New file.
1358         * config.host (x86_64-*-mingw*): Default to seh.
1360 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
1362         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
1364 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
1366         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
1367         __builtin_expect when checking for exceptions.
1368         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
1370 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1372         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
1373         function declaration.
1374         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1375         (FP_RND_MASK): New.
1376         * config/ia64/sfp-exceptions.c: New.
1377         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1379 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
1381         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
1382         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
1383         * config/i386/64/sfp-machine: ... (delete here) ...
1384         * config/i386/sfp-machine.h: ... to here.
1385         (FP_EX_MASK): Remove.
1386         (FP_RND_MASK): New.
1387         (FP_INIT_ROUNDMODE): Declare asm as volatile.
1389 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
1391         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
1392         * config/i386/libgcc-sol2.ver: Ditto.
1393         * config/i386/libgcc-glibc.ver: Ditto.
1395 2012-06-11  Roland McGrath  <mcgrathr@google.com>
1397         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
1398         If __GLIBC__ is defined, refer to __pthread_key_create instead of
1399         pthread_cancel.
1401 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
1403         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
1404         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
1405         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
1406         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1407         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
1408         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
1409         * config/i386/64/sfp-machine: ... (delete here) ...
1410         * config/i386/sfp-machine.h: ... to here.
1411         (FP_EX_MASK): New.
1412         (__sfp_handle_exceptions): New function declaration.
1413         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1414         * config/i386/sfp-exceptions.c: New.
1415         * config/i386/t-softfp: New.
1416         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
1417         i386/t-softfp to tmake_file.
1419 2012-06-03  David S. Miller  <davem@davemloft.net>
1421         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
1422         change.
1424 2012-05-31  David S. Miller  <davem@davemloft.net>
1426         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
1427         multiply and divide instructions on 32-bit when V9.
1428         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
1430 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
1432         * config/arm/ieee754-df.S: Fix typos.
1433         * config/arm/ieee754-sf.S: Fix typos.
1434         * config/c6x/libunwind.S: Fix typos.
1435         * config/epiphany/udivsi3-float.c: Fix typos.
1436         * config/microblaze/muldi3_hard.S: Fix typos.
1437         * config/picochip/adddi3.S: Fix typos.
1438         * config/picochip/ashlsi3.S: Fix typos.
1439         * config/picochip/ashrsi3.S: Fix typos.
1440         * config/picochip/clzsi2.S: Fix typos.
1441         * config/picochip/cmpsi2.S: Fix typos.
1442         * config/picochip/divmod15.S: Fix typos.
1443         * config/picochip/divmodhi4.S: Fix typos.
1444         * config/picochip/divmodsi4.S: Fix typos.
1445         * config/picochip/longjmp.S: Fix typos.
1446         * config/picochip/lshrsi3.S: Fix typos.
1447         * config/picochip/parityhi2.S: Fix typos.
1448         * config/picochip/popcounthi2.S: Fix typos.
1449         * config/picochip/setjmp.S: Fix typos.
1450         * config/picochip/subdi3.S: Fix typos.
1451         * config/picochip/ucmpsi2.S: Fix typos.
1452         * config/picochip/udivmodhi4.S: Fix typos.
1453         * config/picochip/udivmodsi4.S: Fix typos.
1454         * config/spu/divv2df3.c: Fix typos.
1455         * config/spu/mfc_multi_tag_release.c: Fix typos.
1456         * config/spu/mfc_tag_release.c: Fix typos.
1457         * configure.ac: Fix typos.
1458         * configure: Regenerate.
1460 2012-05-25  Ian Lance Taylor  <iant@google.com>
1462         * config/i386/morestack.S (__morestack_non_split): Check whether
1463         caller is varargs and needs %bp to hold the stack frame on return.
1465 2012-05-25  Olivier Hainque  <hainque@adacore.com>
1467         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1468         sequence in the non pic case on VxWorks.
1470 2012-05-24  Olivier Hainque  <hainque@adacore.com>
1472         * Makefile.in: Move dependency on install-unwind_h from
1473         "install-leaf" to "install".
1475 2012-05-24  Olivier Hainque  <hainque@adacore.com>
1477         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1478         Use a separate command for stamp removals.
1480 2012-05-21  Andrew Pinski  <apinski@cavium.com>
1482         PR bootstrap/53183
1483         * configure.ac: Define the default includes to being none.
1484         * configure: Regenerate.
1486 2012-05-16  Olivier Hainque  <hainque@adacore.com>
1488         * Makefile.in (install-unwind_h): Rename into ...
1489         (install-unwind_h-forbuild): New target.
1490         (all): Use it instead of the former install-unwind_h.
1491         (install-unwind_h): Reinstate, copy to user install destination
1492         for include files, not to the internal gcc object directory one.
1493         (install-leaf): Depend on it.
1495 2012-05-15  Olivier Hainque  <hainque@adacore.com>
1497         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1498         register numbers. LR_REGNO replaces R_LR.
1499         (ucontext_for): New, helper for ...
1500         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1501         and 5.3 of ...
1502         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1504 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1506         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1507         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1508         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1509         i386/t-cpuinfo ...
1510         (i[34567]86-*-*, x86_64-*-*): ... here.
1512         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1513         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1515         * config/i386/i386-cpuinfo.c: Rename to ...
1516         * config/i386/cpuinfo.c: ... this.
1517         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1519         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1520         (libgcc_cv_init_priority): New test.
1521         * configure: Regenerate.
1522         * config.in: New file.
1523         * Makefile.in (clean): Rename config.h to auto-target.h.
1524         (config.h): Likewise.
1525         (stamp-h): Likewise.
1527         * config/i386/cpuinfo.c (auto-target.h): Include.
1528         (CONSTRUCTOR_PRIORITY): Define.
1529         (__cpu_indicator_init): Use it.
1531 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
1533         * longlong.h: Use a URL instead of an FSF postal address.
1534         Replace spaces with tab.
1536 2012-05-08  Teresa Johnson  <tejohnson@google.com>
1538         * libgcov.c (gcov_clear, __gcov_reset): New functions.
1539         (__gcov_dump): Ditto.
1540         (gcov_dump_complete): New global variable.
1541         (gcov_exit): Export hidden to enable use in L_gcov_dump.
1542         (__gcov_flush): Outline functionality now in gcov_clear.
1543         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1545 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
1547         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1548         (mips*-*-linux*): Include mips/t-tpbit when long double is
1549         16 bytes long.
1551 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
1553         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1554         (get_available_features): New argument. Check for AVX2.
1555         (__cpu_indicator_init): Modify call to get_available_features.
1557 2012-04-25  Alan Modra  <amodra@gmail.com>
1559         * config/rs6000/crtsavevr.S: New file.
1560         * config/rs6000/crtrestvr.S: New file.
1561         * config/rs6000/t-savresfgpr: Build the above.
1562         * config/rs6000/t-netbsd: Likewise.
1564 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1566         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1568 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1570         * libgcc/config/i386/i386-cpuinfo.c: New file.
1571         * libgcc/config/i386/t-cpuinfo: New file.
1572         * libgcc/config.host: Include t-cpuinfo.
1573         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1575 2012-04-24  Chao-ying Fu  <fu@mips.com>
1577         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1579 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
1581         struct siginfo vs. siginfo_t
1583         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1584         siginfo_t instead of struct siginfo.
1585         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1586         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1587         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1588         (ia64_handle_unwabi): Likewise.
1589         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1590         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1591         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1592         (sh_fallback_frame_state): Likewise.
1593         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1594         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1596 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
1598         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1599         system call number.
1601 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
1603         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1604         if it hasn't been previously saved.
1606 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1608         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1609         only for glibc.
1611 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
1613         PR target/52737
1614         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1615         instead of __AVR_HAVE_8BIT_SP__.
1617 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1619         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1620         (unw_table_entry): Use unw_word instead of unsigned long.
1621         (_Unwind_FindTableEntry): Likewise.
1622         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1623         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1624         (_Unwind_FindTableEntry): Likewise.
1625         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1626         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1627         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1628         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1629         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1630         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1631         (uw_init_context_1, uw_install_context): Likewise.
1632         (unw_word): Move to unwind-ia64.h
1634 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1636         * config/vms/vms-ucrt0.c: Update copyright years.
1637         Add a sanity check.
1638         (___gcc_main_flags): Declare.
1639         (__main): Check flags to remap argv and exit code.
1640         * config.host (*-*-*vms*): Adjust extra_parts.
1641         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1642         (crt0.o): Add.
1644 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
1646         * arm/lib1funcs.asm (ctzsi2): New function.
1647         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1648         * arm/t-linux (LIB1ASMFUNCS): Likewise.
1649         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1650         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1651         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1652         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1654 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
1656         * config.host: Add bits to support powerpc64-*-freebsd*.
1657         * config/rs6000/freebsd-unwind.h: New file.
1658         * config/rs6000/t-freebsd64: New file.
1660 2012-03-20  Richard Guenther  <rguenther@suse.de>
1662         PR gcov-profile/52627
1663         * libgcov.c (init_mx): Fix mutex name.
1665 2012-03-16  Tristan Gingold  <gingold@adacore.com>
1667         * config/ia64/vms-unwind.h: Remove ulong (and replace
1668         it by unw_reg where used).  Define unw_reg with __int64.
1670 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1672         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1673         Solaris 8 handling.
1674         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1675         Solaris 8 handling.
1676         (sparc_is_sighandler): Likewise.
1678 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
1680         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1681         <= saved reg size.
1683 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1685         * config/arm/crtn.S: Fix typo.
1687 2012-03-13  Richard Guenther  <rguenther@suse.de>
1689         * libgcov.c: Remove stdio.h include and NULL un-define.
1691 2012-03-13  Richard Guenther  <rguenther@suse.de>
1693         PR target/52569
1694         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1696 2012-03-13  Richard Guenther  <rguenther@suse.de>
1698         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1700 2012-03-13  Richard Guenther  <rguenther@suse.de>
1702         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1703         and __gthread_mutex_init_function definitions.
1705 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1707         * config.host (mips*-*-openbsd*): Remove.
1709 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1711         * config.host: Remove alpha*-dec-osf5.1* handling.
1712         * config/alpha/gthr-posix.c: Remove.
1713         * config/alpha/libgcc-osf5.ver: Remove.
1714         * config/alpha/osf5-unwind.h: Remove.
1715         * config/alpha/t-osf-pthread: Remove.
1716         * config/alpha/t-slibgcc-osf: Remove.
1717         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1718         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1719         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1720         * mkmap-flat.awk: Remove osf_export handling.
1722 2012-03-12  Richard Guenther  <rguenther@suse.de>
1724         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1725         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1726         (__gthread_mutex_init_function): New function.
1727         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1729         PR gcov/49484
1730         * libgcov.c: Include gthr.h.
1731         (__gcov_flush_mx): New global variable.
1732         (init_mx, init_mx_once): New functions.
1733         (__gcov_flush): Protect self with a mutex.
1734         (__gcov_fork): Re-initialize mutex after forking.
1735         * unwind-dw2-fde.c: Change condition under which to use
1736         __GTHREAD_MUTEX_INIT_FUNCTION.
1738 2012-03-12  Tristan Gingold  <gingold@adacore.com>
1740         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1741         * config/ia64/t-vms: Likewise.
1743 2012-03-11  Michael Hope  <michael.hope@linaro.org>
1745         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1746         for Thumb-2.
1748 2012-03-07  Walter Lee  <walt@tilera.com>
1750         * config/tilepro/atomic.c: Rename "atomic_" prefix to
1751         "arch_atomic_".
1752         (atomic_xor): Rename and move definition to
1753         config/tilepro/atomic.h.
1754         (atomic_nand): Ditto.
1755         * config/tilepro/atomic.h: Rename "atomic_" prefix to
1756         "arch_atomic_".
1757         (arch_atomic_xor): Move from config/tilepro/atomic.c.
1758         (arch_atomic_nand): Ditto.
1760 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1762         PR target/52507
1763         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1765 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1767         PR target/52505
1768         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1769         from RAM.
1771 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1773         PR target/52461
1774         PR target/52508
1775         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1776         if RAMPZ affects reading from RAM.
1777         (__tablejump_elpm__): Ditto.
1778         (.xload): Ditto.
1779         (__movmemx_hi): Ditto.
1780         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1781         (__do_global_dtors): Ditto.
1782         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1783         (__movmemx_hi): Ditto.
1785 2012-03-05  Richard Henderson  <rth@redhat.com>
1787         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1788         [ARM] (count_trailing_zeros): Use the builtin.
1790 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1792         * soft-fp: Imported from glibc upstream.
1794 2012-02-28  Kai Tietz  <ktietz@redhat.com>
1796         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1797         for mingw-targets as attribute gcc_struct.
1799 2012-02-28  Ian Lance Taylor  <iant@google.com>
1801         * generic-morestack.c (__splitstack_releasecontext): Correct call
1802         to __morestack_release_segments.
1804 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1806         PR target/52390
1807         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1808         for __linux__ when removing signals from __morestack_fullmask.
1810 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
1812         PR target/52261
1813         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1815 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1817         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1818         instead of HAVE_INITFINI_ARRAY.
1819         * config/ia64/crtend.S: Likewise.
1821 2012-02-20  Kai Tietz  <ktietz@redhat.com>
1823         PR libstdc++/52300
1824         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1826         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1827         to w32-unwind.h header.
1829 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1831         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1832         (mips*-*-linux*): Remove t-slibgcc-libgcc.
1833         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1834         * config/mips/mips16.S (__mips16_rdhwr): Delete.
1836 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1838         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1840 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1842         PR libitm/52220
1843         * config/darwin-crt-tm.c: Correct typo.
1845 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1846             Patrick Marlier  <patrick.marlier@gmail.com>
1848         PR libitm/52220
1849         * config/darwin-crt-tm.c: Generate dummy functions.
1851 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1852             Patrick Marlier  <patrick.marlier@gmail.com>
1854         PR libitm/52042
1855         * config/darwin-crt-tm.c (getTMCloneTable): New function.
1856         (__doTMRegistrations): Call it.
1857         (__doTMdeRegistrations): Likewise.
1859 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
1860             Anatoly Sokolov <aesok@post.ru>
1861             Eric Weddington <eric.weddington@atmel.com>
1863         PR target/52261
1864         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1865         (__epilogue_restores__): Ditto.
1867 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1869         PR target/51921
1870         PR target/52205
1871         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1872         Solaris 11 and slightly reformat.
1873         (sparc_is_sighandler): Likewise.
1875 2012-02-14  Walter Lee  <walt@tilera.com>
1877         * config.host: Handle tilegx and tilepro.
1878         * config/tilegx/sfp-machine.h: New file.
1879         * config/tilegx/sfp-machine32.h: New file.
1880         * config/tilegx/sfp-machine64.h: New file.
1881         * config/tilegx/t-crtstuff: New file.
1882         * config/tilegx/t-softfp: New file.
1883         * config/tilegx/t-tilegx: New file.
1884         * config/tilepro/atomic.c: New file.
1885         * config/tilepro/atomic.h: New file.
1886         * config/tilepro/linux-unwind.h: New file.
1887         * config/tilepro/sfp-machine.h: New file.
1888         * config/tilepro/softdivide.c: New file.
1889         * config/tilepro/softmpy.S: New file.
1890         * config/tilepro/t-crtstuff: New file.
1891         * config/tilepro/t-tilepro: New file.
1893 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1895         PR libstdc++/51296
1896         PR libstdc++/51906
1897         * gthr-posix.h: Allow static initializer macros to be disabled.
1898         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1900 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1902         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1903         Add t-slibgcc-libgcc to tmake_file.
1904         * config/mips/libgcc-mips16.ver: Revert previous patch.
1905         * config/mips/mips16.S (__mips16_rdhwr): Hide.
1907 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1908             Jayant R Sonar <jayant.sonar@kpitcummins.com>
1910         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1911         * config/cr16/crti.S: New file.
1912         * config/cr16/crtlibid.S: New file.
1913         * config/cr16/crtn.S: New file.
1914         * config/cr16/lib1funcs.S: New file.
1915         * config/cr16/t-cr16: New file.
1916         * config/cr16/t-crtlibid: New file.
1917         * config/cr16/unwind-dw2.h: New file.
1918         * config/cr16/unwind-cr16.c: New file.
1919         * config/cr16/divmodhi3.c: New file.
1921 2012-01-25  Alan Modra  <amodra@gmail.com>
1923         * config/rs6000/t-linux64: Delete.  Move..
1924         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1925         * config/rs6000/t-linux: ..and libgcc flags to here.
1927 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
1929         * config.host (i[34567]86-*-interix3*):
1930         Change triplet to i[34567]86-*-interix[3-9]*.
1931         * configure: Regenerate.
1933 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
1934             Richard Sandiford  <rdsandiford@googlemail.com>
1936         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1937         * config/mips/mips16.S (__mips16_rdhwr): New function.
1938         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1940 2012-01-11  Nathan Sidwell  <nathan@acm.org>
1942         * libgcov.c (__gcov_init): Ignore objects with no functions.
1944 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
1946         PR target/49868
1947         Extend __pgmx semantics to linearize memory.
1948         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1949         * config/avr/lib1funcs.S (__xload_1): New function.
1950         (__movmemx_qi, __movmemx_hi): New functions.
1951         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1952         semantics.
1954 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1956         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1957         purported sigacthandler address isn't null before dereferencing it.
1958         (sparc_is_sighandler): Likewise.
1960 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1962         PR ada/41929
1963         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1964         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
1965         (sparc_is_sighandler): Likewise.
1966         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1968 2012-01-06  Tristan Gingold  <gingold@adacore.com>
1970         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1971         compatibility thunks...
1972         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1973         (crtbeginS.o, crtendS.o): ... and these to ...
1974         * config/ia64/t-ia64-elf: ... this new file.
1975         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1976         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1978 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1980         * configure: Regenerate.
1981         * config/s390/t-crtstuff: Remove -fPIC.
1983 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1985         PR bootstrap/51006
1986         * enable-execute-stack-mprotect.c (getpagesize): Do not define
1987         for NetBSD.
1989 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1991         PR target/51345
1992         * config/avr/lib1funcs.S: Remove FIXME comments.
1993         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1995 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1997         Implement light-weight DImode support.
1998         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1999         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
2000         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
2001         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
2003 2011-12-30  Nathan Sidwell  <nathan@acm.org>
2005         * libgcov.c (gcov_crc32): Remove global var.
2006         (free_fn_data): New function.
2007         (buffer_fn_data): Pass in filename, more robust error recovery.
2008         (crc32_unsigned): New function.
2009         (gcov_exit): More robust detection of new program. More robust
2010         error recovery.
2011         (__gcov_init): Do not update program's crc here.
2013 2011-12-21  Tristan Gingold  <gingold@adacore.com>
2015         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
2017 2011-12-21  Ian Lance Taylor  <iant@google.com>
2019         * config/i386/morestack.S: Simplify CFI opcodes throughout.
2021 2011-12-20  Ian Lance Taylor  <iant@google.com>
2023         * config/i386/morestack.S (__morestack_non_split): If there is
2024         enough stack space already, don't split.  Ask for more stack space
2025         than we required.
2027 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
2029         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
2030         `sys/sdt.h'.
2031         (_Unwind_DebugHook): New function.
2032         (uw_restore_core_regs): New define.
2033         (unwind_phase2): Use uw_restore_core_regs instead of
2034         restore_core_regs.
2035         (unwind_phase2_forced): Likewise.
2036         (__gnu_Unwind_Resume): Likewise.
2038 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
2040         * config/alpha/linux-unwind.h: Update copyright years.
2041         (MD_FROB_UPDATE_CONTEXT): New define.
2042         (alpha_frob_update_context): New function.
2044 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
2046         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
2047         tmake_file rather replacing it.
2049 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
2051         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
2052         function is not used for PPC64.
2053         (save_world): Amend comments.  Update the VRsave mask to reflect the
2054         saved regs.
2055         (rest_world): Update comments, do not  clobber r10, do not use r8.
2056         (eh_rest_world_r10): Amend comments, do not use r8.
2057         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
2058         no longer used, move restore of CR and target address to the end of
2059         the routine.
2061 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
2063         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
2064         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
2066 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
2068         PR target/49313
2069         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
2070         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
2072 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
2074         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
2076 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
2078         PR target/49313
2079         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
2080         * config/avr/lib1funcs.S (__muldi3): New function.
2082 2011-12-06  Andrew Pinski  <apinski@cavium.com>
2084         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
2085         size of func_ptr.
2086         (__frame_dummy_init_array_entry): Likewise.
2088 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
2090         Forward-port from gcc-4_6-branch r181936 2011-12-02.
2092         PR target/51345
2093         PR target/51002
2094         * config/avr/lib1funcs.S (__prologue_saves__,
2095         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
2096         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
2098 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
2100         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
2102 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2104         PR other/51272
2105         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
2106         (_ITM_deregisterTMCloneTable): Likewise.
2107         (__register_frame_info): Fix unused warning.
2108         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
2109         pthread_default_stacksize_np): Likewise.
2110         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
2112 2011-11-29  DJ Delorie  <dj@redhat.com>
2114         * config.host (rl78-*-elf): New case.
2115         * config/rl78: New directory for the Renesas RL78.
2117 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
2119         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
2120         formatting.
2122 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2124         PR other/51022
2125         * config/rs6000/t-savresfgpr: New file.
2126         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
2127         $(srcdir)/config/rs6000/eabi.S.
2128         * config/rs6000/t-ppccomm-ldbl: Remove.
2129         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
2130         tmake_file.
2131         (powerpc-*-eabispe*): Likewise.
2132         (powerpc-*-eabi*): Likewise.
2133         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2134         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
2135         to tmake_file, remove rs6000/t-ppccomm-ldbl.
2136         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
2137         tmake_file.
2138         (powerpc-*-eabisim*): Likewise.
2139         (powerpc-*-elf*): Likewise.
2140         (powerpc-*-eabialtivec*): Likewise.
2141         (powerpc-xilinx-eabi*): Likewise.
2142         (powerpc-*-rtems*): Likewise.
2143         (powerpcle-*-elf*): Likewise.
2144         (powerpcle-*-eabisim*): Likewise.
2145         (powerpcle-*-eabi*): Likewise.
2147 2011-11-27  Ian Lance Taylor  <iant@google.com>
2149         * generic-morestack.c (__splitstack_find): Check for NULL old
2150         stack value.
2151         (__splitstack_resetcontext): New function.
2152         (__splitstack_releasecontext): New function.
2153         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2155 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
2157         * config/darwin-crt-tm.c: Correct comments, use correct licence.
2159 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
2161         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
2163 2011-11-26  Richard Henderson  <rth@redhat.com>
2165         * config/m68k/linux-atomic.c: New file.
2166         * config/m68k/t-linux: New file.
2167         * config.host (m68k-uclinux, m68k-linux): Use it.
2169 2011-11-26  Richard Henderson  <rth@redhat.com>
2171         * crtstuff.c (__TMC_LIST__): Mark used not unused.
2172         (__TMC_END__): Only declare if hidden is available; in the definition,
2173         if hidden is unavailable add a null record.
2174         (deregister_tm_clones, register_tm_clones): New.
2175         (__do_global_dtors_aux, frame_dummy): Use them.
2176         (__do_global_dtors, __do_global_ctors_1): Likewise.
2178 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
2180         * config/darwin-crt-tm.c: New file.
2181         * config.host (darwin): Build crttms.o crttme.o to provide
2182         startup and shutdown for tm clones.
2183         * config/t-darwin (crttms.o): New build rule.
2184         (crttme.o): Likewise.
2186 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
2188         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
2189         et al.
2191 2011-11-21  Richard Henderson  <rth@redhat.com>
2193         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
2194         (__TMC_LIST__, __TMC_END__): New.
2195         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
2196         (__do_global_dtors): Likewise.
2197         (frame_dummy): Call _ITM_registerTMCloneTable.
2198         (__do_global_ctors_1): Likewise.
2200 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2202         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
2203         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2204         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
2205         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
2206         * config/i386/t-darwin64: Remove.
2207         * config/sh/t-netbsd (LIB2ADD): Remove.
2209 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
2211         PR target/49313
2212         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
2213         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
2214         * config/avr/lib1funcs.S (wmov): New assembler macro.
2215         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
2216         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
2217         (__udivmod64): New function.
2218         (__negdi2): New function.
2220 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
2222         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
2223         *-*-freebsd*aout*): Remove.
2225 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
2227         * static-object.mk (c_flags-$o): Save c_flags.
2228         ($(base)$(objext)): Use it.
2230 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
2232         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2234 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
2236         PR target/49868
2237         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
2238         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
2239         New functions.
2241 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
2243         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
2244         functions.
2245         (aeabi_uidivmod): Likewise.
2246         (umodsi3): Likewise.
2247         (divsi3): Likewise.
2248         (aeabi_idivmod): Likewise.
2249         (modsi3): Likewise.
2251 2011-11-16  Tristan Gingold  <gingold@adacore.com>
2253         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
2255 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
2257         PR target/49868
2258         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
2259         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
2261 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2263         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
2264         tmake_file list.
2265         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
2266         * config/pa/t-stublib64: Delete.
2268 2011-11-12  Richard Henderson  <rth@redhat.com>
2270         * config/rs6000/linux-unwind.h (frob_update_context): Properly
2271         cast the pointer argument to _Unwind_SetGRPtr.
2273 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2275         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
2277 2011-11-09  Ian Lance Taylor  <iant@google.com>
2279         * generic-morestack.c: Include <string.h>.
2280         (uintptr_type): Define.
2281         (struct initial_sp): Add dont_block_signals field.  Reduce size of
2282         extra array by 1.
2283         (allocate_segment): Set prev field to NULL.  Don't set
2284         __morestack_current_segment or __morestack_segments.
2285         (__generic_morestack): Update current->prev and *pp after calling
2286         allocate_segment.
2287         (__morestack_block_signals): Don't do anything if
2288         dont_block_signals is set.
2289         (__morestack_unblock_signals): Likewise.
2290         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
2291         uintptr_type.
2292         (__splitstack_block_signals): New function.
2293         (enum __splitstack_content_offsets): Define.
2294         (__splitstack_getcontext, __splitstack_setcontext): New functions.
2295         (__splitstack_makecontext): New function.
2296         (__splitstack_block_signals_context): New function.
2297         (__splitstack_find_context): New function.
2298         * config/i386/morestack.S (__morestack_get_guard): New function.
2299         (__morestack_set_guard, __morestack_make_guard): New functions.
2300         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2302 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2304         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
2305         (i[34567]86-*-mingw*): ... here.
2306         (x86_64-*-mingw*): ... here.
2308 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2310         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
2312 2011-11-07  Nathan Sidwell  <nathan@acm.org>
2314         * libgcov.c (struct gcov_fn_buffer): New struct.
2315         (buffer_fn_data): New helper.
2316         (gcov_exit): Rework for new gcov data structures.
2318 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
2320         PR target/49313
2321         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
2323 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2325         * config.host (tmake_file): Correct comment.
2326         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
2327         t-libgcc-pic.
2328         (bfin*-uclinux*): Likewise.
2329         (bfin*-linux-uclibc*): Likewise.
2330         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
2332         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
2333         assigning.
2334         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2335         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
2336         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2337         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
2338         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2339         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
2340         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
2341         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2342         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
2343         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
2344         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
2345         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
2346         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
2348         * config/bfin/t-elf: Remove.
2349         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
2351 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2353         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
2354         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2355         (lm32-*-elf*, lm32-*-rtems*): Split into ...
2356         (lm32-*-elf*): ... this.
2357         (lm32-*-rtems*): ... and this.
2358         Add to tmake_file.
2359         (m32r-*-rtems*): Add to tmake_file.
2360         (moxie-*-rtems*): Likewise.
2361         (sparc-*-rtems*): Likewise.
2362         Remove t-rtems from tmake_file.
2363         (sparc64-*-rtems*): Likewise.
2364         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
2365         instead.
2367 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2369         PR bootstrap/50982
2370         * config/gthr-posix.h: Move ...
2371         * gthr-posix.h: ... here.
2372         * config/gthr-lynx.h: Reflect this.
2373         * config/gthr-vxworks.h: Likewise.
2374         * config/rs6000/gthr-aix.h: Likewise.
2375         * configure.ac (target_thread_file): Likewise.
2376         * configure: Regenerate.
2378 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2380         * config.host (arm*-*-rtemseabi*): New target.
2382 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2384         PR other/50991
2385         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
2386         extra-parts.
2388 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
2390         * config.host (epiphany-*-elf*): New configuration.
2391         * config/epiphany: New Directory.
2393 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
2395         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
2396         * config/avr/t-rtems: New.
2397         Filter out _exit from LIB1ASMFUNCS.
2399 2011-11-04  David S. Miller  <davem@davemloft.net>
2401         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
2402         * configure: Rebuild.
2404 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2406         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
2407         variable.
2409 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
2411         PR target/50931
2412         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
2413         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
2415 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
2417         PR target/50989
2418         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
2420 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2422         * config/c6x/t-elf (LIB2ADDEH): Set.
2423         * config/c6x/t-c6x-elf: Remove.
2425 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2427         * config/i386/sol2-ci.S: Rename to ...
2428         * config/i386/crti.S: ... this.
2429         * config/i386/sol2-cn.S: Rename to ...
2430         * config/i386/crtn.S: ... this.
2431         * config/sparc/sol2-ci.S: Rename to ...
2432         * config/sparc/crti.S: ... this.
2433         * config/sparc/sol2-cn.S: Rename to ...
2434         * config/sparc/crtn.S: ... this.
2435         * config/t-sol2 (CUSTOM_CRTIN): Remove.
2436         (crti.o, crtn.o): Remove.
2438 2011-11-04  Tristan Gingold  <gingold@adacore.com>
2440         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2442 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2444         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2446 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
2448         * config.host (crisv32-*-none, cris-*-none): Remove.
2449         (crisv32-*-elf): Append to tmake_file, don't just set it.
2450         (cris-*-elf): Add missing t-fdpbit to tmake_file.
2452 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2454         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2455         (ecrtn$(objext)): Likewise.
2456         (ncrti$(objext)): Likewise.
2457         (ncrtn$(objext)): Likewise.
2459 2011-11-03  Andreas Schwab  <schwab@redhat.com>
2461         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2463 2011-11-02  David S. Miller  <davem@davemloft.net>
2465         * configure.ac: Set host_address on sparc too.
2466         * configure: Regenerate.
2467         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2468         based upon host_address.
2469         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2471 2011-11-02  Jason Merrill  <jason@redhat.com>
2473         * config/rs6000/t-ppccomm: Add missing \.
2475 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2477         * gthr-single.h, gthr.h: New files.
2478         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2479         config/gthr-vxworks.h, config/i386/gthr-win32.h,
2480         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2481         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2482         * config/i386/gthr-win32.c: Include "gthr-win32.h".
2483         * configure.ac (thread_header): New variable.
2484         Set it depending on target_thread_file.
2485         (gthr-default.h): Link from $thread_header.
2486         * configure: Regenerate.
2487         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2489 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2491         * configure.ac (tm_file_): New variable.
2492         Determine from tm_file.
2493         (tm_file, tm_defines): Substitute.
2494         * configure: Regenerate.
2495         * mkheader.sh: New file.
2496         * Makefile.in (clean): Remove libgcc_tm.h.
2497         ($(objects)): Depend on libgcc_tm.h.
2498         (libgcc_tm_defines, libgcc_tm_file): New variables.
2499         (libgcc_tm.h, libgcc_tm.stamp): New targets.
2500         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2501         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2502         ($(extra-parts)): Depend on libgcc_tm.h.
2503         * config.host (tm_defines, tm_file): New variable.
2504         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2505         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2506         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2507         (avr-*-rtems*): Likewise.
2508         (avr-*-*): Likewise.
2509         (frv-*-elf): Likewise.
2510         (frv-*-*linux*): Likewise.
2511         (h8300-*-rtems*): Likewise.
2512         (h8300-*-elf*): Likewise.
2513         (i[34567]86-*-darwin*): Likewise.
2514         (x86_64-*-darwin*): Likewise.
2515         (rx-*-elf): Likewise.
2516         (tic6x-*-uclinux): Likewise.
2517         (tic6x-*-elf): Likewise.
2518         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2519         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2520         * config/i386/cygming-crtbegin.c: Likewise.
2521         * config/i386/cygming-crtend.c: Likewise.
2522         * config/ia64/fde-vms.c: Likewise.
2523         * config/ia64/unwind-ia64.c: Likewise.
2524         * config/libbid/bid_gcc_intrinsics.h: Likewise.
2525         * config/rs6000/darwin-fallback.c: Likewise.
2526         * config/stormy16/lib2funcs.c: Likewise.
2527         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2528         * crtstuff.c: Likewise.
2529         * dfp-bit.h: Likewise.
2530         * emutls.c: Likewise.
2531         * fixed-bit.c: Likewise.
2532         * fp-bit.c: Likewise.
2533         * generic-morestack-thread.c: Likewise.
2534         * generic-morestack.c: Likewise.
2535         * libgcc2.c: Likewise.
2536         * libgcov.c: Likewise.
2537         * unwind-dw2-fde-dip.c: Likewise.
2538         * unwind-dw2-fde.c: Likewise.
2539         * unwind-dw2.c: Likewise.
2540         * unwind-sjlj.c: Likewise.
2542 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2544         * configure.ac: Include ../config/picflag.m4.
2545         (GCC_PICFLAG): Call it.
2546         Substitute.
2547         * configure: Regenerate.
2548         * Makefile.in (gcc_srcdir): Remove.
2549         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2550         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2551         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2552         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2553         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2554         Use $<.
2555         Remove comment.
2556         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2557         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2558         to refer to libgcc2.c.
2559         Use $<.
2560         * config/darwin-64.c: New file.
2561         * config/darwin-crt3.c: Remove comment.
2562         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2563         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2564         config/udivmodsi4.c: New files.
2565         * config/memcmp.c, config/memcpy.c, config/memmove.c,
2566         config/memset.c: New files.
2567         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2568         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2569         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2570         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2571         * config/t-openbsd-thread: New file.
2572         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2573         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2574         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2575         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2576         qrnnd.S.
2577         Adapt filename.
2578         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2579         to refer to gthr-posix.c.
2580         * config/alpha/t-vms (LIB2ADD): Set.
2581         * config/alpha/vms-gcc_shell_handler.c: New file.
2582         * config/arm/bpabi.c, config/arm/fp16.c,
2583         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2584         config/arm/unaligned-funcs.c: New files.
2585         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2586         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2587         * config/arm/t-linux: Likewise.
2588         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2589         * config/arm/t-netbsd: New file.
2590         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2591         * config/arm/t-symbian (LIB2ADD_ST): Set.
2592         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2593         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2594         * config/bfin/t-elf: New file.
2595         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2596         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2597         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2598         config/c6x/ltf.c: New files.
2599         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2600         (HOST_LIBGCC2_CFLAGS): Set.
2601         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2602         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2603         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2604         New files.
2605         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2606         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2607         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2608         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2609         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2610         files.
2611         * config/frv/t-frv (LIB2ADD): Set.
2612         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2613         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2614         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2615         config/h8300/popcounthi2.c: New files.
2616         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2617         * config/i386/gthr-win32.c: New file.
2618         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2619         * config/i386/t-cygwin: Likewise.
2620         * config/i386/t-darwin, config/i386/t-darwin64,
2621         config/i386/t-gthr-win32, config/i386/t-interix: New files.
2622         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2623         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2624         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2625         * config/ia64/quadlib.c: New file.
2626         * config/ia64/t-hpux (LIB2ADD): Set.
2627         * config/ia64/t-ia64: Add comment.
2628         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2629         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2630         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2631         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2632         * config/m32c/t-m32c (LIB2ADD): Set.
2633         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2634         * config/m32r/t-m32r: Likewise.
2635         * config/m68k/fpgnulib.c: New file.
2636         * config/m68k/t-floatlib (LIB2ADD): Set.
2637         (xfgnulib.c): New target.
2638         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2639         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2640         * config/mep/t-mep (LIB2ADD): Set.
2641         * config/microblaze/divsi3.asm: Rename to divsi3.S.
2642         * config/microblaze/moddi3.asm: Rename to moddi3.S.
2643         * config/microblaze/modsi3.asm: Rename to modsi3.S.
2644         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2645         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2646         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2647         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2648         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2649         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2650         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2651         New files.
2652         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2653         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2654         * config/pa/fptr.c, config/pa/lib2funcs.S,
2655         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2656         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2657         (LIB2ADD, LIB2ADD_ST): Set.
2658         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2659         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2660         Set.
2661         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2662         * config/pdp11/t-pdp11: New file.
2663         * config/picochip/libgccExtras/adddi3.S,
2664         config/picochip/libgccExtras/ashlsi3.S,
2665         config/picochip/libgccExtras/ashrsi3.S,
2666         config/picochip/libgccExtras/clzsi2.S,
2667         config/picochip/libgccExtras/cmpsi2.S,
2668         config/picochip/libgccExtras/divmod15.S,
2669         config/picochip/libgccExtras/divmodhi4.S,
2670         config/picochip/libgccExtras/divmodsi4.S,
2671         config/picochip/libgccExtras/lshrsi3.S,
2672         config/picochip/libgccExtras/parityhi2.S,
2673         config/picochip/libgccExtras/popcounthi2.S,
2674         config/picochip/libgccExtras/subdi3.S,
2675         config/picochip/libgccExtras/ucmpsi2.S,
2676         config/picochip/libgccExtras/udivmodhi4.S,
2677         config/picochip/libgccExtras/udivmodsi4.S: New files.
2678         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2679         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2680         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2681         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2682         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2683         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2684         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
2685         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2686         files.
2687         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2688         (HOST_LIBGCC2_CFLAGS): Set.
2689         * config/rs6000/t-darwin64: New file.
2690         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2691         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2692         * config/rs6000/t-ppccomm (LIB2ADD): Add
2693         $(srcdir)/config/rs6000/tramp.S.
2694         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2695         Add  $(srcdir)/config/rs6000/eabi.S.
2696         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2697         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2698         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2699         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2700         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2701         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2702         * config/rs6000/tramp.S: New file.
2703         * config/s390/t-tpf: Remove.
2704         * config/sh/linux-atomic.S: New file.
2705         * config/sh/t-linux (LIB2ADD): Set.
2706         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2707         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2708         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2709         to unwind-dw2.c.
2710         (HOST_LIBGCC2_CFLAGS): Set.
2711         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2712         * config/spu/divmodti4.c, config/spu/divv2df3.c,
2713         config/spu/float_disf.c, config/spu/float_unsdidf.c,
2714         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2715         config/spu/mfc_multi_tag_release.c,
2716         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2717         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2718         config/spu/multi3.c: New files.
2719         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2720         (HOST_LIBGCC2_CFLAGS): Set.
2721         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2722         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2723         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2724         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2725         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2726         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2727         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2728         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2729         config/stormy16/umodsi3.c: New files.
2730         * config/xtensa/lib2funcs.S: New file.
2731         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2732         * config/xtensa/t-xtensa (LIB2ADD): Set.
2733         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2734         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2735         Add t-freebsd-thread to tmake_file for posix threads.
2736         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2737         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2738         (*-*-lynxos*): Likewise.
2739         (*-*-netbsd*): Likewise.
2740         (*-*-openbsd*): Likewise.
2741         Add t-openbsd-thread to tmake_file for posix threads.
2742         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2743         (*-*-vxworks*): Set tmake_file.
2744         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2745         (alpha*-*-freebsd*): Likewise.
2746         (alpha*-*-netbsd*): Likewise.
2747         (alpha*-*-openbsd*): Likewise.
2748         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2749         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2750         (alpha*-dec-*vms*): Likewise.
2751         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2752         (bfin*-elf*): Add bfin/t-elf to tmake_file.
2753         (bfin*-uclinux*): Likewise.
2754         (bfin*-linux-uclibc*): Likewise.
2755         (crisv32-*-elf): Add cris/t-cris to tmake_file.
2756         (crisv32-*-none): Likewise.
2757         (cris-*-elf): Likewise.
2758         (cris-*-none): Likewise.
2759         (cris-*-linux*, crisv32-*-linux*): Likewise.
2760         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2761         tmake_file.
2762         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2763         tmake_file.
2764         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2765         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2766         (x86_64-*-elf*): Likewise.
2767         (i[34567]86-*-nto-qnx*): Likewise.
2768         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2769         win32 threads.
2770         (x86_64-*-mingw*): Likewise.
2771         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2772         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2773         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2774         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2775         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2776         tmake_file.
2777         (mipsisa64sr71k-*-elf*): Likewise.
2778         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2779         (mips-*-elf*, mipsel-*-elf*): Likewise.
2780         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2781         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2782         (mips*-*-rtems*): Likewise.
2783         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2784         to tmake_file.
2785         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2786         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2787         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2788         (spu-*-elf*): Likewise.
2789         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2791 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2793         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2794         $(srcdir) to refer to $(LIB1ASMSRC).
2795         Use $<.
2796         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2797         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2798         config/arm/lib1funcs.S: New files.
2799         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2800         * config/arm/t-arm: New file.
2801         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2802         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2803         config/arm/t-strongarm-elf: New files.
2804         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2805         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2806         * config/avr/lib1funcs.S: New file.
2807         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2808         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2809         * config/c6x/lib1funcs.S: New file.
2810         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2811         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2812         * config/frv/lib1funcs.S: New file.
2813         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2814         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2815         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2816         * config/ia64/__divxf3.asm: Rename to ...
2817         * config/ia64/__divxf3.S: ... this.
2818         Adapt lib1funcs.asm filename.
2819         * config/ia64/_fixtfdi.asm: Rename to ...
2820         * config/ia64/_fixtfdi.S: ... this.
2821         Adapt lib1funcs.asm filename.
2822         * config/ia64/_fixunstfdi.asm: Rename to ...
2823         * config/ia64/_fixunstfdi.S: ... this.
2824         Adapt lib1funcs.asm filename.
2825         * config/ia64/_floatditf.asm: Rename to ...
2826         * config/ia64/_floatditf.S: ... this.
2827         Adapt lib1funcs.asm filename.
2828         * config/ia64/lib1funcs.S: New file.
2829         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2830         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2831         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2832         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2833         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2834         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2835         * config/mep/lib1funcs.S: New file.
2836         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2837         * config/mips/mips16.S: New file.
2838         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2839         * config/pa/milli64.S: New file.
2840         * config/pa/t-linux, config/pa/t-linux64: New files.
2841         * config/picochip/lib1funcs.S: New file.
2842         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2843         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2844         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2845         * config/sh/t-netbsd: New file.
2846         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2847         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2848         * config/sh/t-sh64: New file.
2849         * config/sparc/lb1spc.S: New file.
2850         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2851         filename.
2852         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2853         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2854         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2855         config/xtensa/lib1funcs.S: New files.
2856         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2857         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2858         tmake_file.
2859         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2860         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2861         (arm*-*-linux*): Likewise.
2862         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2863         arm*-*-linux-*eabi, add arm/t-linux otherwise.
2864         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2865         (arm*-*-ecos-elf): Likewise.
2866         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2867         (arm*-*-rtems*): Likewise.
2868         (arm*-*-elf): Likewise.
2869         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2870         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2871         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2872         (bfin*-uclinux*): Likewise.
2873         (bfin*-linux-uclibc*): Likewise.
2874         (bfin*-rtems*): Likewise.
2875         (bfin*-*): Likewise.
2876         (fido-*-elf): Merge into m68k-*-elf*.
2877         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2878         (frv-*-*linux*): Add frv/t-frv to tmake_file.
2879         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2880         (h8300-*-elf*): Likewise.
2881         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2882         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2883         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2884         (i[34567]86-*-mingw*): Likewise.
2885         (x86_64-*-mingw*): Likewise.
2886         (i[34567]86-*-interix3*): Likewise.
2887         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2888         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2889         (m68k-*-elf*): Also handle fido-*-elf.
2890         Add m68k/t-floatlib to tmake_file.
2891         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2892         (m68k-*-linux*): Likewise.
2893         (m68k-*-rtems*): Likewise.
2894         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2895         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2896         sh64*-*-*.
2897         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2898         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2899         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2900         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2901         sh/t-netbsd to tmake_file.
2902         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2903         (sh-*-rtems*): Add sh/t-sh to tmake_file.
2904         (sh-wrs-vxworks): Likewise.
2905         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2906         *-leon[3-9]*.
2907         (v850*-*-*): Add v850/t-v850 to tmake_file.
2908         (vax-*-linux*): Add vax/t-linux to tmake_file.
2909         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2911 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2913         * crtstuff.c: New file.
2914         * Makefile.in (CRTSTUFF_CFLAGS): Define.
2915         (CRTSTUFF_T_CFLAGS): Define.
2916         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2917         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2918         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2919         crtstuff.c.
2920         Use $<.
2921         (crtbeginT.o): Use $(objext).
2922         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2923         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2924         (gcc-extra-parts): Remove.
2925         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2926         Set extra_parts.
2927         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2928         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2929         Add t-crtstuff-pic to tmake_file.
2930         (*-*-lynxos*): New case.
2931         Set tmake_file, extra_parts.
2932         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2933         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2934         *-*-netbsdelf[2-9]*.
2935         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2936         (*-*-rtems*): Set extra_parts.
2937         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2938         (*-*-uclinux*): New case.
2939         Set extra_parts.
2940         (*-*-vms*): New case.
2941         Set tmake_file, extra_parts.
2942         (*-*-elf): Set extra_parts.
2943         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2944         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2945         vms/t-vms64.
2946         Set extra_parts.
2947         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2948         Set extra_parts.
2949         (arm*-*-freebsd*): Add t-crtin to tmake_file.
2950         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2951         (arm-wrs-vxworks): Append to tmake_file.
2952         Set extra_parts.
2953         (arm*-*-uclinux*): Set extra_parts.
2954         (arm*-*-ecos-elf): Likewise.
2955         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2956         arm*-*-eabi*.
2957         (arm*-*-rtems*): Set extra_parts.
2958         (arm*-*-elf): Likewise.
2959         (avr-*-rtems*): Clear extra_parts.
2960         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2961         Set extra_parts.
2962         (bfin*-uclinux*): Likewise.
2963         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2964         (bfin*-rtems*): Append to tmake_file.
2965         Set extra_parts.
2966         (bfin*-*): Likewise.
2967         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2968         (crisv32-*-elf): ... this.
2969         (crisv32-*-none): ... this.
2970         (cris-*-elf, cris-*-none): New cases.
2971         Add cris/t-elfmulti to tmake_file.
2972         (fr30-*-elf): Append to tmake_file.
2973         Set extra_parts.
2974         (frv-*-elf): Append to tmake_file, add frv/t-frv.
2975         Set extra_parts.
2976         (h8300-*-rtems*): Append to tmake_file.
2977         Set extra_parts.
2978         (h8300-*-elf*): Likewise.
2979         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2980         Set extra_parts.
2981         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2982         Set extra_parts.
2983         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2984         (x86_64-*-elf*): Likewise.
2985         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2986         (x86_64-*-freebsd*): Likewise.
2987         (x86_64-*-netbsd*): Likewise.
2988         (i[34567]86-*-linux*): Likewise.
2989         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2990         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2991         (x86_64-*-linux*): Likewise.
2992         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2993         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2994         tmake_file.
2995         Set extra_parts.
2996         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2997         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2998         Append to extra_parts, remove crtbegin.o, crtend.o.
2999         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
3000         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
3001         crtend.o, crtbeginS.o, crtendS.o.
3002         (ia64*-*-linux*): Comment extra_parts.
3003         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
3004         Set extra_parts.
3005         (iq2000*-*-elf*): Clear extra_parts.
3006         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
3007         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
3008         (m32r-*-elf*, m32r-*-rtems*): Split off ...
3009         (m32r-*-rtems*): ... this.
3010         Add m32r/t-m32r to tmake_file.
3011         (m68k-*-elf*): Add t-crtin to tmake_file.
3012         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
3013         (mcore-*-elf): Likewise.
3014         (microblaze*-*-*): Set extra_parts.
3015         (mips*-sde-elf*): New case.
3016         Set tmake_file, extra_parts.
3017         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3018         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3019         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
3020         tmake_file.
3021         Set extra_parts.
3022         (mipsisa64sr71k-*-elf*): Likewise.
3023         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3024         (mips-*-elf*, mipsel-*-elf*): Likewise.
3025         (mips64-*-elf*, mips64el-*-elf*): Likewise.
3026         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
3027         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
3028         (mips*-*-rtems*): Likewise.
3029         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
3030         (moxie-*-*): Split into ...
3031         (moxie-*-elf, moxie-*-uclinux*): ... this.
3032         Add to extra_parts, remove crtbegin.o, crtend.o.
3033         (moxie-*-rtems*): New case.
3034         Set tmake_file.
3035         Clear extra_parts.
3036         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
3037         Set extra_parts.
3038         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3039         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
3040         tmake_file.
3041         Set extra_parts.
3042         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
3043         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
3044         Set extra_parts.
3045         (powerpc-*-eabisim*): Likewise.
3046         (powerpc-*-elf*): Likewise.
3047         (powerpc-*-eabialtivec*): Likewise.
3048         (powerpc-xilinx-eabi*): Likewise.
3049         (powerpc-*-eabi*): Likewise.
3050         (powerpc-*-rtems*): Likewise.
3051         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
3052         tmake_file.
3053         Set extra_parts.
3054         (powerpc-*-lynxos*): Add to tmake_file.
3055         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
3056         rs6000/t-crtstuff, t-crtstuff-pic.
3057         Set extra_parts.
3058         (powerpcle-*-eabisim*): Likewise.
3059         (powerpcle-*-eabi*): Likewise.
3060         (rx-*-elf): Remove extra_parts.
3061         (s390x-ibm-tpf*): Set extra_parts.
3062         (score-*-elf): Set extra_parts.
3063         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3064         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3065         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3066         (sh64l*-*-netbsd*): Split into ...
3067         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
3068         Add t-crtstuff-pic to tmake_file.
3069         Set extra_parts.
3070         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
3071         Set extra_parts.
3072         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
3073         (sparc-*-elf*): Remove t-crtin from tmake_file.
3074         Add to extra_parts, remove crtbegin.o, crtend.o.
3075         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
3076         (sparc64-*-linux*): Likewise.
3077         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
3078         Add to extra_parts, remove crtbegin.o, crtend.o.
3079         (sparc64-*-elf*): Remove t-crtin from tmake_file.
3080         Add to extra_parts, remove crtbegin.o, crtend.o.
3081         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
3082         Add to extra_parts, remove crtbegin.o, crtend.o.
3083         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
3084         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
3085         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
3086         Set extra_parts.
3087         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
3088         Set extra_parts.
3089         (tic6x-*-*): Change to ...
3090         (tic6x-*-elf): ... this.
3091         Set extra_parts.
3092         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
3093         Set extra_parts.
3094         (am33_2.0-*-linux*): Add comment.
3095         (mep*-*-*): Add mep/t-mep to tmake_file.
3096         Set extra_parts.
3097         * config/alpha/t-vms: New file.
3098         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
3099         * config/arm/crti.S, config/arm/crtn.S: New files.
3100         * config/bfin/crti.S, config/bfin/crtn.S: New files.
3101         * config/bfin/crtlibid.S: New file.
3102         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
3103         * config/c6x/crti.S, config/c6x/crtn.S: New files.
3104         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
3105         (crti.o, crtin.o): New rules.
3106         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3107         * config/c6x/t-uclinux: New file.
3108         * config/cris/t-elfmulti: New file.
3109         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
3110         * config/fr30/crti.S, config/fr30/crtn.S: New files.
3111         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
3112         * config/frv/t-frv: New file.
3113         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
3114         * config/h8300/crti.S, config/h8300/crtn.S: New files.
3115         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
3116         New files.
3117         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
3118         refer to cygming-crtbegin.c, cygming-crtend.c.
3119         Use $<.
3120         * config/i386/t-nto: New file.
3121         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
3122         * config/ia64/crti.S, config/ia64/crtn.S: New files.
3123         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
3124         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
3125         Use .S extension.
3126         Use $<.
3127         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3128         (crtinitS.o): New rule.
3129         * config/ia64/vms-crtinit.S: New file.
3130         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
3131         * config/m32r/initfini.c: New file.
3132         * config/m32r/t-linux, config/m32r/t-m32r: New files.
3133         * config/m68k/crti.S, config/m68k/crtn.S: New files.
3134         * config/mcore/crti.S, config/mcore/crtn.S: New files.
3135         * config/mep/t-mep: New file.
3136         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
3137         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
3138         * config/mips/crti.S, config/mips/crtn.S: New files.
3139         * config/mips/t-crtstuff: New file.
3140         * config/mmix/crti.S, config/mmix/crtn.S: New files.
3141         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
3142         (CUSTOM_CRTIN): Set.
3143         ($(T)crti.o, $(T)crtn.o): Remove $(T),
3144         dependencies.
3145         Use $(srcdir) to refer to crti.S, crtn.S.
3146         Use .S extension, $<.
3147         * config/moxie/crti.asm: Rename to ...
3148         * config/moxie/crti.S: ... this.
3149         * config/moxie/crtn.asm: Rename to ...
3150         * config/moxie/crtn.S: ... this.
3151         * config/moxie/t-moxie: Remove.
3152         * config/pa/stublib.c: New file.
3153         * config/pa/t-stublib, config/pa/t-stublib64: New files.
3154         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
3155         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
3156         * config/rs6000/t-crtstuff: New file.
3157         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
3158         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
3159         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
3160         Make output file explicit.
3161         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
3162         Make output file explicit.
3163         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
3164         Make output file explicit.
3165         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
3166         Make output file explicit.
3167         * config/score/crti.S, config/score/crtn.S: New files.
3168         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
3169         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
3170         files.
3171         * config/sh/t-sh, config/sh/t-superh: New files.
3172         * config/sparc/t-linux64: New file.
3173         * config/spu/cache.S, config/spu/cachemgr.c: New files.
3174         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
3175         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
3176         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
3177         * config/t-crtin: Remove.
3178         * config/t-crtstuff-pic: New file.
3179         * config/t-sol2 (CUSTOM_CRTIN): Set.
3180         (crti.o, crtn.o): New rules.
3181         * config/vms/t-vms: New file.
3182         * config/vms/vms-ucrt0.c: New file.
3183         * config/xtensa/t-elf: New file.
3185 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3187         * Makefile.in (SHLIB_NM_FLAGS): Set.
3188         * mkmap-flat.awk, mkmap-symver.awk: New files.
3189         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
3190         exceptions.
3191         * configure: Regenerate.
3192         * config/libgcc-glibc.ver: New file.
3193         * config/libgcc-libsystem.ver: New file.
3194         * config/t-libunwind (SHLIB_LC): Set.
3195         * config/t-linux: New file.
3196         * config/t-slibgcc (INSTALL_SHLIB): New.
3197         (SHLIB_INSTALL): Use it.
3198         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
3199         to mkmap-symver.awk.
3200         (SHLIB_MAPFILES): Don't append, adapt pathname.
3201         (SHLIB_VERPFX): Set.
3202         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
3203         to mkmap-symver.awk.
3204         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
3205         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
3206         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
3207         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
3208         to mkmap-flat.awk.
3209         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
3210         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
3211         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
3212         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
3213         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
3214         * config/i386/libgcc-darwin.10.4.ver,
3215         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
3216         New files.
3217         * config/i386/t-darwin: Remove.
3218         * config/i386/t-darwin64: Likewise.
3219         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
3220         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
3221         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
3222         * config/i386/t-linux: New file.
3223         * config/i386/t-mingw32: New file.
3224         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
3225         * config/ia64/t-glibc: Rename to ...
3226         * config/ia64/t-linux: ... this.
3227         (SHLIB_MAPFILES): Set.
3228         * config/ia64/t-glibc-libunwind: Rename to ...
3229         * config/ia64/t-linux-libunwind: ... this.
3230         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
3231         * config/ia64/t-slibgcc-hpux: New file.
3232         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
3233         * config/m68k/t-slibgcc-elf-ver: New file.
3234         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
3235         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
3236         to mkmap-flat.awk.
3237         * config/pa/t-slibgcc-hpux: New file.
3238         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
3239         files.
3240         * config/rs6000/libgcc-darwin.10.4.ver,
3241         config/rs6000/libgcc-darwin.10.5.ver: New files.
3242         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
3243         config/rs6000/libgcc-glibc.ver.
3244         * config/rs6000/libgcc-ppc64.ver: Rename to
3245         config/rs6000/libgcc-ibm-ldouble.ver.
3246         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
3247         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
3248         * config/rs6000/t-ldbl128: Rename to ...
3249         * config/rs6000/t-linux: ... this.
3250         (SHLIB_MAPFILES): Adapt filename.
3251         * config/rs6000/t-slibgcc-aix: New file.
3252         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
3253         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
3254         libgcc-excl.ver, libgcc-glibc.ver.
3255         (SHLIB_LINK, SHLIB_INSTALL): Remove.
3256         * config/sparc/libgcc-glibc.ver: New file.
3257         * config/sparc/t-linux: New file.
3258         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
3259         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
3260         t-slibgcc-elf-ver to tmake_file.
3261         Add t-slibgcc-nolc-override to tmake_file for posix threads on
3262         *-*-freebsd[34].
3263         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3264         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
3265         t-slibgcc-elf-ver, t-linux to tmake_file.
3266         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
3267         tmake_file.
3268         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
3269         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
3270         (alpha*-dec-*vms*): Likewise.
3271         (arm*-*-freebsd*): Append to tmake_file.
3272         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
3273         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
3274         arm*-*-linux-*eabi.
3275         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
3276         tmake_file for arm*-*-symbianelf*.
3277         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
3278         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
3279         cris/t-linux.
3280         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
3281         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
3282         pa/t-slibgcc-dwarf-ver to tmake_file.
3283         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
3284         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
3285         (hppa*64*-*-hpux11*): Likewise.
3286         (hppa[12]*-*-hpux11*): Likewise.
3287         (x86_64-*-darwin*): Don't override tmake_file, but only keep
3288         i386/t-crtpc, i386/t-crtfm.
3289         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
3290         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3291         to tmake_file.
3292         Add i386/t-cygwin to tmake_file.
3293         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
3294         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
3295         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3296         to tmake_file.
3297         Add i386/t-mingw32 to tmake_file.
3298         (x86_64-*-mingw*): Likewise.
3299         (ia64*-*-freebsd*): Append to tmake_file.
3300         (ia64*-*-linux*): Append to tmake_file.
3301         Replace ia64/t-glibc by ia64/t-linux.
3302         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
3303         system libunwind.
3304         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
3305         t-slibgcc-hpux to tmake_file.
3306         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
3307         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
3308         (m32rle-*-linux*): Likewise.
3309         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
3310         sjlj exceptions.
3311         (microblaze*-linux*): New case.
3312         Append to tmake_file, add t-slibgcc-nolc-override.
3313         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
3314         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3315         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
3316         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3317         rs6000/t-slibgcc-aix to tmake_file.
3318         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3319         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3320         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3321         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3322         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3323         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
3324         sh*-*-linux*.
3325         (sparc-*-linux*): Append to tmake_file for *-leon*.
3326         Add sparc/t-linux to tmake_file for non-Leon targets.
3327         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
3328         (tic6x-*-uclinux): New case.
3329         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
3330         (tic6x-*-*): Add c6x/t-elf to tmake_file.
3331         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
3332         (am33_2.0-*-linux*): Append to tmake_file.
3333         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3334         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
3335         x86_64-*-kfreebsd*-gnu.
3336         Add i386/t-linux to tmake_file.
3338 2011-10-28  Ian Lance Taylor  <iant@google.com>
3340         * config/i386/morestack.S: Correct CFI information to do proper
3341         returns throughout function.  In 32-bit mode, save %ebx so that it
3342         is restored on unwind.
3344 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
3346         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
3347         case where B3 isn't the return register.
3349         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
3350         logic for doubleword pops.
3352 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
3354         * config/rs6000/t-freebsd: Add wildcard.
3356 2011-10-21  Paul Brook  <paul@codesourcery.com>
3358         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3360 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
3361             Eric Botcazou  <ebotcazou@adacore.com>
3363         PR target/50737
3364         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
3365         fs->signal_frame to 1.
3367 2011-10-07  Ian Lance Taylor  <iant@google.com>
3369         * generic-morestack-thread.c: #include <errno.h>.
3371 2011-10-07  Ian Lance Taylor  <iant@google.com>
3373         PR target/46093
3374         * generic-morestack.c (__generic_morestack): Make sure the segment
3375         is large enough for both the stack frame and the copied
3376         parameters.
3378 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3380         PR bootstrap/49804
3381         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
3382         extra_parts.
3384 2011-09-28  Nick Clifton  <nickc@redhat.com>
3386         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
3387         64-bit doubles are not enabled.
3388         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
3389         and floatunsisf functions.
3391 2011-09-13  Paul Brook  <paul@codesourcery.com>
3393         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
3394         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
3395         * unwind-arm-common.inc: New file.
3396         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
3397         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
3398         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
3399         * config/c6x/libunwind.S: New file.
3400         * config/c6x/pr-support.c: New file.
3401         * config/c6x/unwind-c6x.c: New file.
3402         * config/c6x/unwind-c6x.h: New file.
3403         * config/c6x/t-c6x-elf: New file.
3405 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
3407         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
3408         (ASM_DIVZERO): Ditto.
3409         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
3411 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
3413         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
3415 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
3417         PR target/50090
3418         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
3419         instead of an assembly one.
3421 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
3423         PR bootstrap/50047
3424         * Makefile.in (install-unwind_h): Create
3425         $(gcc_objdir)/include/unwind.h atomically.
3427 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3429         * Makefile.in (install-unwind_h): Remove destination file first.
3431 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3433         * sync.c: New file.
3434         * config/mips/t-mips16: New file.
3435         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
3436         (mips*-*-linux*): Likewise.
3437         (mips*-sde-elf*): Likewise.
3438         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3439         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3440         Add mips/t-mips16 to tmake_file.
3441         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3442         (mips-*-elf*): Likewise.
3443         (mips64-*-elf*): Likewise.
3444         (mips64orion-*-elf*): Likewise.
3445         (mips*-*-rtems*): Likewise.
3446         (mipstx39-*-elf*): Likewise.
3447         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3448         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3449         LIBGCC_SYNC_CFLAGS.
3450         Use $(srcdir) to refer to sync.c.
3451         Use $<.
3452         ($(libgcc-sync-funcs-o)): Likewise.
3453         ($(libgcc-sync-size-funcs-s-o)): Likewise.
3454         ($(libgcc-sync-funcs-s-o)): Likewise.
3456 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3458         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3459         t-libunwind.
3461 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
3463         PR other/48007
3464         * config/i386/value-unwind.h: New.
3466 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
3468         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3469         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3470         Add to tmake_file rather than overriding it.
3472 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3474         * config/t-softfp: Remove.
3475         * soft-fp: Moved from ../gcc/config.
3476         * soft-fp/README: Remove t-softfp reference.
3477         * soft-fp/t-softfp: Move to config/t-softfp.
3478         (softfp_machine_header): Remove.
3479         (softfp_file_list): Remove config subdir.
3480         (soft-fp-objects): New variable.
3481         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3482         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3483         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3484         * config/t-softfp-excl: New file.
3485         * config/t-softfp-sfdf: New file.
3486         * config/t-softfp-tf: New file.
3487         * config/no-sfp-machine.h: New file.
3488         * config/arm/sfp-machine.h: New file.
3489         * config/arm/t-softfp: New file.
3490         * config/c6x/sfp-machine.h: New file.
3491         * config/i386/32/t-fprules-softfp: Rename to ...
3492         * config/i386/32/t-softfp: ... this.
3493         (tifunctions, LIB2ADD): Remove.
3494         (softfp_int_modes): Override.
3495         * config/i386/64/t-softfp-compat (tf-functions): Remove config
3496         subdir.
3497         * config/i386/64/eqtf2.c: Likewise.
3498         * config/i386/64/getf2.c: Likewise.
3499         * config/i386/64/letf2.c: Likewise.
3500         * config/ia64/sft-machine.h: New file.
3501         * config/ia64/t-fprules-softfp: Rename to ...
3502         * config/ia64/t-softfp: ... this.
3503         * config/lm32/sfp-machine.h: New file.
3504         * config/moxie/t-moxie-softfp: Remove.
3505         * config/rs6000/ibm-ldouble-format: New file.
3506         * config/rs6000/ibm-ldouble.c: New file.
3507         * config/rs6000/libgcc-ppc-glibc.ver: New file
3508         * config/rs6000/libgcc-ppc64.ver: New file
3509         * config/rs6000/sfp-machine.h: New file.
3510         * config/rs6000/t-freebsd: New file.
3511         * config/rs6000/t-ibm-ldouble: New file.
3512         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3513         libgcc-ppc-glibc.ver.
3514         * config/rs6000/t-linux64: New file.
3515         * config/rs6000/t-ppccomm (LIB2ADD): Add
3516         $(srcdir)/config/rs6000/ibm-ldouble.c.
3517         * config/rs6000/t-ppccomm-ldbl: New file.
3518         * config/score/sfp-machine.h: New file.
3519         * config.host (sfp_machine_header): Explain.
3520         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3521         t-softfp to tmake_file.
3522         (arm*-*-uclinux*): Likewise.
3523         (arm*-*-ecos-elf): Likewise.
3524         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3525         (arm*-*-rtems*): Likewise.
3526         (arm*-*-elf): Likewise.
3527         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3528         in tmake_file.
3529         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3530         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3531         (lm32-*-uclinux*): Likewise.
3532         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3533         t-softfp-excl, t-softfp.
3534         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3535         (powerpc64-*-darwin*): Likewise.
3536         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3537         to tmake_file.
3538         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3539         tmake_file.
3540         (powerpc-*-eabisim*): Likewise.
3541         (powerpc-*-elf*): Likewise.
3542         (powerpc-*-eabialtivec*): Likewise.
3543         (powerpc-xilinx-eabi*): Likewise.
3544         (powerpc-*-rtems*): Likewise.
3545         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3546         t-softfp-excl, t-softfp to tmake_file.
3547         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3548         rs6000/t-ppccomm-ldbl to tmake_file.
3549         (powerpcle-*-elf*): Likewise.
3550         (powerpcle-*-eabisim*): Likewise.
3551         (powerpcle-*-eabi*): Likewise.
3552         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3553         rs6000/t-ibm-ldouble to tmake_file.
3554         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3555         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3556         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3557         (tic6x-*-*): Likewise.
3558         (i[34567]86-*-darwin*, x86_64-*-darwin*,
3559         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3560         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3561         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3562         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3563         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3564         t-softfp to tmake_file.
3565         * configure.ac (sfp_machine_header): Provide default if unset.
3566         Substitute.
3567         Link sfp-machine.h to config/$sfp_machine_header.
3568         * configure: Regenerate.
3570 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3572         * Makefile.in (double_type_size, long_double_type_size): Set.
3573         Remove $(fpbit-in-libgcc) support.
3574         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3575         (fpbit-src): New variable.
3576         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3577         Compile with -DFLOAT $(FPBIT_CFLAGS).
3578         Use $<.
3579         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3580         Compile with $(FPBIT_CFLAGS).
3581         Use $<.
3582         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3583         Compile with -DFLOAT $(TPBIT_CFLAGS).
3584         Use $<.
3585         * configure.ac (double_type_size, long_double_type_size):
3586         Determine and substitute.
3587         * configure: Regenerate.
3588         * fp-bit.c, fp-bit.h: New files.
3589         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3590         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3591         * config/mips/t-mips: New file.
3592         * config/mips/t-sdemtk: New file.
3593         * config/rs6000/ppc64-fp.c: New file.
3594         * config/rs6000/t-darwin (LIB2ADD): Add
3595         $(srcdir)/config/rs6000/ppc64-fp.c.
3596         * config/rs6000/t-ppc64-fp: New file.
3597         * config/rx/rx-lib.h: New file.
3598         * config/rx/t-rx (FPBIT): Set to true.
3599         ($(gcc_objdir)/fp-bit.c): Remove.
3600         (DPBIT): Set to true only with -m64bit-doubles.
3601         ($(gcc_objdir)/dp-bit.c): Remove.
3602         * config/sparc/t-softfp: Remove.
3603         * config/spu/t-elf: New file.
3604         * config/t-fdpbit, config/t-fpbit: New files.
3605         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3606         (mips*-*-*): Likewise.
3607         (arm-wrs-vxworks): Likewise.
3608         (arm*-*-freebsd*): Likewise.
3609         (avr-*-rtems*): Add t-fpbit to tmake_file.
3610         (avr-*-*): Likewise.
3611         (bfin*-elf*): Add t-fdpbit to tmake_file.
3612         (bfin*-uclinux*): Likewise.
3613         (bfin*-linux-uclibc*): Likewise.
3614         (bfin*-rtems*): New case.
3615         Add t-fdpbit to tmake_file.
3616         (bfin*-*): Add t-fdpbit to tmake_file.
3617         (crisv32-*-elf): Likewise.
3618         (cris-*-linux*): Likewise.
3619         (fr30-*-elf): Likewise.
3620         (frv-*-elf, frv-*-*linux*): Likewise.
3621         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3622         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3623         (m32r-*-elf*): Likewise.
3624         (m32rle-*-elf*): Likewise.
3625         (m32r-*-linux*): Likewise.
3626         (m32rle-*-linux*): Likewise.
3627         (mcore-*-elf): Add t-fdpbit to tmake_file.
3628         (microblaze*-*-*): Likewise.
3629         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3630         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3631         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3632         Fix typo.
3633         Add mips/t-tpbit to tmake-file.
3634         (mips*-*-linux*): Fix typo.
3635         (mips*-sde-elf*): New case
3636         Add mips/t-sdemtk unless using newlib.
3637         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3638         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3639         (mn10300-*-*): Likewise.
3640         (pdp11-*-*): Likewise.
3641         (picochip-*-*): Add t-fpbit to tmake_file.
3642         (powerpc-*-eabisimaltivec*): Likewise.
3643         (powerpc-*-eabisim*): Likewise.
3644         (powerpc-*-elf*): Likewise.
3645         (powerpc-*-eabialtivec*): Likewise.
3646         (powerpc-xilinx-eabi*): New case.
3647         Add t-fdpbit to tmake_file.
3648         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
3649         (powerpc-*-rtems*): Likewise.
3650         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3651         tmake_file.
3652         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3653         tmake_file.
3654         (powerpc-*-lynxos*): Likewise.
3655         (powerpcle-*-elf*): Likewise.
3656         (powerpcle-*-eabisim*): Likewise.
3657         (powerpcle-*-eabi*): Likewise.
3658         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3659         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3660         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3661         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3662         (rx-*-elf): Add t-fdpbit to tmake_file.
3663         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3664         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3665         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3666         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3667         sh*-*-netbsd*.
3668         (sh-*-rtems*): Add t-fdpbit to tmake_file.
3669         (sh-wrs-vxworks): Likewise.
3670         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3671         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3672         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3673         (sparc64-*-rtems*): ... new case.
3674         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3675         (spu-*-elf*): Likewise.
3676         Add spu/t-elf to tmake_file.
3677         (v850*-*-*): Add t-fdpbit to tmake_file.
3678         (xstormy16-*-elf): Likewise.
3679         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3680         (mep*-*-*): Likewise.
3682 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3684         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3685         variables.
3686         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3687         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3688         (install-unwind_h): New target.
3689         (all): Depend on it.
3690         * config.host (unwind_header): New variable.
3691         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3692         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3693         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3694         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3695         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3696         Set unwind_header.
3697         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3698         Set unwind_header.
3699         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3700         arm*-*-eabi*.
3701         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3702         Set unwind_header.
3703         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3704         (ia64*-*-freebsd*): Likewise.
3705         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3706         tmake_file.
3707         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3708         $with_system_libunwind.
3709         (ia64*-*-hpux*): Set tmake_file.
3710         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3711         (picochip-*-*): Set tmake_file.
3712         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3713         md_unwind_header.
3714         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3715         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3716         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3717         (xtensa*-*-elf*): Set tmake_file.
3718         (xtensa*-*-linux*): Likewise.
3719         * configure.ac: Include ../config/unwind_ipinfo.m4.
3720         Call GCC_CHECK_UNWIND_GETIPINFO.
3721         Link unwind.h to $unwind_header.
3722         * configure: Regenerate.
3723         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3724         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3725         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3726         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3727         * config/unwind-dw2-fde-darwin.c: New file.
3728         * config/arm/libunwind.S, config/arm/pr-support.c,
3729         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3730         config/arm/unwind-arm.h,: New files.
3731         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3732         config/ia64/t-eh-ia64, config/ia64/t-glibc,
3733         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3734         config/ia64/t-vms, config/ia64/unwind-ia64.c,
3735         config/ia64/unwind-ia64.h: New files.
3736         * config/picochip/t-picochip: New file.
3737         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3738         files.
3739         * config/rs6000/t-darwin (LIB2ADDEH): Set.
3740         * config/s390/t-tpf (LIB2ADDEH): Remove.
3741         * config/t-darwin (LIB2ADDEH): Set.
3742         * config/t-eh-dw2-dip: New file.
3743         * config/t-libunwind, config/t-libunwind-elf: New files.
3744         * config/t-sol2 (LIB2ADDEH): Remove.
3745         * config/xtensa/t-xtensa: New file.
3747 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
3749         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3750         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3751         long long to check rt_sigreturn syscall.
3753 2011-08-02  Alan Modra  <amodra@gmail.com>
3755         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3756         Restore for indirect call bcrtl from correct stack slot, and only
3757         if cfa+40 isn't valid.
3759 2011-08-01  Julian Brown  <julian@codesourcery.com>
3761         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3762         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3763         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3765 2011-08-01  Julian Brown  <julian@codesourcery.com>
3767         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3768         (libgcc-std.ver.in): Use above.
3769         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3770         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
3771         throughout file.
3772         * config/t-fixedpoint-gnu-prefix: New file.
3773         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3774         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3775         instead of __PFX__.
3777 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3779         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3780         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3781         for x86-64.  Properly check __x86_64__ and __LP64__.
3783 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3785         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3786         version.
3787         (_FP_WS_TYPE): Likewise.
3788         (_FP_I_TYPE): Likewise.
3790 2011-07-28  Alan Modra  <amodra@gmail.com>
3792         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3793         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3794         in a plt call stub.  Do restore r2 if stopped on bctrl.
3796 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3798         * config.host (i[3456x]86-*-netware*): Remove.
3799         * config/i386/netware-crt0.c, config/i386/t-nwld,
3800         config/i386/t-slibgcc-nwld: Remove.
3802 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
3804         * config.host: Handle tic6x-*-*.
3805         * config/c6x/c6x-abi.h: New file.
3807 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3809         * config/i386/crtprec.c: New file.
3810         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3811         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3812         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3813         (x86_64-*-darwin*): Likewise.
3814         (i[34567]86-*-solaris2*: Likewise.
3816 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3818         * config/alpha/crtfastmath.c: New file.
3819         * config/i386/crtfastmath.c: New file.
3820         * config/ia64/crtfastmath.c: New file.
3821         * config/mips/crtfastmath.c: New file.
3822         * config/sparc/crtfastmath.c: New file.
3824         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3825         crtfastmath.c.
3826         Add -frandom-seed=gcc-crtfastmath.
3827         * config/alpha/t-crtfm: Remove.
3828         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3829         * config/ia64/t-ia64 (crtfastmath.o): Remove.
3831         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3832         (alpha*-dec-osf5.1*): Likewise.
3833         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3834         Add crtfastmath.o to extra_parts.
3835         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3836         Add crtfastmath.o to extra_parts.
3837         (x86_64-*-darwin*): Likewise.
3838         (x86_64-*-mingw*): Likewise.
3839         (ia64*-*-elf*): Add t-crtfm to tmake_file.
3840         (ia64*-*-freebsd*): Likewise.
3841         (ia64*-*-linux*): Likewise.
3842         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3843         Add crtfastmath.o to extra_parts.
3845 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3847         * config/darwin-crt3.o: New file.
3848         * config/rs6000/darwin-crt2.c: New file.
3849         * config/t-darwin: New file.
3850         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3851         (crt2.o): New rule.
3852         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3853         (powerpc-*-darwin*): Add crt2.o to extra_parts.
3854         (powerpc64-*-darwin*): Likewise.
3856 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3858         * config/i386/netware-crt0.c: New file.
3859         * config/i386/t-nwld: Rename to ...
3860         * config/i386/t-slibgcc-nwld: ... this.
3861         * config/i386/t-nwld: New file.
3862         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3863         tmake_file.
3864         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3865         extra_parts.
3867 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3869         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3870         i386/t-crtstuff.
3871         * configure: Regenerate.
3873 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3875         * dfp-bit.c, dfp-bit.h: New files.
3876         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3877         variables.
3878         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3879         ($(d64pbit-o)): Likewise.
3880         ($(d128pbit-o)): Likewise.
3881         * config/t-dfprules: New file.
3882         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3883         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3884         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3885         (x86_64-*-linux*): Likewise.
3886         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3887         (i[34567]86-*-cygwin*): Likewise.
3888         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
3889         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3891 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3893         * Makfile.in (LIBGCOV): New variable.
3894         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3895         * libgcov.c: New file.
3897 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3899         * fixed-bit.c, fixed-bit.h: New files.
3900         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3901         refer to fixed-bit.c.
3903 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
3905         * config.host (*local*): Remove.
3907 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3909         PR target/39150
3910         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3911         like i?86-*-solaris2.1[0-9]*.
3912         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3913         * configure.ac (i?86-*-solaris2*): Likewise.
3914         * configure: Regenerate.
3916 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
3918         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3919         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3920         md_unwind_header by splitting out of...
3921         (i[34567]86-*-linux*): ... this.
3922         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3923         Remove md_unwind_header by splitting out of...
3924         (x86_64-*-linux*): ... this.
3926 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
3928         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3930 2011-06-28  Nick Clifton  <nickc@redhat.com>
3932         * config.host: Recognize all V850 variants.
3934 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
3936         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3938 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3940         * shared-object.mk (c_flags-$o): Save c_flags.
3941         ($(base)$(objext)): Use it.
3942         ($(base)_s$(objext)): Likewise.
3944 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
3946         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3947         * libgcc-std.ver.in (GCC_4.7.0): New section.
3949 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
3951         PR target/49313
3952         PR target/29524
3953         * config/avr/t-avr: Fix line endings.
3954         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
3955         _parityXX2.
3957 2011-06-14  Olivier Hainque  <hainque@adacore.com>
3958             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3960         * config/mips/irix6-unwind.h: New file.
3961         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3963 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
3965         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3966         (sparc64_fallback_frame_state): Use it.
3967         (sparc64_frob_update_context): Further adjust context.
3968         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3969         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3970         * config/sparc/sol2-cn.S: Likewise.
3972 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3974         * enable-execute-stack-empty.c: New file.
3975         * enable-execute-stack-mprotect.c: New file.
3976         * config/i386/enable-execute-stack-mingw32.c: New file.
3977         * config.host (enable_execute_stack): New variable.
3978         Select appropriate variants.
3979         * configure.ac: Link enable-execute-stack.c to
3980         $enable_execute_stack.
3981         * configure: Regenerate.
3982         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3983         (lib2funcs): Remove _enable_execute_stack.
3985 2011-06-09  David S. Miller  <davem@davemloft.net>
3986             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3988         * config.host (sparc-*-linux*): Correct md_unwind_header
3989         filename.
3990         (s390x-ibm-tpf*): Fix typo.
3992 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3994         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3995         Add crtfastmath.o to extra_parts.
3996         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3997         mips/t-crtfm.
3998         * config/mips/t-crtfm: Remove.
4000 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4002         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
4004 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
4006         * config.host (sh*-*-linux*): Fix typo.
4008 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4010         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
4011         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
4012         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
4013         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
4014         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
4015         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
4016         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
4017         Wrap in !__MINGW64__.
4018         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
4019         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
4020         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
4021         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
4022         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
4023         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
4024         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
4025         Wrap in !__LP64__.
4026         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
4027         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
4028         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
4029         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
4030         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
4031         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
4032         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
4033         * config/no-unwind.h: New file.
4034         * config.host (md_unwind_header): Document.
4035         Define.
4036         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
4037         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
4038         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
4039         hppa[12]*-*-hpux11*): Set md_unwind_header.
4040         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
4041         Set md_unwind_header.
4042         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
4043         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
4044         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
4045         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
4046         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
4047         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
4048         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
4049         md_unwind_header.
4050         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
4051         * configure: Regenerate.
4053 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4055         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
4056         Set tmake_file, extra_parts.
4057         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
4058         Remove O32 support.
4059         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
4060         Remove O32 support.
4061         * config/mips/t-irix6: New file.
4062         * config/mips/t-slibgcc-irix: New file.
4064 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4066         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
4067         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
4069 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4071         * configure.ac (target_thread_file): Determine thread model.
4072         * configure: Regenerate.
4073         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
4074         * config/alpha/t-alpha: New file.
4075         * config/alpha/t-crtfm: Use $<.
4076         * config/alpha/t-ieee: New file.
4077         * config/alpha/t-osf-pthread: New file.
4078         * config/alpha/t-slibgcc-osf: New file.
4079         * config/alpha/libgcc-osf5.ver: New file.
4081 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4083         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
4084         tmake_file.
4085         Add crtfastmath.o to extra_parts.
4087 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4089         * config/gmon-sol2.c: Reindent.
4090         Cleanup comments.
4091         Remove, correct casts.
4092         Use STDERR_FILENO, NULL.
4093         (BASEADDRESS): Remove.
4094         (minbrk): Remove.
4095         (errno, sbrk): Remove declarations.
4096         (monstartup) [hp300]: Remove.
4097         (mcount): Remove.
4099 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4101         * Makefile.in (cpu_type): Define.
4102         * config.host (i[34567]86-*-rtems*): Handle it.
4103         (i[34567]86-*-solaris2*): Move body ...
4104         (*-*-solaris2*): ... here.
4105         New case, generalize.
4106         (sparc-*-elf*): Handle it.
4107         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
4108         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
4109         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
4110         Fold into ...
4111         (sparc*-*-solaris2*): ... this.
4112         New case.
4113         (sparc64-*-elf*): Handle it.
4114         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
4115         Merge ../gcc/config/i386/gmon-sol2.c.
4116         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
4117         Use C comments.
4118         Merge ../gcc/config/i386/sol2-gc1.asm.
4119         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
4120         Use C comments.
4121         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
4122         Use C comments.
4123         * config/i386/t-crtfm (crtfastmath.o): Use $<.
4124         * config/i386/t-crtstuff: New file.
4125         * config/i386/t-softfp: New file.
4126         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
4127         $(T)crti.o, $(T)crtn.o): Remove.
4128         (gcrt1.o): New rule.
4129         (TARGET_LIBGCC2_CFLAGS): Remove.
4130         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
4131         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
4132         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
4133         * config/sparc/t-sol2: New file.
4134         * config/sparc/t-crtfm: Move to ...
4135         * config/t-crtfm: ... this.
4136         Use $(cpu_type), $<.
4137         * config/t-crtin: New file.
4138         * config/sparc/t-softfp: New file.
4139         * config/sparc/t-softmul: New file.
4140         * config/t-rtems: New file.
4141         * config/t-slibgcc: New file.
4142         * config/t-slibgcc-elf-ver: New file.
4143         * config/t-slibgcc-gld: New file.
4144         * config/t-slibgcc-sld: New file.
4145         * config/t-sol2: New file.
4146         * configure.ac: Include ../config/lib-ld.m4.
4147         Call AC_LIB_PROG_LD_GNU.
4148         Substitute cpu_type.
4149         * configure: Regenerate.
4151 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
4153         PR bootstrap/49173
4154         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
4155         libgcc-std.ver in the build directory.
4156         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
4157         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
4159 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
4161         * libgcc-std.ver.in: New file.
4162         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
4163         variables.
4164         (libgcc-std.ver): New rule.
4165         * config/t-gnu-prefix: New file.
4167 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4169         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
4171 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
4173         * config/i386/darwin-lib.h: New file.
4175 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
4177         * config/arm/symbian-lib.h: New.
4179 2011-05-04  Chris Demetriou  <cgd@google.com>
4181         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
4182         (__x86.get_pc_thunk.bx): ...this.
4183         (__morestack): Adjust for rename, remove undef of __i686.
4185 2011-05-03  Chris Demetriou  <cgd@google.com>
4187         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
4189 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
4191         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
4192         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
4193         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
4194         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
4195         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
4196         Remove cases.
4198 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
4200         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
4201         Adjust copyright year.
4203 2011-03-07  Ian Lance Taylor  <iant@google.com>
4205         * generic-morestack.c (__splitstack_find): Adjust returned stack
4206         pointer to include all registers pushed by __morestack.
4208 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
4210         PR target/40125
4211         * configure.ac: Call ACX_NONCANONICAL_TARGET.
4212         (toolexecdir): Calculate and AC_SUBST.
4213         (toolexeclibdir): Likewise.
4214         * Makefile.in (target_noncanonical): Import.
4215         (toolexecdir): Likewise.
4216         (toolexeclibdir): Likewise.
4217         * configure: Regenerate.
4219 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
4221         PR target/46040
4222         * config/arm/bpabi.h: Rename to...
4223         * config/arm/bpabi-lib.h: ...this.
4225 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4227         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
4228         appropriate.
4229         * configure: Regenerate.
4231 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
4233         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
4234         __FLOAT_WORD_ORDER__.
4235         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
4236         Delete.
4238 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4240         PR other/46202
4241         * Makefile.in (install-strip): New phony target.
4243 2010-11-07  Ian Lance Taylor  <iant@google.com>
4245         PR target/46089
4246         * config/i386/morestack.S (__morestack_large_model): New
4247         function.
4249 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
4251         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
4252         Delete.
4253         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
4255 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
4257         * config/arm/bpabi.h: New file.
4258         * config/frv/frv-abi.h: New file.
4260 2010-10-01  Ian Lance Taylor  <iant@google.com>
4262         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
4263         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
4265 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
4267         PR target/45858
4268         * config.host: Add the missing `$'.
4270 2010-09-30  Michael Eager  <eager@eagercon.com>
4272         * config.host: Add microblaze*-*-*.
4273         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
4274         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
4275         udivsi3.asm,umodsi3.asm}:  New.
4277 2010-09-28  Ian Lance Taylor  <iant@google.com>
4279         * configure.ac: Adjust CFI test to test assembler directly rather
4280         than checking gcc preprocessor macro.
4281         * configure: Rebuild.
4283 2010-09-27  Ian Lance Taylor  <iant@google.com>
4285         * configure.ac: Test whether assembler supports CFI directives.
4286         * config.host: Only add t-stack and i386/t-stack-i386 to
4287         tmake_file if libgcc_cv_cfi is "yes".
4288         * configure: Rebuild.
4290 2010-09-27  Ian Lance Taylor  <iant@google.com>
4292         * generic-morestack.h: New file.
4293         * generic-morestack.c: New file.
4294         * generic-morestack-thread.c: New file.
4295         * config/i386/morestack.S: New file.
4296         * config/t-stack: New file.
4297         * config/i386/t-stack-i386: New file.
4298         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
4299         i386/t-stack-i386 to tmake_file.
4301 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
4303         * Makefile.in (libgcc-extra-parts):  Check for static archives and
4304         invoke ranlib after installing them.
4305         (gcc-extra-parts): Likewise.
4306         (install-leaf): Likewise.
4308 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4310         * configure: Regenerated.
4312 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
4314         * configure: Regenerated.
4316 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
4317             Andrew Pinski  <pinskia@gmail.com>
4319         PR target/40959
4320         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
4322 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4324         PR target/45524
4325         * configure: Regenerated.
4327 2010-09-06  Andreas Schwab  <schwab@redhat.com>
4329         * configure: Regenerate.
4331 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4333         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
4334         64bit targets.
4335         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
4336         for 64bit targets.
4338 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
4339             Iain Sandoe  <iains@gcc.gnu.org>
4341         PR target/45476
4342         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
4343         LIB2FUNCS_EXCLUDE functions.
4345 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4347         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
4348         Include dfp.m4.
4349         * configure: Regenerate.
4351 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
4353         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
4354         i386/t-freebsd to tmake_file.
4355         * config/i386/t-freebsd: New file.
4356         * config/i386/libgcc-bsd.ver: New file.
4358 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
4360         * config.host (powerpc*-eabispe*): Set tmake_file.
4361         (powerpc*-eabi*): Likewise.
4362         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
4363         crtbeginS, crtendS, crtbeginT.
4365 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
4367         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
4368         to tmake_file.  Add crtfastmath.o to extra_parts.
4369         * config/mips/t-crtfm: New.
4371 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
4373         * config.host (sparc64-*-rtems*): New target.
4375 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4377         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4378         assembler syntax.
4380 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
4382         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
4384 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4386         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
4387         alpha-dec-osf5.0* support.
4389 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
4391         * config.host: Add lm32-*-rtems*.
4393 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4394             Uros Bizjak <ubizjak@gmail.com>
4396         PR target/39048
4397         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
4398         like other remaining 32-bit x86 OSes.
4399         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4400         assembler syntax.
4401         * config/i386/libgcc-sol2.ver: New file.
4402         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
4404 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
4406         PR c/43553
4407         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
4408         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
4409         is used and substitute set_use_emutls.
4410         * configure: Regenerated.
4412 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
4414         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
4416 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4418         PR target/38085
4419         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
4420         MULTILIB_CFLAGS.
4421         ($(T)gcrt1.o): Likewise.
4422         ($(T)crt1.o): Likewise.
4423         ($(T)crti.o): Likewise.
4424         ($(T)crtn.o): Likewise.
4426 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4428         PR other/42980
4429         * Makefile.in (install): Use $(MAKE) string in rule, for
4430         parallel make.
4432 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
4434         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
4435         * config/mmix/t-mmix: New file.
4436         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4438 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
4440         PR java/41991
4441         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4442         SHLIB_MAPFILES.
4444 2010-01-04  Anthony Green  <green@moxielogic.com>
4446         * config/moxie/crti.asm, config/moxie/crtn.asm,
4447         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4448         config/moxie/t-moxie: New files.
4449         * config.host: Add t-moxie-softfp reference.
4451 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4453         PR other/39888
4454         * config/t-slibgcc-darwin: Fix embedded rpaths for
4455         --enable-version-specific-runtime-libs, build extension stub
4456         libs exposing features available from current libgcc_s.
4458 2009-11-11  Jon Beniston <jon@beniston.com>
4460         * config.host: Add lm32 targets.
4461         * config/lm32: New directory.
4462         * config/lm32/libgcc_lm32.h: New file.
4463         * config/lm32/_mulsi3.c: New file.
4464         * config/lm32/_udivmodsi4.c: New file.
4465         * config/lm32/_divsi3.c: New file.
4466         * config/lm32/_modsi3.c: New file.
4467         * config/lm32/_udivsi3.c: New file.
4468         * config/lm32/_umodsi3.c: New file.
4469         * config/lm32/_lshrsi3.S: New file.
4470         * config/lm32/_ashrsi3.S: New file.
4471         * config/lm32/_ashlsi3.S: New file.
4472         * config/lm32/crti.S: New file.
4473         * config/lm32/crtn.S: New file.
4474         * config/lm32/t-lm32: New file.
4475         * config/lm32/t-elf: New file.
4476         * config/lm32/t-uclinux: New file.
4478 2009-10-26  Nick Clifton  <nickc@redhat.com>
4480         * config.host: Add support for RX target.
4481         * config/rx: New directory.
4482         * config/rx/rx-abi-functions.c: New file. Supplementary
4483         functions for libgcc to support the RX ABI.
4484         * config/rx/rx-abi.h: New file.  Supplementary header file for
4485         libgcc RX ABI functions.
4486         * config/rx/t-rx: New file: Makefile fragment for building
4487         libgcc for the RX.
4489 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
4491         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4492         constraint of y0 to "g".
4494 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4496         * config.host: Include the s390 makefile fragments.
4497         * config/s390/32/_fixdfdi.c: New file.
4498         * config/s390/32/_fixsfdi.c: New file.
4499         * config/s390/32/_fixtfdi.c: New file.
4500         * config/s390/32/_fixunsdfdi.c: New file.
4501         * config/s390/32/_fixunssfdi.c: New file.
4502         * config/s390/32/_fixunstfdi.c: New file.
4503         * config/s390/32/t-floattodi: New file.
4504         * config/s390/libgcc-glibc.ver: New file.
4505         * config/s390/t-crtstuff: New file.
4506         * config/s390/t-linux: New file.
4507         * config/s390/t-tpf: New file.
4509 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4511         * configure.ac (AC_PREREQ): Bump to 2.64.
4513 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
4515         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4517 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4519         * configure: Regenerate.
4521 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
4523         * config.host (ia64-hp-*vms*): New target.
4524         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4525         with ia64-hp-*vms*.
4527 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4529         * configure.ac: Add snippet for maintainer-mode.
4530         * configure: Regenerate.
4531         * Makefile.in (AUTOCONF, configure_deps): New variables.
4532         ($(srcdir)/configure)): New rule, active only with maintainer
4533         mode turned on.
4535 2009-06-23  DJ Delorie  <dj@redhat.com>
4537         Add MeP port.
4538         * config.host: Add mep support.
4540 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
4542         * config.host: Add i386/${host_address}/t-fprules-softfp and
4543         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4545         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4546         for mingw targets.
4547         * config/i386/64/_multc3.c: Likewise.
4548         * config/i386/64/_powitf2.c: Likewise.
4549         * config/i386/64/eqtf2.c: Likewise.
4550         * config/i386/64/getf2.c: Likewise.
4551         * config/i386/64/letf2.c: Likewise.
4552         * config/i386/64/letf2.c: Likewise.
4553         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4554         unsigned long long for x64 mingw targets.
4555         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4556         (_FP_I_TYPE): Define as long long for x64 mingw target.
4558 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
4560         * config.host (vax-*-linux*): New.
4562 2009-05-31  Anthony Green  <green@moxielogic.com>
4564         * config.host: Add moxie support.
4565         * config/moxie/t-moxie: New file.
4567 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
4569         * config.host: Add i386/${host_address}/t-fprules-softfp and
4570         t-softfp to tmake_file for i[34567]86-*-cygwin*.
4572 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
4574         * config.host: Add i386/${host_address}/t-fprules-softfp to
4575         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4577 2009-04-09  Nick Clifton  <nickc@redhat.com>
4579         * config/ia64/tf-signs.c: Change copyright header to refer to
4580         version 3 of the GNU General Public License with version 3.1
4581         of the GCC Runtime Library Exception and to point readers at
4582         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4583         web page.
4584         * config/i386/32/tf-signs.c: Likewise.
4585         * config/libbid/_addsub_dd.c: Likewise.
4586         * config/libbid/_addsub_sd.c: Likewise.
4587         * config/libbid/_addsub_td.c: Likewise.
4588         * config/libbid/_dd_to_df.c: Likewise.
4589         * config/libbid/_dd_to_di.c: Likewise.
4590         * config/libbid/_dd_to_sd.c: Likewise.
4591         * config/libbid/_dd_to_sf.c: Likewise.
4592         * config/libbid/_dd_to_si.c: Likewise.
4593         * config/libbid/_dd_to_td.c: Likewise.
4594         * config/libbid/_dd_to_tf.c: Likewise.
4595         * config/libbid/_dd_to_udi.c: Likewise.
4596         * config/libbid/_dd_to_usi.c: Likewise.
4597         * config/libbid/_dd_to_xf.c: Likewise.
4598         * config/libbid/_df_to_dd.c: Likewise.
4599         * config/libbid/_df_to_sd.c: Likewise.
4600         * config/libbid/_df_to_td.c: Likewise.
4601         * config/libbid/_di_to_dd.c: Likewise.
4602         * config/libbid/_di_to_sd.c: Likewise.
4603         * config/libbid/_di_to_td.c: Likewise.
4604         * config/libbid/_div_dd.c: Likewise.
4605         * config/libbid/_div_sd.c: Likewise.
4606         * config/libbid/_div_td.c: Likewise.
4607         * config/libbid/_eq_dd.c: Likewise.
4608         * config/libbid/_eq_sd.c: Likewise.
4609         * config/libbid/_eq_td.c: Likewise.
4610         * config/libbid/_ge_dd.c: Likewise.
4611         * config/libbid/_ge_sd.c: Likewise.
4612         * config/libbid/_ge_td.c: Likewise.
4613         * config/libbid/_gt_dd.c: Likewise.
4614         * config/libbid/_gt_sd.c: Likewise.
4615         * config/libbid/_gt_td.c: Likewise.
4616         * config/libbid/_isinfd128.c: Likewise.
4617         * config/libbid/_isinfd32.c: Likewise.
4618         * config/libbid/_isinfd64.c: Likewise.
4619         * config/libbid/_le_dd.c: Likewise.
4620         * config/libbid/_le_sd.c: Likewise.
4621         * config/libbid/_le_td.c: Likewise.
4622         * config/libbid/_lt_dd.c: Likewise.
4623         * config/libbid/_lt_sd.c: Likewise.
4624         * config/libbid/_lt_td.c: Likewise.
4625         * config/libbid/_mul_dd.c: Likewise.
4626         * config/libbid/_mul_sd.c: Likewise.
4627         * config/libbid/_mul_td.c: Likewise.
4628         * config/libbid/_ne_dd.c: Likewise.
4629         * config/libbid/_ne_sd.c: Likewise.
4630         * config/libbid/_ne_td.c: Likewise.
4631         * config/libbid/_sd_to_dd.c: Likewise.
4632         * config/libbid/_sd_to_df.c: Likewise.
4633         * config/libbid/_sd_to_di.c: Likewise.
4634         * config/libbid/_sd_to_sf.c: Likewise.
4635         * config/libbid/_sd_to_si.c: Likewise.
4636         * config/libbid/_sd_to_td.c: Likewise.
4637         * config/libbid/_sd_to_tf.c: Likewise.
4638         * config/libbid/_sd_to_udi.c: Likewise.
4639         * config/libbid/_sd_to_usi.c: Likewise.
4640         * config/libbid/_sd_to_xf.c: Likewise.
4641         * config/libbid/_sf_to_dd.c: Likewise.
4642         * config/libbid/_sf_to_sd.c: Likewise.
4643         * config/libbid/_sf_to_td.c: Likewise.
4644         * config/libbid/_si_to_dd.c: Likewise.
4645         * config/libbid/_si_to_sd.c: Likewise.
4646         * config/libbid/_si_to_td.c: Likewise.
4647         * config/libbid/_td_to_dd.c: Likewise.
4648         * config/libbid/_td_to_df.c: Likewise.
4649         * config/libbid/_td_to_di.c: Likewise.
4650         * config/libbid/_td_to_sd.c: Likewise.
4651         * config/libbid/_td_to_sf.c: Likewise.
4652         * config/libbid/_td_to_si.c: Likewise.
4653         * config/libbid/_td_to_tf.c: Likewise.
4654         * config/libbid/_td_to_udi.c: Likewise.
4655         * config/libbid/_td_to_usi.c: Likewise.
4656         * config/libbid/_td_to_xf.c: Likewise.
4657         * config/libbid/_tf_to_dd.c: Likewise.
4658         * config/libbid/_tf_to_sd.c: Likewise.
4659         * config/libbid/_tf_to_td.c: Likewise.
4660         * config/libbid/_udi_to_dd.c: Likewise.
4661         * config/libbid/_udi_to_sd.c: Likewise.
4662         * config/libbid/_udi_to_td.c: Likewise.
4663         * config/libbid/_unord_dd.c: Likewise.
4664         * config/libbid/_unord_sd.c: Likewise.
4665         * config/libbid/_unord_td.c: Likewise.
4666         * config/libbid/_usi_to_dd.c: Likewise.
4667         * config/libbid/_usi_to_sd.c: Likewise.
4668         * config/libbid/_usi_to_td.c: Likewise.
4669         * config/libbid/_xf_to_dd.c: Likewise.
4670         * config/libbid/_xf_to_sd.c: Likewise.
4671         * config/libbid/_xf_to_td.c: Likewise.
4672         * config/libbid/bid128.c: Likewise.
4673         * config/libbid/bid128_2_str.h: Likewise.
4674         * config/libbid/bid128_2_str_macros.h: Likewise.
4675         * config/libbid/bid128_2_str_tables.c: Likewise.
4676         * config/libbid/bid128_add.c: Likewise.
4677         * config/libbid/bid128_compare.c: Likewise.
4678         * config/libbid/bid128_div.c: Likewise.
4679         * config/libbid/bid128_fma.c: Likewise.
4680         * config/libbid/bid128_logb.c: Likewise.
4681         * config/libbid/bid128_minmax.c: Likewise.
4682         * config/libbid/bid128_mul.c: Likewise.
4683         * config/libbid/bid128_next.c: Likewise.
4684         * config/libbid/bid128_noncomp.c: Likewise.
4685         * config/libbid/bid128_quantize.c: Likewise.
4686         * config/libbid/bid128_rem.c: Likewise.
4687         * config/libbid/bid128_round_integral.c: Likewise.
4688         * config/libbid/bid128_scalb.c: Likewise.
4689         * config/libbid/bid128_sqrt.c: Likewise.
4690         * config/libbid/bid128_string.c: Likewise.
4691         * config/libbid/bid128_to_int16.c: Likewise.
4692         * config/libbid/bid128_to_int32.c: Likewise.
4693         * config/libbid/bid128_to_int64.c: Likewise.
4694         * config/libbid/bid128_to_int8.c: Likewise.
4695         * config/libbid/bid128_to_uint16.c: Likewise.
4696         * config/libbid/bid128_to_uint32.c: Likewise.
4697         * config/libbid/bid128_to_uint64.c: Likewise.
4698         * config/libbid/bid128_to_uint8.c: Likewise.
4699         * config/libbid/bid32_to_bid128.c: Likewise.
4700         * config/libbid/bid32_to_bid64.c: Likewise.
4701         * config/libbid/bid64_add.c: Likewise.
4702         * config/libbid/bid64_compare.c: Likewise.
4703         * config/libbid/bid64_div.c: Likewise.
4704         * config/libbid/bid64_fma.c: Likewise.
4705         * config/libbid/bid64_logb.c: Likewise.
4706         * config/libbid/bid64_minmax.c: Likewise.
4707         * config/libbid/bid64_mul.c: Likewise.
4708         * config/libbid/bid64_next.c: Likewise.
4709         * config/libbid/bid64_noncomp.c: Likewise.
4710         * config/libbid/bid64_quantize.c: Likewise.
4711         * config/libbid/bid64_rem.c: Likewise.
4712         * config/libbid/bid64_round_integral.c: Likewise.
4713         * config/libbid/bid64_scalb.c: Likewise.
4714         * config/libbid/bid64_sqrt.c: Likewise.
4715         * config/libbid/bid64_string.c: Likewise.
4716         * config/libbid/bid64_to_bid128.c: Likewise.
4717         * config/libbid/bid64_to_int16.c: Likewise.
4718         * config/libbid/bid64_to_int32.c: Likewise.
4719         * config/libbid/bid64_to_int64.c: Likewise.
4720         * config/libbid/bid64_to_int8.c: Likewise.
4721         * config/libbid/bid64_to_uint16.c: Likewise.
4722         * config/libbid/bid64_to_uint32.c: Likewise.
4723         * config/libbid/bid64_to_uint64.c: Likewise.
4724         * config/libbid/bid64_to_uint8.c: Likewise.
4725         * config/libbid/bid_b2d.h: Likewise.
4726         * config/libbid/bid_binarydecimal.c: Likewise.
4727         * config/libbid/bid_conf.h: Likewise.
4728         * config/libbid/bid_convert_data.c: Likewise.
4729         * config/libbid/bid_decimal_data.c: Likewise.
4730         * config/libbid/bid_decimal_globals.c: Likewise.
4731         * config/libbid/bid_div_macros.h: Likewise.
4732         * config/libbid/bid_dpd.c: Likewise.
4733         * config/libbid/bid_flag_operations.c: Likewise.
4734         * config/libbid/bid_from_int.c: Likewise.
4735         * config/libbid/bid_functions.h: Likewise.
4736         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4737         * config/libbid/bid_inline_add.h: Likewise.
4738         * config/libbid/bid_internal.h: Likewise.
4739         * config/libbid/bid_round.c: Likewise.
4740         * config/libbid/bid_sqrt_macros.h: Likewise.
4742 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
4744         * Makefile.in: Change copyright header to refer to version
4745         3 of the GNU General Public License and to point readers at the
4746         COPYING3 file and the FSF's license web page.
4747         * config.host: Likewise.
4749 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
4751         * config.host: Reorder and merge to match config.gcc change.
4753 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
4755         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4757 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
4759         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4760         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4761         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4762         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4764 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
4766         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4767         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4769 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
4771         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4772         ia64/t-softfp-compat to tmake_file.
4774         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4776         * config/ia64/__divxf3.asm: New.
4777         * config/ia64/_fixtfdi.asm: Likewise.
4778         * config/ia64/_fixunstfdi.asm: Likewise.
4779         * config/ia64/_floatditf.asm: Likewise.
4780         * config/ia64/t-fprules-softfp: Likewise.
4781         * config/ia64/t-softfp-compat: Likewise.
4782         * config/ia64/tf-signs.c: Likewise.
4784 2009-01-18  Ben Elliston  <bje@au.ibm.com>
4786         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4788 2009-01-16  Ben Elliston  <bje@au.ibm.com>
4790         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4791         to tmake_file.
4793 2009-01-13  Ben Elliston  <bje@au.ibm.com>
4795         * config/t-softfp: New file.
4796         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4797         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4799 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
4801         * config.host: Add m32r*-*-rtems*.
4803 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
4805         * config.host: Add m32c*-*-rtems*.
4807 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4809         PR bootstrap/33100
4810         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4811         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4812         * configure: Regenerate.
4813         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4814         tmake_file here from gcc/config.gcc.
4815         Move extra_parts here from gcc/config.gcc.
4816         * config/i386/t-sol2: Move here from gcc/config/i386.
4817         Use gcc_srcdir instead of srcdir.
4819 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
4821         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4822         case.
4824 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
4826         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4828 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
4830         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4832 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
4834         Add picoChip port.
4835         * config.host: Add picochip-*-*.
4837 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
4839         * config.host: Match more processor names for Xtensa.
4841 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
4843         * config/i386/64/t-softfp-compat: Update comments.
4845 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4847         * config/i386/64/_divtc3-compat.c: Moved to ...
4848         * config/i386/64/_divtc3.c: Here.
4850         * config/i386/64/_multc3-compat.c: Moved to ...
4851         * config/i386/64/_multc3.c: Here.
4853         * config/i386/64/_powitf2-compat.c: Moved to ...
4854         * config/i386/64/_powitf2.c: Here.
4856         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4857         .c suffix instead of -compat.c.
4859 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
4861         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4862         (_FP_MUL_MEAT_D): Ditto.
4863         (_FP_DIV_MEAT_S): Ditto.
4864         (_FP_DIV_MEAT_D): Ditto.
4866 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
4868         * Makefile.in: Add support for __sync_* libgcc functions.
4870 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
4872         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4874 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4876         PR boostrap/36702
4877         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4878         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
4880         * config/i386/64/t-fprules-softfp: Moved to ...
4881         * config/i386/64/t-softfp-compat: This.  New.
4883 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
4885         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4886         Initialize f with 0.0.
4888 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4890         PR target/36669
4891         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4893         * config/i386/64/_divtc3-compat.c: New.
4894         * config/i386/64/_multc3-compat.c: Likewise.
4895         * config/i386/64/_powitf2-compat.c: Likewise.
4896         * config/i386/64/eqtf2.c: Likewise.
4897         * config/i386/64/getf2.c: Likewise.
4898         * config/i386/64/letf2.c: Likewise.
4899         * config/i386/64/t-fprules-softfp: Likewise.
4901 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4903         * config.host: Add i386/${host_address}/t-fprules-softfp to
4904         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4905         i[34567]86-*-linux*, x86_64-*-linux*.
4907         * configure.ac: Set host_address to 64 or 32 for x86.
4908         * configure: Regenerated.
4910         * Makefile.in (config.status): Also depend on
4911         $(srcdir)/config.host.
4913         * config/i386/32/t-fprules-softfp: New.
4914         * config/i386/32/tf-signs.c: Likewise.
4916         * config/i386/64/sfp-machine.h: New. Moved from gcc.
4918 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4919             Uros Bizjak  <ubizjak@gmail.com>
4921         * config/i386/32/sfp-machine.h: New.
4923 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
4925         * config/rs6000/t-ppccomm: Remove rules that conflict with
4926         auto-generated rules.
4928 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4930         * configure.ac: sinclude override.m4.
4931         * configure: Regenerate.
4933 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
4935         * configure: Regenerate.
4937 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
4939         * Makefile.in (DECNUMINC): Remove
4940         -I$(MULTIBUILDTOP)../../libdecnumber.
4941         * gstdint.h: New.
4943 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
4945         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4946         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4947         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4948         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4949         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4950         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4951         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4952         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4953         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4954         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4955         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4956         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4957         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4958         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4960 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
4962         * config.host (sh2[lbe]*-*-linux*): Allow target.
4964 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
4966         * config/rs6000/t-ppccomm: Add build rules for new files.
4967         (LIB2ADD_ST): New variable.
4969 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
4971         PR target/34210
4972         PR target/35508
4973         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4974         * config/t-avr: New file. Build 16bit libgcc functions.
4976 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
4978         PR target/35401
4979         * config/t-slibgcc-darwin: Make install-leaf dependent on
4980         install-darwin-libgcc-stubs instead of install.
4982 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
4984         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4985         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4986         sh-*-rtemscoff*): Remove cases.
4988 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
4990         * Makefile.in (all): Use install-leaf rather than install.
4991         (install): Split most of the rule into...
4992         (install-leaf): ...this new one.
4994 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
4995             Paolo Bonzini  <bonzini@gnu.org>
4997         PR target/30572
4998         * Makefile.in: Use @shlib_slibdir@ substitution to get
4999         correct install name on darwin.
5000         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
5002 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
5004         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
5005         cris-*-elf and cris-*-none.
5006         (crisv32-*-linux*): Similar, as cris-*-linux*.
5008 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
5010         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
5012 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
5014         PR regression/33926
5015         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
5016         * configure: Regenerated.
5018 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
5020         * Makefile.in (dfp-filenames): Replace decimal_globals,
5021         decimal_data, binarydecimal and convert_data with
5022         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
5023         and bid_convert_data, respectively.
5025 2007-09-17  Chao-ying Fu  <fu@mips.com>
5026             Nigel Stephens  <nigel@mips.com>
5028         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
5029         * Makefile.in (fixed_point): Define.
5030         Check if fixed_point is yes to build support functions.
5031         * configure.ac: Check for fixed_point support.
5032         * configure: Regenerated.
5033         * gen-fixed.sh: New file to generate lists of fixed-point labels,
5034         funcs, modes, from, to.
5036 2007-09-11  Janis Johnson  <janis187@us.ibm.com
5038         * Makefile.in (dfp-filenames): Add bid128_noncomp.
5040 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
5042         * Makefile.in (dfp-filenames): Remove decUtility, add
5043         decDouble, decPacked, decQuad, decSingle.
5045 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
5047         * config.host : Add x86_64-elf target.
5049 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
5051         * configure.ac (set_have_cc_tls): Add a missing =.
5052         * configure: Regenerated.
5054 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
5056         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
5057         and x86_64-*-linux*.
5059         * config/t-tls: New file.
5061         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
5063         * configure.ac: Include ../config/enable.m4 and
5064         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
5065         supports TLS and substitute set_have_cc_tls.
5066         * configure: Regenerated.
5068 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
5070         * Makefile.in: Use libbid for DFP when BID is enabled.
5072 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
5074         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
5075         extra_parts. Add config/i386/t-cygming to tmake_file.
5076         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
5078 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
5079             Danny Smith  <dannysmith@users.sourceforge.net>
5081         PR target/29498
5082         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
5083         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
5084         * config/i386/t-crtfm: Compile crtfastmath.o with
5085         -minline-all-stringops.
5087 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
5089         * config.host (sparc-wrs-vxworks): New target.
5091 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
5093         * config.host: Recognize fido.
5095 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
5097         * configure: Check host, not target, for decimal float support.
5099 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
5101         * config/i386/t-crtpc: New file.
5102         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5103         (x86_64-*-linux*): Ditto.
5105 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
5107         * config.host (x86_64-*-mingw*): New target.
5109 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
5110             H.J. Lu  <hongjiu.lu@intel.com>
5112         * Makefile.in (enable_decimal_float): New.
5113         (DECNUMINC): Add
5114         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
5115         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
5116         (decbits-filenames): This.
5117         (decbits-objects): New.
5118         (libgcc-objects): Add $(decbits-objects).
5120         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
5121         Substitute enable_decimal_float.
5122         * configure: Regenerated.
5124 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
5126         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
5128 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
5130         * Makefile.in (install-info): New dummy target.
5132 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
5134         * config.host (bfin*-linux-uclibc*): Set extra_parts.
5136 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
5138         * Makefile.in: Add install-html and install-pdf dummy
5139         targets.
5141 2007-02-05  Roger Sayle  <roger@eyesopen.com>
5142             Daniel Jacobowitz  <dan@codesourcery.com>
5144         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
5145         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
5146         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
5148 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
5150         * Makefile.in (dec-filenames): Add decExcept.
5152 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
5154         PR bootstrap/30469
5155         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
5156         -fprofile-use.
5158 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
5160         * configure.ac: Add --enable-version-specific-runtime-libs.
5161         Correct $slibdir default.
5162         * configure: Regenerated.
5164 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
5166         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
5168 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
5170         PR target/30519
5171         * config.host (alpha*-*-linux*): Set extra_parts.
5173 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
5175         * config/sh/t-linux: New.
5176         * config.host (sh*-*-linux*): Set tmake_file.
5178 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
5180         * Makefile.in (install): Handle multilibs.
5182 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
5184         * Makefile.in: Added .PHONY entry for documentation targets.
5186 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
5188         * Makefile.in: Add empty info, html, dvi, pdf targets.
5190 2007-01-04  Mike Stump  <mrs@apple.com>
5192         * Makefile.in (MAKEINFO): Remove.
5193         (PERL): Likewise.
5195 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
5197         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
5198         * configure: Regenerate.
5199         * Makefile.in (host_subdir): Substitute it.
5200         (gcc_objdir): Use it.
5202 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
5204         * config.host (ia64*-*-linux*): Set tmake_file.
5206 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
5208         * Makefile.in (version): Define.
5210 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
5211             Paolo Bonzini  <bonzini@gnu.org>
5213         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
5214         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
5215         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
5216         config/sparc/t-crtfm, config/t-slibgcc-darwin,
5217         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
5218         shared-object.mk, siditi-object.mk, static-object.mk: New files.
5219         * configure: Generated.